0fdbac0d4b904d599e7c4f105d3e8f17dbf90c75
[platform/upstream/glibc.git] / ChangeLog
1 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2
3         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
5
6         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7         function definition.
8         * crypt/crypt_util.c (__encrypt_r): Likewise.
9         * libio/genops.c (_IO_no_init): Likewise.
10         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11         (_IO_old_fopencookie): Likewise.
12         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13         * libio/iogetline.c (_IO_getline): Likewise.
14         (_IO_getline_info): Likewise.
15         * libio/iogetwline.c (_IO_getwline): Likewise.
16         (_IO_getwline_info): Likewise.
17         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
18         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20         (find_entry): Likewise.
21         (iterate_table): Likewise.
22         (lookup): Likewise.
23         * login/forkpty.c (forkpty): Likewise.
24         * misc/hsearch_r.c (__hsearch_r): Likewise.
25         * misc/select.c (__select): Likewise.
26         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27         Likewise.
28         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
29         Likewise.
30         * nptl/old_pthread_cond_timedwait.c
31         (__pthread_cond_timedwait_2_0): Likewise.
32         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
33         * nptl/pthread_barrierattr_getpshared.c
34         (pthread_barrierattr_getpshared): Likewise.
35         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
36         Likewise.
37         * nptl/pthread_mutex_setprioceiling.c
38         (pthread_mutex_setprioceiling): Likewise.
39         * nptl/pthread_mutexattr_getprioceiling.c
40         (pthread_mutexattr_getprioceiling): Likewise.
41         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
42         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
43         Likewise.
44         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
45         Likewise.
46         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
47         Likewise.
48         * socket/recvfrom.c (__recvfrom): Likewise.
49         * socket/sendto.c (__sendto): Likewise.
50         * socket/setsockopt.c (__setsockopt): Likewise.
51         * stdio-common/_itoa.c (_itoa): Likewise.
52         * stdio-common/_itowa.c (_itowa): Likewise.
53         * stdio-common/reg-printf.c (__register_printf_specifier):
54         Likewise.
55         (__register_printf_function): Likewise.
56         * stdio-common/tempname.c (__path_search): Likewise.
57         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
58         * stdlib/mul_1.c (mpn_mul_1): Likewise.
59         * stdlib/random_r.c (__initstate_r): Likewise.
60         * stdlib/setenv.c (__add_to_environ): Likewise.
61         * stdlib/submul_1.c (mpn_submul_1): Likewise.
62         * streams/getpmsg.c (getpmsg): Likewise.
63         * streams/putmsg.c (putmsg): Likewise.
64         * streams/putpmsg.c (putpmsg): Likewise.
65         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
66         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
67         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
68         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
69         * sunrpc/pm_getport.c (pmap_getport): Likewise.
70         * sunrpc/svc_udp.c (cache_get): Likewise.
71         * sunrpc/xdr_array.c (xdr_vector): Likewise.
72         * sysdeps/mach/hurd/getcwd.c
73         (__canonicalize_directory_name_internal): Likewise.
74         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
75         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
76         * sysdeps/mach/hurd/select.c (__select): Likewise.
77         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
78         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
79         * sysdeps/sparc/nptl/pthread_barrier_init.c
80         (__pthread_barrier_init): Likewise.
81         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
82         (__pthread_cond_timedwait): Likewise.
83         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
84         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
85         Likewise.
86         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
87         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
88         Likewise.
89         * sysvipc/semtimedop.c (semtimedop): Likewise.
90         * time/setitimer.c (__setitimer): Likewise.
91         * time/strftime_l.c (emacs_strftime): Likewise.
92
93 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
94
95         * config.make.in (have-ssp): Delete.
96         (stack-protector): New variable.
97         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
98         cache test for -fstack-protector-strong.  Export stack_protector to
99         the best ssp flag.
100         * configure: Regenerated.
101         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
102         * nscd/Makefile (CFLAGS-nscd): Likewise.
103         * resolv/Makefile (CFLAGS-libresolv): Likewise.
104
105 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
106
107         [BZ #19122]
108         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
109         attribute_hidden.
110
111 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
112
113         [BZ #18743]
114         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
115         code to...
116         (ELIDE_LOCK): ...here.
117         (__get_new_count): New function with part of the code from
118         __elide_lock that updates the value of adapt_count after a
119         transaction abort.
120         (__elided_trylock): Moved this code to...
121         (ELIDE_TRYLOCK): ...here.
122
123 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
124
125         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
126         * configure: Regenerate.
127         * INSTALL: Regenerate.
128         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
129         and tweak grammar.
130
131 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
132
133         * login/programs/pt_chown.c: Include signal.h
134         (main): Clear any signal mask from the parent process.
135
136 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
137
138         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
139         * configure: Regenerated.
140         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
141         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
142         $(gnu89-inline-CFLAGS).
143
144         * configure.ac (libc_cv_asm_weak_directive): Remove configure
145         test.
146         (libc_cv_asm_weakext_directive): Likewise.
147         * configure: Regenerated.
148         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
149         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
150         * include/libc-symbols.h
151         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
152         #error.
153         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
154         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
155
156         * sysdeps/arm/backtrace.c (__backtrace): Convert to
157         prototype-style function definition.
158         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
159         * sysdeps/i386/ffs.c (__ffs): Likewise.
160         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
161         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
162         Likewise.
163         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
164         Likewise.
165         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
166         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
167         Likewise.
168         * sysdeps/m68k/ffs.c (__ffs): Likewise.
169         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
170         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
171         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
172         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
173         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
174         * sysdeps/mach/hurd/access.c (__access): Likewise.
175         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
176         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
177         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
178         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
179         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
180         (cthread_getspecific): Likewise.
181         (cthread_setspecific): Likewise.
182         (__libc_getspecific): Likewise.
183         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
184         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
185         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
186         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
187         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
188         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
189         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
190         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
191         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
192         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
193         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
194         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
195         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
196         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
197         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
198         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
199         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
200         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
201         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
202         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
203         * sysdeps/mach/hurd/link.c (__link): Likewise.
204         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
205         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
206         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
207         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
208         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
209         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
210         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
211         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
212         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
213         * sysdeps/mach/hurd/rename.c (rename): Likewise.
214         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
215         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
216         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
217         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
218         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
219         * sysdeps/mach/hurd/send.c (__send): Likewise.
220         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
221         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
222         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
223         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
224         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
225         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
226         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
227         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
228         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
229         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
230         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
231         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
232         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
233         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
234         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
235         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
236         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
237         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
238         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
239         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
240         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
241         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
242         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
243         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
244         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
245         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
246         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
247         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
248         * sysdeps/posix/alarm.c (alarm): Likewise.
249         * sysdeps/posix/cuserid.c (cuserid): Likewise.
250         * sysdeps/posix/dirfd.c (dirfd): Likewise.
251         * sysdeps/posix/dup.c (__dup): Likewise.
252         * sysdeps/posix/dup2.c (__dup2): Likewise.
253         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
254         (main): Likewise.
255         * sysdeps/posix/flock.c (__flock): Likewise.
256         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
257         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
258         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
259         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
260         * sysdeps/posix/isatty.c (__isatty): Likewise.
261         * sysdeps/posix/killpg.c (killpg): Likewise.
262         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
263         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
264         * sysdeps/posix/raise.c (raise): Likewise.
265         * sysdeps/posix/remove.c (remove): Likewise.
266         * sysdeps/posix/rename.c (rename): Likewise.
267         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
268         * sysdeps/posix/seekdir.c (seekdir): Likewise.
269         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
270         * sysdeps/posix/sigignore.c (sigignore): Likewise.
271         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
272         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
273         * sysdeps/posix/sigset.c (sigset): Likewise.
274         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
275         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
276         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
277         * sysdeps/posix/time.c (time): Likewise.
278         * sysdeps/posix/ttyname.c (getttyname): Likewise.
279         (ttyname): Likewise.
280         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
281         * sysdeps/posix/utime.c (utime): Likewise.
282         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
283         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
284         Likewise.
285         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
286         (pthread_spin_trylock): Likewise.
287         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
288         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
289         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
290         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
291         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
292         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
293         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
294         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
295         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
296         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
297         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
298         * sysdeps/s390/ffs.c (__ffs): Likewise.
299         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
300         Likewise.
301         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
302         Likewise.
303         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
304         Likewise.
305         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
306         (pthread_barrier_destroy): Likewise.
307         * sysdeps/sparc/nptl/pthread_barrier_wait.c
308         (__pthread_barrier_wait): Likewise.
309         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
310         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
311         (__pthread_barrier_wait): Likewise.
312         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
313         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
314         (memcmp_not_common_alignment): Likewise.
315         (MEMCMP): Likewise.
316         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
317         (_wordcopy_fwd_dest_aligned): Likewise.
318         (_wordcopy_bwd_aligned): Likewise.
319         (_wordcopy_bwd_dest_aligned): Likewise.
320         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
321         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
322         * sysdeps/unix/bsd/stty.c (stty): Likewise.
323         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
324         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
325         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
326         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
327         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
328         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
329         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
330         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
331         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
332         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
333         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
334         * sysdeps/unix/stime.c (stime): Likewise.
335         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
336         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
337         Likewise.  Use internal_function.
338         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
339         Convert to prototype-style function definition.
340         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
341         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
342         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
343         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
344         Likewise.  Use internal_function.
345         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
346         prototype-style function definition
347         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
348         Likewise.
349         (__getlogin_r): Likewise.
350         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
351         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
352         (__pthread_cond_broadcast): Likewise.
353         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
354         (__pthread_cond_destroy): Likewise.
355         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
356         (__pthread_cond_init): Likewise.
357         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
358         (__pthread_cond_signal): Likewise.
359         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
360         (__pthread_cond_wait): Likewise.
361         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
362         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
363         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
364         Likewise.
365         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
366         Likewise.
367         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
368         Likewise.
369         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
370         Likewise.
371         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
373         (__ftruncate64): Likewise.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
375         (truncate64): Likewise.
376         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
377         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
378         (pthread_getcpuclockid): Likewise.
379         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
380         Likewise.
381         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
382         Likewise.
383         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
384         Likewise.
385         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
386         Likewise.
387         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
388         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
389         (__libc_sigaction): Likewise.
390         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
391         Likewise.
392         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
393         (__sigprocmask): Likewise.
394         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
395         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
396         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
397         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
398         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
399         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
400         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
401         Likewise.
402         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
403         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
404         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
405         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
406         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
407         Likewise.
408         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
409         (__sigprocmask): Likewise.
410         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
411         (cfgetispeed): Likewise.
412         (cfsetospeed): Likewise.
413         (cfsetispeed): Likewise.
414         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
415         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
416         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
417         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
418         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
419         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
420         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
421         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
422         Likewise.
423         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
424         Likewise.
425         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
426         Likewise.
427         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
428         Likewise.
429         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
430
431 2015-10-17  Florian Weimer  <fweimer@redhat.com>
432
433         sunrpc: Rewrite with explicit TLS access using __thread.
434         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
435         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
436         directly.
437         (__rpc_thread_variables): Access thread_rpc_vars directly.
438         Eliminate redundant assignment of the tvp variable.
439
440 2015-10-17  Florian Weimer  <fweimer@redhat.com>
441
442         malloc: Rewrite with explicit TLS access using __thread.
443         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
444         (tsd_setspecific, tsd_getspecific): Remove.
445         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
446         (tsd_setspecific, tsd_getspecific): Likewise.
447         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
448         (tsd_setspecific, tsd_getspecific): Likewise.
449         * malloc/arena.c (thread_arena): New TLS variable.
450         (arena_key): Remove variable.
451         (arena_get): Use thread_arena.
452         (arena_lookup): Remove macro.
453         (malloc_atfork, free_atfork, ptmalloc_lock_all)
454         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
455         (_int_new_arena, get_free_list, reused_arena)
456         (arena_thread_freeres): Use thread_arena.
457         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
458         tsd_getspecific, tsd_setspecific from safety annotations.
459         (Allocating Cleared Space): Remove arena_lookup from safety
460         annotations.
461
462 2015-10-17  Florian Weimer  <fweimer@redhat.com>
463
464         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
465         struct scratch_buffer instead of extend_alloca.
466
467 2015-10-17  Florian Weimer  <fweimer@redhat.com>
468
469         * sysdeps/unix/sysv/linux/kernel-features.h
470         (__ASSUME_SOCK_CLOEXEC): Remove.
471         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
472         (__have_paccept): Remove unused macro.
473         * include/unistd.h (__have_sock_cloexec): Remove declaration.
474         * misc/syslog.c (openlog_internal): Remove fallback code for
475         !__ASSUME_SOCK_CLOEXEC.
476         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
477         missing SOCK_CLOEXEC.
478         * nscd/connections.c (have_sock_cloexec): Remove definition.
479         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
480         * nscd/nscd_helper.c (open_socket): Remove fallback code for
481         !__ASSUME_SOCK_CLOEXEC.
482         * resolv/res_send.c (__have_o_nonblock): Remove definition.
483         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
484         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
485         definition.
486         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
487         code for !__ASSUME_SOCK_CLOEXEC.
488
489 2015-10-17  Florian Weimer  <fweimer@redhat.com>
490
491         [BZ #18982]
492         * manual/stdio.texi (Variable Arguments Output): Add portability
493         note, explaining that vfprintf clobbers the va_list pointer.
494
495 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
496
497         * math/libm-test.inc (fabs_test_data): Add more tests.
498         (fdim_test_data): Likewise.
499         (fma_test_data): Likewise.
500         (fmax_test_data): Likewise.
501         (fmin_test_data): Likewise.
502         (fmod_test_data): Likewise.
503
504 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
505
506         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
507         data.
508
509 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
510
511         * math/libm-test.inc (ceil_test_data): Add more tests and more
512         expectations for "inexact".
513         (floor_test_data): Add more tests.
514         (round_test_data): Likewise.
515         (trunc_test_data): Likewise.
516
517         * crypt/cert.c (good_bye): Convert to prototype-style function
518         definition.
519         (get8): Likewise.
520         (put8): Likewise.
521         * crypt/crypt-entry.c (crypt): Likewise.
522         (__fcrypt): Likewise.
523         * crypt/crypt_util.c (_ufc_prbits): Likewise.
524         (_ufc_set_bits): Likewise.
525         (_ufc_clearmem): Likewise.
526         (__init_des_r): Likewise.
527         (shuffle_sb): Likewise.
528         (shuffle_sb): Likewise.
529         (_ufc_setup_salt_r): Likewise.
530         (_ufc_mk_keytab_r): Likewise.
531         (_ufc_dofinalperm_r): Likewise.
532         (encrypt): Likewise.
533         (__setkey_r): Likewise.
534         (setkey): Likewise.
535         * crypt/md5.c (md5_init_ctx): Likewise.
536         (md5_read_ctx): Likewise.
537         (md5_finish_ctx): Likewise.
538         (md5_stream): Likewise.
539         (md5_buffer): Likewise.
540         (md5_process_bytes): Likewise.
541         * crypt/sha256.c (__sha256_init_ctx): Likewise.
542         (__sha256_finish_ctx): Likewise.
543         (__sha256_process_bytes): Likewise.
544         * crypt/sha512.c (__sha512_init_ctx): Likewise.
545         (__sha512_finish_ctx): Likewise.
546         (__sha512_process_bytes): Likewise.
547         * ctype/isctype.c (__isctype): Likewise.
548         * debug/backtrace.c (__backtrace): Likewise.
549         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
550         * debug/fgets_chk.c (__fgets_chk): Likewise.
551         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
552         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
553         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
554         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
555         * debug/memset_chk.c (__memset_chk): Likewise.
556         * debug/strcat_chk.c (__strcat_chk): Likewise.
557         * debug/strncat_chk.c (__strncat_chk): Likewise.
558         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
559         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
560         * dirent/dirfd.c (dirfd): Likewise.
561         * dirent/getdents.c (__getdirentries): Likewise.
562         * dirent/getdents64.c (getdirentries64): Likewise.
563         * dirent/rewinddir.c (__rewinddir): Likewise.
564         * dirent/seekdir.c (seekdir): Likewise.
565         * dirent/telldir.c (telldir): Likewise.
566         * elf/sln.c (makesymlinks): Likewise.
567         (makesymlink): Likewise.
568         * gmon/gmon.c (__moncontrol): Likewise.
569         (__monstartup): Likewise.
570         (write_hist): Likewise.
571         (write_call_graph): Likewise.
572         (write_bb_counts): Likewise.
573         * grp/setgroups.c (setgroups): Likewise.
574         * inet/inet_lnaof.c (inet_lnaof): Likewise.
575         * inet/inet_net.c (inet_network): Likewise.
576         * inet/inet_netof.c (inet_netof): Likewise.
577         * inet/rcmd.c (rresvport_af): Likewise.
578         (rresvport): Likewise.
579         * io/access.c (__access): Likewise.
580         * io/chdir.c (__chdir): Likewise.
581         * io/chmod.c (__chmod): Likewise.
582         * io/chown.c (__chown): Likewise.
583         * io/close.c (__close): Likewise.
584         * io/creat.c (creat): Likewise.
585         * io/creat64.c (creat64): Likewise.
586         * io/dup.c (__dup): Likewise.
587         * io/dup2.c (__dup2): Likewise.
588         * io/dup3.c (__dup3): Likewise.
589         * io/euidaccess.c (__euidaccess): Likewise.
590         * io/faccessat.c (faccessat): Likewise.
591         * io/fchmod.c (__fchmod): Likewise.
592         * io/fchmodat.c (fchmodat): Likewise.
593         * io/fchown.c (__fchown): Likewise.
594         * io/fchownat.c (fchownat): Likewise.
595         * io/fcntl.c (__fcntl): Likewise.
596         * io/flock.c (__flock): Likewise.
597         * io/fts.c (fts_load): Likewise.
598         (fts_close): Likewise.
599         (fts_read): Likewise.
600         (fts_set): Likewise.
601         (fts_children): Likewise.
602         (fts_build): Likewise.
603         (fts_stat): Likewise.
604         (fts_sort): Likewise.
605         (fts_alloc): Likewise.
606         (fts_lfree): Likewise.
607         (fts_palloc): Likewise.
608         (fts_padjust): Likewise.
609         (fts_maxarglen): Likewise.
610         (fts_safe_changedir): Likewise.
611         * io/getwd.c (getwd): Likewise.
612         * io/isatty.c (__isatty): Likewise.
613         * io/lchown.c (__lchown): Likewise.
614         * io/link.c (__link): Likewise.
615         * io/linkat.c (linkat): Likewise.
616         * io/lseek.c (__libc_lseek): Likewise.
617         * io/mkdir.c (__mkdir): Likewise.
618         * io/mkdirat.c (mkdirat): Likewise.
619         * io/mkfifo.c (mkfifo): Likewise.
620         * io/mkfifoat.c (mkfifoat): Likewise.
621         * io/open.c (__libc_open): Likewise.
622         * io/open64.c (__libc_open64): Likewise.
623         * io/readlink.c (__readlink): Likewise.
624         * io/readlinkat.c (readlinkat): Likewise.
625         * io/rmdir.c (__rmdir): Likewise.
626         * io/symlink.c (__symlink): Likewise.
627         * io/symlinkat.c (symlinkat): Likewise.
628         * io/ttyname.c (ttyname): Likewise.
629         * io/ttyname_r.c (__ttyname_r): Likewise.
630         * io/umask.c (__umask): Likewise.
631         * io/unlink.c (__unlink): Likewise.
632         * io/unlinkat.c (unlinkat): Likewise.
633         * io/utime.c (utime): Likewise.
634         * libio/clearerr.c (clearerr): Likewise.
635         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
636         * libio/feof.c (_IO_feof): Likewise.
637         * libio/feof_u.c (feof_unlocked): Likewise.
638         * libio/ferror.c (_IO_ferror): Likewise.
639         * libio/ferror_u.c (ferror_unlocked): Likewise.
640         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
641         * libio/fileno.c (__fileno): Likewise.
642         * libio/fputc.c (fputc): Likewise.
643         * libio/fputc_u.c (fputc_unlocked): Likewise.
644         * libio/fputwc.c (fputwc): Likewise.
645         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
646         * libio/freopen.c (freopen): Likewise.
647         * libio/freopen64.c (freopen64): Likewise.
648         * libio/fseek.c (fseek): Likewise.
649         * libio/fseeko.c (fseeko): Likewise.
650         * libio/fseeko64.c (fseeko64): Likewise.
651         * libio/ftello.c (__ftello): Likewise.
652         * libio/ftello64.c (ftello64): Likewise.
653         * libio/fwide.c (fwide): Likewise.
654         * libio/genops.c (_IO_un_link): Likewise.
655         (_IO_link_in): Likewise.
656         (_IO_least_marker): Likewise.
657         (_IO_switch_to_main_get_area): Likewise.
658         (_IO_switch_to_backup_area): Likewise.
659         (_IO_switch_to_get_mode): Likewise.
660         (_IO_free_backup_area): Likewise.
661         (_IO_switch_to_put_mode): Likewise.
662         (__overflow): Likewise.
663         (__underflow): Likewise.
664         (__uflow): Likewise.
665         (_IO_setb): Likewise.
666         (_IO_doallocbuf): Likewise.
667         (_IO_default_underflow): Likewise.
668         (_IO_default_uflow): Likewise.
669         (_IO_default_xsputn): Likewise.
670         (_IO_sgetn): Likewise.
671         (_IO_default_xsgetn): Likewise.
672         (_IO_sync): Likewise.
673         (_IO_default_setbuf): Likewise.
674         (_IO_default_seekpos): Likewise.
675         (_IO_default_doallocate): Likewise.
676         (_IO_init): Likewise.
677         (_IO_old_init): Likewise.
678         (_IO_default_sync): Likewise.
679         (_IO_default_finish): Likewise.
680         (_IO_default_seekoff): Likewise.
681         (_IO_sputbackc): Likewise.
682         (_IO_sungetc): Likewise.
683         (_IO_set_column): Likewise.
684         (_IO_set_column): Likewise.
685         (_IO_adjust_column): Likewise.
686         (_IO_get_column): Likewise.
687         (_IO_init_marker): Likewise.
688         (_IO_remove_marker): Likewise.
689         (_IO_marker_difference): Likewise.
690         (_IO_marker_delta): Likewise.
691         (_IO_seekmark): Likewise.
692         (_IO_unsave_markers): Likewise.
693         (_IO_nobackup_pbackfail): Likewise.
694         (_IO_default_pbackfail): Likewise.
695         (_IO_default_seek): Likewise.
696         (_IO_default_stat): Likewise.
697         (_IO_default_read): Likewise.
698         (_IO_default_write): Likewise.
699         (_IO_default_showmanyc): Likewise.
700         (_IO_default_imbue): Likewise.
701         (_IO_iter_next): Likewise.
702         (_IO_iter_file): Likewise.
703         * libio/getc.c (_IO_getc): Likewise.
704         * libio/getwc.c (_IO_getwc): Likewise.
705         * libio/iofclose.c (_IO_new_fclose): Likewise.
706         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
707         * libio/iofflush.c (_IO_fflush): Likewise.
708         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
709         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
710         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
711         * libio/iofgets.c (_IO_fgets): Likewise.
712         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
713         * libio/iofgetws.c (fgetws): Likewise.
714         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
715         * libio/iofopen64.c (_IO_fopen64): Likewise.
716         * libio/iofopncook.c (_IO_cookie_read): Likewise.
717         (_IO_cookie_write): Likewise.
718         (_IO_cookie_seek): Likewise.
719         (_IO_cookie_close): Likewise.
720         (_IO_cookie_seekoff): Likewise.
721         (_IO_old_cookie_seek): Likewise.
722         * libio/iofputs.c (_IO_fputs): Likewise.
723         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
724         * libio/iofputws.c (fputws): Likewise.
725         * libio/iofputws_u.c (fputws_unlocked): Likewise.
726         * libio/iofread.c (_IO_fread): Likewise.
727         * libio/iofread_u.c (__fread_unlocked): Likewise.
728         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
729         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
730         * libio/ioftell.c (_IO_ftell): Likewise.
731         * libio/iofwrite.c (_IO_fwrite): Likewise.
732         * libio/iogetdelim.c (_IO_getdelim): Likewise.
733         * libio/iogets.c (_IO_gets): Likewise.
734         * libio/iopadn.c (_IO_padn): Likewise.
735         * libio/iopopen.c (_IO_new_proc_open): Likewise.
736         (_IO_new_popen): Likewise.
737         (_IO_new_proc_close): Likewise.
738         * libio/ioputs.c (_IO_puts): Likewise.
739         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
740         (_IO_seekoff): Likewise.
741         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
742         (_IO_seekpos): Likewise.
743         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
744         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
745         * libio/ioungetc.c (_IO_ungetc): Likewise.
746         * libio/ioungetwc.c (ungetwc): Likewise.
747         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
748         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
749         * libio/iowpadn.c (_IO_wpadn): Likewise.
750         * libio/libc_fatal.c (__libc_fatal): Likewise.
751         * libio/memstream.c (__open_memstream): Likewise.
752         (_IO_mem_sync): Likewise.
753         (_IO_mem_finish): Likewise.
754         * libio/oldfileops.c (_IO_old_file_init): Likewise.
755         (_IO_old_file_close_it): Likewise.
756         (_IO_old_file_finish): Likewise.
757         (_IO_old_file_fopen): Likewise.
758         (_IO_old_file_attach): Likewise.
759         (_IO_old_file_setbuf): Likewise.
760         (_IO_old_do_write): Likewise.
761         (old_do_write): Likewise.
762         (_IO_old_file_underflow): Likewise.
763         (_IO_old_file_overflow): Likewise.
764         (_IO_old_file_sync): Likewise.
765         (_IO_old_file_seekoff): Likewise.
766         (_IO_old_file_write): Likewise.
767         (_IO_old_file_xsputn): Likewise.
768         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
769         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
770         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
771         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
772         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
773         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
774         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
775         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
776         (_IO_old_popen): Likewise.
777         (_IO_old_proc_close): Likewise.
778         * libio/oldpclose.c (__old_pclose): Likewise.
779         * libio/pclose.c (__new_pclose): Likewise.
780         * libio/peekc.c (_IO_peekc_locked): Likewise.
781         * libio/putc.c (_IO_putc): Likewise.
782         * libio/putc_u.c (putc_unlocked): Likewise.
783         * libio/putchar.c (putchar): Likewise.
784         * libio/putchar_u.c (putchar_unlocked): Likewise.
785         * libio/putwc.c (putwc): Likewise.
786         * libio/putwc_u.c (putwc_unlocked): Likewise.
787         * libio/putwchar.c (putwchar): Likewise.
788         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
789         * libio/rewind.c (rewind): Likewise.
790         * libio/setbuf.c (setbuf): Likewise.
791         * libio/setlinebuf.c (setlinebuf): Likewise.
792         * libio/vasprintf.c (_IO_vasprintf): Likewise.
793         * libio/vscanf.c (_IO_vscanf): Likewise.
794         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
795         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
796         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
797         * libio/wgenops.c (_IO_least_wmarker): Likewise.
798         (_IO_switch_to_main_wget_area): Likewise.
799         (_IO_switch_to_wbackup_area): Likewise.
800         (_IO_wsetb): Likewise.
801         (_IO_wdefault_pbackfail): Likewise.
802         (_IO_wdefault_finish): Likewise.
803         (_IO_wdefault_uflow): Likewise.
804         (__woverflow): Likewise.
805         (__wuflow): Likewise.
806         (__wunderflow): Likewise.
807         (_IO_wdefault_xsputn): Likewise.
808         (_IO_wdefault_xsgetn): Likewise.
809         (_IO_wdoallocbuf): Likewise.
810         (_IO_wdefault_doallocate): Likewise.
811         (_IO_switch_to_wget_mode): Likewise.
812         (_IO_free_wbackup_area): Likewise.
813         (_IO_switch_to_wput_mode): Likewise.
814         (_IO_sputbackwc): Likewise.
815         (_IO_sungetwc): Likewise.
816         (_IO_adjust_wcolumn): Likewise.
817         (_IO_init_wmarker): Likewise.
818         (_IO_wmarker_delta): Likewise.
819         (_IO_seekwmark): Likewise.
820         (_IO_unsave_wmarkers): Likewise.
821         * libio/wmemstream.c (open_wmemstream): Likewise.
822         (_IO_wmem_sync): Likewise.
823         (_IO_wmem_finish): Likewise.
824         * locale/nl_langinfo.c (nl_langinfo): Likewise.
825         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
826         * locale/programs/simple-hash.c (init_hash): Likewise.
827         (delete_hash): Likewise.
828         (insert_entry): Likewise.
829         (set_entry): Likewise.
830         (next_prime): Likewise.
831         (is_prime): Likewise.
832         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
833         (xmalloc): Likewise.
834         (xrealloc): Likewise.
835         * locale/programs/xstrdup.c (xstrdup): Likewise.
836         * localedata/collate-test.c (xstrcoll): Likewise.
837         * localedata/xfrm-test.c (xstrcmp): Likewise.
838         * login/getlogin_r.c (__getlogin_r): Likewise.
839         * login/getpt.c (__posix_openpt): Likewise.
840         * login/login_tty.c (login_tty): Likewise.
841         * login/setlogin.c (setlogin): Likewise.
842         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
843         (mach_msg_destroy_port): Likewise.
844         (mach_msg_destroy_memory): Likewise.
845         * malloc/mcheck.c (flood): Likewise.
846         * misc/acct.c (acct): Likewise.
847         * misc/brk.c (__brk): Likewise.
848         * misc/chflags.c (chflags): Likewise.
849         * misc/chroot.c (chroot): Likewise.
850         * misc/fchflags.c (fchflags): Likewise.
851         * misc/fstab.c (getfsspec): Likewise.
852         (getfsfile): Likewise.
853         * misc/fsync.c (fsync): Likewise.
854         * misc/ftruncate.c (__ftruncate): Likewise.
855         * misc/ftruncate64.c (__ftruncate64): Likewise.
856         * misc/getdomain.c (getdomainname): Likewise.
857         (getdomainname): Likewise.
858         * misc/gethostname.c (__gethostname): Likewise.
859         * misc/getpass.c (getpass): Likewise.
860         * misc/getttyent.c (skip): Likewise.
861         (value): Likewise.
862         * misc/gtty.c (gtty): Likewise.
863         * misc/hsearch.c (hsearch): Likewise.
864         (hcreate): Likewise.
865         * misc/hsearch_r.c (__hcreate_r): Likewise.
866         (__hdestroy_r): Likewise.
867         * misc/ioctl.c (__ioctl): Likewise.
868         * misc/mkdtemp.c (mkdtemp): Likewise.
869         * misc/mkostemp.c (mkostemp): Likewise.
870         * misc/mkostemp64.c (mkostemp64): Likewise.
871         * misc/mkostemps.c (mkostemps): Likewise.
872         * misc/mkostemps64.c (mkostemps64): Likewise.
873         * misc/mkstemp.c (mkstemp): Likewise.
874         * misc/mkstemp64.c (mkstemp64): Likewise.
875         * misc/mkstemps.c (mkstemps): Likewise.
876         * misc/mkstemps64.c (mkstemps64): Likewise.
877         * misc/mktemp.c (__mktemp): Likewise.
878         * misc/preadv.c (preadv): Likewise.
879         * misc/preadv64.c (preadv64): Likewise.
880         * misc/pwritev.c (pwritev): Likewise.
881         * misc/pwritev64.c (pwritev64): Likewise.
882         * misc/readv.c (__readv): Likewise.
883         * misc/revoke.c (revoke): Likewise.
884         * misc/setdomain.c (setdomainname): Likewise.
885         * misc/setegid.c (setegid): Likewise.
886         * misc/seteuid.c (seteuid): Likewise.
887         * misc/sethostid.c (sethostid): Likewise.
888         * misc/sethostname.c (sethostname): Likewise.
889         * misc/setregid.c (__setregid): Likewise.
890         * misc/setreuid.c (__setreuid): Likewise.
891         * misc/sstk.c (sstk): Likewise.
892         * misc/stty.c (stty): Likewise.
893         * misc/syscall.c (syscall): Likewise.
894         * misc/syslog.c (setlogmask): Likewise.
895         * misc/truncate.c (__truncate): Likewise.
896         * misc/truncate64.c (truncate64): Likewise.
897         * misc/ualarm.c (ualarm): Likewise.
898         * misc/usleep.c (usleep): Likewise.
899         * misc/ustat.c (ustat): Likewise.
900         * misc/writev.c (__writev): Likewise.
901         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
902         * nptl/old_pthread_cond_broadcast.c
903         (__pthread_cond_broadcast_2_0): Likewise.
904         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
905         Likewise.
906         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
907         Likewise.
908         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
909         Likewise.
910         * nptl/pt-raise.c (raise): Likewise.
911         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
912         Likewise.
913         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
914         * nptl/pthread_barrierattr_destroy.c
915         (pthread_barrierattr_destroy): Likewise.
916         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
917         Likewise.
918         * nptl/pthread_barrierattr_setpshared.c
919         (pthread_barrierattr_setpshared): Likewise.
920         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
921         Likewise.
922         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
923         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
924         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
925         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
926         Likewise.
927         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
928         Likewise.
929         * nptl/pthread_condattr_getpshared.c
930         (pthread_condattr_getpshared): Likewise.
931         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
932         Likewise.
933         * nptl/pthread_condattr_setpshared.c
934         (pthread_condattr_setpshared): Likewise.
935         * nptl/pthread_detach.c (pthread_detach): Likewise.
936         * nptl/pthread_equal.c (__pthread_equal): Likewise.
937         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
938         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
939         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
940         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
941         Likewise.
942         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
943         Likewise.
944         * nptl/pthread_mutex_getprioceiling.c
945         (pthread_mutex_getprioceiling): Likewise.
946         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
947         Likewise.
948         * nptl/pthread_mutexattr_getprotocol.c
949         (pthread_mutexattr_getprotocol): Likewise.
950         * nptl/pthread_mutexattr_getpshared.c
951         (pthread_mutexattr_getpshared): Likewise.
952         * nptl/pthread_mutexattr_getrobust.c
953         (pthread_mutexattr_getrobust): Likewise.
954         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
955         Likewise.
956         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
957         Likewise.
958         * nptl/pthread_mutexattr_setprioceiling.c
959         (pthread_mutexattr_setprioceiling): Likewise.
960         * nptl/pthread_mutexattr_setprotocol.c
961         (pthread_mutexattr_setprotocol): Likewise.
962         * nptl/pthread_mutexattr_setpshared.c
963         (pthread_mutexattr_setpshared): Likewise.
964         * nptl/pthread_mutexattr_setrobust.c
965         (pthread_mutexattr_setrobust): Likewise.
966         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
967         Likewise.
968         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
969         Likewise.
970         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
971         Likewise.
972         * nptl/pthread_rwlockattr_getkind_np.c
973         (pthread_rwlockattr_getkind_np): Likewise.
974         * nptl/pthread_rwlockattr_getpshared.c
975         (pthread_rwlockattr_getpshared): Likewise.
976         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
977         Likewise.
978         * nptl/pthread_rwlockattr_setkind_np.c
979         (pthread_rwlockattr_setkind_np): Likewise.
980         * nptl/pthread_rwlockattr_setpshared.c
981         (pthread_rwlockattr_setpshared): Likewise.
982         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
983         Likewise.
984         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
985         Likewise.
986         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
987         Likewise.
988         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
989         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
990         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
991         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
992         * nptl/sem_close.c (sem_close): Likewise.
993         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
994         * nptl/sem_init.c (__old_sem_init): Likewise.
995         * nptl/sigaction.c (__sigaction): Likewise.
996         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
997         * posix/_exit.c (_exit): Likewise.
998         * posix/alarm.c (alarm): Likewise.
999         * posix/confstr.c (confstr): Likewise.
1000         * posix/fpathconf.c (__fpathconf): Likewise.
1001         * posix/getgroups.c (__getgroups): Likewise.
1002         * posix/getpgid.c (__getpgid): Likewise.
1003         * posix/group_member.c (__group_member): Likewise.
1004         * posix/pathconf.c (__pathconf): Likewise.
1005         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1006         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1007         * posix/setgid.c (__setgid): Likewise.
1008         * posix/setpgid.c (__setpgid): Likewise.
1009         * posix/setuid.c (__setuid): Likewise.
1010         * posix/sleep.c (__sleep): Likewise.
1011         * posix/sysconf.c (__sysconf): Likewise.
1012         * posix/times.c (__times): Likewise.
1013         * posix/uname.c (__uname): Likewise.
1014         * posix/waitid.c (__waitid): Likewise.
1015         * pwd/getpw.c (__getpw): Likewise.
1016         * resolv/base64.c (b64_pton): Likewise.
1017         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1018         * resolv/gethnamaddr.c (Dprintf): Likewise.
1019         (gethostbyname): Likewise.
1020         (gethostbyname2): Likewise.
1021         (gethostbyaddr): Likewise.
1022         (_sethtent): Likewise.
1023         (_gethtbyname): Likewise.
1024         (_gethtbyname2): Likewise.
1025         (_gethtbyaddr): Likewise.
1026         (map_v4v6_address): Likewise.
1027         (map_v4v6_hostent): Likewise.
1028         (addrsort): Likewise.
1029         (ht_sethostent): Likewise.
1030         (ht_gethostbyname): Likewise.
1031         (ht_gethostbyaddr): Likewise.
1032         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1033         (inet_net_ntop_ipv4): Likewise.
1034         * resolv/inet_neta.c (inet_neta): Likewise.
1035         * resolv/inet_ntop.c (inet_ntop): Likewise.
1036         (inet_ntop4): Likewise.
1037         (inet_ntop6): Likewise.
1038         * resolv/inet_pton.c (__inet_pton): Likewise.
1039         (inet_pton4): Likewise.
1040         (inet_pton6): Likewise.
1041         * resolv/res_debug.c (loc_aton): Likewise.
1042         (loc_ntoa): Likewise.
1043         * resource/getpriority.c (__getpriority): Likewise.
1044         * resource/getrusage.c (__getrusage): Likewise.
1045         * resource/nice.c (nice): Likewise.
1046         * resource/setpriority.c (__setpriority): Likewise.
1047         * resource/setrlimit64.c (setrlimit64): Likewise.
1048         * resource/vlimit.c (vlimit): Likewise.
1049         * resource/vtimes.c (vtimes): Likewise.
1050         * rt/aio_error.c (aio_error): Likewise.
1051         * rt/aio_return.c (aio_return): Likewise.
1052         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1053         * signal/kill.c (__kill): Likewise.
1054         * signal/killpg.c (killpg): Likewise.
1055         * signal/raise.c (raise): Likewise.
1056         * signal/sigaction.c (__sigaction): Likewise.
1057         * signal/sigaddset.c (sigaddset): Likewise.
1058         * signal/sigaltstack.c (sigaltstack): Likewise.
1059         * signal/sigandset.c (sigandset): Likewise.
1060         * signal/sigblock.c (__sigblock): Likewise.
1061         * signal/sigdelset.c (sigdelset): Likewise.
1062         * signal/sigempty.c (sigemptyset): Likewise.
1063         * signal/sigfillset.c (sigfillset): Likewise.
1064         * signal/sighold.c (sighold): Likewise.
1065         * signal/sigignore.c (sigignore): Likewise.
1066         * signal/sigintr.c (siginterrupt): Likewise.
1067         * signal/sigisempty.c (sigisemptyset): Likewise.
1068         * signal/sigismem.c (sigismember): Likewise.
1069         * signal/signal.c (signal): Likewise.
1070         * signal/sigorset.c (sigorset): Likewise.
1071         * signal/sigpause.c (__sigpause): Likewise.
1072         * signal/sigpending.c (sigpending): Likewise.
1073         * signal/sigprocmask.c (__sigprocmask): Likewise.
1074         * signal/sigrelse.c (sigrelse): Likewise.
1075         * signal/sigreturn.c (__sigreturn): Likewise.
1076         * signal/sigset.c (sigset): Likewise.
1077         * signal/sigsetmask.c (__sigsetmask): Likewise.
1078         * signal/sigstack.c (sigstack): Likewise.
1079         * signal/sigsuspend.c (__sigsuspend): Likewise.
1080         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1081         * signal/sysv_signal.c (__sysv_signal): Likewise.
1082         * socket/accept.c (accept): Likewise.
1083         * socket/accept4.c (__libc_accept4): Likewise.
1084         * socket/bind.c (__bind): Likewise.
1085         * socket/connect.c (__connect): Likewise.
1086         * socket/getpeername.c (getpeername): Likewise.
1087         * socket/getsockname.c (__getsockname): Likewise.
1088         * socket/getsockopt.c (getsockopt): Likewise.
1089         * socket/listen.c (__listen): Likewise.
1090         * socket/recv.c (__recv): Likewise.
1091         * socket/recvmsg.c (__recvmsg): Likewise.
1092         * socket/send.c (__send): Likewise.
1093         * socket/sendmsg.c (__sendmsg): Likewise.
1094         * socket/shutdown.c (shutdown): Likewise.
1095         * socket/sockatmark.c (sockatmark): Likewise.
1096         * socket/socket.c (__socket): Likewise.
1097         * stdio-common/ctermid.c (ctermid): Likewise.
1098         * stdio-common/cuserid.c (cuserid): Likewise.
1099         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1100         * stdio-common/remove.c (remove): Likewise.
1101         * stdio-common/rename.c (rename): Likewise.
1102         * stdio-common/renameat.c (renameat): Likewise.
1103         * stdio-common/tempname.c (__gen_tempname): Likewise.
1104         * stdio-common/xbug.c (InitBuffer): Likewise.
1105         (AppendToBuffer): Likewise.
1106         (ReadFile): Likewise.
1107         * stdlib/a64l.c (a64l): Likewise.
1108         * stdlib/drand48_r.c (drand48_r): Likewise.
1109         * stdlib/getcontext.c (getcontext): Likewise.
1110         * stdlib/getenv.c (getenv): Likewise.
1111         * stdlib/l64a.c (l64a): Likewise.
1112         * stdlib/llabs.c (llabs): Likewise.
1113         * stdlib/lldiv.c (lldiv): Likewise.
1114         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1115         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1116         * stdlib/putenv.c (putenv): Likewise.
1117         * stdlib/random.c (__srandom): Likewise.
1118         (__initstate): Likewise.
1119         (__setstate): Likewise.
1120         * stdlib/random_r.c (__srandom_r): Likewise.
1121         (__setstate_r): Likewise.
1122         (__random_r): Likewise.
1123         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1124         * stdlib/setcontext.c (setcontext): Likewise.
1125         * stdlib/setenv.c (setenv): Likewise.
1126         (unsetenv): Likewise.
1127         * stdlib/srand48.c (srand48): Likewise.
1128         * stdlib/srand48_r.c (__srand48_r): Likewise.
1129         * stdlib/swapcontext.c (swapcontext): Likewise.
1130         * stdlib/system.c (__libc_system): Likewise.
1131         * stdlib/tst-strtod.c (expand): Likewise.
1132         * stdlib/tst-strtol.c (expand): Likewise.
1133         * stdlib/tst-strtoll.c (expand): Likewise.
1134         * streams/fattach.c (fattach): Likewise.
1135         * streams/fdetach.c (fdetach): Likewise.
1136         * streams/getmsg.c (getmsg): Likewise.
1137         * streams/isastream.c (isastream): Likewise.
1138         * string/ffs.c (__ffs): Likewise.
1139         * string/ffsll.c (ffsll): Likewise.
1140         * string/memcmp.c (memcmp_common_alignment): Likewise.
1141         (memcmp_not_common_alignment): Likewise.
1142         (MEMCMP): Likewise.
1143         * string/memcpy.c (memcpy): Likewise.
1144         * string/memmove.c (MEMMOVE): Likewise.
1145         * string/memset.c (memset): Likewise.
1146         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1147         * string/strchrnul.c (STRCHRNUL): Likewise.
1148         * string/strerror.c (strerror): Likewise.
1149         * string/strndup.c (__strndup): Likewise.
1150         * string/strverscmp.c (__strverscmp): Likewise.
1151         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1152         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1153         (clnttcp_freeres): Likewise.
1154         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1155         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1156         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1157         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1158         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1159         (xdr_callhdr): Likewise.
1160         * sunrpc/rpcinfo.c (udpping): Likewise.
1161         (tcpping): Likewise.
1162         (pstatus): Likewise.
1163         (pmapdump): Likewise.
1164         (brdcst): Likewise.
1165         (deletereg): Likewise.
1166         (getprognum): Likewise.
1167         (getvers): Likewise.
1168         (get_inet_address): Likewise.
1169         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1170         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1171         (svcudp_stat): Likewise.
1172         (svcudp_recv): Likewise.
1173         (svcudp_reply): Likewise.
1174         (svcudp_getargs): Likewise.
1175         (svcudp_freeargs): Likewise.
1176         (svcudp_destroy): Likewise.
1177         * sunrpc/xdr.c (xdr_bytes): Likewise.
1178         (xdr_netobj): Likewise.
1179         (xdr_string): Likewise.
1180         (xdr_wrapstring): Likewise.
1181         * sunrpc/xdr_float.c (xdr_float): Likewise.
1182         (xdr_double): Likewise.
1183         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
1184         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
1185         * sysvipc/ftok.c (ftok): Likewise.
1186         * sysvipc/msgctl.c (msgctl): Likewise.
1187         * sysvipc/msgget.c (msgget): Likewise.
1188         * sysvipc/msgrcv.c (msgrcv): Likewise.
1189         * sysvipc/msgsnd.c (msgsnd): Likewise.
1190         * sysvipc/semget.c (semget): Likewise.
1191         * sysvipc/semop.c (semop): Likewise.
1192         * sysvipc/shmat.c (shmat): Likewise.
1193         * sysvipc/shmctl.c (shmctl): Likewise.
1194         * sysvipc/shmdt.c (shmdt): Likewise.
1195         * sysvipc/shmget.c (shmget): Likewise.
1196         * termios/cfmakeraw.c (cfmakeraw): Likewise.
1197         * termios/speed.c (cfgetospeed): Likewise.
1198         (cfgetispeed): Likewise.
1199         (cfsetospeed): Likewise.
1200         (cfsetispeed): Likewise.
1201         * termios/tcflow.c (tcflow): Likewise.
1202         * termios/tcflush.c (tcflush): Likewise.
1203         * termios/tcgetattr.c (__tcgetattr): Likewise.
1204         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
1205         * termios/tcgetsid.c (tcgetsid): Likewise.
1206         * termios/tcsendbrk.c (tcsendbreak): Likewise.
1207         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
1208         * time/adjtime.c (__adjtime): Likewise.
1209         * time/dysize.c (dysize): Likewise.
1210         * time/ftime.c (ftime): Likewise.
1211         * time/getitimer.c (__getitimer): Likewise.
1212         * time/gettimeofday.c (__gettimeofday): Likewise.
1213         * time/gmtime.c (__gmtime_r): Likewise.
1214         (gmtime): Likewise.
1215         * time/localtime.c (__localtime_r): Likewise.
1216         (localtime): Likewise.
1217         * time/offtime.c (__offtime): Likewise.
1218         * time/settimeofday.c (__settimeofday): Likewise.
1219         * time/stime.c (stime): Likewise.
1220         * time/strftime_l.c (tm_diff): Likewise.
1221         (iso_week_days): Likewise.
1222         * time/strptime.c (strptime): Likewise.
1223         * time/time.c (time): Likewise.
1224         * time/timespec_get.c (timespec_get): Likewise.
1225         * time/tzset.c (tzset_internal): Likewise.
1226         (compute_change): Likewise.
1227         (__tz_compute): Likewise.
1228         * wcsmbs/btowc.c (__btowc): Likewise.
1229         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
1230         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
1231         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
1232         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
1233         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
1234         * wcsmbs/wcscat.c (__wcscat): Likewise.
1235         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1236         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
1237         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
1238         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1239         * wcsmbs/wcsdup.c (wcsdup): Likewise.
1240         * wcsmbs/wcslen.c (__wcslen): Likewise.
1241         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
1242         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
1243         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
1244         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
1245         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1246         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
1247         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1248         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1249         * wcsmbs/wcstok.c (wcstok): Likewise.
1250         * wcsmbs/wctob.c (wctob): Likewise.
1251         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
1252         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1253         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
1254         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
1255         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
1256         * wcsmbs/wmemset.c (__wmemset): Likewise.
1257         * wctype/wcfuncs.c (__towlower): Likewise.
1258         (__towupper): Likewise.
1259
1260         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
1261         (lll_unlock_elision): Add adapt_count parameter.
1262
1263 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1264
1265         * sysdeps/nptl/configure.ac: Do not give errors based on the
1266         results of top-level configure tests.
1267         * sysdeps/nptl/configure: Regenerated.
1268
1269         * configure.ac (libc_cv_Bgroup): Remove configure test.
1270         * configure: Regenerated.
1271         * config.make.in (have-Bgroup): Remove variable.
1272
1273         * configure.ac (sizeof_long_double): Remove configure test.
1274         * configure: Regenerated.
1275         * config.make.in (sizeof-long-double): Remove variable.
1276
1277         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
1278         * configure: Regenerated.
1279         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
1280         variable.
1281         (exceptions): Likewise.
1282         * sysdeps/arm/configure: Regenerated.
1283         * config.make.in (exceptions): Remove variable.
1284         * Makeconfig (uses-callbacks): Use -fexceptions instead of
1285         $(exceptions).
1286         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
1287         (CFLAGS-vdprintf_chk.c): Likewise.
1288         (CFLAGS-printf_chk.c): Likewise.
1289         (CFLAGS-fprintf_chk.c): Likewise.
1290         (CFLAGS-vprintf_chk.c): Likewise.
1291         (CFLAGS-vfprintf_chk.c): Likewise.
1292         (CFLAGS-gets_chk.c): Likewise.
1293         (CFLAGS-fgets_chk.c): Likewise.
1294         (CFLAGS-fgets_u_chk.c): Likewise.
1295         (CFLAGS-fread_chk.c): Likewise.
1296         (CFLAGS-fread_u_chk.c): Likewise.
1297         (CFLAGS-wprintf_chk.c): Likewise.
1298         (CFLAGS-fwprintf_chk.c): Likewise.
1299         (CFLAGS-vwprintf_chk.c): Likewise.
1300         (CFLAGS-vfwprintf_chk.c): Likewise.
1301         (CFLAGS-fgetws_chk.c): Likewise.
1302         (CFLAGS-fgetws_u_chk.c): Likewise.
1303         * libio/Makefile (CFLAGS-fileops.c): Likewise.
1304         (CFLAGS-fputc.c): Likewise.
1305         (CFLAGS-fputwc.c): Likewise.
1306         (CFLAGS-freopen64.c): Likewise.
1307         (CFLAGS-freopen.c): Likewise.
1308         (CFLAGS-fseek.c): Likewise.
1309         (CFLAGS-fseeko64.c): Likewise.
1310         (CFLAGS-fseeko.c): Likewise.
1311         (CFLAGS-ftello64.c): Likewise.
1312         (CFLAGS-ftello.c): Likewise.
1313         (CFLAGS-fwide.c): Likewise.
1314         (CFLAGS-genops.c): Likewise.
1315         (CFLAGS-getc.c): Likewise.
1316         (CFLAGS-getchar.c): Likewise.
1317         (CFLAGS-getwc.c): Likewise.
1318         (CFLAGS-getwchar.c): Likewise.
1319         (CFLAGS-iofclose.c): Likewise.
1320         (CFLAGS-iofflush.c): Likewise.
1321         (CFLAGS-iofgetpos64.c): Likewise.
1322         (CFLAGS-iofgetpos.c): Likewise.
1323         (CFLAGS-iofgets.c): Likewise.
1324         (CFLAGS-iofgetws.c): Likewise.
1325         (CFLAGS-iofputs.c): Likewise.
1326         (CFLAGS-iofputws.c): Likewise.
1327         (CFLAGS-iofread.c): Likewise.
1328         (CFLAGS-iofsetpos64.c): Likewise.
1329         (CFLAGS-iofsetpos.c): Likewise.
1330         (CFLAGS-ioftell.c): Likewise.
1331         (CFLAGS-iofwrite.c): Likewise.
1332         (CFLAGS-iogetdelim.c): Likewise.
1333         (CFLAGS-iogetline.c): Likewise.
1334         (CFLAGS-iogets.c): Likewise.
1335         (CFLAGS-iogetwline.c): Likewise.
1336         (CFLAGS-ioputs.c): Likewise.
1337         (CFLAGS-ioseekoff.c): Likewise.
1338         (CFLAGS-ioseekpos.c): Likewise.
1339         (CFLAGS-iosetbuffer.c): Likewise.
1340         (CFLAGS-iosetvbuf.c): Likewise.
1341         (CFLAGS-ioungetc.c): Likewise.
1342         (CFLAGS-ioungetwc.c): Likewise.
1343         (CFLAGS-oldfileops.c): Likewise.
1344         (CFLAGS-oldiofclose.c): Likewise.
1345         (CFLAGS-oldiofgetpos64.c): Likewise.
1346         (CFLAGS-oldiofgetpos.c): Likewise.
1347         (CFLAGS-oldiofsetpos64.c): Likewise.
1348         (CFLAGS-oldiofsetpos.c): Likewise.
1349         (CFLAGS-peekc.c): Likewise.
1350         (CFLAGS-putc.c): Likewise.
1351         (CFLAGS-putchar.c): Likewise.
1352         (CFLAGS-putwc.c): Likewise.
1353         (CFLAGS-putwchar.c): Likewise.
1354         (CFLAGS-rewind.c): Likewise.
1355         (CFLAGS-wfileops.c): Likewise.
1356         (CFLAGS-wgenops.c): Likewise.
1357         (CFLAGS-oldiofopen.c): Likewise.
1358         (CFLAGS-iofopen.c): Likewise.
1359         (CFLAGS-iofopen64.c): Likewise.
1360         (CFLAGS-oldtmpfile.c): Likewise.
1361         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1362         (CFLAGS-fprintf.c): Likewise.
1363         (CFLAGS-printf.c): Likewise.
1364         (CFLAGS-vfwprintf.c): Likewise.
1365         (CFLAGS-vfscanf.c): Likewise.
1366         (CFLAGS-vfwscanf.c): Likewise.
1367         (CFLAGS-fscanf.c): Likewise.
1368         (CFLAGS-scanf.c): Likewise.
1369         (CFLAGS-isoc99_vfscanf.c): Likewise.
1370         (CFLAGS-isoc99_vscanf.c): Likewise.
1371         (CFLAGS-isoc99_fscanf.c): Likewise.
1372         (CFLAGS-isoc99_scanf.c): Likewise.
1373         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
1374         (CFLAGS-isoc99_fwscanf.c): Likewise.
1375         (CFLAGS-isoc99_vwscanf.c): Likewise.
1376         (CFLAGS-isoc99_vfwscanf.c): Likewise.
1377
1378         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
1379         after mkstemp64.
1380         * login/tst-utmp.c (do_prepare): Likewise.
1381         * rt/tst-aio.c (do_prepare): Likewise.
1382         * rt/tst-aio64.c (do_prepare): Likewise.
1383
1384 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1385
1386         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1387         (__lll_lock_elision): Remove adapt_count decrement...
1388         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1389         (__lll_trylock_elision): Likewise.
1390         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1391         (__lll_unlock_elision): ... to here. And utilize
1392         new adapt_count parameter.
1393         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1394         (__lll_unlock_elision): Update to include adapt_count
1395         parameter.
1396         (lll_unlock_elision): Pass pointer to adapt_count
1397         variable.
1398
1399 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1400
1401         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
1402         Add elision adapt_count parameter to list of arguments.
1403         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1404         (lll_unlock_elision): Update with new parameter list
1405         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1406         (lll_unlock_elision): Likewise
1407         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
1408         (lll_unlock_elision): Likewise
1409
1410 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1411
1412         [BZ #19122]
1413         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
1414         attribute_hidden.
1415
1416         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
1417         attribute_hidden.
1418         [IS_IN (rtld)] (__strdup): Likewise.
1419         [IS_IN (rtld)] (__strerror_r): Likewise.
1420         [IS_IN (rtld)] (__strsep_g): Likewise.
1421         [IS_IN (rtld)] (memchr): Likewise.
1422         [IS_IN (rtld)] (memcmp): Likewise.
1423         [IS_IN (rtld)] (memcpy): Likewise.
1424         [IS_IN (rtld)] (memmove): Likewise.
1425         [IS_IN (rtld)] (memset): Likewise.
1426         [IS_IN (rtld)] (rawmemchr): Likewise.
1427         [IS_IN (rtld)] (stpcpy): Likewise.
1428         [IS_IN (rtld)] (strchr): Likewise.
1429         [IS_IN (rtld)] (strcmp): Likewise.
1430         [IS_IN (rtld)] (strlen): Likewise.
1431         [IS_IN (rtld)] (strnlen): Likewise.
1432         [IS_IN (rtld)] (strsep): Likewise.
1433
1434         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
1435         attribute_hidden.
1436         [IS_IN (rtld)] (__strtoul_internal): Likewise.
1437
1438         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
1439         attribute_hidden.
1440         [IS_IN (rtld)] (__libc_sigaction): Likewise.
1441
1442         * include/setjmp.h (__longjmp): Add attribute_hidden.
1443         [IS_IN (rtld)] (__sigsetjmp): Likewise.
1444
1445         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
1446         Add attribute_hidden.
1447
1448         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
1449         [IS_IN (rtld)] (__open): Likewise.
1450         [IS_IN (rtld)] (__fcntl): Likewise.
1451
1452         * include/dirent.h (__opendirat): Add attribute_hidden.
1453         (__getdents): Likewise.
1454         (__getdents64): Likewise.
1455         (__alloc_dir): Likewise.
1456         [IS_IN (rtld)] (__closedir): Likewise.
1457         [IS_IN (rtld)] (__fdopendir): Likewise.
1458         [IS_IN (rtld)] (__readdir): Likewise.
1459         [IS_IN (rtld)] (__readdir64): Likewise.
1460         [IS_IN (rtld)] (__rewinddir): Likewise.
1461
1462         * include/dlfcn.h (_dl_catch_error): Moved to ...
1463         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
1464         attribute_hidden.
1465
1466         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
1467         (_itoa_word): Likewise.
1468
1469         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
1470         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1471         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1472         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
1473         (_dl_higher_prime_number): Likewise.
1474         (_dl_debug_printf_c): Likewise.
1475         (_dl_signal_cerror): Likewise.
1476         (_dl_receive_error): Likewise.
1477         (_dl_reloc_bad_type): Likewise.
1478         (_dl_resolve_conflicts): Likewise.
1479         (_dl_check_all_versions): Likewise.
1480         (_dl_check_map_versions): Likewise.
1481         (_dl_sort_fini): Likewise.
1482         (_dl_debug_initialize): Likewise.
1483         (_dl_init_paths): Likewise.
1484         (_dl_show_auxv): Likewise.
1485         (_dl_next_ld_env_entry): Likewise.
1486         (_dl_important_hwcaps): Likewise.
1487         (_dl_load_cache_lookup): Likewise.
1488         (_dl_update_slotinfo): Likewise.
1489         (_dl_show_scope): Likewise.
1490
1491         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
1492         attribute_hidden.
1493         (_wordcopy_fwd_dest_aligned): Likewise.
1494         (_wordcopy_bwd_aligned): Likewise.
1495         (_wordcopy_bwd_dest_aligned): Likewise.
1496
1497         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1498         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1499         Likewise.
1500         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1501         Likewise.
1502         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1503
1504 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1505
1506         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
1507         GCC 5 requirement.
1508
1509 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1510
1511         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
1512         test.
1513         * sysdeps/i386/configure: Regenerated.
1514         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
1515         code unconditional.
1516
1517         * configure.ac (libc_cv_asm_previous_directive): Remove configure
1518         test.
1519         (libc_cv_asm_popsection_directive): Likewise.
1520         * configure: Regenerated.
1521         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
1522         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
1523         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
1524         (__make_section_unallocated): Make definition unconditional.
1525         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
1526         Remove conditional definition.
1527         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
1528         (__make_section_unallocated): Likewise.
1529
1530         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
1531         * configure: Regenerated.
1532         * config.make.in (static-libgcc): Remove variable.
1533         * Makerules (build-shlib-helper): Use -static-libgcc instead of
1534         $(static-libgcc).
1535         (build-module-helper): Likewise.
1536
1537         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
1538         * configure: Regenerated.
1539
1540 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1541
1542         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
1543         (struct char_buffer): New type.
1544         (char_buffer_start, char_buffer_size, char_buffer_error)
1545         (char_buffer_rewind, char_buffer_add): New functions.
1546         (ADDW): Remove macro, replaced by the char_buffer_add function.
1547         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
1548         of extend_alloca.  Make control flow more explicit.
1549
1550 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1551
1552         [BZ #19137]
1553         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1554         Add -fomit-frame-pointer.
1555         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
1556
1557 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1558
1559         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
1560         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
1561         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
1562         only if !__GNUC_PREREQ (5,0).
1563         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
1564         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
1565         (INTERNAL_SYSCALL_NCS): Likewise.
1566         (LOADREGS_0): New macro for GCC 5.
1567         (ASMARGS_0): Likewise.
1568         (LOADREGS_1): Likewise.
1569         (ASMARGS_1): Likewise.
1570         (LOADREGS_2): Likewise.
1571         (ASMARGS_2): Likewise.
1572         (LOADREGS_3): Likewise.
1573         (ASMARGS_3): Likewise.
1574         (LOADREGS_4): Likewise.
1575         (ASMARGS_4): Likewise.
1576         (LOADREGS_5): Likewise.
1577         (ASMARGS_5): Likewise.
1578         (LOADREGS_6): Likewise.
1579         (ASMARGS_6): Likewise.
1580
1581 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1582
1583         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
1584         -fomit-frame-pointer.
1585         (CFLAGS-mmap64.c): Likewise.
1586         (CFLAGS-semtimedop.c): Likewise.
1587         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
1588         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
1589         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1590         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1591
1592 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1593
1594         [BZ #18928]
1595         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
1596         _dl_pointer_guard member.
1597         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
1598         initializer.
1599         (security_init): Always set up pointer guard.
1600         (process_envvars): Do not process LD_POINTER_GUARD.
1601
1602 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
1603
1604         [BZ #19134]
1605         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
1606         (.LC2): Likewise.
1607         (.LC3): Likewise.
1608         (__lround): Do not add 0.5 to integer or out-of-range arguments.
1609
1610 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1611
1612         [BZ #19129]
1613         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
1614         r0 and r1.
1615
1616 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
1617
1618         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
1619
1620 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
1621
1622         * include/stap-probe.h: Fix macro definition formatting.
1623
1624 2015-10-14  Florian Weimer  <fweimer@redhat.com>
1625
1626         [BZ #19074]
1627         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
1628         load and store num_ifs.
1629
1630 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1631
1632         [BZ #18822]
1633         * sysdeps/unix/sysv/linux/sched_getaffinity.c
1634         (__sched_getaffinity_new): Add libc_hidden_proto and
1635         libc_hidden_def.
1636
1637 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1638
1639         [BZ #19007]
1640         * scripts/localplt.awk: Also allow GOT references.
1641         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
1642         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
1643         with "+ REL R_386_GLOB_DAT".
1644         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
1645         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
1646
1647 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1648
1649         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
1650         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1651         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
1652         Likewise.
1653         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1654         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
1655         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1656         INTERNAL_SYSCALLINTERNAL_SYSCALL and
1657         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1658         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1659         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1660         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1661         Likewise.
1662         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1663
1664 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1665
1666         [BZ #19125]
1667         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
1668         <math_private.h> and <stdint.h>.
1669         (__llround): Avoid conversions to and from long long int, and
1670         subtractions, where those might raise spurious exceptions.
1671         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1672         <math_private.h> and <stdint.h>.
1673         (__llroundf): Avoid conversions to and from long long int, and
1674         subtractions, where those might raise spurious exceptions.
1675
1676 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1677
1678         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
1679         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1680         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1681         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
1682         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1683         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1684         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
1685         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
1686         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
1687         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1688         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1689         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1690         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
1691         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1692         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1693         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
1694         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
1695         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1696         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
1697         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
1698         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1699         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
1700         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
1701         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1702         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
1703         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1704         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
1705         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1706         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1707         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
1708         (__xstat64_conv): Likewise.
1709         (__xstat32_conv): Likewise.
1710
1711 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1712
1713         * sysdeps/unix/sysv/linux/sysdep.h: New file.
1714         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
1715         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
1716         <sysdeps/unix/sysv/linux/sysdep.h>.
1717         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1718         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
1719         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
1720         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1721         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1722         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
1723         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1724         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1725         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1730         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1731         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1733         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
1734         (sysdep-dl-routines): Add sysdep.
1735         [$(subdir) == nptl] (libpthread-routines): Likewise.
1736         [$(subdir) == rt] (librt-routines): Likewise.
1737         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
1738         PIC when branching to SYSCALL_ERROR_LABEL.
1739         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
1740         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
1741         <sysdeps/unix/sysv/linux/sysdep.h>.
1742         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
1743         (SYSCALL_ERROR_ERRNO): Removed.
1744         (SYSCALL_ERROR_HANDLER): Changed to empty.
1745         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
1746         (__syscall_error): New prototype.
1747         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
1748         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
1749
1750 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1751
1752         [BZ #19124]
1753         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
1754         (_dl_runtime_resolve_avx512): Make it a hidden alias of
1755         _dl_runtime_resolve_avx.
1756         (_dl_runtime_profile_avx512): Make it a hidden alias of
1757         _dl_runtime_profile_avx.
1758
1759 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1760
1761         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
1762         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
1763         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
1764         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
1765
1766         [BZ #16422]
1767         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
1768         New configure test.
1769         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
1770         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
1771         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
1772         <math_private.h> and <stdint.h>.
1773         (__llrint): Avoid conversions to long long int where those might
1774         raise spurious exceptions.
1775         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1776         <math_private.h> and <stdint.h>.
1777         (__llrintf): Avoid conversions to long long int where those might
1778         raise spurious exceptions.
1779
1780 2015-10-12  Andreas Schwab  <schwab@suse.de>
1781
1782         [BZ #18969]
1783         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
1784         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
1785         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
1786         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
1787         $(gen-locales).
1788         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
1789         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
1790         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
1791         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
1792         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
1793         $(gen-locales).
1794         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
1795         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
1796         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
1797         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
1798         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
1799         ($(objpfx)tst-ftell-active-handler.out)
1800         ($(objpfx)tst-ftell-append.out)
1801         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
1802         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
1803         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
1804         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
1805         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
1806         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
1807         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
1808         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
1809         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
1810         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
1811         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
1812         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
1813         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
1814         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
1815         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
1816         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
1817         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
1818         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
1819         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
1820         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
1821         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
1822         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
1823         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
1824         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
1825         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
1826         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
1827         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
1828         $(gen-locales).
1829         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
1830         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
1831         $(gen-locales).
1832         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
1833         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
1834         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
1835         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
1836         $(gen-locales).
1837         * libio/tst_wprintf2.c (main): Use explicit locale.
1838         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
1839
1840 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1841
1842         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
1843         __msg_sig_post.
1844         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
1845
1846 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
1847
1848         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1849         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1850
1851         * sysdeps/arm/libm-test-ulps: Regenerated.
1852
1853         [BZ #15470]
1854         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
1855
1856         [BZ #16399]
1857         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
1858         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
1859         and <fix-fp-int-convert-overflow.h>.
1860         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1861         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1862         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
1863         and <fix-fp-int-convert-overflow.h>.
1864         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
1865         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1866         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
1867         <fix-fp-int-convert-overflow.h>.
1868         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1869         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1870         * sysdeps/ieee754/dbl-64/s_lround.c: Include
1871         <fix-fp-int-convert-overflow.h>.
1872         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
1873         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1874         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
1875         and <fix-fp-int-convert-overflow.h>.
1876         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1877         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1878         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
1879         <limits.h> and <fix-fp-int-convert-overflow.h>.
1880         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1881         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1882         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
1883         and <fix-fp-int-convert-overflow.h>.
1884         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1885         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1886         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
1887         and <fix-fp-int-convert-overflow.h>.
1888         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1889         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1890         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
1891
1892 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
1893
1894         [BZ #18589]
1895         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
1896         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
1897         $(gen-locales).
1898
1899 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1900             Phil Blundell <pb@pbcl.net>
1901
1902         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
1903         * nptl/tst-cancel26.c: New file.
1904         * nptl/tst-cancel27.c: Likewise.
1905
1906 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
1907
1908         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
1909         __ILP32__ isn't defined.
1910         (lrint): Likewise.
1911         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
1912         (lrintf): Likewise.
1913         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
1914         (lrintl): Likewise.
1915         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
1916         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
1917         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
1918
1919 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1920
1921         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1922         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1923
1924         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
1925         file.
1926         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
1927         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1928
1929 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
1930
1931         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
1932         configure test.
1933         * sysdeps/i386/configure: Regenerated.
1934         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
1935         configure test.
1936         * sysdeps/x86_64/configure: Regenerated.
1937         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
1938         Make code unconditional.
1939
1940         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
1941         test.
1942         * sysdeps/i386/configure: Regenerated.
1943         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
1944         test.
1945         * sysdeps/x86_64/configure: Regenerated.
1946         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
1947         Make code unconditional.
1948         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1949         Likewise.
1950         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
1951         Likewise.
1952         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1953         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
1954         code unconditional.
1955         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1956         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
1957         code unconditional.
1958         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1959         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
1960         code unconditional.
1961         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
1962         code unconditional.
1963         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1964         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
1965         code unconditional.
1966         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1967         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
1968         code unconditional.
1969         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1970         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
1971         code unconditional.
1972         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1973         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
1974         code unconditional.
1975         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1976         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
1977
1978         [BZ #19095]
1979         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
1980         mantissa to long int before shifting left.
1981
1982 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
1983
1984         [BZ #19094]
1985         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
1986         <limits.h>.
1987         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1988         when result overflows but exception would not result from cast.
1989         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
1990         <limits.h>.
1991         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1992         when result overflows but exception would not result from cast.
1993         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
1994         <limits.h>.
1995         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1996         when result overflows but exception would not result from cast.
1997         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
1998         <limits.h>.
1999         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2000         when result overflows but exception would not result from cast.
2001         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
2002         <limits.h>.
2003         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2004         when result overflows but exception would not result from cast.
2005         * math/libm-test.inc (lrint_test_data): Add more tests.
2006         (llrint_test_data): Likewise.
2007
2008 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2009
2010         [BZ #18872]
2011         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2012         Move out from under [$(run-built-tests) = yes] conditional.
2013         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2014         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2015
2016 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2017
2018         [BZ #18589]
2019         * string/Makefile (tests): Add bug-strcoll2.
2020         (LOCALES): Add cs_CZ.UTF-8.
2021         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2022
2023         [BZ #18589]
2024         * string/bug-strcoll2.c: New file.
2025         * locale/categories.def: Revert commit
2026         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2027         * locale/langinfo.h: Likewise.
2028         * locale/localeinfo.h: Likewise.
2029         * locale/C-collate.c: Likewise.
2030         * locale/programs/ld-collate.c (collate_output): Likewise.
2031         * string/strcoll_l.c (STRDIFF): Likewise.
2032         (STRCOLL): Likewise.
2033         * wcsmbs/wcscoll_l.c: Likewise.
2034
2035 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2036
2037         * math/libm-test.inc (lround_test_data): Do not expect the absence
2038         of "inexact" for some tests with non-integer arguments.
2039         (llround_test_data): Likewise.
2040
2041         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2042         test.
2043         (libc_cv_cc_sse2avx): Likewise.
2044         * sysdeps/i386/configure: Regenerated.
2045         * sysdeps/i386/i686/multiarch/Makefile
2046         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2047         [$(subdir) = math].
2048         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2049         code unconditional.
2050         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2051         Likewise.
2052         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2053         Likewise.
2054         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2055         Likewise.
2056         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2057         test.
2058         (libc_cv_cc_sse2avx): Likewise.
2059         * sysdeps/x86_64/configure: Regenerated.
2060         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2061         unconditional.
2062         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2063         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2064         unconditional.
2065         (_dl_runtime_profile)
2066         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2067         conditional code.
2068         * sysdeps/x86_64/fpu/multiarch/Makefile
2069         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2070         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2071         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2072         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2073         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2074         * sysdeps/x86_64/fpu/multiarch/e_log.c
2075         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2076         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2077         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2078         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2079         Likewise.
2080         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2081         Likewise.
2082         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2083         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2084         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2085         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2086         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2087         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2088         (HAVE_SSE2AVX_SUPPORT): Likewise.
2089
2090 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2091
2092         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2093         instead of #pragma optimize.
2094
2095 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2096
2097         [BZ #17195]
2098         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2099         as is similarly done in systrim and _int_free already.
2100
2101 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2102
2103         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2104
2105 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2106
2107         [BZ #19088]
2108         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2109         <limits.h>.
2110         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2111         overflows but exception would not result from cast.
2112         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2113         and <limits.h>.
2114         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2115         overflows but exception would not result from cast.
2116         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2117         <limits.h>.
2118         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2119         overflows but exception would not result from cast.
2120         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2121         <limits.h>.
2122         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2123         overflows but exception would not result from cast.
2124         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2125         <limits.h>.
2126         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2127         overflows but exception would not result from cast.
2128         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2129         <limits.h>.
2130         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2131         overflows but exception would not result from cast.
2132         * math/libm-test.inc (lround_test_data): Add more tests.
2133         (llround_test_data): Likewise.
2134
2135 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2136
2137         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2138         (CFLAGS-ialloc.c): Ditto.
2139         (CFLAGS-scheck.c): Ditto.
2140
2141 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2142
2143         [BZ #19086]
2144         * manual/filesys.texi (Storage Allocation): Fix argument order for
2145         posix_fallocate64.
2146
2147 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2148
2149         [BZ #19085]
2150         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2151         exponent below 48 inside case for non-overflowing exponent.
2152         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2153
2154 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2155
2156         * iconvdata/cp737.h (from_idx): Add const.
2157         * iconvdata/cp775.h (from_idx): Likewise.
2158
2159 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2160
2161         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2162         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2163         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2164
2165         [BZ #19079]
2166         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2167         file, conditioned on [!_LP64].
2168         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2169         [!_LP64] (__lround): Do not define as function or alias.
2170         [!_LP64] (lround): Likewise.
2171         [!_LP64] (__lroundl): Likewise.
2172         [!_LP64] (lroundl): Likewise.
2173         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2174         macro.
2175         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2176         Likewise.
2177
2178 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2179
2180         * math/libm-test.inc (lrint_test_data): Add more tests.
2181         (llrint_test_data): Likewise.
2182         (lround_test_data): Likewise.
2183         (llround_test_data): Likewise.
2184
2185         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
2186         (llrint_test_data): Add tests used for lrint.
2187
2188         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
2189         test.
2190         * sysdeps/i386/configure: Regenerated.
2191         * sysdeps/i386/i686/multiarch/Makefile
2192         [$(config-cflags-sse4) = yes]: Make code unconditional.
2193         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2194         Likewise.
2195         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
2196         Likewise.
2197         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
2198         test.
2199         * sysdeps/x86_64/configure: Regenerated.
2200         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
2201         Make code unconditional.
2202         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2203         Likewise.
2204         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
2205         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
2206
2207         * scripts/rpm2dynsym.sh: Remove file.
2208
2209 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2210
2211         * configure.ac (libc_cv_cxx_thread_local): Define.
2212         * configure: Regenerate.
2213         * config.make.in (have-cxx-thread_local): Define.
2214         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
2215         (LDLIBS-tst-thread_local1): Define.
2216         (tests): Add tst-thread_local1.
2217         [have-cxx-thread_local != yes] (tests-unsupported): Add
2218         tst-thread_local1.
2219         * nptl/tst-thread_local1.cc: New file.
2220
2221 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2222
2223         [BZ #19078]
2224         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
2225         (u_thres): Likewise.
2226         (__expl): Determine whether to call __kernel_standard_l based on
2227         value of result, not argument.
2228
2229         * math/libm-test.inc (scalb_test_data): Add more expectations for
2230         the "inexact" exception.
2231
2232         [BZ #19077]
2233         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
2234         0.0L for argument 1.0L.
2235
2236         [BZ #19076]
2237         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
2238         constant 0.0L when computing infinite result.
2239
2240 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2241
2242         [BZ #10432]
2243         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
2244         malloc_usable_size.
2245
2246 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2247
2248         [BZ #19018]
2249         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2250         Mangle function pointer before storing it.
2251         (__call_tls_dtors): Demangle function pointer before calling it.
2252
2253 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2254
2255         [BZ #19012]
2256         * iconv/gconv_db.c (gen_steps): Check for additional errors.
2257         Clean up on failure.
2258
2259 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
2260
2261         [BZ #19071]
2262         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
2263         long int variable to store possibly incremented high part of
2264         mantissa.
2265         * math/libm-test.inc (lround_test_data): Add tests used for
2266         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
2267         for tests requiring 64-bit long.  Do not condition tests on
2268         [TEST_FLOAT] unnecessarily.
2269         (llround_test_data): Add tests used for lround.  Add another
2270         expectation for the "inexact" exception.  Do not condition tests
2271         on [TEST_FLOAT] unnecessarily.
2272
2273         [BZ #887]
2274         [BZ #19049]
2275         [BZ #19050]
2276         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
2277         * sysdeps/ieee754/dbl-64/e_log10.c: Include
2278         <fix-int-fp-convert-zero.h>.
2279         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2280         * sysdeps/ieee754/dbl-64/e_log2.c: Include
2281         <fix-int-fp-convert-zero.h>.
2282         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2283         * sysdeps/ieee754/dbl-64/s_erf.c: Include
2284         <fix-int-fp-convert-zero.h>.
2285         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2286         * sysdeps/ieee754/dbl-64/s_logb.c: Include
2287         <fix-int-fp-convert-zero.h>.
2288         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2289         * sysdeps/ieee754/flt-32/e_log10f.c: Include
2290         <fix-int-fp-convert-zero.h>.
2291         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2292         * sysdeps/ieee754/flt-32/e_log2f.c: Include
2293         <fix-int-fp-convert-zero.h>.
2294         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2295         * sysdeps/ieee754/flt-32/s_erff.c: Include
2296         <fix-int-fp-convert-zero.h>.
2297         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2298         * sysdeps/ieee754/flt-32/s_logbf.c: Include
2299         <fix-int-fp-convert-zero.h>.
2300         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2301         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
2302         <fix-int-fp-convert-zero.h>.
2303         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2304         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
2305         <fix-int-fp-convert-zero.h>.
2306         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2307         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
2308         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
2309         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
2310         file.
2311         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
2312
2313 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2314
2315         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2316
2317 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
2318
2319         [BZ #19059]
2320         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
2321         overflowing computation.
2322         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2323         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2324         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2325         Likewise.
2326         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2327         Likewise.
2328         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2329         Likewise.
2330         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2331         Likewise.
2332         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2333         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2334         Likewise.
2335         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2336         Likewise.
2337         * math/libm-test.inc (nexttoward_test_data): Add more tests.
2338
2339         * nss/rewrite_field.c (__nss_rewrite_field): Use
2340         internal_function.
2341         * nss/valid_field.c (__nss_valid_field): Likewise.
2342         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2343
2344 2015-10-02  Florian Weimer  <fweimer@redhat.com>
2345
2346         [BZ #18724]
2347         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
2348         (__nss_invalid_field_characters, __nss_valid_field)
2349         (__nss_valid_list_field, __nss_rewrite_field): Declare.
2350         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
2351         tst-field.c: New file.
2352         * nss/Makefile (routines): Add valid_field, rewrite_field.
2353         (tests-static): Define unconditionally.
2354         (tests): Include tests-static.
2355         [build-static-nss] (tests-static): Use append.
2356         [build-static-nss] (tests): Remove modification.
2357         * nss/getent.c (print_group): Call putgrent.  Report error.
2358         (print_gshadow): Call putsgent.  Report error.
2359         (print_passwd): Call putpwent.  Report error.
2360         (print_shadow): Call putspent.  Report error.
2361         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
2362         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
2363         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
2364         name, password, directory, shell fields for valid syntax.  Rewrite
2365         GECOS field to match syntax.
2366         * pwd/Makefile (tests): Add tst-putpwent.
2367         * pwd/tst-putpwent.c: New file.
2368         * grp/putgrent.c (putgrent): Convert to ISO function definition.
2369         Check grName, grpasswd, gr_mem fields for valid syntax.
2370         Change loop variable i to size_t.
2371         * grp/Makefile (tests): Add tst-putgrent.
2372         * grp/tst-putgrent.c: New file.
2373         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
2374         valid syntax.
2375         * shadow/Makefile (tests): Add tst-putspent.
2376         * shadow/tst-putspent.c: New file.
2377         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
2378         sg_mem fields for valid syntax.
2379         * gshadow/Makefile (tests): Add tst-putsgent.
2380         * gshadow/tst-putsgent.c: New file.
2381
2382 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2383
2384         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
2385         assembly instructions.
2386
2387 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2388
2389         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
2390         prefix from operands.
2391
2392 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
2393
2394         [BZ #16347]
2395         [BZ #19046]
2396         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
2397         <libc-internal.h>.
2398         (MAXLGM): Do not use diagnostic control macros.
2399         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
2400         threshold for ldbl-128ibm.
2401         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
2402         instead of multiplying by log then subtracting.
2403         * math/auto-libm-test-in: Add more tests of lgamma.
2404         * math/auto-libm-test-out: Regenerated.
2405
2406         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
2407         (TYPE_HEX_DIG): Likewise.
2408         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
2409         precisions when printing floating-point numbers.
2410         (check_float_internal): Likewise.
2411
2412 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2413
2414         [BZ #16620]
2415         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
2416         of log (10) rounded downward to 48 bits.
2417         (log10_low): Use corresponding low part of log (10).
2418
2419         [BZ #19032]
2420         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
2421         compute result as (x - x) / (x - x) not as 0 / 0.
2422         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2423         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
2424
2425         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2426         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
2427         and expm1.
2428         * math/auto-libm-test-out: Regenerated.
2429         * math/libm-test.inc (acos_test_data): Add more tests.
2430         (asin_test_data): Likewise.
2431         (asinh_test_data): Likewise.
2432         (atan_test_data): Likewise.
2433         (atanh_test_data): Likewise.
2434         (atan2_test_data): Likewise.
2435         (cbrt_test_data): Likewise.
2436         (ceil_test_data): Likewise.
2437         (copysign_test_data): Likewise.
2438         (cos_test_data): Likewise.
2439         (cosh_test_data): Likewise.
2440         (erf_test_data): Likewise.
2441         (erfc_test_data): Likewise.
2442         (exp_test_data): Likewise.
2443         (exp10_test_data): Likewise.
2444         (exp2_test_data): Likewise.
2445         (expm1_test_data): Likewise.
2446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2447
2448 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
2449
2450         [BZ #19006]
2451         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
2452         to ...
2453         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
2454         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
2455         to ...
2456         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
2457         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
2458         to ...
2459         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
2460         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
2461         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
2462         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
2463         to ...
2464         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
2465         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2466         Moved to ...
2467         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
2468         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2469         Moved to ...
2470         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
2471         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
2472         to ...
2473         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
2474         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2475         Moved to ...
2476         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
2477         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
2478         to ...
2479         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
2480         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
2481         Removed.
2482         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
2483         Likewise.
2484         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
2485         Likewise.
2486         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
2487         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
2488         Likewise.
2489         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2490         Likewise.
2491         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2492         Likewise.
2493         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2494         Likewise.
2495         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2496         Likewise.
2497         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
2498         Likewise.
2499         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
2500         Likewise.
2501         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
2502         Likewise.
2503         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
2504         Likewise.
2505         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
2506         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
2507         Likewise.
2508         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2509         Likewise.
2510         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2511         Likewise.
2512         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2513         Likewise.
2514         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
2515         Likewise.
2516         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2517         Replace ../i486/pthread_cond_timedwait.S with
2518         ../pthread_cond_timedwait.S.
2519
2520 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2521
2522         * math/libm-test.inc (acos_test_data): Refine expectations for
2523         errno and "inexact" exceptions.
2524         (acosh_test_data): Likewise.
2525         (asin_test_data): Likewise.
2526         (asinh_test_data): Likewise.
2527         (atan_test_data): Likewise.
2528         (atanh_test_data): Likewise.
2529         (atan2_test_data): Likewise.
2530         (cbrt_test_data): Likewise.
2531         (ceil_test_data): Likewise.
2532         (copysign_test_data): Likewise.
2533         (cosh_test_data): Likewise.
2534         (erf_test_data): Likewise.
2535         (erfc_test_data): Likewise.
2536         (exp_test_data): Likewise.
2537         (exp10_test_data): Likewise.
2538         (exp2_test_data): Likewise.
2539         (expm1_test_data): Likewise.
2540         (fabs_test_data): Likewise.
2541         (floor_test_data): Likewise.
2542         (fma_test_data): Likewise.
2543         (fmax_test_data): Likewise.
2544         (fmin_test_data): Likewise.
2545         (fmod_test_data): Likewise.
2546         (fpclassify_test_data): Likewise.
2547         (frexp_test_data): Likewise.
2548         (hypot_test_data): Likewise.
2549         (ilogb_test_data): Likewise.
2550         (isgreater_test_data): Likewise.
2551         (isgreaterequal_test_data): Likewise.
2552         (isinf_test_data): Likewise.
2553         (isless_test_data): Likewise.
2554         (islessequal_test_data): Likewise.
2555         (islessgreater_test_data): Likewise.
2556         (isnan_test_data): Likewise.
2557         (isnormal_test_data): Likewise.
2558         (issignaling_test_data): Likewise.
2559         (isunordered_test_data): Likewise.
2560         (j0_test_data): Likewise.
2561         (j1_test_data): Likewise.
2562         (jn_test_data): Likewise.
2563         (lgamma_test_data): Likewise.
2564         (lrint_test_data): Likewise.
2565         (llrint_test_data): Likewise.
2566         (log_test_data): Likewise.
2567         (log10_test_data): Likewise.
2568         (log1p_test_data): Likewise.
2569         (log2_test_data): Likewise.
2570         (logb_test_data): Likewise.
2571         (lround_test_data): Likewise.
2572         (llround_test_data): Likewise.
2573         (modf_test_data): Likewise.
2574         (nearbyint_test_data): Likewise.
2575         (nextafter_test_data): Likewise.
2576         (nexttoward_test_data): Likewise.
2577         (pow_test_data): Likewise.
2578         (remainder_test_data): Likewise.
2579         (remquo_test_data): Likewise.
2580         (rint_test_data): Likewise.
2581         (round_test_data): Likewise.
2582         (signbit_test_data): Likewise.
2583         (sinh_test_data): Likewise.
2584         (sqrt_test_data): Likewise.
2585         (tanh_test_data): Likewise.
2586         (tgamma_test_data): Likewise.
2587         (trunc_test_data): Likewise.
2588         (y0_test_data): Likewise.
2589         (y1_test_data): Likewise.
2590         (yn_test_data): Likewise.
2591         (significand_test_data): Likewise.
2592
2593 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
2594
2595         * manual/filesys.texi (Storage Allocation): Document that
2596         posix_fallocate emulation fails when fd is open with O_WRONLY.
2597
2598 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2599
2600         [BZ #19016]
2601         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
2602         allow more cases with X^2 + Y^2 >= 0.5.
2603         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
2604         normal element in sum instead of special-casing based on values of
2605         arguments.
2606         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
2607         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
2608         -1 as normal element in sum instead of special-casing based on
2609         values of arguments.
2610         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
2611         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
2612         (__x2y2m1): Update comment.
2613         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
2614         as normal element in sum instead of special-casing based on values
2615         of arguments.
2616         * math/s_clog.c (__clog): Handle more cases using log1p without
2617         hypot.
2618         * math/s_clog10.c (__clog10): Likewise.
2619         * math/s_clog10f.c (__clog10f): Likewise.
2620         * math/s_clog10l.c (__clog10l): Likewise.
2621         * math/s_clogf.c (__clogf): Likewise.
2622         * math/s_clogl.c (__clogl): Likewise.
2623         * math/auto-libm-test-in: Add more tests of clog and clog10.
2624         * math/auto-libm-test-out: Regenerated.
2625         * sysdeps/i386/fpu/libm-test-ulps: Update.
2626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2627
2628 2015-09-28  Martin Sebor  <msebor@redhat.com>
2629
2630         [BZ #18969]
2631         * string/Makefile (LOCALES): Define.
2632         (gen-locales.mk): Include.
2633         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
2634         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
2635         * string/tst-strxfrm2.c (do_test): Print the name of the locale
2636         on setlocale failure.
2637
2638 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2639
2640         [BZ #18985]
2641         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
2642         (__strftime_internal): Likewise.
2643         * time/tst-strftime.c (do_bz18985): New test.
2644         (do_test): Call it.
2645
2646 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
2647
2648         [BZ #18956]
2649         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
2650         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
2651         extracting high part.
2652         * math/auto-libm-test-in: Add another test of pow.
2653         * math/auto-libm-test-out: Regenerated.
2654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2655
2656 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2657
2658         [BZ #18825]
2659         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
2660         New macro.
2661         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
2662         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2663         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
2664         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
2665         DBL_NARROW_EVAL, reloading the PIC register as needed.
2666         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
2667         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
2668         FLT_NARROW_EVAL.  Use separate return path for case when first
2669         argument is NaN.
2670         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
2671         DEFINE_LDBL_MIN.
2672         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
2673         PIC register.
2674         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
2675         math_check_force_underflow_nonneg.
2676         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
2677         underflow for subnormal result.
2678         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2679         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
2680         math_check_force_underflow_nonneg.
2681         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
2682         math_check_force_underflow.
2683         * sysdeps/x86_64/fpu/x86_64-math-asm.h
2684         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
2685         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
2686         DEFINE_LDBL_MIN.
2687         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
2688         * math/auto-libm-test-in: Add more tests of pow.
2689         * math/auto-libm-test-out: Regenerated.
2690
2691 2015-09-25  Florian Weimer  <fweimer@redhat.com>
2692
2693         * nss/bug17079.c (init_test_items): Add diagnostic for
2694         inconsistent entries.
2695         (test_buffer_size): Skip inconsistent entries.
2696
2697 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2698
2699         [BZ #13304]
2700         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
2701         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
2702         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
2703
2704         [BZ #13304]
2705         * sysdeps/microblaze/s_fma.c: New file.
2706         * sysdeps/microblaze/s_fmaf.c: Likewise.
2707         * sysdeps/microblaze/sfp-machine.h: Likewise.
2708
2709 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
2710
2711         [BZ #17250]
2712         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
2713         member.
2714
2715 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2716
2717         [BZ #18803]
2718         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
2719         (MO): New macro.
2720         (__ieee754_hypot) [PIC]: Load PIC register.
2721         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
2722         DBL_NARROW_EVAL.
2723         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
2724         math_check_force_underflow_nonneg in case where result might be
2725         tiny.
2726         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2727         Likewise.
2728         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2729         Likewise.
2730         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2731         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
2732         * math/auto-libm-test-in: Add more tests of hypot.
2733         * math/auto-libm-test-out: Regenerated.
2734
2735 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
2736
2737         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
2738
2739 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2740
2741         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
2742         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
2743         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2744         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2745         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
2746         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2747         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2748
2749         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
2750         LOAD_PIC_REG.
2751
2752         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
2753         (FLT_CHECK_FORCE_UFLOW): Likewise.
2754         (DBL_CHECK_FORCE_UFLOW): Likewise.
2755         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
2756         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
2757         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
2758         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2759         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2760         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2761         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2762         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2763         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
2764         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2765         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
2766         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
2767         (flt_min): Replace with use of DEFINE_FLT_MIN.
2768         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
2769         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
2770         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2771         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
2772         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
2773         (flt_min): Replace with use of DEFINE_FLT_MIN.
2774         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
2775         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
2776         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2777         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
2778         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
2779         (flt_min): Replace with use of DEFINE_FLT_MIN.
2780         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
2781         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
2782         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2783         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2784         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
2785         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2786         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2787         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
2788         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2789         (__atan): Use DBL_CHECK_FORCE_UFLOW.
2790         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
2791         (flt_min): Replace with use of DEFINE_FLT_MIN.
2792         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
2793         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
2794         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2795         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
2796         main computation.
2797         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
2798         (flt_min): Replace with use of DEFINE_FLT_MIN.
2799         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
2800         main computation.
2801         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
2802         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2803         (MO): New macro.
2804         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
2805         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
2806         (flt_min): Replace with use of DEFINE_FLT_MIN.
2807         (MO): New macro.
2808         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
2809         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
2810         (__log1pl): Use MO.
2811
2812         [BZ #19003]
2813         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
2814         $(config-cflags-nofma).
2815
2816 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2817
2818         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2819
2820 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
2821
2822         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
2823         (TWO127): Likewise.
2824
2825         * sysdeps/generic/math_private.h (fabs_tg): New macro.
2826         (min_of_type): Likewise.
2827         (math_check_force_underflow): Likewise.
2828         (math_check_force_underflow_nonneg): Likewise.
2829         (math_check_force_underflow_complex): Likewise.
2830         * math/e_exp2l.c (__ieee754_exp2l): Use
2831         math_check_force_underflow_nonneg.
2832         * math/k_casinh.c (__kernel_casinh): Likewise.
2833         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2834         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2835         * math/s_catan.c (__catan): Use
2836         math_check_force_underflow_complex.
2837         * math/s_catanf.c (__catanf): Likewise.
2838         * math/s_catanh.c (__catanh): Likewise.
2839         * math/s_catanhf.c (__catanhf): Likewise.
2840         * math/s_catanhl.c (__catanhl): Likewise.
2841         * math/s_catanl.c (__catanl): Likewise.
2842         * math/s_ccosh.c (__ccosh): Likewise.
2843         * math/s_ccoshf.c (__ccoshf): Likewise.
2844         * math/s_ccoshl.c (__ccoshl): Likewise.
2845         * math/s_cexp.c (__cexp): Likewise.
2846         * math/s_cexpf.c (__cexpf): Likewise.
2847         * math/s_cexpl.c (__cexpl): Likewise.
2848         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
2849         * math/s_clog10.c (__clog10): Likewise.
2850         * math/s_clog10f.c (__clog10f): Likewise.
2851         * math/s_clog10l.c (__clog10l): Likewise.
2852         * math/s_clogf.c (__clogf): Likewise.
2853         * math/s_clogl.c (__clogl): Likewise.
2854         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
2855         * math/s_csinf.c (__csinf): Likewise.
2856         * math/s_csinh.c (__csinh): Likewise.
2857         * math/s_csinhf.c (__csinhf): Likewise.
2858         * math/s_csinhl.c (__csinhl): Likewise.
2859         * math/s_csinl.c (__csinl): Likewise.
2860         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
2861         * math/s_csqrtf.c (__csqrtf): Likewise.
2862         * math/s_csqrtl.c (__csqrtl): Likewise.
2863         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
2864         * math/s_ctanf.c (__ctanf): Likewise.
2865         * math/s_ctanh.c (__ctanh): Likewise.
2866         * math/s_ctanhf.c (__ctanhf): Likewise.
2867         * math/s_ctanhl.c (__ctanhl): Likewise.
2868         * math/s_ctanl.c (__ctanl): Likewise.
2869         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
2870         instead of volatile.
2871         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
2872         math_check_force_underflow.
2873         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2874         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
2875         volatile when forcing underflow.
2876         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2877         math_check_force_underflow_nonneg.
2878         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2879         Likewise.
2880         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
2881         math_check_force_underflow.
2882         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2883         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2884         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2885         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
2886         math_check_force_underflow_nonneg.
2887         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
2888         math_check_force_underflow.
2889         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
2890         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
2891         instead of volatile.
2892         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
2893         math_check_force_underflow.
2894         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2895         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2896         math_check_force_underflow_nonneg.
2897         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
2898         math_check_force_underflow.
2899         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
2900         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2901         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
2902         math_check_force_underflow_nonneg.
2903         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2904         Likewise.
2905         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
2906         math_check_force_underflow.
2907         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2908         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
2909         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
2910         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
2911         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2912         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
2913         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
2914         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
2915         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2916         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
2917         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
2918         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
2919         Likewise.
2920         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
2921         math_check_force_underflow_nonneg.
2922         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2923         Likewise.
2924         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
2925         math_check_force_underflow.
2926         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2927         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
2928         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2929         Likewise.
2930         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
2931         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
2932         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
2933         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
2934         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
2935         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
2936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
2937         instead of volatile.
2938         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
2939         math_check_force_underflow.
2940         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
2941         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
2942         math_check_force_underflow.
2943         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
2944         Likewise.
2945         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2946         Use math_check_force_underflow_nonneg.
2947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
2948         math_check_force_underflow.
2949         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2950         Likewise.
2951         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2952         Likewise.
2953         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2954         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2955         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2956         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2957         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
2958         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2959         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
2960         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
2961         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
2962         math_check_force_underflow_nonneg.
2963         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
2964         math_check_force_underflow.
2965         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2966         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
2967         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
2968         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
2969         math_check_force_underflow_nonneg.
2970         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
2971         math_check_force_underflow.
2972         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
2973         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
2974         instead of volatile.
2975         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
2976         math_check_force_underflow.
2977
2978         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
2979         * stdlib/strtod_l.c: Include <math_private.h>.
2980         (overflow_value): Use math_narrow_eval.
2981         (underflow_value): Likewise.
2982         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2983         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2984         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
2985         (__ieee754_gamma_r): Likewise.
2986         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
2987         Likewise.
2988         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2989         Likewise.
2990         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
2991         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
2992         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
2993         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
2994         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
2995         (__ieee754_gammaf_r): Likewise.
2996         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2997         Likewise.
2998         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
2999         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
3000         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3001         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3002         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3003         volatile.
3004         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3005         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3006         math_narrow_eval.
3007         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3008         Likewise.
3009         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3010         Likewise.
3011         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3012         Likewise.
3013         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3014         volatile.
3015         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3016         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3017         math_narrow_eval.
3018         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3019         Likewise.
3020         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3021         Likewise.
3022
3023 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3024
3025         * nptl/Versions: Remove ignored symbols.
3026
3027 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3028
3029         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3030         * nss/Makefile (tests): Update.
3031
3032 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3033
3034         * nss/bug18287.c: New file.
3035         * nss/Makefile (tests): Add bug18287.
3036
3037 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3038
3039         * mach/Versions (__mach_host_self_): Add symbol.
3040
3041 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3042
3043         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3044         vm_page_size.
3045
3046 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3047
3048         Really fix sysdeps/i386/fpu/s_scalbn.S build
3049
3050         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3051         (libc: GLIBC_2_22): Remove unused version set.
3052
3053 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3054
3055         * config.make.in (enable-timezone-tools): New variable.
3056         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3057         (enable_timezone_tools): Export to generated files.
3058         * configure: Regenerate.
3059         * INSTALL: Regenerate.
3060         * manual/install.texi (--disable-timezone-tools): Document new flag.
3061         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3062         ifeq ($(enable-timezone-tools),yes) check.
3063
3064 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3065
3066         * timezone/Makefile: Revert previous change.
3067
3068         [BZ #18980]
3069         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3070         (DEFINE_DBL_MIN): Likewise.
3071         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3072         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3073         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3074         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3075         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3076         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3077         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3078         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3079         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3080         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3081         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3082         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3083         (flt_min): Replace with use of DEFINE_FLT_MIN.
3084         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3085         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3086         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3087         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3088         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3089         (flt_min): Replace with use of DEFINE_FLT_MIN.
3090         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3091         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3092         (flt_min): Replace with use of DEFINE_FLT_MIN.
3093         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3094         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3095         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3096         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3097         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3098         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3099         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3100         (__ieee754_pow): Use DBL_NARROW_EVAL.
3101         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3102         (__ieee754_powf): Use FLT_NARROW_EVAL.
3103         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3104         (__ieee754_expf_sse2): Convert double-precision result to single
3105         precision.
3106         * sysdeps/i386/fpu/libm-test-ulps: Update.
3107
3108 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3109
3110         * timezone/Makefile: Ignore unused variable errors due to private.h
3111         (time_t_min) and (time_t_max).
3112         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3113         Likewise.
3114
3115 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3116
3117         [BZ #18981]
3118         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3119         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3120         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3121         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3122         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3123         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3124         (__scalbn): Use DBL_NARROW_EVAL.
3125         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3126         (__scalbnf): Use FLT_NARROW_EVAL.
3127
3128 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3129
3130         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3131         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3132         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3133         * stdio-common/printf_fp.c (___printf_fp):
3134         Use signbit to get the sign. Use isinf macro to allow inlining.
3135         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3136         * stdio-common/printf_size.c (__printf_size): Likewise.
3137
3138 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3139
3140         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3141
3142 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3143
3144         [BZ #18980]
3145         * sysdeps/generic/math_private.h: Include <float.h>.
3146         (math_narrow_eval): New macro.
3147         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3148         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3149         math_narrow_eval on overflowing return value.
3150         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3151         Likewise.
3152         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3153         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3154         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3155         Likewise.
3156         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3157
3158 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3159
3160         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3161         * math/Makefile: Remove isinf_ns.c.
3162         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3163         * math/multc3.c (__multc3): Likewise.
3164         * math/s_casin.c (__casin): Likewise.
3165         * math/s_casinf.c (__casinf): Likewise.
3166         * math/s_casinl.c (__casinl): Likewise.
3167         * math/s_cproj.c (__cproj): Likewise.
3168         * math/s_cprojf.c (__cprojf): Likewise.
3169         * math/s_cprojl.c (__cprofl): Likewise.
3170         * math/s_ctan.c (__ctan): Likewise.
3171         * math/s_ctanf.c (__ctanf): Likewise.
3172         * math/s_ctanh.c (__ctanh): Likewise.
3173         * math/s_ctanhf.c (__ctanhf): Likewise.
3174         * math/s_ctanhl.c (__ctanhl): Likewise.
3175         * math/s_ctanl.c (__ctanl): Likewise.
3176         * math/w_fmod.c (__fmod): Likewise.
3177         * math/w_fmodf.c (__fmodf): Likewise.
3178         * math/w_fmodl.c (_fmodl): Likewise.
3179         * math/w_remainder.c (__remainder): Likewise.
3180         * math/w_remainderf.c (__remainderf): Likewise.
3181         * math/w_remainderl.c (__remainderl): Likewise.
3182         * math/w_scalb.c (__scalb): Likewise.
3183         * math/w_scalbf.c (__scalbf): Likewise.
3184         * math/w_scalbl.c (__scalbl): Likewise.
3185         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
3186         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
3187         with isinf.
3188         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
3189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
3190         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
3191         __isinf_nsf with isinf.
3192         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
3193         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
3194         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
3195         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
3196         with isinf.
3197         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
3198         __isinf_nsl with isinf.
3199         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
3200         with isinf.
3201         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
3202         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
3203         __isinf_nsl with isinf.
3204         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
3205         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
3206         with isinf.
3207
3208 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3209
3210         * resolv/base64.c (rcsid): Remove unused static.
3211         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
3212         static.  (tqpi1): Likewise.
3213         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
3214         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
3215         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
3216         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
3217         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
3218         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
3219         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
3220         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
3221         Likewise.
3222
3223 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
3224
3225         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
3226         <nptl/pthreadP.h>.
3227         (_longjmp_unwind): Use __libc_ptf_call.
3228         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
3229
3230 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
3231
3232         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
3233         * sysdeps/arm/__longjmp.S: Likewise
3234
3235 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3236
3237         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
3238         Use __builtin_signbit.
3239         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
3240         Use __builtin_signbitf.
3241         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
3242         Use __builtin_signbitl.
3243         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3244         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
3245
3246 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3247
3248         [BZ #15367]
3249         [BZ #17441]
3250
3251         * math/Makefile: Build test-snan.c with -fsignaling-nans.
3252         * math/math.h (fpclassify): Use __builtin_fpclassify when
3253         available.  (signbit): Use __builtin_signbit(f/l).
3254         (isfinite): Use__builtin_isfinite.  (isnormal): Use
3255         __builtin_isnormal.  (isnan): Use __builtin_isnan.
3256         (isinf): Use __builtin_isinf_sign.
3257
3258 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3259
3260         * benchtests/Makefile: Add bench-math-inlines, link with libm.
3261         * benchtests/bench-math-inlines.c: New benchmark.
3262         * benchtests/bench-util.h: New file.
3263         * benchtests/bench-util.c: New file.
3264         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
3265
3266 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
3267
3268         * elf/tst-dlmopen1.c: Define TEST_SO.
3269         (do_test): Use TEST_SO.
3270
3271         * elf/dl-load.c: Include libc-internal.h.
3272         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
3273
3274 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3275
3276         [BZ #17887]
3277         * time/strptime_l.c (__strptime_internal): Make %z accept
3278         [+-]HH:MM time zones.
3279
3280 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3281
3282         [BZ #17886]
3283         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
3284         valid time zone.
3285
3286 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
3287
3288         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
3289         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
3290         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3291         (__ASSUME_FDATASYNC): Delete.
3292
3293 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3294
3295         * conform/linknamespace.pl: Require weak undefined symbols to be
3296         in the standard namespace.
3297         (%strong_syms): Rename to %seen_syms.
3298         (%strong_seen): Rename to %seen_where.
3299
3300 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3301
3302         [BZ #18970]
3303         * misc/error.c (error): Replace pthread_setcancelstate with
3304         __pthread_setcancelstate.
3305         (error_at_line): Likewise.
3306         * posix/wordexp.c (parse_comm): Likewise.
3307         * stdlib/fmtmsg.c (fmtmsg): Likewise.
3308         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
3309         (__pthread_setcancelstate): This.
3310         (pthread_setcancelstate): Add an alias.
3311         * nptl/nptl-init.c (pthread_functions): Replace
3312         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
3313         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
3314         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
3315         hidden_proto.
3316         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
3317         it with hidden_def.
3318         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
3319         (pthread_setcancelstate): Renamed to ...
3320         (__pthread_setcancelstate): This.
3321         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
3322         __libc_ptf_call with __pthread_setcancelstate.
3323
3324 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3325             Andreas Schwab  <schwab@suse.de>
3326
3327         [BZ #17118]
3328         * math/s_ctan.c (__ctan): Determine sign of zero real part of
3329         result when imaginary part of argument is infinite using sine and
3330         cosine.
3331         * math/s_ctanf.c (__ctanf): Likewise.
3332         * math/s_ctanl.c (__ctanl): Likewise.
3333         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
3334         of result when real part of argument is infinite using sine and
3335         cosine.
3336         * math/s_ctanhf.c (__ctanhf): Likewise.
3337         * math/s_ctanhl.c (__ctanhl): Likewise.
3338         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
3339         (ctanh_test_data): Add more tests of ctanh.
3340
3341 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3342
3343         [BZ #15384]
3344         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
3345         bit-mask as in subtraction.
3346         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
3347         Likewise.
3348         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3349         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3350         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
3351
3352         [BZ #18951]
3353         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
3354         underflow exception for small results.
3355         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3356         Likewise.
3357         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3358         Likewise.
3359         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3360         Likewise.
3361         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3362         Likewise.
3363         * math/auto-libm-test-in: Add more tests of tgamma.
3364         * math/auto-libm-test-out: Regenerated.
3365
3366 2015-09-17  Andreas Schwab  <schwab@suse.de>
3367
3368         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
3369
3370 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3371
3372         [BZ #18977]
3373         * math/bits/mathcalls.h
3374         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
3375         not declare.
3376         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
3377         Likewise.
3378         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
3379         Likewise.
3380         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
3381         Likewise.
3382         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
3383         Likewise.
3384         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
3385         Likewise.
3386         * conform/data/math.h-data
3387         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
3388         function.
3389         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
3390         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
3391         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
3392         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
3393         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
3394         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
3395         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
3396         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
3397         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
3398         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
3399         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
3400
3401         [BZ #6803]
3402         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
3403         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
3404         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
3405         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
3406         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
3407         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
3408         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
3409         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
3410         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3411         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
3412         Likewise.
3413         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3414         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
3415         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
3416         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
3417         long_double_symbol calls.
3418         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
3419         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
3420         strong alias of __ldexpl.
3421         (scalbnl): Define using long_double_symbol.
3422         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
3423         Remove alias.
3424         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
3425         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
3426         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
3427         (scalbln_test_data): Add more errno expectations.
3428
3429 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
3430
3431         Cache the host port like we cache the task port.  This way we do not
3432         need to call the kernel just to get the port.  Furthermore, we no
3433         longer increase the reference count on every invocation of
3434         `mach_host_self'.
3435
3436         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
3437         Protect declarations against the macro expansion.
3438         * mach/mach_init.c (__mach_host_self_): New variable.
3439         (mach_init): Initialize `__mach_host_self_'.
3440         * mach/mach_init.h (__mach_host_self_): New declaration.
3441         (__mach_host_self, mach_host_self): New macros.
3442         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
3443         Release reference.
3444
3445 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3446
3447         [BZ #4404]
3448         * po/de.po: Update from Translation Project.
3449
3450         [BZ #16415]
3451         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
3452         (__expm1l): Remove code to handle positive infinity and overflow.
3453         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
3454         variable.
3455         (__expm1l): Remove code to handle positive infinity and overflow.
3456
3457 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
3458             Paul Pluzhnikov  <ppluzhnikov@google.com>
3459
3460         [BZ #18872]
3461         * stdio-common/Makefile (tst-printf-bz18872): New test.
3462         (tst-printf-bz18872-mem.out): Likewise.
3463         * stdio-common/tst-printf-bz18872.sh: Generate new test.
3464         * stdio-common/vfprintf.c: Fix memory leaks.
3465
3466 2015-09-16  Andreas Schwab  <schwab@suse.de>
3467
3468         [BZ #17244]
3469         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
3470         Remove extra va_start/va_end calls.
3471
3472         [BZ #17243]
3473         * posix/execl.c (execl): Add missing va_end.
3474         * posix/execle.c (execle): Likewise.
3475         * posix/execlp.c (execlp): Likewise.
3476
3477 2015-09-15  Roland McGrath  <roland@hack.frob.com>
3478
3479         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
3480         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
3481
3482 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
3483
3484         [BZ #18967]
3485         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
3486         undefine around includes of <bits/mathcalls.h>.
3487         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
3488         not declare function.
3489         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
3490         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
3491         (scalb): Likewise.
3492         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
3493         not define macro.
3494         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
3495         variable.
3496         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3497         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3498         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3499
3500         [BZ #18857]
3501         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
3502         return non-finite argument without doing ordered comparisons on
3503         it.
3504
3505         [BZ #16296]
3506         * math/fenv.h (fegetround): Use __attribute_pure__.
3507         * include/fenv.h (__fegetround): Likewise.
3508
3509         [BZ #18595]
3510         * math/s_ctan.c (__ctan): Force underflow exception for results
3511         whose real or imaginary part has small absolute value.
3512         * math/s_ctanf.c (__ctanf): Likewise.
3513         * math/s_ctanh.c (__ctanh): Likewise.
3514         * math/s_ctanhf.c (__ctanhf): Likewise.
3515         * math/s_ctanhl.c (__ctanhl): Likewise.
3516         * math/s_ctanl.c (__ctanl): Likewise.
3517         * math/auto-libm-test-in: Do not allow missing underflow for ctan
3518         and ctanh.  Add more tests of ctan and ctanh.
3519
3520         [BZ #15918]
3521         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
3522         handling of cases where one argument is an infinity.
3523
3524         [BZ #18875]
3525         [BZ #18966]
3526         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
3527         (MO): New macro.
3528         (__ieee754_exp10): For small results, force underflow exception
3529         and remove excess range and precision from return value.
3530         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
3531         (MO): New macro.
3532         (__ieee754_exp10f): For small results, force underflow exception
3533         and remove excess range and precision from return value.
3534         * math/auto-libm-test-in: Add more tests of exp10.
3535         * math/auto-libm-test-out: Regenerated.
3536
3537 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
3538
3539         [BZ #18875]
3540         [BZ #18961]
3541         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
3542         (MO): New macro.
3543         (__ieee754_exp): For small results, force underflow exception and
3544         remove excess range and precision from return value.
3545         (__exp_finite): Likewise.
3546         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
3547         (MO): New macro.
3548         (__ieee754_expf): For small results, force underflow exception and
3549         remove excess range and precision from return value.
3550         (__expf_finite): Likewise.
3551         * math/auto-libm-test-in: Add more tests of exp.
3552         * math/auto-libm-test-out: Regenerated.
3553
3554         [BZ #16521]
3555         [BZ #18875]
3556         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
3557         small results.
3558         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
3559         (MO): New macro.
3560         (__ieee754_exp2): For small results, force underflow exception and
3561         remove excess range and precision from return value.
3562         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
3563         (MO): New macro.
3564         (__ieee754_exp2f): For small results, force underflow exception
3565         and remove excess range and precision from return value.
3566         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
3567         (MO): New macro.
3568         (__ieee754_exp2l): Force underflow exception for small results.
3569         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3570         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3571         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
3572         (MO): New macro.
3573         (__ieee754_exp2l): Force underflow exception for small results.
3574         * math/auto-libm-test-in: Add more tests or exp2.
3575         * math/auto-libm-test-out: Regenerated.
3576
3577 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
3578
3579         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
3580
3581         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
3582         /dev/null.
3583
3584 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3585
3586         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3587         io fs process)): Drop spurious backslash.
3588
3589 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3590
3591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
3592         Use sysinfo system call instead of parsing /proc/meminfo.
3593         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
3594         Likewise.
3595
3596 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
3597
3598         [BZ #16985]
3599         * programs/localedef.c (main): Display argv[remaining] when
3600         output_path is NULL.
3601
3602 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3603
3604         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3605         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
3606         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
3607         tanh.
3608         * math/auto-libm-test-out: Regenerated.
3609         * sysdeps/i386/fpu/libm-test-ulps: Update.
3610         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3611         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3613
3614 2015-09-11  Roland McGrath  <roland@hack.frob.com>
3615
3616         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
3617         Use 'override' keyword to freeze the value here, preventing
3618         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
3619
3620 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3621
3622         [BZ #14912]
3623         * sysdeps/aarch64/bits/atomic.h: Move to ...
3624         * sysdeps/aarch64/atomic-machine.h: ...here.
3625         (_AARCH64_BITS_ATOMIC_H): Rename macro to
3626         _AARCH64_ATOMIC_MACHINE_H.
3627         * sysdeps/alpha/bits/atomic.h: Move to ...
3628         * sysdeps/alpha/atomic-machine.h: ...here.
3629         * sysdeps/arm/bits/atomic.h: Move to ...
3630         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
3631         * bits/atomic.h: Move to ...
3632         * sysdeps/generic/atomic-machine.h: ...here.
3633         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3634         * sysdeps/i386/bits/atomic.h: Move to ...
3635         * sysdeps/i386/atomic-machine.h: ...here.
3636         * sysdeps/ia64/bits/atomic.h: Move to ...
3637         * sysdeps/ia64/atomic-machine.h: ...here.
3638         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
3639         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
3640         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3641         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
3642         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
3643         * sysdeps/microblaze/bits/atomic.h: Move to ...
3644         * sysdeps/microblaze/atomic-machine.h: ...here.
3645         * sysdeps/mips/bits/atomic.h: Move to ...
3646         * sysdeps/mips/atomic-machine.h: ...here.
3647         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
3648         * sysdeps/powerpc/bits/atomic.h: Move to ...
3649         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
3650         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
3651         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
3652         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
3653         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
3654         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
3655         <atomic-machine.h> instead of <bits/atomic.h>.
3656         * sysdeps/s390/bits/atomic.h: Move to ...
3657         * sysdeps/s390/atomic-machine.h: ...here.
3658         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
3659         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
3660         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3661         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
3662         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
3663         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
3664         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
3665         * sysdeps/tile/bits/atomic.h: Move to ...
3666         * sysdeps/tile/atomic-machine.h: ...here.
3667         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
3668         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
3669         <sysdeps/tile/atomic-machine.h> instead of
3670         <sysdeps/tile/bits/atomic.h>.
3671         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3672         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
3673         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
3674         <sysdeps/tile/atomic-machine.h> instead of
3675         <sysdeps/tile/bits/atomic.h>.
3676         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3677         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
3678         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
3679         <sysdeps/arm/atomic-machine.h> instead of
3680         <sysdeps/arm/bits/atomic.h>.
3681         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
3682         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
3683         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3684         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
3685         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
3686         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3687         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
3688         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
3689         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
3690         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
3691         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
3692         * sysdeps/x86_64/bits/atomic.h: Move to ...
3693         * sysdeps/x86_64/atomic-machine.h: ...here.
3694         * include/atomic.h: Include <atomic-machine.h> instead of
3695         <bits/atomic.h>.
3696
3697         * sysdeps/mips/mips32/libm-test-ulps: Update.
3698         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3699
3700         [BZ #18952]
3701         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
3702         not convert non-integer negative arguments to int to determine the
3703         value of signgam.
3704         * math/auto-libm-test-in: Add more tests of lgamma.
3705         * math/auto-libm-test-out: Regenerated.
3706
3707         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
3708         cosh, csqrt, erfc, expm1 and lgamma.
3709         * math/auto-libm-test-out: Regenerated.
3710         * sysdeps/i386/fpu/libm-test-ulps: Update.
3711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3712
3713 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
3714
3715         [BZ #2542]
3716         [BZ #2543]
3717         [BZ #2558]
3718         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
3719         __lgamma_neg for arguments from -28.0 to -2.0.
3720         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
3721         __lgamma_negf for arguments from -15.0 to -2.0.
3722         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3723         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
3724         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
3725         Call __lgamma_negl for arguments from -33.0 to -2.0.
3726         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
3727         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3728         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3729         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
3730         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3731         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3732         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3733         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
3734         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3735         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3736         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
3737         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
3738         (__lgamma_neg): Likewise.
3739         (__lgamma_negl): Likewise.
3740         (__lgamma_product): Likewise.
3741         (__lgamma_productl): Likewise.
3742         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
3743         * math/auto-libm-test-in: Add more tests of lgamma.
3744         * math/auto-libm-test-out: Regenerated.
3745         * sysdeps/i386/fpu/libm-test-ulps: Update.
3746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3747
3748 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
3749
3750         [BZ #18675]
3751         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
3752
3753 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
3754
3755         [BZ #14912]
3756         * bits/libc-lock.h: Move to ...
3757         * sysdeps/generic/libc-lock.h: ...here.
3758         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3759         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
3760         * sysdeps/mach/hurd/libc-lock.h: ...here.
3761         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3762         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
3763         * sysdeps/mach/bits/libc-lock.h: Move to ...
3764         * sysdeps/mach/libc-lock.h: ...here.
3765         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3766         * sysdeps/nptl/bits/libc-lock.h: Move to ...
3767         * sysdeps/nptl/libc-lock.h: ...here.
3768         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3769         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
3770         * sysdeps/nptl/libc-lockP.h: ...here.
3771         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
3772         * crypt/crypt_util.c: Include <libc-lock.h> instead of
3773         <bits/libc-lock.h>.
3774         * dirent/scandir-tail.c: Likewise.
3775         * dlfcn/dlerror.c: Likewise.
3776         * elf/dl-close.c: Likewise.
3777         * elf/dl-iteratephdr.c: Likewise.
3778         * elf/dl-lookup.c: Likewise.
3779         * elf/dl-open.c: Likewise.
3780         * elf/dl-support.c: Likewise.
3781         * elf/dl-writev.h: Likewise.
3782         * elf/rtld.c: Likewise.
3783         * grp/fgetgrent.c: Likewise.
3784         * gshadow/fgetsgent.c: Likewise.
3785         * gshadow/sgetsgent.c: Likewise.
3786         * iconv/gconv_conf.c: Likewise.
3787         * iconv/gconv_db.c: Likewise.
3788         * iconv/gconv_dl.c: Likewise.
3789         * iconv/gconv_int.h: Likewise.
3790         * iconv/gconv_trans.c: Likewise.
3791         * include/link.h: Likewise.
3792         * inet/getnameinfo.c: Likewise.
3793         * inet/getnetgrent.c: Likewise.
3794         * inet/getnetgrent_r.c: Likewise.
3795         * intl/bindtextdom.c: Likewise.
3796         * intl/dcigettext.c: Likewise.
3797         * intl/finddomain.c: Likewise.
3798         * intl/gettextP.h: Likewise.
3799         * intl/loadmsgcat.c: Likewise.
3800         * intl/localealias.c: Likewise.
3801         * intl/textdomain.c: Likewise.
3802         * libidn/idn-stub.c: Likewise.
3803         * libio/libioP.h: Likewise.
3804         * locale/duplocale.c: Likewise.
3805         * locale/freelocale.c: Likewise.
3806         * locale/newlocale.c: Likewise.
3807         * locale/setlocale.c: Likewise.
3808         * login/getutent_r.c: Likewise.
3809         * login/getutid_r.c: Likewise.
3810         * login/getutline_r.c: Likewise.
3811         * login/utmp-private.h: Likewise.
3812         * login/utmpname.c: Likewise.
3813         * malloc/mtrace.c: Likewise.
3814         * misc/efgcvt.c: Likewise.
3815         * misc/error.c: Likewise.
3816         * misc/fstab.c: Likewise.
3817         * misc/getpass.c: Likewise.
3818         * misc/mntent.c: Likewise.
3819         * misc/syslog.c: Likewise.
3820         * nis/nis_call.c: Likewise.
3821         * nis/nis_callback.c: Likewise.
3822         * nis/nss-default.c: Likewise.
3823         * nis/nss_compat/compat-grp.c: Likewise.
3824         * nis/nss_compat/compat-initgroups.c: Likewise.
3825         * nis/nss_compat/compat-pwd.c: Likewise.
3826         * nis/nss_compat/compat-spwd.c: Likewise.
3827         * nis/nss_nis/nis-alias.c: Likewise.
3828         * nis/nss_nis/nis-ethers.c: Likewise.
3829         * nis/nss_nis/nis-grp.c: Likewise.
3830         * nis/nss_nis/nis-hosts.c: Likewise.
3831         * nis/nss_nis/nis-network.c: Likewise.
3832         * nis/nss_nis/nis-proto.c: Likewise.
3833         * nis/nss_nis/nis-pwd.c: Likewise.
3834         * nis/nss_nis/nis-rpc.c: Likewise.
3835         * nis/nss_nis/nis-service.c: Likewise.
3836         * nis/nss_nis/nis-spwd.c: Likewise.
3837         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3838         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3839         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3840         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3841         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
3842         * nis/nss_nisplus/nisplus-network.c: Likewise.
3843         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3844         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3845         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3846         * nis/nss_nisplus/nisplus-service.c: Likewise.
3847         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3848         * nis/ypclnt.c: Likewise.
3849         * nptl/libc_pthread_init.c: Likewise.
3850         * nss/getXXbyYY.c: Likewise.
3851         * nss/getXXent.c: Likewise.
3852         * nss/getXXent_r.c: Likewise.
3853         * nss/nss_db/db-XXX.c: Likewise.
3854         * nss/nss_db/db-netgrp.c: Likewise.
3855         * nss/nss_db/nss_db.h: Likewise.
3856         * nss/nss_files/files-XXX.c: Likewise.
3857         * nss/nss_files/files-alias.c: Likewise.
3858         * nss/nsswitch.c: Likewise.
3859         * posix/regex_internal.h: Likewise.
3860         * posix/wordexp.c: Likewise.
3861         * pwd/fgetpwent.c: Likewise.
3862         * resolv/res_hconf.c: Likewise.
3863         * resolv/res_libc.c: Likewise.
3864         * shadow/fgetspent.c: Likewise.
3865         * shadow/lckpwdf.c: Likewise.
3866         * shadow/sgetspent.c: Likewise.
3867         * socket/opensock.c: Likewise.
3868         * stdio-common/reg-modifier.c: Likewise.
3869         * stdio-common/reg-printf.c: Likewise.
3870         * stdio-common/reg-type.c: Likewise.
3871         * stdio-common/vfprintf.c: Likewise.
3872         * stdio-common/vfscanf.c: Likewise.
3873         * stdlib/abort.c: Likewise.
3874         * stdlib/cxa_atexit.c: Likewise.
3875         * stdlib/fmtmsg.c: Likewise.
3876         * stdlib/random.c: Likewise.
3877         * stdlib/setenv.c: Likewise.
3878         * string/strsignal.c: Likewise.
3879         * sunrpc/auth_none.c: Likewise.
3880         * sunrpc/bindrsvprt.c: Likewise.
3881         * sunrpc/create_xid.c: Likewise.
3882         * sunrpc/key_call.c: Likewise.
3883         * sunrpc/rpc_thread.c: Likewise.
3884         * sysdeps/arm/backtrace.c: Likewise.
3885         * sysdeps/generic/ldsodefs.h: Likewise.
3886         * sysdeps/generic/stdio-lock.h: Likewise.
3887         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
3888         * sysdeps/i386/backtrace.c: Likewise.
3889         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3890         * sysdeps/m68k/backtrace.c: Likewise.
3891         * sysdeps/mach/hurd/cthreads.c: Likewise.
3892         * sysdeps/mach/hurd/dirstream.h: Likewise.
3893         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
3894         * sysdeps/nptl/malloc-machine.h: Likewise.
3895         * sysdeps/nptl/stdio-lock.h: Likewise.
3896         * sysdeps/posix/dirstream.h: Likewise.
3897         * sysdeps/posix/getaddrinfo.c: Likewise.
3898         * sysdeps/posix/system.c: Likewise.
3899         * sysdeps/pthread/aio_suspend.c: Likewise.
3900         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3901         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3902         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3903         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3904         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
3905         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
3906         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
3907         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3908         * sysdeps/unix/sysv/linux/system.c: Likewise.
3909         * sysdeps/x86_64/backtrace.c: Likewise.
3910         * time/alt_digit.c: Likewise.
3911         * time/era.c: Likewise.
3912         * time/tzset.c: Likewise.
3913         * wcsmbs/wcsmbsload.c: Likewise.
3914         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
3915         instead of <bits/libc-lock.h> in comment.
3916
3917 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
3918
3919         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
3920         Only use .set mips2 if the current ISA is below mips2.
3921         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
3922         Likewise.
3923         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
3924         mips32r2 if the current ISA is below mips32r2.
3925         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
3926         (TLS_IE): Updated to use the TLD_RDHWR macro.
3927         (TLS_LE): Likewise.
3928         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
3929         __ASSEMBLER__ condition.
3930
3931 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3932
3933         Fix parallel build of before-compile targets.
3934
3935         * sysdeps/mach/Makefile ($(patsubst
3936         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
3937         mach-before-compile target.
3938         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3939         io fs process)): Move rule to dedicated hurd-before-compile target.
3940
3941 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3942
3943         Fix rules generating headers in hurd/ and mach/ when initial make call
3944         has subdir= explicitly set.
3945
3946         * sysdeps/mach/Makefile ($(patsubst
3947         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
3948         calling $(MAKE).
3949         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3950         io fs process)): Force subdir to hurd when calling $(MAKE).
3951         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
3952         subdir to mach when calling $(MAKE).
3953
3954 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
3955
3956         Check sysheaders when looking for Mach and Hurd headers
3957
3958         * sysdeps/mach/configure.ac: Add sysheaders check.
3959         * sysdeps/mach/configure: Regenerate.
3960         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
3961         * sysdeps/mach/hurd/configure: Regenerate.
3962
3963 2015-09-04  Roland McGrath  <roland@hack.frob.com>
3964
3965         [BZ #18921]
3966         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
3967         Fix inverted sense of test of 'o_directory_works' value.
3968         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
3969         Bernhard Voelker <mail@bernhard-voelker.de>.
3970
3971 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
3972
3973         [BZ #14912]
3974         * bits/linkmap.h: Move to ...
3975         * sysdeps/generic/linkmap.h: ...here.
3976         * sysdeps/aarch64/bits/linkmap.h: Move to ...
3977         * sysdeps/aarch64/linkmap.h: ...here.
3978         * sysdeps/arm/bits/linkmap.h: Move to ...
3979         * sysdeps/arm/linkmap.h: ...here.
3980         * sysdeps/hppa/bits/linkmap.h: Move to ...
3981         * sysdeps/hppa/linkmap.h: ...here.
3982         * sysdeps/ia64/bits/linkmap.h: Move to ...
3983         * sysdeps/ia64/linkmap.h: ...here.
3984         * sysdeps/mips/bits/linkmap.h: Move to ...
3985         * sysdeps/mips/linkmap.h: ...here.
3986         * sysdeps/s390/bits/linkmap.h: Move to ...
3987         * sysdeps/s390/linkmap.h: ...here.
3988         * sysdeps/sh/bits/linkmap.h: Move to ...
3989         * sysdeps/sh/linkmap.h: ...here.
3990         * sysdeps/x86/bits/linkmap.h: Move to ...
3991         * sysdeps/x86/linkmap.h: ...here.
3992         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
3993
3994 2015-09-04  Andreas Schwab  <schwab@suse.de>
3995
3996         [BZ #18635]
3997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
3998         (__makecontext): Terminate FDE before return label.
3999         (__novec_makecontext): Likewise.
4000
4001 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4002
4003         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4004         first member of struct sv in syscall macro.
4005
4006 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4007
4008         [BZ #14912]
4009         * bits/stdio-lock.h: Move to ...
4010         * sysdeps/generic/stdio-lock.h: ...here.
4011         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4012         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4013         * sysdeps/nptl/stdio-lock.h: ...here.
4014         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4015         * include/libio.h: Include <stdio-lock.h> instead of
4016         <bits/stdio-lock.h>.
4017         * sysdeps/nptl/fork.c: Likewise.
4018         * sysdeps/pthread/flockfile.c: Likewise.
4019         * sysdeps/pthread/ftrylockfile.c: Likewise.
4020         * sysdeps/pthread/funlockfile.c: Likewise.
4021
4022         [BZ #14912]
4023         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4024         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4025         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4026         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4027         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4028         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4029         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4030
4031 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4032
4033         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4034         (test-xfail-tst-protected1b): New variable.
4035
4036 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4037
4038         [BZ #14912]
4039         * bits/libc-tsd.h: Move to ...
4040         * sysdeps/generic/libc-tsd.h: ...here.
4041         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4042         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4043         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4044         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4045         * include/ctype.h: Include <libc-tsd.h> instead of
4046         <bits/libc-tsd.h>.
4047         * include/rpc/rpc.h: Likewise.
4048         * locale/localeinfo.h: Likewise.
4049         * sunrpc/rpc_thread.c: Likewise.
4050         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4051         * sysdeps/nptl/malloc-machine.h: Likewise.
4052
4053         * Makefile (headers): Remove bits/libc-lock.h.
4054         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4055
4056         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4057         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4058         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4059         <bits/stdio-lock.h>.
4060         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4061         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4062
4063 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4064
4065         [BZ #18757]
4066         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4067         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4068         BZ #18757.
4069
4070 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4071
4072         * malloc/mtrace.pl: Filter out NULL entries.
4073
4074 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4075
4076         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4077         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4078         macro.
4079
4080         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4081         (TCP_CC_INFO): Likewise.
4082         (TCP_SAVE_SYN): Likewise.
4083         (TCP_SAVED_SYN): Likewise.
4084
4085 2015-08-31  Brett Neumeier <brett@neumeier.us>
4086
4087         [BZ #18870]
4088         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4089
4090 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4091
4092         [BZ #18873]
4093         Fix broken overflow check in posix_fallocate
4094         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4095         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4096         Fix parenthesization typo.
4097
4098 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4099
4100         [BZ #18887]
4101         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4102         tst-mntent-blank-passno.
4103         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4104         * misc/tst-mntent-blank-corrupt.c: New test.
4105         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4106         * misc/tst-mntent.c (do_test): ... here.
4107
4108 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4109
4110         [BZ #4404]
4111         * po/de.po: Fix SIGALRM typo.
4112
4113 2015-08-28  James Perkins  <james@loowit.net>
4114
4115         * time/tst-strptime2.c (tests): Replace short list of test
4116         strings for strptime %z specifier with code which exhaustively
4117         tests every combination of sign and 0 to 5 digits. Tests for
4118         rejection of invalid strings.
4119
4120 2015-08-28  James Perkins  <james@loowit.net>
4121
4122         [BZ #16141]
4123         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4124         calculation, removing incorrect decimal time rounding, so that
4125         all minute values result in a valid seconds value.
4126         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4127         offset range limits to UTC-99:59 through UTC+99:59 to parse
4128         current and historical use cases.
4129         * time/tst-strptime2.c (tests): Modify and add tests for the
4130         strptime %z input field descriptor, specifically conversion of
4131         minutes to seconds and validating an offset range of -9959 to
4132         +9959.
4133
4134 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4135             Dmitry V. Levin  <ldv@altlinux.org>
4136
4137         [BZ #18877]
4138         * posix/Makefile (tests): Add tst-mmap-offset.
4139         * posix/tst-mmap.c: New file.
4140         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4141         offset calculation for negative values.
4142
4143 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4144
4145         * sysdeps/i386/init-arch.h: New file.
4146         * sysdeps/i386/i586/init-arch.h: Likewise.
4147         * sysdeps/i386/i686/init-arch.h: Likewise.
4148         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4149         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4150         * sysdeps/x86/cpu-features.h (bit_I586): New.
4151         (bit_I686): Likewise.
4152         (bit_CX8): Likewise.
4153         (bit_CMOV): Likewise.
4154         (index_CX8): Likewise.
4155         (index_CMOV): Likewise.
4156         (index_I586): Likewise.
4157         (index_I686): Likewise.
4158         (reg_CX8): Likewise.
4159         (reg_CMOV): Likewise.
4160         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4161         available at compile-time.
4162         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4163         available at compile-time.
4164         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4165         (USE_I686): Likewise.
4166
4167 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4168
4169         * sysdeps/i386/bcopy.S: New file.
4170         * sysdeps/i386/bzero.S: Likewise.
4171         * sysdeps/i386/memcpy.S: Likewise.
4172         * sysdeps/i386/memmove.S: Likewise.
4173         * sysdeps/i386/mempcpy.S: Likewise.
4174         * sysdeps/i386/memset.S: Likewise.
4175         * sysdeps/i386/bzero.c: Removed.
4176         * sysdeps/i386/memset.c: Likewise.
4177         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4178         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
4179         * sysdeps/i386/i586/memset_chk.S: Likewise.
4180         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
4181         * sysdeps/i386/memcpy_chk.S: Here.
4182         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
4183         * sysdeps/i386/memmove_chk.S: Here.
4184         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
4185         * sysdeps/i386/mempcpy_chk.S: Likewise.
4186         * sysdeps/i386/i686/memset_chk.S: Moved to ...
4187         * sysdeps/i386/memset_chk.S: Likewise.
4188
4189 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
4190
4191         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
4192         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
4193         file, move DIAG_POP_NEEDS_COMMENT to end of file.
4194         * soft-fp/fmadf4.c: Ditto.
4195         * soft-fp/fmatf4.c: Ditto.
4196
4197 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4198
4199         * sysdeps/i386/i586/Implies: Removed.
4200         * sysdeps/i386/i686/Implies: Likewise.
4201
4202 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4203
4204         * sysdeps/i386/i486/strlen.S: Moved to ...
4205         * sysdeps/i386/strlen.S: Here.
4206
4207 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4208
4209         * sysdeps/i386/i486/strcat.S: Moved to ...
4210         * sysdeps/i386/strcat.S: Here.
4211
4212 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4213
4214         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4215         * sysdeps/i386/pthread_spin_trylock.S: Here.
4216         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
4217         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
4218
4219 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4220
4221         * sysdeps/i386/i486/string-inlines.c: Moved to ...
4222         * sysdeps/i386/string-inlines.c: Here.
4223
4224 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4225
4226         * sysdeps/i386/i486/htonl.S: Moved ...
4227         * sysdeps/i386/htonl.S: here.
4228
4229 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4230
4231         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
4232         * sysdeps/i386/bits/atomic.h: Here.
4233
4234 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4235
4236         * sysdeps/i386/i486/Versions: Removed.
4237
4238 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4239
4240         [BZ #2898]
4241         * misc/mktemp.c: Add mkdtemp to the link_warning message.
4242         Based on patch by Aurelien Jarno.
4243
4244 2015-08-26  Stan Shebs  <stanshebs@google.com>
4245
4246         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
4247         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4248
4249 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4250
4251         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
4252         * sysdeps/powerpc/dl-procinfo.c:
4253         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
4254         feature so it shows when LD_SHOW_AUXV=1.
4255
4256 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4257
4258         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4259         (__arch_compare_and_exchange_val_32_acq): Remove and use common
4260         definition.  ISA 2.07B no longer requires full sync.
4261
4262 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
4263
4264         [BZ #18863]
4265         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
4266         (si_call_addr): Define.
4267         (si_syscall): Define.
4268         (si_arch): Define.
4269
4270 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4271
4272         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
4273         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
4274         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
4275         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4276         (__memset_zero_constant_len_parameter): New.
4277         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
4278         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4279         (__memset_zero_constant_len_parameter): Don't define if
4280         __memset_chk or USE_AS_BZERO are defined.
4281
4282         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
4283         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
4284         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
4285
4286         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
4287         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
4288         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
4289         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
4290         comments.
4291         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
4292         -mno-mmx for $(all-rtld-routines).
4293         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
4294         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
4295         i386.
4296
4297 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4298
4299         * sysdeps/generic/unwind.h
4300         (_Unwind_Word): Use __mode__(__unwind_word__)
4301         instead of __mode__(__word__).
4302         (_Unwind_Sword): Likewise.
4303
4304         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4305         (MAX_NEEDED_INPUT): New define.
4306         (MAX_NEEDED_OUTPUT): New define.
4307
4308         * NEWS: New item for IBM z13 string optimizations.
4309
4310         * sysdeps/s390/multiarch/memrchr-c.c: New File.
4311         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
4312         * sysdeps/s390/multiarch/memrchr.c: Likewise.
4313         * sysdeps/s390/multiarch/Makefile
4314         (sysdep_routines): Add memrchr functions.
4315         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4316         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
4317
4318         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4319         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
4320         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
4321         * sysdeps/s390/multiarch/Makefile
4322         (sysdep_routines): Add wmemcmp functions.
4323         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4324         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
4325         * benchtests/bench-wmemcmp.c: New File.
4326         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
4327
4328         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4329         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
4330         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4331         * sysdeps/s390/multiarch/Makefile
4332         (sysdep_routines): Add wmemset functions.
4333         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4334         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
4335         * wcsmbs/wmemset.c: Use WMEMSET if defined.
4336         * string/test-memset.c: Add wmemset support.
4337         * wcsmbs/test-wmemset.c: New File.
4338         * wcsmbs/Makefile (strop-tests): Add wmemset.
4339         * benchtests/bench-memset.c: Add wmemset support.
4340         * benchtests/bench-wmemset.c: New File.
4341         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
4342
4343         * sysdeps/s390/multiarch/memccpy-c.c: New File.
4344         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
4345         * sysdeps/s390/multiarch/memccpy.c: Likewise.
4346         * sysdeps/s390/multiarch/Makefile
4347         (sysdep_routines): Add memccpy functions.
4348         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4349         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
4350         * string/memccpy.c: Use MEMCCPY if defined.
4351
4352         * sysdeps/s390/multiarch/memchr-vx.S: New File.
4353         * sysdeps/s390/multiarch/memchr.c: Likewise.
4354         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
4355         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
4356         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4357         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
4358         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
4359         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4360         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
4361         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4362         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
4363         and rawmemchr functions.
4364         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4365         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
4366         and wmemchr.
4367         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
4368         * string/test-memchr.c: Add wmemchr support.
4369         * wcsmbs/test-wmemchr.c: New File.
4370         * wcsmbs/Makefile (strop-tests): Add wmemchr.
4371         * benchtests/bench-memchr.c: Add wmemchr support.
4372         * benchtests/bench-wmemchr.c: New File.
4373         * benchtests/Makefile (wcsmbs-bench): wmemchr.
4374
4375         * sysdeps/s390/multiarch/strcspn-c.c: New File.
4376         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
4377         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4378         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
4379         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
4380         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
4381         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
4382         wcscspn functions.
4383         * sysdeps/s390/multiarch/ifunc-impl-list.c
4384         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
4385         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
4386         * string/test-strcspn.c: Add wcscspn support.
4387         * wcsmbs/test-wcscspn.c: New File.
4388         * wcsmbs/Makefile (strop-tests): Add wcscspn.
4389         * benchtests/bench-strcspn.c: Add wcscspn support.
4390         * benchtests/bench-wcscspn.c: New File.
4391         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
4392
4393         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
4394         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
4395         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4396         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
4397         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
4398         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4399         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
4400         wcspbrk functions.
4401         * sysdeps/s390/multiarch/ifunc-impl-list.c
4402         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
4403         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
4404         * string/test-strpbrk.c: Add wcspbrk support.
4405         * wcsmbs/test-wcspbrk.c: New File.
4406         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
4407         * benchtests/bench-strpbrk.c: Add wcspbrk support.
4408         * benchtests/bench-wcspbrk.c: New File.
4409         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
4410
4411         * sysdeps/s390/multiarch/strspn-c.c: New File.
4412         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
4413         * sysdeps/s390/multiarch/strspn.c: Likewise.
4414         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
4415         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
4416         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4417         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
4418         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
4419         wcsspn functions.
4420         * sysdeps/s390/multiarch/ifunc-impl-list.c
4421         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
4422         * string/test-strspn.c: Add wcsspn support.
4423         * wcsmbs/test-wcsspn.c: New File.
4424         * wcsmbs/Makefile (strop-tests): Add wcsspn.
4425         * benchtests/bench-strspn.c: Add wcsspn support.
4426         * benchtests/bench-wcsspn.c: New File.
4427         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
4428
4429         * sysdeps/s390/multiarch/strrchr-c.c: New File.
4430         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
4431         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4432         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
4433         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
4434         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
4435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
4436         wcsrchr functions.
4437         * sysdeps/s390/multiarch/ifunc-impl-list.c
4438         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
4439         * benchtests/bench-wcsrchr.c: New File.
4440         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
4441
4442         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4443         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
4444         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
4445         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
4446         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
4447         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
4448         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
4449         wcschrnul functions.
4450         * sysdeps/s390/multiarch/ifunc-impl-list.c
4451         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
4452         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
4453         * string/test-strchr.c: Add wcschrnul support.
4454         * wcsmbs/test-wcschrnul.c: New File.
4455         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
4456         * benchtests/bench-strchr.c: Add wcschrnul support.
4457         * benchtests/bench-wcschrnul.c: New File.
4458         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
4459
4460         * sysdeps/s390/multiarch/strchr-c.c: New File.
4461         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
4462         * sysdeps/s390/multiarch/strchr.c: Likewise.
4463         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
4464         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
4465         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4466         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
4467         wcschr functions.
4468         * sysdeps/s390/multiarch/ifunc-impl-list.c
4469         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
4470         * string/strchr.c (STRCHR): Define and use macro.
4471         * benchtests/bench-wcschr.c: New File.
4472         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
4473
4474         * sysdeps/s390/multiarch/strncmp-c.c: New File.
4475         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
4476         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4477         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
4478         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
4479         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
4480         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
4481         wcsncmp functions.
4482         * sysdeps/s390/multiarch/ifunc-impl-list.c
4483         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
4484         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
4485         * benchtests/bench-strncmp.c: Add wcsncmp support.
4486         * benchtests/bench-wcsncmp.c: New File.
4487         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
4488
4489         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
4490         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4491         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
4492         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
4493         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4494         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
4495         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4496         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
4497         wcscmp functions.
4498         * sysdeps/s390/multiarch/ifunc-impl-list.c
4499         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
4500         * string/strcmp.c (STRCMP): Define and use macro.
4501         * benchtests/bench-wcscmp.c: New File.
4502         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
4503         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
4504         instead of _HAVE_STRING_ARCH_memchr.
4505
4506         * sysdeps/s390/multiarch/strncat-c.c: New File.
4507         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
4508         * sysdeps/s390/multiarch/strncat.c: Likewise.
4509         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
4510         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
4511         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
4512         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
4513         wcsncat functions.
4514         * sysdeps/s390/multiarch/ifunc-impl-list.c
4515         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
4516         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
4517         * string/test-strncat.c: Add wcsncat support.
4518         * wcsmbs/test-wcsncat.c: New File.
4519         * wcsmbs/Makefile (strop-tests): Add wcsncat.
4520         * benchtests/bench-strncat.c: Add wcsncat support.
4521         * benchtests/bench-wcsncat.c: New File.
4522         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
4523
4524         * sysdeps/s390/multiarch/strcat-c.c: New File.
4525         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
4526         * sysdeps/s390/multiarch/strcat.c: Likewise.
4527         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
4528         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
4529         * sysdeps/s390/multiarch/wcscat.c: Likewise.
4530         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
4531         wcscat functions.
4532         * sysdeps/s390/multiarch/ifunc-impl-list.c
4533         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
4534         * string/strcat.c (STRCAT): Define and use macro.
4535         * wcsmbs/wcscat.c: Use WCSCAT if defined.
4536         * string/test-strcat.c: Add wcscat support.
4537         * wcsmbs/test-wcscat.c: New File.
4538         * wcsmbs/Makefile (strop-tests): Add wcscat.
4539         * benchtests/bench-strcat.c: Add wcscat support.
4540         * benchtests/bench-wcscat.c: New File.
4541         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
4542
4543         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
4544         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
4545         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4546         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
4547         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
4548         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
4549         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
4550         wcpncpy functions.
4551         * sysdeps/s390/multiarch/ifunc-impl-list.c
4552         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
4553         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
4554         * string/test-stpncpy.c: Add wcpncpy support.
4555         * wcsmbs/test-wcpncpy.c: New File.
4556         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
4557         * benchtests/bench-stpncpy.c: Add wcpncpy support.
4558         * benchtests/bench-wcpncpy.c: New File.
4559         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
4560
4561         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
4562         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4563         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
4564         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
4565         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
4566         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
4567         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4568         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
4569         wcsncpy functions.
4570         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
4571         * sysdeps/s390/multiarch/ifunc-impl-list.c
4572         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
4573         * string/test-strncpy.c: Add wcsncpy support.
4574         * wcsmbs/test-wcsncpy.c: New File.
4575         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
4576         * benchtests/bench-strncpy.c: Add wcsncpy support.
4577         * benchtests/bench-wcsncpy.c: New File.
4578         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
4579
4580         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
4581         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
4582         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4583         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
4584         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
4585         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
4586         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
4587         wcpcpy functions.
4588         * string/stpcpy.c: Use STPCPY if defined.
4589         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
4590         * sysdeps/s390/multiarch/ifunc-impl-list.c
4591         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
4592         * string/test-stpcpy.c: Add wcpcpy support.
4593         * wcsmbs/test-wcpcpy.c: New File.
4594         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
4595         * benchtests/bench-stpcpy.c: Add wcpcpy support.
4596         * benchtests/bench-wcpcpy.c: New File.
4597         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
4598
4599         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
4600         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4601         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
4602         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
4603         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
4604         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
4605         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4606         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
4607         wcscpy functions.
4608         * sysdeps/s390/multiarch/ifunc-impl-list.c
4609         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
4610         * benchtests/bench-wcscpy.c: New File.
4611         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
4612
4613         * sysdeps/s390/multiarch/strnlen-c.c: New File.
4614         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
4615         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4616         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
4617         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
4618         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
4619         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
4620         wcsnlen functions.
4621         * sysdeps/s390/multiarch/ifunc-impl-list.c
4622         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
4623         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
4624         * string/test-strnlen.c: Add wcsnlen support.
4625         * wcsmbs/test-wcsnlen.c: New File.
4626         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
4627         * benchtests/bench-strnlen.c: Add wcsnlen support.
4628         * benchtests/bench-wcsnlen.c: New File.
4629         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
4630
4631         * sysdeps/s390/multiarch/Makefile: New File.
4632         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
4633         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
4634         * sysdeps/s390/multiarch/strlen.c: Likewise.
4635         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
4636         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
4637         * sysdeps/s390/multiarch/wcslen.c: Likewise.
4638         * string/strlen.c (STRLEN): Define and use macro.
4639         * sysdeps/s390/multiarch/ifunc-impl-list.c
4640         (IFUNC_VX_IMPL): New macro function.
4641         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
4642         * benchtests/Makefile (wcsmbs-bench): New variable.
4643         (string-bench-all): Added wcsmbs-bench.
4644         * benchtests/bench-wcslen.c: New File.
4645
4646         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
4647         s390_vx_libc_ifunc2): New macro function.
4648
4649         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
4650         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
4651         assembler support.
4652         * sysdeps/s390/configure: Regenerated.
4653
4654         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
4655         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4656
4657         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
4658         * sysdeps/s390/dl-procinfo.h: Add vector capability.
4659         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
4660
4661         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4662         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
4663         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
4664         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
4665         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
4666         (memcmp, bcmp): Use __memcmp_default as alias source.
4667         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
4668         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
4669         Rename to __memcmp_default.
4670         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
4671         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
4672         (memcpy): Use __memcpy_default as alias source.
4673         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
4674         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
4675         Rename to __memcpy_default.
4676         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
4677         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
4678         (memset): Use __memset_default as alias source.
4679         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
4680         * sysdeps/s390/s390-32/memset.S (__memset_g5):
4681         Rename to __memset_default.
4682         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
4683         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
4684         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
4685         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
4686         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
4687         (memcmp, bcmp): Use __memcmp_default as alias source.
4688         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
4689         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
4690         Rename to __memcmp_default.
4691         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
4692         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
4693         (memcpy): Use __memcpy_default as alias source.
4694         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
4695         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
4696         Rename to __memcpy_default.
4697         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
4698         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
4699         (memset): Use __memset_default as alias source.
4700         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
4701         * sysdeps/s390/s390-64/memset.S (__memset_z900):
4702         Rename to __memset_default.
4703         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
4704         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
4705
4706         [BZ #18610]
4707         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
4708         __ieee_instruction_pointer to __unused.
4709         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
4710         __ieee_instruction_pointer.
4711         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
4712         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
4713         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4714         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4715         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
4716         Mark dxc-field as reserved.
4717
4718 2015-08-25  Roland McGrath  <roland@hack.frob.com>
4719
4720         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
4721         if the weak reference is not null.
4722
4723 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4724
4725         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
4726
4727         [BZ #11214]
4728         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
4729
4730 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4731
4732         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
4733         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
4734         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
4735         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
4736         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
4737         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
4738         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
4739         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
4740         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
4741         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
4742         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
4743         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
4744         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
4745         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
4746         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
4747         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
4748         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
4749         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
4750
4751 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4752
4753         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
4754         register other than r0 for tabort, it has special meaning.
4755         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
4756         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
4757         transaction before starting syscall.
4758
4759 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4760
4761         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
4762
4763 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4764
4765         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
4766
4767         * sysdeps/x86_64/rtld-memcmp.c: Removed.
4768         * sysdeps/x86_64/rtld-memset.S: Likewise.
4769         * sysdeps/x86_64/rtld-strchr.S: Likewise.
4770         * sysdeps/x86_64/rtld-strlen.S: Likewise.
4771         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
4772         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4773
4774         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
4775
4776 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
4777
4778         * debug/strcpy_chk.c: Improve performance.
4779         * debug/stpcpy_chk.c: Likewise.
4780         * sysdeps/x86_64/strcpy_chk.S: Remove.
4781         * sysdeps/x86_64/stpcpy_chk.S: Remove.
4782
4783         [BZ #18240]
4784         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
4785
4786 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4787
4788         [BZ #15128]
4789         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
4790         ifuncmain8.
4791         (modules-names): Add ifuncmod8.
4792         ($(objpfx)ifuncmain8): New rule.
4793         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
4794         <cpuid.h>.
4795         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
4796         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
4797         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
4798         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
4799         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
4800         * sysdeps/x86_64/dl-trampoline.h: Likewise.
4801         * sysdeps/x86_64/ifuncmain8.c: New file.
4802         * sysdeps/x86_64/ifuncmod8.c: Likewise.
4803         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
4804         Removed.
4805         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
4806         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
4807         Change rtld_savespace_sse to __glibc_unused2.
4808         (RTLD_CHECK_FOREIGN_CALL): Removed.
4809         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
4810         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
4811         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
4812
4813 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
4814
4815         * sysdeps/aarch64/bzero.S (__bzero): Remove.
4816
4817 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
4818
4819         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
4820         Unconditionally set __fpcr to avoid uninialized warning.
4821         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
4822
4823 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4824
4825         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
4826         is corrupt.
4827
4828         * malloc/arena.c (arena_get2): Drop unused argument.
4829         (arena_lock): Adjust.
4830         (arena_get_retry): Likewise.
4831
4832 2015-08-24  Andreas Schwab  <schwab@suse.de>
4833
4834         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
4835         Don't define.
4836         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4837         (__ASSUME_IPC64): Don't undef.
4838         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
4839         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4840         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4841         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
4842         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
4843         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
4844         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
4845         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
4846         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
4847         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
4848         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
4849         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
4850         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
4851         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
4852         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
4853         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
4854         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
4855         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
4856         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
4857         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
4858         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
4859
4860 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
4861
4862         * manual/Makefile (install): Only build manual when perl is available.
4863
4864 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4865
4866         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
4867         '#undef memcpy' by '#undef memchr'.
4868
4869 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4870
4871         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
4872         memchr not point to the internal __GI_memchr implementation.
4873
4874 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
4875
4876         * timezone/Makefile (CFLAGS-zdump.c): Remove
4877         -Wno-strict-prototypes.
4878         (CFLAGS-zic.c): Likewise.
4879         (CFLAGS-ialloc.c): Likewise.
4880         (CFLAGS-scheck.c): Likewise.
4881
4882         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
4883         -Wno-error=undef.
4884
4885 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4886
4887         * i386/i686/multiarch/strcasestr-c.c: Removed.
4888         * x86_64/multiarch/strcasestr.c: Likewise.
4889         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4890         Remove strcasestr.
4891
4892 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
4893
4894         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
4895
4896         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
4897         variables for high and low parts before possibly modifying them.
4898
4899 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4900
4901         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
4902         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
4903         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
4904         of "multiarch/init-arch.h".
4905         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
4906         * sysdeps/x86/init-arch.h: This.
4907
4908 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4909
4910         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
4911         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
4912
4913 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
4914
4915         [BZ #17787]
4916         * manual/macros.texi: Add twoexp macro.
4917         * manual/filesys.texi: Fix exponents.
4918         * manual/llio.texi: Likewise.
4919         * manual/stdio.texi: Likewise.
4920
4921 2015-08-20  Florian Weimer  <fweimer@redhat.com>
4922
4923         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
4924         incorrect use.
4925
4926 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
4927
4928         [BZ #18370]
4929         * math/s_csqrt.c (__csqrt): Force underflow exception for results
4930         whose real or imaginary part has small absolute value.
4931         * math/s_csqrtf.c (__csqrtf): Likewise.
4932         * math/s_csqrtl.c (__csqrtl): Likewise.
4933         * math/auto-libm-test-in: Add more tests of csqrt.
4934         * math/auto-libm-test-out: Regenerated.
4935         * sysdeps/i386/fpu/libm-test-ulps: Update.
4936
4937 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4938
4939         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
4940         __ppc_set_ppr_very_low): New functions.
4941         * manual/platform.texi: Add documentation about
4942         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
4943
4944 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
4945
4946         * string/stpncpy.c (stpncpy): Improve performance using
4947         __strnlen/memcpy/memset.
4948
4949 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4950
4951         [BZ #18796]
4952         * scripts/test-installation.pl: Don't add -lmvec to build options if
4953         libmvec wasn't built.
4954
4955 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4956
4957         [BZ #14341]
4958         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
4959         case when there is a gap between DT_REL and DT_JMPREL sections.
4960         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
4961         (LDFLAGS-tst-split-dynreloc): New.
4962         (tst-split-dynreloc-ENV): Likewise.
4963         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
4964         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
4965
4966 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4967
4968         [BZ #18822]
4969         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
4970         attribute_hidden.
4971         (__xstat64_conv): Likewise.
4972         (__xstat32_conv): Likewise.
4973
4974 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4975
4976         [BZ #18822]
4977         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
4978         Don't load %ebx when calling __setcontext.  Call __setcontext
4979         with HIDDEN_JUMPTARGET.
4980         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
4981         libc_hidden_def.
4982
4983 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4984
4985         * sysdeps/i386/i686/Makefile
4986         [$(subdir) == string] (sysdep_routines): Moved to ...
4987         * sysdeps/i386/Makefile: Here.
4988         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
4989         * sysdeps/i386/cacheinfo.c: Here.
4990         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
4991         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
4992         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
4993         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
4994
4995 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4996
4997         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
4998         __i586__ is defined.
4999         (HAS_I686): Defined to 1 if __i686__ is defined.
5000
5001 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5002
5003         * elf/Makefile [$(have-z-execstack) = yes]
5004         (CPPFLAGS-tst-execstack.c): New variable.
5005
5006         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5007         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5008         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5009         UTMPX || _HAVE_UT_TV].
5010         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5011         UTMPX || _HAVE_UT_TV - 0].
5012
5013 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5014
5015         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5016         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5017         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5018
5019 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5020
5021         * sysdeps/powerpc/dl-procinfo.c:
5022         (_dl_powerpc_cap_flags): Added missing strings for some
5023         hwcap features.
5024         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5025
5026 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5027
5028         Port the 0x7efe...feff pattern to GCC 6.
5029         See Steve Ellcey's bug report in:
5030         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5031         * string/memrchr.c (MEMRCHR):
5032         * string/rawmemchr.c (RAWMEMCHR):
5033         * string/strchr.c (strchr):
5034         * string/strchrnul.c (STRCHRNUL):
5035         Rewrite code to avoid issues with signed shift overflow.
5036
5037 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5038
5039         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5040         whether cpuid is available only if HAS_CPUID is 0.
5041         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5042         (HAS_I586): Likewise.
5043         (HAS_I686): Likewise.
5044
5045 2015-08-18  Zack Weinberg  <zackw@panix.com>
5046
5047         * misc/Versions (libc): Add GLIBC_2.23.
5048
5049 2015-08-18  Alan Modra  <amodra@gmail.com>
5050
5051         [BZ #18421]
5052         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5053         .Lp__global.
5054         (_start): Load %dp via .Lp__global.
5055         [!SHARED]: Use .section .rodata.
5056
5057 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5058
5059         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5060         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5061
5062 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5063
5064         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5065         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5066
5067 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5068
5069         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5070         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5071
5072 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5073
5074         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5075         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5076
5077 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5078
5079         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5080         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5081
5082 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5083
5084         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5085         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5086
5087 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5088
5089         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5090
5091 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5092
5093         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5094         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5095         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5096         (__ASSUME_LWS_CAS): Delete.
5097
5098 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5099
5100         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5101         * sysdeps/hppa/configure: Regenerated.
5102         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5103         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5104         * sysdeps/hppa/nptl/tls.h: Likewise.
5105
5106 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5107
5108         [BZ #18823]
5109         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5110         for scaling up small arguments.
5111         * math/s_csqrtf.c (__csqrtf): Likewise.
5112         * math/s_csqrtl.c (__csqrtl): Likewise.
5113         * math/auto-libm-test-in: Add more tests of csqrt.
5114         * math/auto-libm-test-out: Regenerated.
5115
5116 2015-08-17  Andreas Schwab  <schwab@suse.de>
5117
5118         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5119         version set GLIBC_2.19.
5120
5121 2015-08-16  Zack Weinberg  <zackw@panix.com>
5122
5123         [BZ #18681]
5124         * misc/regexp.h: This interface is no longer supported.
5125         Remove all contents, leaving only an #error directive.
5126         * misc/regexp.c (loc1, loc2, locs, step, advance):
5127         Demote to compatibility symbols.
5128
5129 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5130
5131         [BZ #18084]
5132         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5133         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5134         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5135         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5136         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5137         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5138         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5139         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5140         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5141
5142 2015-08-15  Zack Weinberg  <zackw@panix.com>
5143
5144         [BZ #18795]
5145         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5146         buffer length is known to be too large, not if it's known to be
5147         small enough.
5148         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5149         overflow at runtime, involving a length parameter, twice: once
5150         with a compile-time constant length parameter, once without.
5151
5152 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5153
5154         [BZ #18824]
5155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5156         scaling x * y up instead of down.
5157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5158         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5159         * math/auto-libm-test-in: Add more tests of fma.
5160         * math/auto-libm-test-out: Regenerated.
5161
5162 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5163
5164         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5165
5166 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5167
5168         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5169         unnecessary movq.
5170         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5171         Likewise.
5172
5173 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5174
5175         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5176         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5177         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5178         and tgamma.
5179         * math/auto-libm-test-out: Regenerated.
5180         * sysdeps/i386/fpu/libm-test-ulps: Update.
5181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5182
5183         [BZ #16520]
5184         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
5185         (__tanh): Force underflow exception for arguments with small
5186         absolute value.
5187         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
5188         (__tanhf): Force underflow exception for arguments with small
5189         absolute value.
5190         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
5191         (__tanhl): Force underflow exception for arguments with small
5192         absolute value.
5193         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
5194         (__tanhl): Force underflow exception for arguments with small
5195         absolute value.
5196         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
5197         (__tanhl): Force underflow exception for arguments with small
5198         absolute value.
5199         * math/auto-libm-test-in: Add more tests of tanh.
5200         * math/auto-libm-test-out: Regenerated.
5201         * sysdeps/i386/fpu/libm-test-ulps: Update.
5202
5203 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5204
5205         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
5206         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
5207
5208 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5209
5210         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
5211         <cpuid.h>.
5212
5213 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5214
5215         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
5216         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
5217
5218 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5219
5220         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
5221         Remove $(objpfx)init-arch.o.
5222         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
5223         init-arch.
5224         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
5225         (INIT_ARCH_EXT): Defined as empty.
5226         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
5227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
5228         __init_cpu_features call.  Replace HAS_XXX with
5229         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5230         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
5231         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
5232         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
5233         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
5234         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5235         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
5236         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
5237         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5238         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
5239         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
5240         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5241         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
5242         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
5243         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5244         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
5245         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
5246         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5247         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5248         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
5249         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
5250         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5251         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
5252         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
5253         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5254         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
5255         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
5256         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5257         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
5258         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
5259         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
5261         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
5262         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5263         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
5264         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
5265
5266 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5267
5268         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
5269         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5270         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5271         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5272         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
5273         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
5274         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
5275         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
5276         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
5277         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
5278         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
5279         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
5280         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5281         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5282         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5283         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5284         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5285         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5286         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5287         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5288         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5289         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5290         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5291         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5292         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5293         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5294         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5295         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5296         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5297         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5298         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5299         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5300         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5301         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5302         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5303         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5304         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5305         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5306         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5307         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5308         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5309         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5310         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5311
5312 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5313
5314         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
5315         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5316         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5317         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5318         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5319         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5320         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5321         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
5322         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5323         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5324         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5325         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
5326         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
5327         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
5328         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
5329         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
5330         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
5331         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
5332         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
5333         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
5334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5335         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
5336         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
5337         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5338         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5339         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
5340         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
5341         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
5342         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5343         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5344         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5345         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5346         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5347         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5348         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5349         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5350         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5351         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5352         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5353         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5354         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5355         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5356         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5357
5358 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5359
5360         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
5361         (dl_platform_init): Call init_cpu_features.
5362         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
5363         * sysdeps/i386/i686/cacheinfo.c
5364         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
5365         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
5366         * sysdeps/i386/i686/multiarch/Versions: Removed.
5367         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
5368         Removed.
5369         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
5370         * sysdeps/unix/sysv/linux/x86/Makefile
5371         (libpthread-sysdep_routines): Remove init-arch.
5372         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
5373         <sysdeps/x86_64/dl-procinfo.c> instead of
5374         sysdeps/generic/dl-procinfo.c>.
5375         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
5376         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
5377         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
5378         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
5379         [$(subdir) == elf] (tests-static): Add
5380         tst-get-cpu-features-static.
5381         * sysdeps/x86/Versions: New file.
5382         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
5383         * sysdeps/x86/cpu-features.c: Likewise.
5384         * sysdeps/x86/cpu-features.h: Likewise.
5385         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
5386         * sysdeps/x86/libc-start.c: Likewise.
5387         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5388         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
5389         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
5390         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5391         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
5392         Assume USE_MULTIARCH is defined and don't check it.
5393         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
5394         (is_amd): Likewise.
5395         (max_cpuid): Likewise.
5396         (intel_check_word): Likewise.
5397         (__cache_sysconf): Don't call __init_cpu_features.
5398         (__x86_preferred_memory_instruction): Removed.
5399         (init_cacheinfo): Don't call __init_cpu_features. Replace
5400         __cpu_features with GLRO(dl_x86_cpu_features).
5401         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
5402         (dl_platform_init): Call init_cpu_features.
5403         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
5404         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
5405         * sysdeps/x86_64/multiarch/Versions: Removed.
5406         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
5407         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
5408         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
5409         Removed.
5410         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
5411
5412 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5413
5414         [BZ #18820]
5415         * libio/Makefile (test-fmemopen-mem): New test.
5416         * libio/test-fmemopen.c (do_bz18820): New test.
5417         * libio/fmemopen.c (__fmemopen): Fix memory leak.
5418         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
5419
5420 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5421
5422         [BZ #16734]
5423         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
5424         (FREE_BUF): Delete.
5425         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
5426         * libio/genops.c (_IO_setb): Use malloc and free directly.
5427         (_IO_default_doallocate, _IO_default_finish): Likewise.
5428         ( _IO_unbuffer_all): Likewise.
5429         ( libc_freeres_fn): Likewise.
5430         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5431         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5432         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
5433         (_IO_wdefault_doallocate): Likewise.
5434
5435 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5436
5437         [BZ #18086]
5438         * sysdeps/posix/nice.c (nice): Restore old errno.
5439         * posix/tst-nice.c (do_test): Add test for BZ #18086.
5440
5441 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
5442
5443         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
5444
5445 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5446
5447         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
5448         __bcopy and add a weak_alias to bcopy.
5449         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
5450         for static build.
5451
5452         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
5453         cleanup macro usage.
5454         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
5455         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
5456         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5457         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
5458         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5459         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
5460         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
5461         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5462         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5463         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
5464         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5465         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
5466         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5467         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
5468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5469         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
5470         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
5471         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
5472         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5473
5474         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
5475         libc_hidden_def.
5476         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
5477
5478         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
5479         (sysdep_routines): Add strstr-ppc64.
5480         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
5481
5482 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
5483
5484         [BZ #18778]
5485         * elf/Makefile (tests): Add Add tst-nodelete2.
5486         (modules-names): Add tst-nodelete2mod.
5487         (tst-nodelete2mod.so-no-z-defs): New.
5488         ($(objpfx)tst-nodelete2): Likewise.
5489         ($(objpfx)tst-nodelete2.out): Likewise.
5490         (LDFLAGS-tst-nodelete2): Likewise.
5491         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
5492         out of loop through all loaded libraries.
5493         * elf/tst-nodelete2.c: New file.
5494         * elf/tst-nodelete2mod.c: Likewise.
5495         * elf/tst-znodelete-zlib.cc: Delete.
5496
5497 2015-08-11  Andreas Schwab  <schwab@suse.de>
5498
5499         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
5500         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
5501         (__openat64_nocancel): Likewise.
5502
5503 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
5504
5505         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
5506         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
5507         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
5508         * math/auto-libm-test-out: Regenerated.
5509         * sysdeps/i386/fpu/libm-test-ulps: Update.
5510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5511
5512 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5513
5514         [BZ #18790]
5515         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
5516         threshold for returning +/- 1.
5517         * math/auto-libm-test-in: Add more tests of tanh.
5518         * math/auto-libm-test-out: Regenerated.
5519         * sysdeps/i386/fpu/libm-test-ulps: Update.
5520
5521 2015-08-10  Andreas Schwab  <schwab@suse.de>
5522
5523         [BZ #18781]
5524         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
5525         MORE_OFLAGS to oflag.
5526         * io/test-lfs.c (do_test): Test openat64.
5527
5528 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5529
5530         [BZ #18789]
5531         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
5532         smaller threshold for returning the argument.
5533         * math/auto-libm-test-in: Add more tests of sinh.
5534         * math/auto-libm-test-out: Regenerated.
5535         * sysdeps/i386/fpu/libm-test-ulps: Update.
5536
5537 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5538
5539         [BZ #18674]
5540         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
5541         break.
5542
5543 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5544
5545         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
5546         (generated): Don't add $(addprefix z.,$(tzfiles)).
5547
5548 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5549
5550         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
5551         * scripts/sysd-rules.awk: Likewise.
5552
5553 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5554
5555         * iconvdata/tst-tables.sh: Change echo -n to printf.
5556         * nss/db-Makefile: Likewise.
5557         * posix/tst-getconf.sh: Likewise.
5558         * stdio-common/tst-unbputc.sh: Likewise.
5559
5560 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5561
5562         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
5563         MADV_*_PAGES defines behind this feature check.
5564
5565 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
5566
5567         [BZ #18480]
5568         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
5569         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
5570         Define.
5571         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
5572         LOAD_REGS_5, LOAD_REGS_6): Update.
5573         (INTERNAL_SYSCALL): Update using new LOAD defines.
5574         (INTERNAL_SYSCALL_NCS): Likewise.
5575         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
5576
5577 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5578
5579         [BZ #16734]
5580         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
5581
5582 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5583
5584         [BZ #17905]
5585         * catgets/Makefile (tst-catgets-mem): New test.
5586         * catgets/catgets.c (catopen): Don't use unbounded alloca.
5587         * catgets/open_catalog.c (__open_catalog): Likewise.
5588         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
5589
5590 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
5591
5592         [BZ #18787]
5593         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
5594         clobber registers.
5595         (atomic_compare_and_exchange_val_acq): Use register asms to assign
5596         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
5597         Cast return to __typeof (oldval).
5598
5599 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
5600
5601         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
5602         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
5603         and delete sys/syscall.h include.
5604
5605 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
5606
5607         [BZ #16517]
5608         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
5609         (tan): Force underflow exception for arguments with small absolute
5610         value.
5611         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
5612         (__kernel_tanf): Force underflow exception for arguments with
5613         small absolute value.
5614         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
5615         (__kernel_tanl): Force underflow exception for arguments with
5616         small absolute value.
5617         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
5618         (__kernel_tanl): Force underflow exception for arguments with
5619         small absolute value.
5620         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
5621         (__kernel_tanl): Force underflow exception for arguments with
5622         small absolute value.
5623         * math/auto-libm-test-in: Add more tests of tan.
5624         * math/auto-libm-test-out: Regenerated.
5625
5626 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5627
5628         Fix sysdeps/i386/fpu/s_scalbn.S build
5629
5630         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
5631
5632 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
5633
5634         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
5635
5636 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5637
5638         Fix gcrt0.o compilation
5639
5640         When static-start-installed-name is different from
5641         start-installed-name, we must not use the shared objects.
5642
5643         * csu/Makefile
5644         (extra-objs): Add gmon-start.o when building shared library and
5645         $(static-start-installed-name) is different from
5646         $(start-installed-name).
5647         $(objpfx)g$(static-start-installed-name): When building shared
5648         library and $(static-start-installed-name) is different from
5649         $(static-start-installed-name), revert to non-shared rule,
5650         i.e. using $(objpfx)% and gmon-start.o.
5651
5652 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
5653
5654         [BZ #16519]
5655         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
5656         (__ieee754_sinh): Force underflow exception for arguments with
5657         small absolute value.
5658         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
5659         (__ieee754_sinhf): Force underflow exception for arguments with
5660         small absolute value.
5661         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
5662         (__ieee754_sinhl): Force underflow exception for arguments with
5663         small absolute value.
5664         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
5665         (__ieee754_sinhl): Force underflow exception for arguments with
5666         small absolute value.
5667         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
5668         (__ieee754_sinhl): Force underflow exception for arguments with
5669         small absolute value.
5670         * math/auto-libm-test-in: Add more tests of sinh.
5671         * math/auto-libm-test-out: Regenerated.
5672         * sysdeps/i386/fpu/libm-test-ulps: Update.
5673
5674 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5675
5676         * libio/oldfileops.c: Include unistd.h.
5677
5678 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
5679
5680         * stdlib/isomac.c: Include ctype.h.
5681
5682 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
5683
5684         * dirent/tst-seekdir.c (main): Converted to ...
5685         (do_test): ... this.
5686         (TEST_FUNCTION): New macro.
5687         Include test-skeleton.c.
5688         * elf/tst-dlmodcount.c (main): Converted to ...
5689         (do_test): ... this.
5690         (TEST_FUNCTION): New macro.
5691         Include test-skeleton.c.
5692         * elf/tst-order-main.c (main): Converted to ...
5693         (do_test): ... this.
5694         (TEST_FUNCTION): New macro.
5695         Include test-skeleton.c.
5696         * elf/tst-pie2.c (main): Converted to ...
5697         (do_test): ... this.
5698         (TEST_FUNCTION): New macro.
5699         Include test-skeleton.c.
5700         * inet/tst-ether_aton.c (main): Converted to ...
5701         (do_test): ... this.
5702         (TEST_FUNCTION): New macro.
5703         Include test-skeleton.c.
5704         * misc/tst-mntent.c (main): Converted to ...
5705         (do_test): ... this.
5706         (TEST_FUNCTION): New macro.
5707         Include test-skeleton.c.
5708         * misc/tst-tsearch.c (main): Converted to ...
5709         (do_test): ... this.
5710         (TEST_FUNCTION): New macro.
5711         Include test-skeleton.c.
5712         * posix/tst-regexloc.c (main): Converted to ...
5713         (do_test): ... this.
5714         (TEST_FUNCTION): New macro.
5715         Include test-skeleton.c.
5716         * resolv/tst-aton.c (main): Converted to ...
5717         (do_test): ... this.
5718         (TEST_FUNCTION): New macro.
5719         Include test-skeleton.c.
5720         * stdio-common/test-fwrite.c (main): Converted to ...
5721         (do_test): ... this.
5722         (TEST_FUNCTION): New macro.
5723         Include test-skeleton.c.
5724         * stdio-common/tst-ferror.c (main): Converted to ...
5725         (do_test): ... this.
5726         (TEST_FUNCTION): New macro.
5727         Include test-skeleton.c.
5728         * stdio-common/tst-printf.c (main): Converted to ...
5729         (do_test): ... this.
5730         (TEST_FUNCTION): New macro.
5731         Include test-skeleton.c.
5732         * stdio-common/tst-printfsz.c (main): Converted to ...
5733         (do_test): ... this.
5734         (TEST_FUNCTION): New macro.
5735         Include test-skeleton.c.
5736         * stdlib/tst-strtod.c (main): Converted to ...
5737         (do_test): ... this.
5738         (TEST_FUNCTION): New macro.
5739         Include test-skeleton.c.
5740         * string/tst-strlen.c (main): Converted to ...
5741         (do_test): ... this.
5742         (TEST_FUNCTION): New macro.
5743         Include test-skeleton.c.
5744         * string/tst-svc.c (main): Converted to ...
5745         (do_test): ... this.
5746         (TEST_FUNCTION): New macro.
5747         Include test-skeleton.c.
5748         * time/tst-strptime.c (main): Converted to ...
5749         (do_test): ... this.
5750         (TEST_FUNCTION): New macro.
5751         Include test-skeleton.c.
5752         * timezone/tst-timezone.c (main): Converted to ...
5753         (do_test): ... this.
5754         (TEST_FUNCTION): New macro.
5755         Include test-skeleton.c.
5756
5757 2015-08-05  Zack Weinberg  <zackw@panix.com>
5758
5759         * misc/regexp.h: Update comments.
5760
5761 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
5762
5763         [BZ #18635]
5764         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
5765         before return label.
5766
5767 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5768
5769         [BZ #18661]
5770         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
5771         when calling __errno_location.
5772         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
5773         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
5774
5775 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5776
5777         [BZ #18661]
5778         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
5779         (__lll_timedwait_tid): Align stack to 16 bytes when calling
5780         __gettimeofday.
5781
5782 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5783
5784         [BZ #18661]
5785         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5786         (__start_context): Don't use pop to restore %rdi so that stack
5787         is aligned to 16 bytes when calling __setcontext.
5788
5789 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5790
5791         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
5792         only for libc.
5793         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5794
5795 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5796
5797         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
5798         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
5799         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
5800
5801 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5802
5803         * string/memccpy.c (memccpy):
5804         Improve performance by using memchr/memcpy/__mempcpy.
5805
5806 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5807
5808         * string/strncpy.c (strncpy):
5809         Improve performance by using __strnlen/memcpy.
5810
5811 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5812
5813         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5814         Optimize to avoid an unnecessary FPCR read.
5815
5816 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5817
5818         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5819         Optimize to reduce FPCR/FPSR accesses.
5820
5821 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5822
5823         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
5824         dead->data[category] != NULL.
5825
5826 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
5827
5828         [BZ #18647]
5829         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
5830         and |x| close to 1, use absolute value of x when computing log.
5831         * math/auto-libm-test-in: Add more tests of pow.
5832         * math/auto-libm-test-out: Regenerated.
5833
5834 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5835
5836         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
5837         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
5838         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
5839
5840 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
5841
5842         [BZ #18525]
5843         * locales/km_KH: Remove timezone definition.
5844         * locales/lo_LA: Likewise.
5845         * locales/my_MM: Likewise.
5846         * locales/nan_TW@latin: Likewise.
5847         * locales/th_TH: Likewise.
5848         * locales/uk_UA: Likewise.
5849
5850 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5851
5852         [BZ #18265]
5853         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
5854         (wcsncat): Likewise.
5855         (wcscmp): Likewise.
5856         (wcsncmp): Likewise.
5857
5858 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5859
5860         * test-skeleton.c (usage): New function.
5861         (main): Call usage when opt is '?'.
5862
5863 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5864
5865         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
5866         before first use.
5867
5868 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5869
5870         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
5871         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
5872         in there too.
5873
5874 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
5875
5876         * version.h (RELEASE): Set to "development".
5877         (VERSION): Set to "2.22.90"
5878
5879         * version.h (RELEASE): Set to "stable".
5880         (VERSION): Set to "2.22"
5881         * include/features.h (__GLIBC_MINOR__): Set to 22.
5882
5883 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
5884
5885         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
5886         Restructure macro to avoid "value computed is not used" warning.
5887         (atomic_compare_and_exchange_val_acq): Likewise.
5888
5889 2015-08-04  Andreas Schwab  <schwab@suse.de>
5890
5891         [BZ #18635]
5892         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
5893         ret.
5894         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
5895
5896 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
5897
5898         * po/pl.po: Updated translation.
5899         * po/uk.po: Likewise.
5900         * po/fi.po: Likewise.
5901         * po/ko.po: Likewise.
5902         * po/ru.po: Likewise.
5903         * po/vi.po: Likewise.
5904
5905 2015-07-31  Zack Weinberg  <zackw@panix.com>
5906
5907         [BZ #18681]
5908         * regexp.h: Add unconditional #warning stating that this header
5909         will be removed soon.  Revise banner comment to match.
5910         (compile): Consistently use ERROR instead of RETURN to report
5911         errors (partial fix for bz#18681).
5912         * regexp.c: Don't include regexp.h. Remove some unnecessary
5913         declarations.
5914
5915 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
5916
5917         * po/libc.pot: Regenerated.
5918
5919 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5920
5921         [BZ #18740]
5922         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
5923         float-vlen4-arch-ext-cflags): Removed.
5924         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
5925         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
5926
5927 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5928
5929         [BZ #14113]
5930         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
5931         aligned to __aligned__.
5932         (pthread_cond_t, pthread_rwlock_t): Likewise.
5933
5934 2015-07-30  Torvald Riegel  <triegel@redhat.com>
5935
5936         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
5937
5938 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5939
5940         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
5941         (struct sigaction): Change sa_flags from a long to an int, and add
5942         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
5943
5944 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5945
5946         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
5947         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
5948         sysdeps/generic/sysdep.h include.
5949         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
5950         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
5951         sysdeps/hppa/sysdep.h.
5952         (ENTRY, PSEUDO): Undefine before defining.
5953
5954 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5955
5956         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
5957         from scratch to use INTERNAL_SYSCALL.
5958
5959 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
5960
5961         [BZ #18078]
5962         * scripts/check-localplt.awk: Support alternate relocations.
5963         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
5964         sections.
5965         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
5966         malloc entries with + REL R_386_GLOB_DAT.
5967         * sysdeps/x86_64/localplt.data: New file.
5968
5969 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
5970
5971         [BZ #18731]
5972         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
5973         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5974         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5975
5976 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5977
5978         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
5979
5980 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5981
5982         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
5983         directly in terms of __sync_fetch_and_add and delete (int) cast.
5984
5985 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5986
5987         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
5988         the -D_ASM_IA64_CURRENT_H flag.
5989
5990 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5991
5992         [BZ #18641]
5993         * pwd/pwd.h (putpwent): Delete __nonnull markings.
5994
5995 2015-07-27  Andreas Schwab  <schwab@suse.de>
5996
5997         * conform/conformtest.pl (checknamespace): Filter out string
5998         literals while tokenizing.
5999
6000 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6001
6002         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6003         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6004         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6005
6006 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6007
6008         * nptl/tst-join7mod.c: Add #include <string.h>.
6009
6010 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6011
6012         * sysdeps/nios2/libm-test-ulps: Update.
6013
6014 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6015
6016         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6017         Fix order of arguments to the rt_sigprocmask syscall.
6018         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6019         Likewise.
6020
6021 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6022
6023         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6024
6025 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6026
6027         [BZ #18457]
6028         * nptl/Makefile (tests): New test case tst-join7.
6029         (modules-names): New test case module tst-join7mod.
6030         * nptl/tst-join7.c: New file.
6031         * nptl/tst-join7mod.c: New file.
6032         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6033         all translation units in libc.so, libpthread.so and rtld.
6034
6035 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6036
6037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6038
6039 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6040
6041         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6042         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6043         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6044         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6045         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6046         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6047         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6048         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6049         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6050         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6051         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6052         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6053         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6054         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6055         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6056         implementation.
6057
6058 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6059
6060         [BZ #17711]
6061         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6062         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6063         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6064         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6065         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6066         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6067
6068 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6069
6070         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6071         instead of just saying load lock in the comments.
6072
6073 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6074
6075         * sysdeps/unix/Subdirs: Moved ...
6076         * sysdeps/posix/Subdirs: ... here.
6077         * login/pty.h (struct termios, struct winsize): Add forward decls.
6078         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6079         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6080         * sysdeps/arm/nacl/libc.abilist: Updated.
6081         * sysdeps/nacl/libutil.abilist: New file.
6082
6083         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6084         (SIGWINCH): New macro.
6085
6086         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6087         * sysdeps/arm/nacl/libc.abilist: Add it.
6088
6089 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6090
6091         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6092
6093 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6094
6095         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6096         Swap __glibc_reserved0 and sa_flags order.
6097
6098 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6099
6100         [BZ #18657]
6101         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6102         are pending TLS destructor calls.
6103         * include/link.h (struct link_map): Add concurrency note for
6104         L_TLS_DTOR_COUNT.
6105         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6106         Don't touch the link map flag.  Atomically increment
6107         l_tls_dtor_count.
6108         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6109         Avoid taking the load lock and don't touch the link map flag.
6110         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6111         * stdlib/Makefile (tests): Use it.
6112         * stdlib/tst-tls-atexit.c (do_test): dlopen
6113         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6114         to allow tst-tls-atexit-nodelete test case to use it.
6115
6116 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6117
6118         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6119         to bits/types.h.
6120         (msgqnum_t): New typedef.
6121         (msglen_t): Likewise.
6122         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6123         and msg_qbytes type to msglen_t.
6124
6125 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6126
6127         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6128         pad0 to __glibc_reserved0.
6129         (struct stat64): Likewise.
6130
6131 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6132
6133         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6134         Change sa_flags from a long to an int and add __glibc_reserved0 before
6135         it for padding.
6136
6137 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6138
6139         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6140         anonymous by deleting "siginfo" name.
6141
6142 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6143
6144         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6145         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6146         rather than __nacl_irt_filename.
6147         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6148
6149         * NEWS: New item for arm-nacl port.
6150         * sysdeps/arm/nacl/libc.abilist: New file.
6151         * sysdeps/nacl/ld.abilist: New file.
6152         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6153         * sysdeps/nacl/libanl.abilist: New file.
6154         * sysdeps/nacl/libcrypt.abilist: New file.
6155         * sysdeps/nacl/libdl.abilist: New file.
6156         * sysdeps/nacl/libm.abilist: New file.
6157         * sysdeps/nacl/libpthread.abilist: New file.
6158         * sysdeps/nacl/libresolv.abilist: New file.
6159         * sysdeps/nacl/librt.abilist: New file.
6160
6161 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6162
6163         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6164         __startcontext to initialize the new context.
6165         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6166         up CFI directive to forbid further backtracing.
6167
6168 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6169
6170         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6171         reference.
6172         * charmaps/ANSI_X3.4-1968: Likewise.
6173         * charmaps/BS_4730: Likewise.
6174         * charmaps/BS_VIEWDATA: Likewise.
6175         * charmaps/CP1250: Likewise.
6176         * charmaps/CP1251: Likewise.
6177         * charmaps/CP1252: Likewise.
6178         * charmaps/CP1253: Likewise.
6179         * charmaps/CP1254: Likewise.
6180         * charmaps/CP1255: Likewise.
6181         * charmaps/CP1256: Likewise.
6182         * charmaps/CSN_369103: Likewise.
6183         * charmaps/EBCDIC-DK-NO: Likewise.
6184         * charmaps/GB_1988-80: Likewise.
6185         * charmaps/GREEK-CCITT: Likewise.
6186         * charmaps/GREEK7: Likewise.
6187         * charmaps/INIS-8: Likewise.
6188         * charmaps/ISIRI-3342: Likewise.
6189         * charmaps/ISO_2033-1983: Likewise.
6190         * charmaps/ISO_5427-EXT: Likewise.
6191         * locales/POSIX: Likewise.
6192         * locales/ar_SA: Likewise.
6193         * locales/be_BY: Likewise.
6194         * locales/be_BY@latin: Likewise.
6195         * locales/ca_ES: Likewise.
6196         * locales/cs_CZ: Likewise.
6197         * locales/da_DK: Likewise.
6198         * locales/de_BE: Likewise.
6199         * locales/de_CH: Likewise.
6200         * locales/de_LU: Likewise.
6201         * locales/en_AU: Likewise.
6202         * locales/en_BW: Likewise.
6203         * locales/en_CA: Likewise.
6204         * locales/en_DK: Likewise.
6205         * locales/en_GB: Likewise.
6206         * locales/en_IE: Likewise.
6207         * locales/en_NZ: Likewise.
6208         * locales/en_ZA: Likewise.
6209         * locales/en_ZW: Likewise.
6210         * locales/es_AR: Likewise.
6211         * locales/es_BO: Likewise.
6212         * locales/es_CL: Likewise.
6213         * locales/es_CO: Likewise.
6214         * locales/es_DO: Likewise.
6215         * locales/es_EC: Likewise.
6216         * locales/es_ES: Likewise.
6217         * locales/es_HN: Likewise.
6218         * locales/es_MX: Likewise.
6219         * locales/es_PA: Likewise.
6220         * locales/es_PE: Likewise.
6221         * locales/es_PY: Likewise.
6222         * locales/es_SV: Likewise.
6223         * locales/es_US: Likewise.
6224         * locales/es_UY: Likewise.
6225         * locales/es_VE: Likewise.
6226         * locales/et_EE: Likewise.
6227         * locales/fa_IR: Likewise.
6228         * locales/fo_FO: Likewise.
6229         * locales/fr_CA: Likewise.
6230         * locales/fr_CH: Likewise.
6231         * locales/gv_GB: Likewise.
6232         * locales/he_IL: Likewise.
6233         * locales/hr_HR: Likewise.
6234         * locales/id_ID: Likewise.
6235         * locales/is_IS: Likewise.
6236         * locales/it_CH: Likewise.
6237         * locales/iw_IL: Likewise.
6238         * locales/kl_GL: Likewise.
6239         * locales/ko_KR: Likewise.
6240         * locales/kw_GB: Likewise.
6241         * locales/lg_UG: Likewise.
6242         * locales/lt_LT: Likewise.
6243         * locales/lv_LV: Likewise.
6244         * locales/mi_NZ: Likewise.
6245         * locales/nhn_MX: Likewise.
6246         * locales/nl_BE: Likewise.
6247         * locales/pl_PL: Likewise.
6248         * locales/sk_SK: Likewise.
6249         * locales/sl_SI: Likewise.
6250         * locales/sv_FI: Likewise.
6251         * locales/tl_PH: Likewise.
6252         * locales/tr_TR: Likewise.
6253         * locales/vi_VN: Likewise.
6254
6255 2015-07-21  Khem Raj  <raj.khem@gmail.com>
6256
6257         [BZ #17475]
6258         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
6259         of tu_IN and bh_IN.
6260
6261 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
6262
6263         [BZ #18694]
6264         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6265         bits/wordsize.h.
6266         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
6267
6268 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6269
6270         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
6271         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
6272         (spawn_thread): New function.
6273         (load): Rename to reg_dtor_and_close.  Move dlopen to...
6274         (do_test): ... here.  Use IS_LOADED to test for its
6275         availability.
6276
6277 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
6278
6279         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6280
6281 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
6282
6283         [BZ #18696]
6284         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
6285         si_addr_bnd.
6286         (si_lower): New.
6287         (si_upper): Likewise.
6288
6289 2015-07-16  David S. Miller  <davem@davemloft.net>
6290
6291         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6292
6293 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6294
6295         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
6296         buffer.
6297         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
6298         fail output information.
6299
6300 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6301
6302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
6303         and strstr-ppc64..
6304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6305         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
6306         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
6307         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
6308         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
6309
6310 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6311
6312         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6313         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6314         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6315         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6316
6317 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6318
6319         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6320         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
6321         rtld_hidden_proto.
6322         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
6323
6324 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6325
6326         * tst-nodelete-opened.c (do_test): Add comment to clarify how
6327         the test can fail.
6328
6329         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
6330
6331         [BZ #18676]
6332         * elf/tst-nodelete-opened.c: New test case.
6333         * elf/tst-nodelete-opened-lib.c: New test case module.
6334         * elf/Makefile (tests, modules-names): Use them.
6335         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
6336         early.
6337
6338 2015-07-15  David S. Miller  <davem@davemloft.net>
6339
6340         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
6341         futex-intenal.h
6342         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
6343         * sysdeps/sparc/sparc64/Makefile: Likewise.
6344         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6345         Remove space from macro define.
6346         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
6347
6348 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
6349
6350         [BZ #17475]
6351         * locale/iso-639.def: Update Bhili and Tulu language codes as
6352         per iso639-3.
6353
6354 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
6355
6356         * elf/tst-leaks1.c (main): Converted to ...
6357         (do_test): ... this.
6358         (TEST_FUNCTION): New macro.
6359         Include test-skeleton.c.
6360         * localedata/tst-langinfo.c (main): Converted to ...
6361         (do_test): ... this.
6362         (TEST_FUNCTION): New macro.
6363         Include test-skeleton.c.
6364         * math/test-fpucw.c (main): Converted to ...
6365         (do_test): ... this.
6366         (TEST_FUNCTION): New macro.
6367         Include test-skeleton.c.
6368         * math/test-tgmath.c (main): Converted to ...
6369         (do_test): ... this.
6370         (TEST_FUNCTION): New macro.
6371         Include test-skeleton.c.
6372         * math/test-tgmath2.c (main): Converted to ...
6373         (do_test): ... this.
6374         (TEST_FUNCTION): New macro.
6375         Include test-skeleton.c.
6376         * setjmp/tst-setjmp.c (main): Converted to ...
6377         (do_test): ... this.
6378         (TEST_FUNCTION): New macro.
6379         Include test-skeleton.c.
6380         * stdio-common/tst-sscanf.c (main): Converted to ...
6381         (do_test): ... this.
6382         (TEST_FUNCTION): New macro.
6383         Include test-skeleton.c.
6384         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
6385         (do_test): ... this.
6386         (TEST_FUNCTION): New macro.
6387         Include test-skeleton.c.
6388
6389         * elf/tst-audit9.c (main): Converted to ...
6390         (do_test): ... this.
6391         (TEST_FUNCTION): New macro.
6392         Include test-skeleton.c.
6393
6394 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
6395
6396         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
6397
6398 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6399
6400         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
6401         New variable.
6402
6403 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6404
6405         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6406
6407 2015-07-14  Roland McGrath  <roland@hack.frob.com>
6408
6409         * sysdeps/generic/dl-fileid.h: New file.
6410         * sysdeps/posix/dl-fileid.h: New file.
6411         * sysdeps/nacl/dl-fileid.h: New file.
6412         * include/link.h: Include <dl-fileid.h>.
6413         (struct link_map): Replace l_dev and l_ino with l_file_id.
6414         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
6415         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
6416         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
6417
6418 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6419
6420         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
6421
6422 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6423
6424         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
6425         Add iff $CXX is set.
6426         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
6427         Likewise.
6428         (tst-nodelete-zmodiff): Likewise.
6429         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
6430
6431 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6432
6433         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
6434
6435 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6436
6437         * sysdeps/aarch64/fpu/math_private.h
6438         (define math_opt_barrier): Add AArch64 version.
6439         (math_force_eval): Likewise.
6440
6441 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6442
6443         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
6444
6445 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6446
6447         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
6448         %ld with %jd and cast to intmax_t.
6449         (do_test_length_zero): Likewise.
6450
6451 2015-07-10  Roland McGrath  <roland@hack.frob.com>
6452
6453         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
6454
6455 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
6456
6457         * sysdeps/tile/libm-test-ulps: Regenerated.
6458
6459         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
6460         Comment out the whole function, not just its body.
6461
6462 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6463
6464         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
6465         locks.
6466
6467         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
6468
6469 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6470
6471         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
6472         (sem_assume_only_signals_cause_futex_EINTR): Remove.
6473
6474 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6475
6476         * sysdeps/nptl/futex-internal.h: New file.
6477         * sysdeps/nacl/futex-internal.h: New file.
6478         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
6479         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
6480         error checking.
6481         (setxid_unmark_thread): Likewise.
6482         (__nptl_setxid): Likewise.
6483         (__wait_lookup_done): Likewise.
6484         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
6485         * nptl/nptl-init.c (sighandler_setxid): Likewise.
6486         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
6487         * nptl/pthread_once.c (clear_once_control): Likewise.
6488         (__pthread_once_slow): Likewise.
6489         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6490         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
6491         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
6492         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6493         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
6494         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
6495         Likewise.
6496         (__pthread_rwlock_rdlock): Likewise.
6497         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6498         Likewise.
6499         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6500         Likewise.
6501         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6502         Likewise.
6503         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
6504         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
6505         Likewise.
6506         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
6507         __ASSUME_PRIVATE_FUTEX check.
6508         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
6509         Check that shared futexes are supported.
6510         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
6511         wrappers with error checking.
6512         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
6513         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
6514         * nptl/pthread_barrierattr_setpshared.c
6515         (pthread_barrierattr_setpshared): Check that shared futexes are
6516         supported.
6517         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
6518         Likewise.
6519         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
6520         Likewise.
6521         * nptl/sem_init.c (futex_private_if_supported): Remove.
6522         (__new_sem_init): Adapt and check that shared futexes are supported.
6523         * nptl/sem_open.c (sem_open): Likewise.
6524         * nptl/sem_post.c (futex_wake): Remove.
6525         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
6526         (do_futex_wait): Use futex wrappers with error checking.
6527         * nptl/sem_wait.c: Include lowlevellock.h.
6528         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
6529         Use futex_supports_pshared.
6530         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
6531         Use futex wrappers with error checking.
6532         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
6533         Likewise.
6534         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
6535         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
6536         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
6537         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
6538         (futex_wake): Likewise.
6539         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
6540         (do_futex_wait): Use futex wrappers with error checking.
6541         (__new_sem_wait_slow): Update EINTR handling.
6542         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
6543
6544 2015-07-09  Martin Sebor  <msebor@redhat.com>
6545
6546         [BZ #18435]
6547         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6548         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
6549         * nptl/Makefile (test-xfail-tst-once5): Define.
6550
6551 2015-07-09  Roland McGrath  <roland@hack.frob.com>
6552
6553         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
6554         * elf/dl-minimal.c: For readability, reorder some definitions and
6555         introduce more page breaks.  Include <stdio.h>.
6556         (__libc_fatal): New function.
6557
6558         * include/unistd.h: Add rtld_hidden_proto for _exit.
6559         * posix/_exit.c: Add rtld_hidden_def.
6560         * sysdeps/mach/hurd/_exit.c: Likewise.
6561         * sysdeps/nacl/_exit.c: Likewise.
6562         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
6563         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
6564
6565 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
6566
6567         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
6568         bndmov encoding with zero displacement.
6569
6570 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6571             H.J. Lu  <hongjiu.lu@intel.com>
6572
6573         [BZ #18134]
6574         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
6575         * sysdeps/i386/configure: Regenerated.
6576         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6577         (_dl_runtime_profile): Save and restore Intel MPX return bound
6578         registers when calling _dl_call_pltexit.  Add
6579         PRESERVE_BND_REGS_PREFIX before return.
6580         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
6581         (LRV_BND1_OFFSET): Likewise.
6582         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
6583         lrv_bnd1.
6584         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
6585         typo in bndmov encoding.
6586         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
6587         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
6588         branch instructions to preserve bounds.
6589
6590 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6591
6592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6593         [GLIBC_2.22]: Add fmemopen.
6594
6595 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6596
6597         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
6598         returns an error, also try to use host port from __mach_host_self for
6599         the __vm_wire call.
6600         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
6601
6602 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6603
6604         [BZ #18400]
6605         [BZ #18648]
6606         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
6607         Fix pr_uid and pr_gid members.
6608         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
6609         definition to elf_greg_t.
6610
6611 2015-07-08  Roland McGrath  <roland@hack.frob.com>
6612
6613         [BZ #18383]
6614         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
6615         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
6616         * sysdeps/arm/configure: Regenerated.
6617         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
6618         (test-xfail-tst-tlsalign-static): Variable removed.
6619
6620         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
6621         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
6622         rather than explicit 'ln -s'.
6623
6624         * resolv/rpc/netdb.h: New file.
6625         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
6626
6627 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6628
6629         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
6630         length buffers.
6631         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6632         test-skeleton.c.
6633
6634         [BZ #6544]
6635         [BZ #11216]
6636         [BZ #12836]
6637         [BZ #13151]
6638         [BZ #13152]
6639         [BZ #14292]
6640         * include/stdio.h (fmemopen): Remove hidden prototype.
6641         (__fmemopen): Add new hidden prototype.
6642         * libio/Makefile: Add oldfmemopen object.
6643         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
6644         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
6645         compliance.
6646         * libio/oldfmemopen.c: New file: old fmemopen implementation for
6647         symbol compatibility.
6648         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
6649         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
6650         fmemopen.
6651         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
6652         on append and read mode.
6653         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
6654         fmemopen.
6655         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
6656         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
6657         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
6658         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
6659         Likewise.
6660         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6661         [GLIBC_2.22]: Likewise.
6662         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
6663         Likewise.
6664         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
6665         Likewise.
6666         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6667         [GLIBC_2.22]: Likewise.
6668         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6669         [GLIBC_2.22]: Likewise.
6670         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6671         [GLIBC_2.22]: Likewise.
6672         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6673         [GLIBC_2.22]: Likewise.
6674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6675         [GLIBC_2.22]: Likewise.
6676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6677         [GLIBC_2.22]: Likewise.
6678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6679         [GLIBC_2.22]: Likewise.
6680         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
6681         Likewise.
6682         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
6683         Likewise.
6684         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
6685         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6686         [GLIBC_2.22]: Likewise.
6687         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6688         [GLIBC_2.22]: Likewise.
6689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6690         [GLIBC_2.22]: Likewise.
6691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6692         [GLIBC_2.22]: Likewise.
6693         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
6694         Likewise.
6695         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
6696         Likewise.
6697         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
6698         Likewise.
6699         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
6700         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
6701
6702 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6703
6704         [BZ #18643]
6705         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
6706         IPV6_PATHMTU, and IPV6_DONTFRAG.
6707
6708 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
6709
6710         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
6711         and _IO_UNBUFFERED.
6712         * libio/oldfileops.c: Likewise.
6713         * libio/wfileops.c: Likewise.
6714
6715 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6716
6717         * nscd/selinux.c: Delete selinux/flask.h include.
6718
6719 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6720
6721         [BZ #18641]
6722         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
6723         (putpwent): Likewise.
6724         (getpwnam): Likewise.
6725         (getpwent_r): Likewise.
6726         (getpwuid_r): Likewise.
6727         (getpwnam_r): Likewise.
6728         (fgetpwent_r): Likewise.
6729
6730 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6731
6732         [BZ #18557]
6733         * inet/rcmd.c (__validuser2_sa): Check user first to
6734         short-circuit host check.
6735
6736 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
6737             Mikhail Ilin  <m.ilin@samsung.com>
6738
6739         [BZ #17833]
6740         * elf/Makefile (tests): Add tst-nodelete.
6741         (modules-names): Add tst-nodelete-uniquemod.
6742         (tst-nodelete-uniquemod.so-no-z-defs): New.
6743         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
6744         (tst-nodelete-zmod.so-no-z-defs): Likewise.
6745         ($(objpfx)tst-nodelete): Likewise.
6746         ($(objpfx)tst-nodelete.out): Likewise.
6747         (LDFLAGS-tst-nodelete): Likewise.
6748         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
6749         * elf/dl-close.c (_dl_close_worker): Add a parameter to
6750         implement forced object deletion.
6751         (_dl_close): Pass false to _dl_close_worker.
6752         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
6753         * elf/tst-nodelete.cc: New file.
6754         * elf/tst-nodeletelib.cc: Likewise.
6755         * elf/tst-znodeletelib.cc: Likewise.
6756         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
6757
6758 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6759
6760         [BZ #18508]
6761         * stdlib/Makefile ($(objpfx)tst-makecontext3):
6762         Depend on $(libdl).
6763         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
6764         is not called infinitely times.
6765         (backtrace_helper): New function.
6766         (trace_arg): New struct.
6767         (st1): Enlarge stack size.
6768         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6769         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
6770         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6771         Likewise.
6772
6773 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6774
6775         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6776
6777 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6778
6779         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
6780         Include sys/types.h instead of bits/types.h.
6781         Remove inclusion of bits/wordsize.h.
6782
6783 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6784
6785         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
6786         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
6787         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
6788         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
6789         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
6790         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
6791
6792 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6793
6794         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
6795         link-defines.sym.
6796         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
6797         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
6798         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
6799         and LR_SIZE.
6800         * sysdeps/i386/link-defines.sym: New file.
6801
6802 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6803
6804         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
6805         (modules-names): Add tst-auditmod3a tst-auditmod3b.
6806         ($(objpfx)tst-audit3): New rule.
6807         ($(objpfx)tst-audit3.out): Likewise.
6808         * sysdeps/i386/tst-audit3.c: New file.
6809         * sysdeps/i386/tst-audit3.h: Likewise.
6810         * sysdeps/i386/tst-auditmod3a.c: Likewise.
6811         * sysdeps/i386/tst-auditmod3b.c: Likewise.
6812
6813 2015-07-07  Torvald Riegel  <triegel@redhat.com>
6814
6815         [BZ #18633]
6816         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
6817         pointer in C code.
6818         (__strcat_c): Likewise.
6819         (__strcat_g): Likewise.
6820
6821 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
6822
6823         [BZ #18592]
6824         * misc/sbrk.c: Set errno to ENOMEM on overflow.
6825
6826 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
6827
6828         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
6829         New function.  (__ieee754_sqrtf): New function.
6830         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
6831         New function.
6832         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
6833         New function.
6834
6835 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
6836
6837         * sysdeps/ieee754/support.c: Remove unused file.
6838
6839 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6840
6841         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
6842         registers instead of d ones so the layout is kernel abi compatible.
6843         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
6844         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
6845         Likewise.
6846
6847 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6848
6849         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6850
6851 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
6852
6853         [BZ #18619]
6854         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
6855         and return argument in case of subnormal argument.
6856
6857 2015-07-01  Martin Sebor  <msebor@redhat.com>
6858
6859         [BZ #18435]
6860         * nptl/Makefile: Add tst-once5.cc.
6861         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6862         Remove macro redefinitions.
6863         * nptl/tst-once5.cc: New test.
6864
6865 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
6866
6867         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6868
6869         * sysdeps/arm/libm-test-ulps: Regenerated.
6870
6871         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6872         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6873
6874 2015-06-30  Torvald Riegel  <triegel@redhat.com>
6875
6876         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
6877         lll_lock_wait_private and lll_futex_wake probes.
6878
6879         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6880         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
6881         Likewise.
6882         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
6883         atomic_spin_nop.
6884         * sysdeps/x86_64/bits/atomic.h: Likewise.
6885         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
6886         to atomic_spin_nop and move ...
6887         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6888         ... here and ...
6889         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
6890         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6891         atomic_spin_nop instead of BUSY_WAIT_NOP.
6892         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
6893         Likewise.
6894         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
6895         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6896         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
6897         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
6898         instead of atomic_delay.
6899
6900 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
6901
6902         [BZ #18613]
6903         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
6904         X_ADJ not X when adjusting exponent.
6905         (__ieee754_gamma_r): Do intermediate computations in
6906         round-to-nearest then adjust overflowing and underflowing results
6907         as needed.
6908         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
6909         of X_ADJ not X when adjusting exponent.
6910         (__ieee754_gammaf_r): Do intermediate computations in
6911         round-to-nearest then adjust overflowing and underflowing results
6912         as needed.
6913         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
6914         log of X_ADJ not X when adjusting exponent.
6915         (__ieee754_gammal_r): Do intermediate computations in
6916         round-to-nearest then adjust overflowing and underflowing results
6917         as needed.  Use 1.0L not 1.0f as numerator of division.
6918         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
6919         log of X_ADJ not X when adjusting exponent.
6920         (__ieee754_gammal_r): Do intermediate computations in
6921         round-to-nearest then adjust overflowing and underflowing results
6922         as needed.  Use 1.0L not 1.0f as numerator of division.
6923         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
6924         of X_ADJ not X when adjusting exponent.
6925         (__ieee754_gammal_r): Do intermediate computations in
6926         round-to-nearest then adjust overflowing and underflowing results
6927         as needed.  Use 1.0L not 1.0f as numerator of division.
6928         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
6929         to auto-libm-test-in.
6930         (tgamma_test): Use ALL_RM_TEST.
6931         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
6932         tests of tgamma with spurious-overflow.
6933         * math/auto-libm-test-out: Regenerated.
6934         * math/gen-libm-have-vector-test.sh: Do not check for START.
6935         * sysdeps/i386/fpu/libm-test-ulps: Update.
6936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6937
6938         [BZ #18612]
6939         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
6940         arguments, just return 0.5 times the argument, with underflow
6941         forced as needed.
6942         * math/auto-libm-test-in: Add more tests of j1.
6943         * math/auto-libm-test-out: Regenerated.
6944
6945         [BZ #16559]
6946         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
6947         (__ieee754_j1): Force underflow exception for small results.
6948         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6949         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
6950         (__ieee754_j1f): Force underflow exception for small results.
6951         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6952         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6953         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6954         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
6955         (__ieee754_j1l): Force underflow exception for small results.
6956         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6957         * math/auto-libm-test-in: Add more tests of j1 and jn.
6958         * math/auto-libm-test-out: Regenerated.
6959
6960         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
6961         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
6962         (PF_MPLS): Likewise.
6963         (AF_IB): Likewise.
6964         (AF_MPLS): Likewise.
6965         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
6966         value and macro.
6967         (MS_RMT_MASK): Include MS_LAZYTIME.
6968
6969 2015-06-26  Mel Gorman  <mgorman@suse.de>
6970
6971         [BZ #18502]
6972         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
6973         already minimal.
6974
6975 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
6976
6977         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
6978         (DT_MIPS_NUM): Update.
6979         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
6980         DT_MIPS_RLD_MAP_REL.
6981
6982 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
6983
6984         [BZ #16559]
6985         [BZ #18602]
6986         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
6987         round-to-nearest internally then recompute results that
6988         underflowed to zero in the original rounding mode.
6989         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6990         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6991         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6992         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
6993         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
6994         * sysdeps/i386/fpu/libm-test-ulps: Update.
6995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6996
6997 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
6998
6999         * NEWS: Fixed description of link with vector math library.
7000
7001 2015-06-25  Andreas Schwab  <schwab@suse.de>
7002
7003         [BZ #18549]
7004         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7005         * libio/test-fmemopen.c (do_test): Add test for it.
7006
7007 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7008
7009         [BZ #17841]
7010         * Makeconfig (no-pie-ldflag): New.
7011         (+link): Set to $(+link-pie) if default to PIE.
7012         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7013         * config.make.in (build-pie-default): New.
7014         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7015         is default.  AC_SUBST.
7016         * configure: Regenerated.
7017         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7018
7019 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7020
7021         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7022         to 'unsigned int'.
7023
7024         * resolv/gai_misc.h (struct waitlist): Change type of field
7025         counterp to 'volatile unsigned int *'.
7026         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7027         FUTEXADDR and OLDVAL.
7028         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7029         Give local variable TOTAL type 'volatile unsigned int'.
7030         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7031         * resolv/gai_suspend.c (gai_suspend):
7032         Give local variable CNTR type 'unsigned int'.
7033
7034         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7035         counterp to 'volatile unsigned int *'.
7036         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7037         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7038         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7039         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7040         Give local variable TOTAL type 'volatile unsigned int'.
7041         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7042
7043 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7044
7045         [BZ #18383]
7046         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7047         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7048         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7049         comment for i386/x86-64.
7050         (test-xfail-tst-tlsalign-extern-static): Removed.
7051
7052 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7053
7054         * math/test-double.h: New file.
7055         * math/test-float.h: Likewise.
7056         * math/test-ldouble.h: Likewise.
7057         * math/test-math-inline.h: Likewise.
7058         * math/test-math-no-inline.h: Likewise.
7059         * math/test-math-scalar.h: Likewise.
7060         * math/test-math-vector.h: Likewise.
7061         * math/test-vec-loop.h: Remove file.  Contents moved into
7062         test-math-vector.h.
7063         * math/libm-test.inc (MATHCONST): Do not document macro.
7064         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7065         and test-math-scalar.h.
7066         (FUNC): Remove macro.
7067         (FUNC_TEST): Likewise.
7068         (FLOAT): Likewise.
7069         (MATHCONST): Likewise.
7070         (PRINTF_EXPR): Likewise.
7071         (PRINTF_XEXPR): Likewise.
7072         (PRINTF_NEXPR): Likewise.
7073         (TEST_DOUBLE): Likewise.
7074         (TEST_MATHVEC): Likewise.
7075         (__NO_MATH_INLINES): Likewise.
7076         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7077         and test-math-scalar.h.
7078         (FUNC): Remove macro.
7079         (FUNC_TEST): Likewise.
7080         (FLOAT): Likewise.
7081         (MATHCONST): Likewise.
7082         (PRINTF_EXPR): Likewise.
7083         (PRINTF_XEXPR): Likewise.
7084         (PRINTF_NEXPR): Likewise.
7085         (TEST_FLOAT): Likewise.
7086         (TEST_MATHVEC): Likewise.
7087         (__NO_MATH_INLINES): Likewise.
7088         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7089         and test-math-scalar.h.
7090         (FUNC): Remove macro.
7091         (FUNC_TEST): Likewise.
7092         (FLOAT): Likewise.
7093         (MATHCONST): Likewise.
7094         (PRINTF_EXPR): Likewise.
7095         (PRINTF_XEXPR): Likewise.
7096         (PRINTF_NEXPR): Likewise.
7097         (TEST_DOUBLE): Likewise.
7098         (TEST_MATHVEC): Likewise.
7099         (TEST_INLINE): Likewise.
7100         (__NO_MATH_INLINES): Likewise.
7101         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7102         test-math-scalar.h.
7103         (FUNC): Remove macro.
7104         (FUNC_TEST): Likewise.
7105         (FLOAT): Likewise.
7106         (MATHCONST): Likewise.
7107         (PRINTF_EXPR): Likewise.
7108         (PRINTF_XEXPR): Likewise.
7109         (PRINTF_NEXPR): Likewise.
7110         (TEST_FLOAT): Likewise.
7111         (TEST_MATHVEC): Likewise.
7112         (TEST_INLINE): Likewise.
7113         (__NO_MATH_INLINES): Likewise.
7114         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7115         and test-math-scalar.h.
7116         (FUNC): Remove macro.
7117         (FUNC_TEST): Likewise.
7118         (FLOAT): Likewise.
7119         (MATHCONST): Likewise.
7120         (PRINTF_EXPR): Likewise.
7121         (PRINTF_XEXPR): Likewise.
7122         (PRINTF_NEXPR): Likewise.
7123         (TEST_LDOUBLE): Likewise.
7124         (TEST_MATHVEC): Likewise.
7125         (TEST_INLINE): Likewise.
7126         (__NO_MATH_INLINES): Likewise.
7127         * math/test-ldouble.c: Include test-ldouble.h,
7128         test-math-no-inline.h and test-math-scalar.h.
7129         (FUNC): Remove macro.
7130         (FUNC_TEST): Likewise.
7131         (FLOAT): Likewise.
7132         (MATHCONST): Likewise.
7133         (PRINTF_EXPR): Likewise.
7134         (PRINTF_XEXPR): Likewise.
7135         (PRINTF_NEXPR): Likewise.
7136         (TEST_LDOUBLE): Likewise.
7137         (TEST_MATHVEC): Likewise.
7138         (__NO_MATH_INLINES): Likewise.
7139         * math/test-double-vlen2.h: Include test-double.h,
7140         test-math-no-inline.h and test-math-vector.h.
7141         (FLOAT): Remove macro.
7142         (FUNC): Likewise.
7143         (MATHCONST): Likewise.
7144         (PRINTF_EXPR): Likewise.
7145         (PRINTF_XEXPR): Likewise.
7146         (PRINTF_NEXPR): Likewise.
7147         (TEST_DOUBLE): Likewise.
7148         (TEST_MATHVEC): Likewise.
7149         (__NO_MATH_INLINES): Likewise.
7150         (CNCT): Likewise.
7151         (CONCAT): Likewise.
7152         (WRAPPER_NAME): Likewise.
7153         (WRAPPER_DECL): Likewise.
7154         (WRAPPER_DECL_ff): Likewise.
7155         (WRAPPER_DECL_fFF): Likewise.
7156         (VECTOR_WRAPPER): Likewise.
7157         (VECTOR_WRAPPER_ff): Likewise.
7158         (VECTOR_WRAPPER_fFF): Likewise.
7159         (VEC_LEN): New macro.
7160         * math/test-double-vlen4.h: Include test-double.h,
7161         test-math-no-inline.h and test-math-vector.h.
7162         (FLOAT): Remove macro.
7163         (FUNC): Likewise.
7164         (MATHCONST): Likewise.
7165         (PRINTF_EXPR): Likewise.
7166         (PRINTF_XEXPR): Likewise.
7167         (PRINTF_NEXPR): Likewise.
7168         (TEST_DOUBLE): Likewise.
7169         (TEST_MATHVEC): Likewise.
7170         (__NO_MATH_INLINES): Likewise.
7171         (CNCT): Likewise.
7172         (CONCAT): Likewise.
7173         (WRAPPER_NAME): Likewise.
7174         (WRAPPER_DECL): Likewise.
7175         (WRAPPER_DECL_ff): Likewise.
7176         (WRAPPER_DECL_fFF): Likewise.
7177         (VECTOR_WRAPPER): Likewise.
7178         (VECTOR_WRAPPER_ff): Likewise.
7179         (VECTOR_WRAPPER_fFF): Likewise.
7180         (VEC_LEN): New macro.
7181         * math/test-double-vlen8.h: Include test-double.h,
7182         test-math-no-inline.h and test-math-vector.h.
7183         (FLOAT): Remove macro.
7184         (FUNC): Likewise.
7185         (MATHCONST): Likewise.
7186         (PRINTF_EXPR): Likewise.
7187         (PRINTF_XEXPR): Likewise.
7188         (PRINTF_NEXPR): Likewise.
7189         (TEST_DOUBLE): Likewise.
7190         (TEST_MATHVEC): Likewise.
7191         (__NO_MATH_INLINES): Likewise.
7192         (CNCT): Likewise.
7193         (CONCAT): Likewise.
7194         (WRAPPER_NAME): Likewise.
7195         (WRAPPER_DECL): Likewise.
7196         (WRAPPER_DECL_ff): Likewise.
7197         (WRAPPER_DECL_fFF): Likewise.
7198         (VECTOR_WRAPPER): Likewise.
7199         (VECTOR_WRAPPER_ff): Likewise.
7200         (VECTOR_WRAPPER_fFF): Likewise.
7201         (VEC_LEN): New macro.
7202         * math/test-float-vlen4.h: Include test-float.h,
7203         test-math-no-inline.h and test-math-vector.h.
7204         (FLOAT): Remove macro.
7205         (FUNC): Likewise.
7206         (MATHCONST): Likewise.
7207         (PRINTF_EXPR): Likewise.
7208         (PRINTF_XEXPR): Likewise.
7209         (PRINTF_NEXPR): Likewise.
7210         (TEST_FLOAT): Likewise.
7211         (TEST_MATHVEC): Likewise.
7212         (__NO_MATH_INLINES): Likewise.
7213         (CNCT): Likewise.
7214         (CONCAT): Likewise.
7215         (WRAPPER_NAME): Likewise.
7216         (WRAPPER_DECL): Likewise.
7217         (WRAPPER_DECL_ff): Likewise.
7218         (WRAPPER_DECL_fFF): Likewise.
7219         (VECTOR_WRAPPER): Likewise.
7220         (VECTOR_WRAPPER_ff): Likewise.
7221         (VECTOR_WRAPPER_fFF): Likewise.
7222         (VEC_LEN): New macro.
7223         * math/test-float-vlen8.h: Include test-float.h,
7224         test-math-no-inline.h and test-math-vector.h.
7225         (FLOAT): Remove macro.
7226         (FUNC): Likewise.
7227         (MATHCONST): Likewise.
7228         (PRINTF_EXPR): Likewise.
7229         (PRINTF_XEXPR): Likewise.
7230         (PRINTF_NEXPR): Likewise.
7231         (TEST_FLOAT): Likewise.
7232         (TEST_MATHVEC): Likewise.
7233         (__NO_MATH_INLINES): Likewise.
7234         (CNCT): Likewise.
7235         (CONCAT): Likewise.
7236         (WRAPPER_NAME): Likewise.
7237         (WRAPPER_DECL): Likewise.
7238         (WRAPPER_DECL_ff): Likewise.
7239         (WRAPPER_DECL_fFF): Likewise.
7240         (VECTOR_WRAPPER): Likewise.
7241         (VECTOR_WRAPPER_ff): Likewise.
7242         (VECTOR_WRAPPER_fFF): Likewise.
7243         (VEC_LEN): New macro.
7244         * math/test-float-vlen16.h: Include test-float.h,
7245         test-math-no-inline.h and test-math-vector.h.
7246         (FLOAT): Remove macro.
7247         (FUNC): Likewise.
7248         (MATHCONST): Likewise.
7249         (PRINTF_EXPR): Likewise.
7250         (PRINTF_XEXPR): Likewise.
7251         (PRINTF_NEXPR): Likewise.
7252         (TEST_FLOAT): Likewise.
7253         (TEST_MATHVEC): Likewise.
7254         (__NO_MATH_INLINES): Likewise.
7255         (CNCT): Likewise.
7256         (CONCAT): Likewise.
7257         (WRAPPER_NAME): Likewise.
7258         (WRAPPER_DECL): Likewise.
7259         (WRAPPER_DECL_ff): Likewise.
7260         (WRAPPER_DECL_fFF): Likewise.
7261         (VECTOR_WRAPPER): Likewise.
7262         (VECTOR_WRAPPER_ff): Likewise.
7263         (VECTOR_WRAPPER_fFF): Likewise.
7264         (VEC_LEN): New macro.
7265         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
7266         test-vec-loop.h.
7267         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7268         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7269         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7270         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7271         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7272         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7273         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7274
7275 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7276
7277         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
7278         (__getlogin_r): ... this.
7279
7280 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7281
7282         [BZ #18594]
7283         * math/s_ccosh.c (__ccosh): Compare with least normal value
7284         instead of comparing class with FP_SUBNORMAL.
7285         * math/s_ccoshf.c (__ccoshf): Likewise.
7286         * math/s_ccoshl.c (__ccoshl): Likewise.
7287         * math/s_cexp.c (__cexp): Likewise.
7288         * math/s_cexpf.c (__cexpf): Likewise.
7289         * math/s_cexpl.c (__cexpl): Likewise.
7290         * math/s_csin.c (__csin): Likewise.
7291         * math/s_csinf.c (__csinf): Likewise.
7292         * math/s_csinh.c (__csinh): Likewise.
7293         * math/s_csinhf.c (__csinhf): Likewise.
7294         * math/s_csinhl.c (__csinhl): Likewise.
7295         * math/s_csinl.c (__csinl): Likewise.
7296         * math/s_ctan.c (__ctan): Likewise.
7297         * math/s_ctanf.c (__ctanf): Likewise.
7298         * math/s_ctanh.c (__ctanh): Likewise.
7299         * math/s_ctanhf.c (__ctanhf): Likewise.
7300         * math/s_ctanhl.c (__ctanhl): Likewise.
7301         * math/s_ctanl.c (__ctanl): Likewise.
7302         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
7303         csin, csinh, ctan and ctanh.
7304         * math/auto-libm-test-out: Regenerated.
7305         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
7306         * sysdeps/i386/fpu/libm-test-ulps: Update.
7307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7308
7309 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7310
7311         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
7312         return value is wrong, print the expected value too.
7313
7314 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7315
7316         [BZ #18585]
7317         * elf/readlib.c (is_gdb_python_file): New.
7318         (process_file): Don't issue errors on filenames with -gdb.py
7319         suffix.
7320
7321 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7322
7323         * math/auto-libm-test-in: Add more tests of csin and csinh.
7324         * math/auto-libm-test-out: Regenerated.
7325         * math/libm-test.inc (csin_test_data): Remove tests moved to
7326         auto-libm-test-in.
7327         (csinh_test_data): Likewise.
7328
7329         [BZ #18593]
7330         * math/s_csin.c (__csin): Negate before rather than after possibly
7331         overflowing multiplication.
7332         * math/s_csinf.c (__csinf): Likewise.
7333         * math/s_csinh.c (__csinh): Likewise.
7334         * math/s_csinhf.c (__csinhf): Likewise.
7335         * math/s_csinhl.c (__csinhl): Likewise.
7336         * math/s_csinl.c (__csinl): Likewise.
7337         * math/auto-libm-test-in: Add some tests of csin and csinh.
7338         * math/auto-libm-test-out: Regenerated.
7339         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
7340         (csinh_test_data): Likewise.
7341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7342
7343         [BZ #18586]
7344         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
7345         underflow exception for small results.
7346
7347 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7348
7349         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7350         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
7351         variable and included header.
7352         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
7353         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
7354         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
7355         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
7356         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
7357         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7358         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7359         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
7360         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
7361         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
7362         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
7363         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
7364         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
7365         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
7366         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
7367         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
7368
7369 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7370
7371         [BZ #16526]
7372         [BZ #16538]
7373         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
7374         (__sin): Force underflow exception for arguments with small
7375         absolute value.
7376         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
7377         (__kernel_sinf): Force underflow exception for arguments with
7378         small absolute value.
7379         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
7380         (__kernel_sincosl): Force underflow exception for arguments with
7381         small absolute value.
7382         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
7383         (__kernel_sinl): Force underflow exception for arguments with
7384         small absolute value.
7385         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
7386         (__kernel_sincosl): Force underflow exception for arguments with
7387         small absolute value.
7388         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
7389         (__kernel_sinl): Force underflow exception for arguments with
7390         small absolute value.
7391         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
7392         (__kernel_sinl): Force underflow exception for arguments with
7393         small absolute value.
7394         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
7395         (__kernel_sinf): Force underflow exception for arguments with
7396         small absolute value.
7397         * math/auto-libm-test-in: Add more tests of sin and sincos.
7398         * math/auto-libm-test-out: Regenerated.
7399
7400         [BZ #18245]
7401         [BZ #18583]
7402         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
7403         (__kernel_standard_l): Use feholdexcept and fesetenv around
7404         conversion to double instead of special-casing overflow and
7405         underflow.
7406         * math/libm-test.inc (fmod_test_data): Add more tests.
7407         (remainder_test_data): Likewise.
7408         (sqrt_test_data): Likewise.
7409
7410 2015-06-23  Torvald Riegel  <triegel@redhat.com>
7411
7412         [BZ #17403]
7413         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
7414         atomic_read_barrier, atomic_write_barrier): Define.
7415         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
7416         atomic_read_barrier, atomic_write_barrier): Define.
7417
7418 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7419
7420         * math/Makefile [$(PERL) != no]
7421         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
7422         dependency on libm-test.stmp below the inclusion of Rules.
7423
7424 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
7425
7426         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7427         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
7428         and included header.
7429         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
7430         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
7431         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
7432         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
7433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
7434         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
7435         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7436         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7437         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
7438         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
7439         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
7440         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
7441         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
7442         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
7443         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
7444         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
7445         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
7446         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
7447         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
7448
7449 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7450
7451         [BZ #18371]
7452         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
7453         intermediate but not final result might underflow.
7454         * math/s_csqrtf.c (__csqrtf): Likewise.
7455         * math/s_csqrtl.c (__csqrtl): Likewise.
7456         * math/auto-libm-test-in: Add more tests of csqrt.
7457         * math/auto-libm-test-out: Regenerated.
7458         * sysdeps/i386/fpu/libm-test-ulps: Update.
7459
7460         [BZ #18219]
7461         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
7462         threshold on absolute value of exponent for which scaling is used.
7463         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7464         * math/auto-libm-test-in: Add more tests of exp2.
7465         * math/auto-libm-test-out: Regenerated.
7466
7467 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
7468
7469         [BZ #17977]
7470         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
7471         when initializing interface list, based on the bug analysis
7472         and the patch proposed by Eric Newton.
7473         * resolv/tst-res_hconf_reorder.c: New test.
7474         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
7475         tst-res_hconf_reorder.
7476         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
7477         and $(shared-thread-library).
7478         (tst-res_hconf_reorder-ENV): New variable.
7479
7480         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
7481         in comment.
7482
7483 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
7484
7485         [BZ #16353]
7486         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
7487         (__expm1): Force underflow exception for arguments with small
7488         absolute value.
7489         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
7490         (__expm1f): Force underflow exception for arguments with small
7491         absolute value.
7492         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
7493         (__expm1): Force underflow exception for arguments with small
7494         absolute value.
7495         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
7496         (__expm1f): Force underflow exception for arguments with small
7497         absolute value.
7498         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7499         Check for small arguments before calling __expm1.
7500         * math/auto-libm-test-in: Do not mark underflow exceptions as
7501         possibly missing for bug 16353.
7502         * math/auto-libm-test-out: Regenerated.
7503
7504 2015-06-22  Andreas Schwab  <schwab@suse.de>
7505
7506         [BZ #18513]
7507         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
7508         PTR queries.
7509
7510 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
7511
7512         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
7513
7514         * string/strcoll_l.c: Remove unused struct element idxnow.
7515
7516 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
7517
7518         [BZ #18569]
7519         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
7520         underflow and return argument in case of subnormal argument.
7521         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7522         Likewise.
7523         * math/auto-libm-test-in: Add more tests of expm1.
7524         * math/auto-libm-test-out: Regenerated.
7525
7526         [BZ #16361]
7527         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7528         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7529         tiny results.
7530         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7531         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7532         tiny results.
7533         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
7534         mark underflow exceptions as possibly missing for bug 16361.
7535         * math/auto-libm-test-out: Regenerated.
7536
7537 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
7538
7539         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
7540         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
7541         Remove variable.
7542         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7543         (test-xfail-XOPEN2K8/utmpx.h/conform).
7544
7545         * conform/conformtest.pl ($xerrors): New variable.
7546         (note_error): New function.
7547         (compiletest): New argument $xfail.  Use not_error.
7548         (runtest): Likewise.
7549         (top level): Handle xfail- lines.  Update calls to compiletest and
7550         runtest.  Handle xfail- and optional- in headers listed with
7551         allow-header.
7552         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
7553         (O_EXEC): Likewise.
7554         (O_SEARCH): Likewise.
7555         * conform/data/stropts.h-data (ioctl): Likewise.
7556         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
7557         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
7558         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
7559         (msghdr.msg_controllen): Likewise.
7560         (cmsghdr.cmsg_len): Likewise.
7561         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
7562         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
7563         variable.
7564         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7565         (test-xfail-XPG4/stropts.h/conform): Likewise.
7566         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7567         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7568         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7569         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7570         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7571         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7572         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7573         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7574         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7575         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7576         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7577         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7578         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7579         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7580         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7581         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7582         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7583         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7584         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7585
7586 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7587
7588         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
7589         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
7590         definitions for proper unfolding of __MATHDECL_VEC.
7591
7592 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7593
7594         * benchtests/bench-strcoll.c:
7595         Include string.h.
7596         (main): Remove unused variable res.
7597
7598 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7599
7600         * timezone/Makefile (%/UTC %/Universal):
7601         Generate test-result files for UTC and Universal.
7602
7603 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7604
7605         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7606
7607 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
7608
7609         [BZ #16350]
7610         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
7611         for arguments with small absolute value.
7612         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
7613         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
7614         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
7615         (__asinh): Force underflow exception for arguments with small
7616         absolute value.
7617         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
7618         (__asinhf): Force underflow exception for arguments with small
7619         absolute value.
7620         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
7621         (__asinhl): Force underflow exception for arguments with small
7622         absolute value.
7623         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
7624         (__asinhl): Force underflow exception for arguments with small
7625         absolute value.
7626         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
7627         (__asinhl): Force underflow exception for arguments with small
7628         absolute value.
7629         * math/auto-libm-test-in: Do not mark underflow exceptions as
7630         possibly missing for bug 16350.
7631         * math/auto-libm-test-out: Regenerated.
7632
7633         * include/bits/ipc.h: Remove file.
7634         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
7635         variable.
7636         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7637         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7638         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7639         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7640         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7641         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7642         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7643         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7644         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7645
7646         * math/auto-libm-test-in: Remove spurious underflow allowance for
7647         tests of cexp.
7648         * math/auto-libm-test-out: Regenerated.
7649
7650         [BZ #18558]
7651         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
7652         unconditional definition.
7653         (MCAST_BLOCK_SOURCE): Likewise.
7654         (MCAST_UNBLOCK_SOURCE): Likewise.
7655         (MCAST_LEAVE_GROUP): Likewise.
7656         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7657         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7658         (MCAST_MSFILTER): Likewise.
7659         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
7660         Remove variable.
7661         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7662         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7663         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7664         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7665         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7666
7667 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
7668
7669         * NEWS: Mention addition of x86_64 vector sincosf.
7670         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
7671         * math/test-float-vlen4.h: Likewise.
7672         * math/test-float-vlen8.h: Likewise.
7673         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7674         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
7675         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7676         * sysdeps/x86_64/fpu/Versions: New versions added.
7677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7678         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7679         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7680         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
7681         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7682         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
7683         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7684         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
7685         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7686         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
7687         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
7688         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
7689         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
7690         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
7691         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
7692         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
7693         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
7694         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7695         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7696         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7697         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7698         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7699         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7700         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7701
7702         * NEWS: Mention addition of x86_64 vector sincos.
7703         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
7704         * math/math.h (__MATHDECL_VEC): New macro.
7705         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
7706         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
7707         declaration under condition.
7708         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
7709         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
7710         TEST_VEC_LOOP change.
7711         * math/test-double-vlen4.h: Likewise.
7712         * math/test-double-vlen8.h: Likewise.
7713         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
7714         * math/test-float-vlen4.h: Likewise.
7715         * math/test-float-vlen8.h: Likewise.
7716         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7717         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
7718         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7719         * sysdeps/x86_64/fpu/Versions: New versions added.
7720         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7721         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7722         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7723         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
7724         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
7725         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
7726         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
7727         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
7728         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
7729         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
7730         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
7731         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
7732         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
7733         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
7734         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
7735         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
7736         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
7737         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7738         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7739         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7740         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7741         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7742         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7743         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7744
7745         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7746         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7747         redirections for powf.
7748         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7749         * sysdeps/x86_64/fpu/Versions: New versions added.
7750         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7751         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7752         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7753         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
7754         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
7755         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
7756         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
7757         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
7758         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
7759         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
7760         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
7761         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
7762         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
7763         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
7764         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
7765         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
7766         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
7767         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7768         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7769         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7770         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7771         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7772         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7773         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7774         * math/test-float-vlen16.h: Fixed 2 argument macro.
7775         * math/test-float-vlen4.h: Likewise.
7776         * math/test-float-vlen8.h: Likewise.
7777         * NEWS: Mention addition of x86_64 vector powf.
7778
7779 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
7780
7781         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7782         and redefine.
7783         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7784         and redefine.
7785         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
7786         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7787         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7788
7789         [BZ #18553]
7790         * resource/getpriority.c (getpriority): Rename to __getpriority
7791         and define as weak alias of __getpriority.
7792         * resource/setpriority.c (setpriority): Rename to __setpriority
7793         and define as weak alias of __setpriority.
7794         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
7795         __getpriority and define as weak alias of __getpriority.
7796         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
7797         __setpriority and define as weak alias of __setpriority.
7798         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
7799         strong name.
7800         (setpriority): Use __setpriority as strong name.
7801         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
7802         __getpriority and define as weak alias of __getpriority.
7803         * include/sys/resource.h (__getpriority): Declare.  Use
7804         libc_hidden_proto.
7805         (__setpriority): Likewise.
7806         (getpriority): Don't use libc_hidden_proto.
7807         (setpriority): Likewise.
7808         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
7809         getpriority.  Call __setpriority instead of setpriority.
7810         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
7811         Remove variable.
7812
7813         [BZ #18547]
7814         * misc/getttyent.c (getttynam): Rename to __getttynam and define
7815         as weak alias of __getttynam.  Use prototype function definition.
7816         Call __setttyent, __getttyent and __endttyent instead of
7817         setttyent, getttyent and endttyent.
7818         (getttyent): Rename to __getttyent and define as weak alias of
7819         __getttyent.  Call __setttyent instead of setttyent.  Call
7820         __fgets_unlocked instead of fgets_unlocked.
7821         (setttyent): Rename to __setttyent and define as weak alias of
7822         __setttyent.
7823         (endttyent): Rename to __endttyent and define as weak alias of
7824         __endttyent.
7825         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
7826         (__setttyent): Likewise.
7827         (__endttyent): Likewise.
7828         (getttyent): Don't use libc_hidden_proto.
7829         (setttyent): Likewise.
7830         (endttyent): Likewise.
7831         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
7832         __endttyent instead of setttyent, getttyent and endttyent.
7833         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
7834         Remove variable.
7835
7836         [BZ #18546]
7837         * socket/recv.c (__recv): Use libc_hidden_def.
7838         * socket/socket.c (__socket): Likewise.
7839         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7840         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7841         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
7842         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
7843         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
7844         libc_hidden_def.
7845         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
7846         libc_hidden_weak.
7847         * include/sys/socket.h (__socket): Do not use attribute_hidden.
7848         Use libc_hidden_proto.
7849         (__recv): Likewise.
7850         * socket/Versions (libc): Export __recv and __socket at version
7851         GLIBC_PRIVATE.
7852         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
7853         instead of recv.
7854         (init_mq_netlink): Call __socket instead of socket.
7855         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
7856         Remove variable.
7857
7858         [BZ #18545]
7859         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
7860         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
7861         hidden_weak.
7862         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
7863         define as alias of __mq_timedsend.  Use hidden_weak.
7864         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
7865         __mq_timedsend as strong name.
7866         (mq_timedreceive): Use __mq_timedreceive as strong name.
7867         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
7868         (__mq_timedreceive): Likewise.
7869         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
7870         __mq_timedreceive instead of mq_timedreceive.
7871         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
7872         instead of mq_timedsend.
7873         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
7874         Remove variable.
7875
7876         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
7877         hidden_def and hidden_weak instead of libc_hidden_def and
7878         libc_hidden_weak.
7879         (top level): Refer to hidden_def in comment.
7880         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
7881         macro.  Use it instead of libc_hidden_def.
7882         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
7883         specify __GI_* name explicitly.
7884         (mq_timedreceive): Likewise.
7885         (mq_setattr): Likewise.
7886
7887         [BZ #18544]
7888         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
7889         __pthread_barrier_init and define as weak alias of
7890         __pthread_barrier_init.
7891         * sysdeps/sparc/nptl/pthread_barrier_init.c
7892         (pthread_barrier_init): Likewise.
7893         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
7894         __pthread_barrier_wait and define as weak alias of
7895         __pthread_barrier_wait.
7896         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7897         (pthread_barrier_wait): Likewise.
7898         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7899         (pthread_barrier_wait): Likewise.
7900         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
7901         (pthread_barrier_wait): Likewise.
7902         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
7903         (pthread_barrier_wait): Likewise.
7904         * nptl/Versions (libpthread): Export __pthread_barrier_init and
7905         __pthread_barrier_wait at version GLIBC_PRIVATE.
7906         * include/pthread.h (__pthread_barrier_init): Declare.
7907         (__pthread_barrier_wait): Likewise.
7908         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
7909         Call __pthread_barrier_wait instead of pthread_barrier_wait.
7910         (helper_thread): Likewise.
7911         (init_mq_netlink): Call __pthread_barrier_init instead of
7912         pthread_barrier_init.
7913
7914         [BZ #18542]
7915         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
7916         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
7917         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
7918         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
7919         vswscanf.
7920         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
7921         Remove variable.
7922
7923         [BZ #18540]
7924         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
7925         strong alias of _IO_fflush.  Use libc_hidden_def.
7926         * libio/iofflush_u.c (fflush_unlocked): Rename to
7927         __fflush_unlocked and define as weak alias of __fflush_unlocked.
7928         Use libc_hidden_weak.
7929         * include/stdio.h (__fflush_unlocked): Declare.  Use
7930         libc_hidden_proto.
7931         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
7932         fflush_unlocked.
7933         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
7934         Remove variable.
7935
7936         [BZ #18539]
7937         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
7938         define as weak alias of __addseverity.
7939         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
7940         Remove variable.
7941         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7942         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7943         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7944
7945         [BZ #18536]
7946         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
7947         (__tfind): Likewise.
7948         (__tdelete): Likewise.
7949         (__twalk): Likewise.
7950         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
7951         __twalk to GLIBC_PRIVATE.
7952         * include/search.h (__tsearch): Use libc_hidden_proto.
7953         (__tfind): Likewise.
7954         (__tdelete): Likewise.
7955         (__twalk): Likewise.
7956         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
7957         Call __tdelete instead of tdelete.
7958         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
7959         tfind.  Call __tsearch instead of tsearch.
7960         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
7961         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
7962         Remove variable.
7963         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7964
7965         [BZ #18534]
7966         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
7967         (dprintf): Define as a weak alias of __dprintf, not a strong
7968         alias.
7969         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
7970         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
7971         dprintf.
7972         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
7973         Remove variable.
7974         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7975         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7976
7977         [BZ #18533]
7978         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
7979         not a strong alias.
7980         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
7981         Remove variable.
7982
7983         [BZ #18532]
7984         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
7985         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
7986         (in6addr_loopback): Rename to __in6addr_loopback and define as
7987         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
7988         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
7989         libc_hidden_proto.
7990         (__in6addr_any): Likewise.
7991         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
7992         in6addr_any.
7993         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
7994         variable.
7995         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7996
7997 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7998
7999         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
8000         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
8001         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8002         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8003         redirections for pow.
8004         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8005         * sysdeps/x86_64/fpu/Versions: New versions added.
8006         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8007         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8008         build of SSE, AVX2 and AVX512 IFUNC versions.
8009         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8010         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8011         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8012         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8013         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8014         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8015         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8016         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8017         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8018         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8019         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8020         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8021         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8022         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8023         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8024         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8025         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8026         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8027         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8028         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8029         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8030         * NEWS: Mention addition of x86_64 vector pow.
8031
8032         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8033         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8034         redirections for expf.
8035         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8036         * sysdeps/x86_64/fpu/Versions: New versions added.
8037         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8038         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8039         build of SSE, AVX2 and AVX512 IFUNC versions.
8040         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8041         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8042         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8043         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8044         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8045         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8046         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8047         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8048         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8049         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8050         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8051         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8052         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8053         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8054         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8055         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8056         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8057         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8058         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8059         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8060         * NEWS: Mention addition of x86_64 vector expf.
8061
8062         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8063         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8064         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8065         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8066         redirections for exp.
8067         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8068         * sysdeps/x86_64/fpu/Versions: New versions added.
8069         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8070         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8071         build of SSE, AVX2 and AVX512 IFUNC versions.
8072         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8073         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8074         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8075         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8076         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8077         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8078         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8079         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8080         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8081         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8082         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8083         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8084         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8085         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8086         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8087         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8088         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8089         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8090         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8091         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8092         * NEWS: Mention addition of x86_64 vector exp.
8093
8094         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8095         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8096         redirections for logf.
8097         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8098         * sysdeps/x86_64/fpu/Versions: New versions added.
8099         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8100         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8101         build of SSE, AVX2 and AVX512 IFUNC versions.
8102         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8103         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8104         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8105         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8106         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8107         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8108         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8109         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8110         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8111         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8112         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8113         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8114         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8115         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8116         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8117         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8118         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8119         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8120         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8121         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8122         * NEWS: Mention addition of x86_64 vector logf.
8123
8124         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8125         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8126         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8127         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8128         redirections for log.
8129         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8130         * sysdeps/x86_64/fpu/Versions: New versions added.
8131         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8132         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8133         build of SSE, AVX2 and AVX512 IFUNC versions.
8134         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8135         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8136         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8137         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8138         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8139         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8140         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8141         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8142         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8143         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8144         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8145         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8146         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8147         test.
8148         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8149         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8150         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8151         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8152         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8153         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8154         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8155         * NEWS: Mention addition of x86_64 vector log.
8156
8157 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8158
8159         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8160         cfi_adjust_cfa_offset argument.
8161         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8162         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8163
8164         [BZ #18034]
8165         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8166         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8167         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8168         ordering using ldar.
8169         (_dl_tlsdesc_dynamic): Likewise.
8170         (_dl_tlsdesc_return_lazy): Likewise.
8171         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8172         relaxed atomics instead of volatile and synchronize with release store.
8173         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8174         volatile.
8175         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8176
8177 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
8178
8179         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8180         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
8181         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8182         * sysdeps/x86_64/fpu/Versions: New versions added.
8183         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8184         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8185         build of SSE, AVX2 and AVX512 IFUNC versions.
8186         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
8187         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
8188         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
8189         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
8190         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
8191         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
8192         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
8193         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
8194         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
8195         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
8196         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
8197         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
8198         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
8199         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8200         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8201         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8202         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8203         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8204         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8205         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8206         * NEWS: Mention addition of x86_64 vector sinf.
8207
8208 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
8209
8210         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
8211         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
8212         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
8213         Remove variable.
8214         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8215         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8216
8217 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8218
8219         [BZ #18530]
8220         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
8221         strong alias of _IO_fputs.  Use libc_hidden_def.
8222         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
8223         and define as weak alias of __fputs_unlocked.  Use
8224         libc_hidden_weak.
8225         * include/stdio.h (__fputs_unlocked): Declare.  Use
8226         libc_hidden_proto.
8227         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
8228         fputs_unlocked.
8229
8230         [BZ #18529]
8231         * resolv/netdb.h [__USE_POSIX]: Change condition to
8232         [__USE_XOPEN2K].
8233         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
8234         not expect.
8235         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
8236         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
8237         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
8238         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
8239         [XPG4 || UNIX98] (AI_ALL): Likewise.
8240         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
8241         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
8242         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
8243         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
8244         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
8245         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
8246         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
8247         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
8248         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
8249         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
8250         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
8251         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
8252         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
8253         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
8254         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
8255         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8256         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8257         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
8258         [XPG4 || UNIX98] (gai_strerror): Likewise.
8259         [XPG4 || UNIX98] (getaddrinfo): Likewise.
8260         [XPG4 || UNIX98] (getnameinfo): Likewise.
8261
8262         [BZ #18528]
8263         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
8264         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
8265         __USE_XOPEN2K8].
8266         (getgrent): Likewise.
8267         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
8268         expect.
8269         [XPG3 || POSIX2008] (endgrent): Likewise.
8270         [XPG3] (setgrent): Likewise.
8271         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
8272         variable.
8273         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8274
8275         [BZ #18527]
8276         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
8277         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
8278         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
8279         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
8280         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
8281         * include/unistd.h (__getlogin_r): Declare.  Use
8282         libc_hidden_proto.
8283         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
8284         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
8285         variable.
8286         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8287         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8288         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8289
8290 2015-06-12  Martin Sebor  <msebor@redhat.com>
8291
8292         [BZ #18512]
8293         * Makerules (check-install-supported): New target.
8294         (install): Add check-install-supported as a dependency.
8295         * manual/install.texi (Installing the C Library): Document
8296         that overriding prefix and exec_prefix is not supported.
8297         Mention DESTDIR.
8298         * INSTALL: Regenerate from the above.
8299
8300 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8301
8302         [BZ #18519]
8303         * posix/Versions (libc): Export __libc_pread at version
8304         GLIBC_PRIVATE.
8305         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
8306         instead of pread.
8307         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
8308         variable.
8309
8310         [BZ #18522]
8311         * misc/efgcvt_r.c
8312         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
8313         (cvt_symbol): Use weak_alias instead of strong_alias.
8314         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8315         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
8316         Remove variable.
8317         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8318         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8319
8320         [BZ #18520]
8321         * inet/herrno.c (h_errno): Rename to __h_errno.
8322         (__libc_h_errno): Define as alias of __h_errno not h_errno.
8323         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
8324         to __h_errno instead of h_errno.
8325         * nptl/herrno.c (h_errno): Rename to __h_errno.
8326         (__h_errno_location): Refer to __h_errno not h_errno.
8327         * resolv/Versions (h_errno): Rename to __h_errno.
8328         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
8329         Remove variable.
8330         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8331
8332 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
8333
8334         * configure.ac: More strict check for AVX512 assembler support.
8335         * configure: Regenerated.
8336
8337         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
8338         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8339         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8340         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
8341         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8342         * sysdeps/x86_64/fpu/Versions: New versions added.
8343         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8344         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8345         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8346         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
8347         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
8348         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
8349         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
8350         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
8351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
8352         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
8353         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
8354         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
8355         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
8356         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
8357         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
8358         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
8359         test.
8360         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8361         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8362         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8363         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8364         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8365         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8366         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8367         * NEWS: Mention addition of x86_64 vector sin.
8368
8369 2015-06-11  Florian Weimer  <fweimer@redhat.com>
8370
8371         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
8372         comment.
8373
8374 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8375
8376         [BZ #18479]
8377         * nptl/pt-interp.c: New file.
8378         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
8379         Add pt-interp.
8380         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
8381         $(common-objpfx)runtime-linker.h.
8382
8383 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
8384
8385         * Makeconfig (+interp): Remove unused variable.
8386         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
8387         only.  Depend on $(common-objpfx)runtime-linker.h instead of
8388         $(elf-objpfx)runtime-linker.h.
8389         ($(elf-objpfx)runtime-linker.h): Rename to
8390         $(common-objpfx)runtime-linker.h and move ...
8391         * Makerules [$(build-shared) = yes]: ... here.
8392         * elf/interp.c: Include <runtime-linker.h> instead of
8393         <elf/runtime-linker.h>.
8394
8395 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8396
8397         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
8398         (__gettimeofday_syscall): Remove vsyscall fallback.
8399         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
8400         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
8401         Add syscall fallback function.
8402         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
8403         if vDSO is not present.
8404         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
8405         fallback function.
8406         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
8407         present.
8408         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
8409         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8410
8411 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
8412
8413         [BZ #18497]
8414         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
8415         of wcscmp.
8416         (wcscmp): Define as weak alias of WCSCMP.
8417         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8418         wcscoll.
8419         (USE_HIDDEN_DEF): Define.
8420         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
8421         __wcscoll.  Don't use libc_hidden_weak.
8422         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
8423         wcscmp.
8424         * sysdeps/i386/i686/multiarch/wcscmp-c.c
8425         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
8426         __GI_wcscmp.
8427         (weak_alias): Undefine and redefine.
8428         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
8429         __wcscmp and define as weak alias of __wcscmp.
8430         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
8431         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
8432         (__wcscoll): Likewise.
8433         (wcscmp): Don't use libc_hidden_proto.
8434         (wcscoll): Likewise.
8435         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
8436         wcscoll.
8437         * posix/regexec.c (check_node_accept_bytes): Likewise.
8438         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
8439         variable.
8440         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8441         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8442
8443         [BZ #18507]
8444         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
8445         __fstatvfs and define as weak alias of __fstatvfs.  Use
8446         libc_hidden_weak.
8447         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
8448         and define as weak alias of __statvfs.  Use libc_hidden_weak.
8449         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
8450         Define as alias of __fstatvfs, not fstatvfs.
8451         (fstatvfs64): Likewise.
8452         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
8453         Define as alias of __statvfs, not statvfs.
8454         (statvfs64): Likewise.
8455         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
8456         Remove variable.
8457
8458 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8459
8460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8461         (HAVE_GETCPU_VSYSCALL): Define.
8462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8463         (HAVE_GETCPU_VSYSCALL): Likewise.
8464         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
8465         * sysdeps/unix/sysv/linux/sched_getcpu.c
8466         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
8467         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
8468         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
8469         prototype.
8470         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8471         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
8472         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
8473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
8474         Define.
8475         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
8476         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8477         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
8478         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8479
8480 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
8481
8482         * sysdeps/x86_64/fpu/Makefile: New file.
8483         * sysdeps/x86_64/fpu/Versions: New file.
8484         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
8485         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
8486         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
8487         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
8488         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
8489         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
8490         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
8491         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
8492         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
8493         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
8494         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
8495         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
8496         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
8497         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8498         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8499         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
8500         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
8501         * sysdeps/x86_64/configure.ac: Options for libmvec build.
8502         * sysdeps/x86_64/configure: Regenerated.
8503         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
8504         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
8505         * manual/install.texi (Configuring and compiling): Document
8506         --disable-mathvec.
8507         * INSTALL: Regenerated.
8508         * NEWS: Mention addition of libmvec and x86_64 vector cos.
8509
8510         * math/Makefile: Added rules for vector tests.
8511         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
8512         declaration under condition.
8513         * math/test-double-vlen2.h: New file.
8514         * math/test-double-vlen4.h: New file.
8515         * math/test-double-vlen8.h: New file.
8516         * math/test-vec-loop.h: Added initialization macro.
8517         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
8518         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
8519         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
8520         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
8521         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
8522         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
8523         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
8524         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
8525         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
8526         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
8527         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
8528
8529         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8530         * sysdeps/x86_64/fpu/Versions: New versions added.
8531         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
8532         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
8533         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
8534         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
8535         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
8536         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
8537         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
8538         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
8539         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
8540         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
8541         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
8542         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
8543         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
8544         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8545         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8546         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8547         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
8548         * NEWS: Mention addition of x86_64 vector cosf.
8549
8550         * math/Makefile: Added CFLAGS for new tests.
8551         * math/test-float-vlen16.h: New file.
8552         * math/test-float-vlen4.h: New file.
8553         * math/test-float-vlen8.h: New file.
8554         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
8555         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
8556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8557         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
8558         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
8559         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
8560         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
8561         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
8562         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
8563         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
8564         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
8565
8566 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
8567
8568         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
8569         * locale/programs/ld-ctype.c: Likewise.
8570
8571 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8572
8573         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
8574         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
8575         bit_ZMM16_31_state): New macro.
8576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8577         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
8578
8579 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
8580
8581         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
8582
8583 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
8584
8585         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
8586
8587 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
8588
8589         [BZ #18498]
8590         * libio/memstream.c (open_memstream): Rename to __open_memstream
8591         and define as weak alias of __open_memstream.
8592         * include/stdio.h (__open_memstream): Declare.  Use
8593         libc_hidden_proto.
8594         (open_memstream): Don't use libc_hidden_proto.
8595         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
8596         open_memstream.
8597         * posix/getopt.c (_getopt_internal_r): Likewise.
8598         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
8599         variable.
8600         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8601         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8602         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8603
8604         [BZ #18496]
8605         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
8606         instead of wcrtomb.
8607
8608         [BZ #18483]
8609         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
8610         [__USE_XOPEN2K8].  Remove redundant #endif.
8611         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
8612         Remove redundant #if.
8613         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
8614         Remove variable.
8615         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8616         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8617
8618         [BZ #18495]
8619         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
8620         (__iswlower): Likewise.
8621         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
8622         (__iswlower): Likewise.
8623         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
8624         instead of towlower.
8625         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
8626         instead of iswlower.  Call __towupper instead of towupper.
8627         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
8628         instead of iswalnum.
8629
8630 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8631
8632         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
8633         errors to stderr.
8634
8635 2015-06-05  Florian Weimer  <fweimer@redhat.com>
8636
8637         [BZ #15661]
8638         [BZ #17322]
8639         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8640         Check for overflow properly.  Check for O_APPEND.  Ignore large
8641         file system block sizes.  Add comments about problems.
8642         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
8643         * manual/filesys.texi (Storage Allocation): New node.
8644
8645 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8646
8647         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
8648         cancellable syscalls.
8649         (SYS_ify): Add guard to no redefine it.
8650         (INLINE_SYSCALL): Likewise.
8651         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
8652         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
8653         SYSCALL_CANCEL instead.
8654         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
8655         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8656         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8657         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8658         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8659         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
8660         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
8661         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
8662         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8663         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8664         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
8665         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
8666         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
8667         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
8668         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
8669         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8670         Likewise.
8671         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8672         (__libc_pread64): Likewise.
8673         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
8674         (__libc_preadv): Likewise.
8675         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
8676         (__libc_readv64): Likewise.
8677         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8678         (__libc_pwrite): Likewise.
8679         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8680         (__libc_pwrite64): Likewise.
8681         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
8682         (__libc_pwritev): Likewise.
8683         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
8684         (__libc_pwritev64): Likewise.
8685         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
8686         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8687         (sync_file_range): Likewise.
8688         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
8689         Likewise.
8690         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
8691         Likewise.
8692         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8693         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8694         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8695         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8696         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8697         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8698         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8699         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
8700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8701         Likewise.
8702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8703         (__libc_read64): Likewise.
8704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
8705         Likewise.
8706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
8707         Likewise.
8708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
8709         Likewise.
8710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
8711         Likewise.
8712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8713         (__libc_pread64): Likewise.
8714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
8715         Likewise.
8716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8717         (__libc_pwrite64): Likewise.
8718         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
8719         (sync_file_range): Likewise.
8720         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
8721         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8722         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8723         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
8724         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
8725         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8726         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8727         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
8728         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
8729         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8730         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8731         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8732         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8733         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8734         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
8735         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8736         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8737         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8738         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8739         Likewise.
8740         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
8741         Likewise.
8742         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
8743         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
8744         Likewise.
8745         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
8746         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
8747         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
8748         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
8749         Likewise.
8750         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
8751         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
8752         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
8753         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
8754         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
8755
8756 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
8757
8758         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
8759         Include dl-vdso.
8760         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
8761         Use VDSO routines for gettimeofday, clock_gettime if
8762         available.
8763         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
8764         Declare VDSO symbols.
8765         * sysdeps/unix/sysv/linux/arm/sysdep.h:
8766         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
8767         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8768         * sysdeps/unix/sysv/linux/arm/Versions: Add
8769         __vdso_clock_gettime.
8770
8771 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8772
8773         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
8774         be an inline implementation regardless of library is built within.
8775         (open_not_cancel_2): Likewise.
8776         (__read_nocancel): Likewise.
8777         (__write_nocancel): Likewise.
8778         (openat_not_cancel): Likewise.
8779         (openat_not_cancel_3): Likewise.
8780         (openat64_not_cancel): Likewise.
8781         (openat64_not_cancel_3): Likewise.
8782         (__close_nocancel): Likewise.
8783         (pause_not_cancel): Likewise.
8784         (nanosleep_not_cancel): Likewise.
8785         (sigsuspend_not_cancel): Likewise.
8786
8787 2015-06-04  Torvald Riegel  <triegel@redhat.com>
8788
8789         [BZ #14958]
8790         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
8791         wake-up.
8792         (__pthread_rwlock_rdlock_slow): Likewise.
8793         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8794         Likewise.
8795         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8796         Likewise.
8797         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
8798         * nptl/tst-rwlock16.c: New file.
8799         * nptl/Makefile (tests): Add new test.
8800
8801 2015-06-04  Torvald Riegel  <triegel@redhat.com>
8802
8803         [BZ #18324]
8804         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
8805         missing wake-up of readers.
8806         * nptl/tst-rwlock15.c: New file.
8807         * nptl/Makefile (tests): Add new test.
8808
8809 2015-06-03  Roland McGrath  <roland@hack.frob.com>
8810
8811         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
8812         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
8813         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
8814         and __nacl_supply_interface_rtld.
8815         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
8816         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
8817         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
8818         Add __nacl_supply_interface_rtld.
8819         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
8820
8821 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
8822
8823         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
8824         isfinite.
8825         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8826         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
8827
8828 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
8829
8830         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
8831         __signbit* with standard C99 macros.
8832         * math/e_exp10l.c: Likewise.
8833         * math/e_exp2l.c: Likewise.
8834         * math/e_scalb.c: Likewise.
8835         * math/e_scalbf.c: Likewise.
8836         * math/e_scalbl.c: Likewise.
8837         * math/s_ldexp.c: Likewise.
8838         * math/s_ldexpf.c: Likewise.
8839         * math/s_ldexpl.c: Likewise.
8840         * math/w_atan2.c: Likewise.
8841         * math/w_atan2f.c: Likewise.
8842         * math/w_atan2l.c: Likewise.
8843         * math/w_cosh.c: Likewise.
8844         * math/w_coshf.c: Likewise.
8845         * math/w_coshl.c: Likewise.
8846         * math/w_exp10.c: Likewise.
8847         * math/w_exp10f.c: Likewise.
8848         * math/w_exp10l.c: Likewise.
8849         * math/w_exp2.c: Likewise.
8850         * math/w_exp2f.c: Likewise.
8851         * math/w_exp2l.c: Likewise.
8852         * math/w_fmod.c: Likewise.
8853         * math/w_fmodf.c: Likewise.
8854         * math/w_fmodl.c: Likewise.
8855         * math/w_hypot.c: Likewise.
8856         * math/w_hypotf.c: Likewise.
8857         * math/w_hypotl.c: Likewise.
8858         * math/w_jnl.c: Likewise.
8859         * math/w_lgamma.c: Likewise.
8860         * math/w_lgamma_r.c: Likewise.
8861         * math/w_lgammaf.c: Likewise.
8862         * math/w_lgammaf_r.c: Likewise.
8863         * math/w_lgammal.c: Likewise.
8864         * math/w_lgammal_r.c: Likewise.
8865         * math/w_pow.c: Likewise.
8866         * math/w_powf.c: Likewise.
8867         * math/w_powl.c: Likewise.
8868         * math/w_remainder.c: Likewise.
8869         * math/w_remainderf.c: Likewise.
8870         * math/w_remainderl.c: Likewise.
8871         * math/w_scalb.c: Likewise.
8872         * math/w_scalbf.c: Likewise.
8873         * math/w_scalbl.c: Likewise.
8874         * math/w_scalbln.c: Likewise.
8875         * math/w_scalblnf.c: Likewise.
8876         * math/w_scalblnl.c: Likewise.
8877         * math/w_sinh.c: Likewise.
8878         * math/w_sinhf.c: Likewise.
8879         * math/w_sinhl.c: Likewise.
8880         * math/w_tgamma.c: Likewise.
8881         * math/w_tgammaf.c: Likewise.
8882         * math/w_tgammal.c: Likewise.
8883         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8884         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
8885         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8886         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8887         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8888         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8889         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8890         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8891         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8892         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8893         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8894         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8895         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8896         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8897         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8898         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8899         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8900         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8901         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8902         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8903         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8904         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8905         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8906         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8907         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8908         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8909         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8910         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8911         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8912         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8913         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
8914         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
8915         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
8916         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
8917         * stdio-common/printf_fp.c: Likewise.
8918         * stdio-common/printf_fphex.c: Likewise.
8919         * stdio-common/printf_size.c: Likewise.
8920
8921 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
8922
8923         [BZ #18470]
8924         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
8925         strnlen.
8926         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
8927         Remove variable.
8928         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8929         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8930         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8931         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8932         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8933         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8934         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8935         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8936         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8937         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8938
8939         [BZ #18468]
8940         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
8941         weak alias of __wmemchr.  Use libc_hidden_weak.
8942         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
8943         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
8944         instead of wmemchr.
8945
8946 2015-06-02  Roland McGrath  <roland@hack.frob.com>
8947
8948         [BZ #18383]
8949         * elf/tst-tlsalign-extern.c: New file.
8950         * elf/tst-tlsalign-extern-static.c: New file.
8951         * elf/tst-tlsalign-vars.c: New file.
8952         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
8953         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
8954         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
8955         ($(objpfx)tst-tlsalign-extern-static): Likewise.
8956         (test-xfail-tst-tlsalign-extern-static): New variable.
8957
8958 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
8959
8960         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
8961         Use variable name _sc_err instead of err.
8962         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
8963         instead of ret.
8964         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
8965         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
8966         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
8967         (INLINE_SYSCALL): Likewise.
8968
8969         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
8970         * include/string.h (__strnlen): Use libc_hidden_proto.
8971         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
8972         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
8973         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
8974         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
8975         (libc_hidden_def): Undefine and redefine.
8976         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
8977         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
8978         __GI_strnlen.
8979         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
8980         libc_hidden_def.
8981         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
8982
8983         [BZ #18469]
8984         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
8985         weak alias of __towlower.  Use libc_hidden_weak.
8986         (towupper): Rename to __towupper and define as weak alias of
8987         __towupper.  Use libc_hidden_weak.
8988         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
8989         (__towupper): Likewise.
8990         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
8991         __towlower instead of towlower.
8992
8993 2015-06-02  Roland McGrath  <roland@hack.frob.com>
8994
8995         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
8996         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
8997
8998 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8999
9000         * sysdeps/aarch64/libm-test-ulps: Update.
9001
9002 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9003
9004         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9005         Define.
9006         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9008         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9009         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9010         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9011         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9012         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9013
9014 2015-06-01  Martin Sebor  <msebor@redhat.com>
9015
9016         [BZ #18116]
9017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9018         (__setcontext): Use extended four-operand version of mtsf whenever
9019         possible.
9020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9021         (__novec_swapcontext): Likewise.
9022
9023 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9024
9025         * benchtests/scripts/compare_bench.py: New file.
9026         * benchtests/scripts/import_bench.py (mean): New function.
9027         (split_list): Likewise.
9028         (do_for_all_timings): Likewise.
9029         (compress_timings): Likewise.
9030
9031         * benchtests/scripts/import_bench.py: New file.
9032         * benchtests/scripts/validate_benchout.py: Import import_bench
9033         instead of jsonschema.
9034         (validate_bench): Remove function.
9035         (main): Use import_bench.
9036
9037 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9038
9039         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9040         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9041
9042 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9043
9044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9045
9046 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9047
9048         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9049         set THREAD_SELF->tid to a magic value and futex-wake it.
9050         Pass its address to the thread_exit system call.
9051         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9052         bit is clear.
9053         * sysdeps/nacl/lowlevellock.h: New file.
9054         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9055
9056         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9057         Add TIMEOUT to current time, don't subtract it.
9058
9059 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9060
9061         [BZ #2981]
9062         [BZ #18422]
9063         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9064         ($(objpfx)tst-audit2.out): Also depend on
9065         $(objpfx)tst-auditmod9b.so.
9066         * elf/tst-audit2.c: Include <dlfcn.h>.
9067         (calloc_called): New.
9068         (calloc): Allow to be called more than once.
9069         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9070
9071 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9072
9073         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9074         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9075
9076 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9077
9078         * stdlib/monetary.h: Fix comment.
9079
9080 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9081
9082         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9083         Avoid using variables in #defines that might cause shadowing.
9084         (INTERNAL_VSYSCALL_CALL): Likewise.
9085
9086 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9087
9088         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9089
9090         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9091         * nptl/lll_timedlock_wait.c: ... to this new file.
9092         * nptl/Makefile (libpthread-routines): Add it.
9093         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9094         * nptl/lll_timedwait_tid.c: ... to this new file.
9095         * nptl/Makefile (libpthread-routines): Add it.
9096         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9097         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9098         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9099         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9100         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9101         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9102         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9103         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9104         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9105         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9106
9107 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9108
9109         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9110         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9111         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9112         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9113         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9114         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9115         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9116         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9117         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9118         * sysdeps/unix/sysv/linux/tile/sysdep.h
9119         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9120         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9121         using vDSO syscall macro.
9122
9123 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9124
9125         [BZ #17293]
9126         * uk_UA: Fix sorting order for Ukrainian locale
9127
9128 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9129
9130         * stdlib/monetary.h: Fix comment.
9131
9132 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9133
9134         [BZ #18234]
9135         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9136         st_mtim and st_ctim members.
9137         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9138         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9139         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9140         (struct stat64): Likewise.
9141         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9142         (struct stat64): Likewise.
9143         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9144         (struct stat64): Likewise.
9145
9146 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9147
9148         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9149         Define and include sysdep-vdso.h.
9150         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9151         Likewise.
9152         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9153         Likewise.
9154         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9155         Define with VDSO_SYMBOL and use PTR_MANGLE.
9156         (__vdso_clock_gettime): Likewise.
9157         (__vdso_clock_getres): Likewise.
9158         (_libc_vdso_platform_setup): Likewise.
9159         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9160         Likewise.
9161         (_libc_vdso_platform_setup): Likewise.
9162         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9163         Likewise.
9164         (__vdso_clock_gettime): Likewise.
9165         (__vdso_clock_getres): Likewise.
9166         (__vdso_get_tbfreq): Likewise.
9167         (__vdso_getcpu): Likewise.
9168         (__vdso_time): Likewise.
9169         (__vdso_sigtramp_rt64): Likewise.
9170         (__vdso_signtramp32): Likewise.
9171         (__vdso_sigtramp_rt32): Likewise.
9172         (_libc_vdso_platform_setup): Likewise.
9173         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9174         Likewise.
9175         (__vdso_clock_gettime): Likewise.
9176         (__vdso_clock_getres): Likewise.
9177         (_libc_vdso_platform_setup): Likewise.
9178         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
9179         Likewise.
9180         (__vdso_clock_gettime): Likewise.
9181         (_libc_vdso_platform_setup): Likewise.
9182         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9183         Likewise.
9184         (__vdso_getcpu): Likewise.
9185         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
9186         Use VDSO_SYMBOL macro to define.
9187         (__vdso_clock_gettime): Likewise.
9188         (__vdso_clock_getres): Likewise.
9189         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
9190         Likewise.
9191         (__vdso_clock_gettime): Likewise.
9192         (__vdso_clock_getres): Likewise.
9193         (__vdso_get_tbfreq): Likewise.
9194         (__vdso_getcpu): Likewise.
9195         (__vdso_time): Likewise.
9196         (__vdso_sigtramp_rt64): Likewise.
9197         (__vdso_signtramp32): Likewise.
9198         (__vdso_sigtramp_rt32): Likewise.
9199         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
9200         Likewise.
9201         (__vdso_clock_gettime): Likewise.
9202         (__vdso_clock_getres): Likewise.
9203         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
9204         Likewise.
9205         (__vdso_clock_gettime): Likewise.
9206         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9207         Likewise.
9208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
9209         macro.
9210         (INTERNAL_VSYSCALL): Likewise.
9211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
9212         Remove macro.
9213         (INTERNAL_VSYSCALL): Likewise.
9214         (INTERNAL_VSYSCALL_NCS): Likewise.
9215         (INTERNAL_VSYSCALL_CALL): New macro.
9216         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
9218         Likewise.
9219         (INTERNAL_VSYSCALL): Likewise.
9220         (INTERNAL_VSYSCALL_NCS): Likewise.
9221         (INTERNAL_VSYSCALL_CALL): New macro.
9222         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9224         (INLINE_VSYSCALL): Remove macro.
9225         (INTERNAL_VSYSCALL): Remove macro.
9226         (INTERNAL_VSYSCALL_NCS): Remove macro.
9227         (INTERNAL_VSYSCALL_CALL): New macro.
9228         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
9229         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
9230         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9231         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
9232         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9234         (INLINE_VSYSCALL): Remove macro.
9235         (INTERNAL_VSYSCALL): Likewise.
9236         (INTERNAL_VSYSCALL_NCS): Likewise.
9237         (INTERNAL_VSYSCALL_CALL): New macro.
9238         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
9239         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
9240         PTR_DEMANGLE on vDSO pointer.
9241         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9242         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
9243         macro.
9244         (INTERNAL_SYSCALL): Likewise.
9245         (INTERNAL_VSYSCALL_NCS): Remove macro.
9246         (INTERNAL_VSYSCALL_CALL): New macro.
9247         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
9248         Remove macro.
9249         (INTERNAL_VSYSCALL): Likewise.
9250         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
9251         sysdep-vdso.h instead of libc-vdso.h.
9252         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
9253         definition.
9254         (INLINE_VSYSCALL): Likewise.
9255         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
9256         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
9257         definition.
9258         (INLINE_VSYSCALL): Likewise.
9259         (INTERNAL_VSYSCALL): Likewise.
9260         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9261         * sysdeps/unix/sysv/linux/timespec_get.c
9262         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9263         (timespec_get): Use ANSI prototype.
9264         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
9265         and definition for Linux.
9266
9267 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9268
9269         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
9270         * include/libc-symbols.h: libmvec_hidden_* macro series added.
9271
9272 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9273
9274         [BZ #2981]
9275         [BZ #18410]
9276         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
9277         for missing DT_PLTRELSZ.
9278
9279 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9280
9281         Remove obsolete aliases that broke 'locale -a'
9282         [BZ #18412]
9283         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
9284         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
9285         breaking some applications that use 'locale -a' output.
9286         Change the encoding of this file from Latin-1 to ASCII to avoid
9287         other potential problems with people grepping this file.
9288
9289 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9290
9291         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
9292         -fasynchronous-unwind-tables.
9293         (CFLAGS-sendto.c): Likewise.
9294         (CFLAGS-sendmsg.c): Likewise.
9295         (CFLAGS-connect.c): Likewise.
9296         (CFLAGS-recvmsg.c): Likewise.
9297         (CFLAGS-recvfrom.c): Likewise.
9298         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
9299         (SOCKETCALL): New macro: non-cancellable socketcall.
9300         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
9301         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
9302         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
9303         * sysdeps/unix/sysv/linux/accept.c: New file.
9304         * sysdeps/unix/sysv/linux/bind.c: Likewise.
9305         * sysdeps/unix/sysv/linux/connect.c: Likewise.
9306         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
9307         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
9308         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
9309         * sysdeps/unix/sysv/linux/listen.c: Likewise.
9310         * sysdeps/unix/sysv/linux/recv.c: Likewise.
9311         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
9312         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9313         * sysdeps/unix/sysv/linux/send.c: Likewise.
9314         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9315         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
9316         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
9317         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
9318         * sysdeps/unix/sysv/linux/socket.c: Likewise.
9319         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
9320         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
9321         prototype.
9322         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
9323         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9324         instead of __internal_xxx function.
9325         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
9326         prototype.
9327         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
9328         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9329         instead of __internal_xxx function.
9330         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
9331         prototype.
9332         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
9333         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9334         instead of __internal_xxx function.
9335         * sysdeps/unix/sysv/linux/accept.S: Remove file.
9336         * sysdeps/unix/sysv/linux/bind.S: Likewise.
9337         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9338         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
9339         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
9340         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
9341         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
9342         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
9343         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
9344         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
9345         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
9346         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9347         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
9348         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
9349         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
9350         * sysdeps/unix/sysv/linux/listen.S: Likewise.
9351         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
9352         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
9353         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
9354         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
9355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
9356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
9357         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9358         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9359         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9360         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
9361         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9362         * sysdeps/unix/sysv/linux/send.S: Likewise.
9363         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9364         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9365         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
9366         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
9367         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
9368         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
9369         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9370         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
9371         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
9372         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
9373         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
9374         socketcall is implemented in GLIBC.
9375
9376 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9377
9378         * soft-fp/fmadf4.c: Include <libc-internal.h>.
9379         (__fma): Ignore uninitialized warnings around packing.
9380         * soft-fp/fmasf4.c: Include <libc-internal.h>.
9381         (__fmaf): Ignore uninitialized warnings around packing.
9382         * soft-fp/fmatf4.c: Include <libc-internal.h>.
9383         (__fmal): Ignore uninitialized warnings around packing.
9384
9385         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
9386         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9387         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
9388         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9389
9390         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
9391         switch statement into default case.
9392         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
9393
9394         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
9395         a conditional in forcing "inexact".
9396         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9397         Likewise.
9398
9399 2015-05-22  Roland McGrath  <roland@hack.frob.com>
9400
9401         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9402         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
9403         for each INTERNAL_SYSCALL use.
9404
9405 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9406
9407         [BZ #438]
9408         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
9409         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
9410         variable.
9411
9412         [BZ #18444]
9413         * string/basename.c (basename): Rename to __basename and define as
9414         weak alias of __basename.  Use libc_hidden_weak.
9415         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
9416         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
9417         __basename instead of basename.
9418         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
9419         Remove variable.
9420         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9421
9422 2015-05-18  Florian Weimer  <fweimer@redhat.com>
9423
9424         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
9425         (_IO_JUMPS_FILE_plus): New.
9426         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
9427         _IO_CAST_FIELD_ACCESS.
9428         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
9429         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
9430         * libio/freopen.c (freopen): Likewise.
9431         * libio/freopen64.c (freopen64): Likewise.
9432         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
9433         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
9434         * libio/iofwide.c (_IO_fwide): Likewise.
9435         * libio/memstream.c (open_memstream): Likewise.
9436         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9437         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9438         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9439
9440 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
9441
9442         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
9443         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
9444         NADJ.
9445         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
9446         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
9447         NADJ.
9448         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
9449         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
9450         NADJ.
9451
9452         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
9453         (p == 4) case.
9454
9455         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
9456         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
9457         Remove variable.
9458         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9459         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9460         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9461
9462 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9463
9464         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
9465         Adjust jump table label generation macros.
9466
9467 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9468
9469         * stdio-common/vfprintf.c (vfprintf): Move local variables
9470         args_malloced, specs, specs_malloced, and the code after
9471         do_positional to the printf_positional function.
9472         (printf_positional): New function.
9473
9474 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9475
9476         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
9477         function.
9478         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
9479         STEP4_TABLE, process_arg): Move macro definitions
9480         out of the vfprintf function.  (Cosmetic change only.)
9481
9482 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
9483
9484         * benchtests/Makefile (stdio-common-bench): Define.
9485         (benchset): Add stdio-common-bench.
9486         * sprintf-inputs: New file.
9487         * sprintf-source.c: New file.
9488
9489 2015-05-21  Andreas Schwab  <schwab@suse.de>
9490
9491         [BZ #13028]
9492         [BZ #17053]
9493         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
9494         of struct __res_state.
9495         * resolv/res_send.c (__libc_res_nsend): Likewise.
9496         (get_nsaddr): New function.
9497         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
9498         statp directly.
9499
9500 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
9501
9502         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
9503         -D_POSIX_C_SOURCE=199506L.
9504
9505         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
9506
9507         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
9508         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
9509         Do not mention otherwise.
9510         [POSIX] (_XOPEN_VERSION): Do not expect.
9511         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
9512         [POSIX] (_POSIX2_C_BIND): Likewise.
9513         [POSIX] (_POSIX2_VERSION): Likewise.
9514         [POSIX] (_XOPEN_XPG2): Likewise.
9515         [POSIX] (_XOPEN_XPG3): Likewise.
9516         [POSIX] (_XOPEN_XPG4): Likewise.
9517         [POSIX] (_XOPEN_UNIX): Likewise.
9518         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
9519         [POSIX] (_POSIX_BARRIERS): Likewise.
9520         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
9521         [POSIX] (_POSIX_CPUTIME): Likewise.
9522         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
9523         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
9524         [POSIX] (_POSIX_SHELL): Likewise.
9525         [POSIX] (_POSIX_SPAWN): Likewise.
9526         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
9527         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
9528         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
9529         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
9530         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
9531         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
9532         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
9533         [POSIX] (_XBS5_LP64_OFF64): Likewise.
9534         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
9535         [POSIX] (_POSIX_TIMEOUTS): Likewise.
9536         [POSIX] (_POSIX2_PBS): Likewise.
9537         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
9538         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
9539         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
9540         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
9541         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
9542         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
9543         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
9544         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
9545         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
9546         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
9547         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
9548         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
9549         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
9550         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
9551         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
9552         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
9553         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
9554         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
9555         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
9556         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
9557         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
9558         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
9559         [POSIX] (_SC_2_C_BIND): Likewise.
9560         [POSIX] (_SC_2_C_VERSION): Likewise.
9561         [POSIX] (_SC_2_PBS): Likewise.
9562         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
9563         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
9564         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
9565         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
9566         [POSIX] (_SC_2_PBS_TRACK): Likewise.
9567         [POSIX] (_SC_ATEXIT_MAX): Likewise.
9568         [POSIX] (_SC_BARRIERS): Likewise.
9569         [POSIX] (_SC_BASE): Likewise.
9570         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
9571         [POSIX] (_SC_DEVICE_IO): Likewise.
9572         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
9573         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
9574         [POSIX] (_SC_FD_MGMT): Likewise.
9575         [POSIX] (_SC_FIFO): Likewise.
9576         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
9577         [POSIX] (_SC_FILE_LOCKING): Likewise.
9578         [POSIX] (_SC_FILE_SYSTEM): Likewise.
9579         [POSIX] (_SC_IOV_MAX): Likewise.
9580         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
9581         [POSIX] (_SC_NETWORKING): Likewise.
9582         [POSIX] (_SC_PAGE_SIZE): Likewise.
9583         [POSIX] (_SC_PASS_MAX): Likewise.
9584         [POSIX] (_SC_PIPE): Likewise.
9585         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
9586         [POSIX] (_SC_REGEXP): Likewise.
9587         [POSIX] (_SC_SHELL): Likewise.
9588         [POSIX] (_SC_SIGNALS): Likewise.
9589         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
9590         [POSIX] (_SC_SPIN_LOCKS): Likewise.
9591         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
9592         [POSIX] (_SC_USER_GROUPS): Likewise.
9593         [POSIX] (_SC_USER_GROUPS_R): Likewise.
9594         [POSIX] (_SC_STREAMS): Likewise.
9595         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
9596         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
9597         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
9598         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
9599         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
9600         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
9601         [POSIX] (_PC_FILESIZEBITS): Likewise.
9602         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
9603         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
9604         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
9605         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
9606         [POSIX] (uid_t): Likewise.
9607         [POSIX] (gid_t): Likewise.
9608         [POSIX] (off_t): Likewise.
9609         [POSIX] (pid_t): Likewise.
9610         [POSIX] (cuserid): Allow.
9611         (_SC_2_CHAR_TERM): Require constant.
9612         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
9613         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
9614         variable.
9615
9616 2015-05-20  Roland McGrath  <roland@hack.frob.com>
9617
9618         * sysdeps/nacl/pthread-pids.h: New file.
9619         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
9620         (create_thread): Use __nacl_get_tid to initialize PD->tid.
9621
9622         * nptl/pthread-pids.h: New file.
9623         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
9624         * nptl/nptl-init.c: Include <pthread-pids.h>.
9625         (__pthread_initialize_minimal_internal):
9626         Call __pthread_initialize_pids instead of set_tid_address syscall.
9627
9628         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
9629         * sysdeps/posix/usleep.c: ... here.
9630
9631 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9632
9633         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
9634         call_pselect6 object.
9635         [$(subdir) = io]: Remove call_sync_file_range object.
9636         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
9637         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
9638         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
9639         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
9640
9641 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
9642
9643         * math/s_cproj.c: Add include "math_private.h".
9644         * math/s_cprojf.c: Likewise.
9645         * math/s_cprojl.c: Likewise.
9646
9647 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
9648
9649         [BZ #18244]
9650         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
9651         high mantissa bit when testing whether P is a NaN.
9652         * math/libm-test.inc (remainder_test_data): Add more tests.
9653         (remquo_test_data): Likewise.
9654
9655         [BZ #18049]
9656         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
9657         below -32, return the argument, with underflow if subnormal.
9658         * math/auto-libm-test-in: Add more tests of atanh.
9659         * math/auto-libm-test-out: Regenerated.
9660
9661 2015-05-19  Roland McGrath  <roland@hack.frob.com>
9662
9663         [BZ #18434]
9664         * nptl/tst-sem15.c: New file.
9665         * nptl/Makefile (tests): Add it.
9666         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
9667         s/<</>>/ to fix typo in EOVERFLOW check.
9668         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
9669
9670 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9671
9672         * manual/strings.texi (envz_remove): Fix typo in safety
9673         annotations.
9674
9675 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
9676             Steve Ellcey  <sellcey@imgtec.com>
9677
9678         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
9679         in order to avoid strict alias warnings.
9680         (iruserok_af): Ditto for ra.
9681
9682 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
9683
9684         [BZ #17581]
9685         * malloc/hooks.c
9686         (magicbyte): Convert to a function and avoid returning 0x01.
9687         (mem2mem_check): Avoid using a length byte equal to the magic byte.
9688         (mem2chunk_check): Fix unsigned comparisons to zero.
9689         Hoist defs of sz and magic.
9690
9691 2015-05-19  Richard Henderson  <rth@redhat.com>
9692
9693         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
9694
9695         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9696
9697 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9698
9699         [BZ #16159]
9700         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
9701         * malloc/arena.c (arena_lock): Check if arena is corrupt.
9702         (reused_arena): Find a non-corrupt arena.
9703         (heap_trim): Pass arena to unlink.
9704         * malloc/hooks.c (malloc_check_get_size): Pass arena to
9705         malloc_printerr.
9706         (top_check): Likewise.
9707         (free_check): Likewise.
9708         (realloc_check): Likewise.
9709         * malloc/malloc.c (malloc_printerr): Add arena argument.
9710         (unlink): Likewise.
9711         (munmap_chunk): Adjust.
9712         (ARENA_CORRUPTION_BIT): New macro.
9713         (arena_is_corrupt): Likewise.
9714         (set_arena_corrupt): Likewise.
9715         (sysmalloc): Use mmap if there are no usable arenas.
9716         (_int_malloc): Likewise.
9717         (__libc_malloc): Don't fail if arena_get returns NULL.
9718         (_mid_memalign): Likewise.
9719         (__libc_calloc): Likewise.
9720         (__libc_realloc): Adjust for additional argument to
9721         malloc_printerr.
9722         (_int_free): Likewise.
9723         (malloc_consolidate): Likewise.
9724         (_int_realloc): Likewise.
9725         (_int_memalign): Don't touch corrupt arenas.
9726         * malloc/tst-malloc-backtrace.c: New test case.
9727
9728         * Makefile (summarize-tests): Fix return value on success.
9729
9730         * manual/string.texi (Envz Functions): Add envz_remove.
9731
9732 2015-05-18  Roland McGrath  <roland@hack.frob.com>
9733
9734         * sysdeps/posix/opendir.c: Include <stdbool.h>.
9735         (invalid_name): New function, broken out of ...
9736         (__opendirat): ... here.  Call it.
9737         (need_isdir_precheck): New function, broken out of ...
9738         (__opendirat): ... here.  Call it.
9739         Use __fxstatat64, not __xstatat64.
9740         (opendir_oflags): New function, broken out of ...
9741         (__opendirat): ... here.  Call it.
9742         (opendir_tail): New function, broken out of ...
9743         (__opendirat): ... here.  Call it.
9744         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
9745         opendir_tail, rather than punting to __opendirat.
9746         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
9747
9748 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9749
9750         * .gitignore: Ignore generated *.pyc.
9751
9752 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
9753
9754         * include/stdio.h: Define __need_wint_t.
9755         * test-skeleton.c: Avoid `for' loop initial declaration.
9756         * nptl/tst-initializers1.c: Use test-skeleton.c.
9757
9758 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9759
9760         [BZ #18418]
9761         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
9762
9763 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
9764
9765         [BZ #16352]
9766         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
9767         (__ieee754_atanh): Force underflow exception for results with
9768         small absolute value.
9769         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
9770         (__ieee754_atanhf): Force underflow exception for results with
9771         small absolute value.
9772         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
9773         (__ieee754_atanh): Force underflow exception for results with
9774         small absolute value.
9775         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
9776         (__ieee754_atanhf): Force underflow exception for results with
9777         small absolute value.
9778         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
9779         (__ieee754_atanhl): Force underflow exception for results with
9780         small absolute value.
9781         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
9782         (__ieee754_atanhl): Force underflow exception for results with
9783         small absolute value.
9784         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
9785         (__ieee754_atanhl): Force underflow exception for results with
9786         small absolute value.
9787         * math/auto-libm-test-in: Do not allow missing underflow
9788         exceptions from atanh.
9789         * math/auto-libm-test-out: Regenerated.
9790
9791         [BZ #18221]
9792         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
9793         2**-28 as threshold for returning x or +/- 1/x.
9794         * math/auto-libm-test-in: Add more tests of tan.
9795         * math/auto-libm-test-out: Regenerated.
9796
9797         [BZ #18220]
9798         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9799         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
9800         * math/auto-libm-test-in: Add another test of lgamma.
9801         * math/auto-libm-test-out: Regenerated.
9802
9803 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
9804
9805         * stdio-common/printf_fp.c (___printf_fp): Use abs.
9806         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
9807         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
9808         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
9809         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
9810         (ADD2A): Use fabs.  (SUB2A): Use fabs.
9811         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
9812         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
9813         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
9814         (log1): Use fabs.  (my_log2): Use fabs.
9815         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
9816         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
9817         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
9818         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
9819         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
9820         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
9821         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
9822         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
9823         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
9824         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
9825         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
9826
9827 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
9828
9829         [BZ #18217]
9830         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
9831         as threshold for returning 1 - x.
9832         * math/auto-libm-test-in: Add more tests of erfc.
9833         * math/auto-libm-test-out: Regenerated.
9834
9835 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
9836
9837         [BZ #18196]
9838         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
9839         threshold for large arguments.
9840         * math/auto-libm-test-in: Add another test of atan.
9841         * math/auto-libm-test-out: Regenerated.
9842
9843         [BZ #16339]
9844         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
9845         (__log1p): Force underflow exception for results with small
9846         absolute value.
9847         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
9848         (__log1pf): Force underflow exception for results with small
9849         absolute value.
9850         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
9851         (__log1p): Force underflow exception for results with small
9852         absolute value.
9853         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
9854         (__log1pf): Force underflow exception for results with small
9855         absolute value.
9856         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
9857         (__log1pl): Force underflow exception for results with small
9858         absolute value.
9859         * math/auto-libm-test-in: Do not allow missing underflow
9860         exceptions from log1p.
9861         * math/auto-libm-test-out: Regenerated.
9862
9863 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
9864             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9865
9866         [BZ #16704]
9867         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
9868
9869 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
9870
9871         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
9872         (libmvec): New variable.
9873         * configure.ac: Added option for mathvec build.
9874         * configure: Regenerated.
9875         * mathvec/Depend: New file.
9876         * mathvec/Makefile: New file.
9877         * shlib-versions: Added libmvec.
9878         * math/Makefile: Added rule for libm.so installation.
9879
9880         * bits/math-vector.h: New file.
9881         * bits/libm-simd-decl-stubs.h: New header.
9882         * math/Makefile (headers): Added new header
9883         libm-simd-decl-stubs.h.
9884         * math/math.h (__MATHCALL_VEC): New macro.
9885
9886         * math/gen-libm-have-vector-test.sh: Script generates series of macros
9887         for conditions in testing functions.
9888         * math/Makefile: Added call of libm-have-vector-test.sh.
9889         * math/libm-test.inc (HAVE_VECTOR): New macros.
9890
9891         * math/libm-test.inc: START refactored.
9892         * math/test-double.c (TEST_MATHVEC): Add define.
9893         * math/test-float.c: Likewise.
9894         * math/test-idouble.c: Likewise.
9895         * math/test-ifloat.c: Likewise.
9896         * math/test-ildoubl.c: Likewise.
9897         * math/test-ldouble.c: Likewise.
9898         * sysdeps/generic/math-tests-arch.h
9899         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
9900         architecture check.
9901
9902         * math/test-double.c (FUNC_TEST): New macro.
9903         * math/test-float.c: Likewise.
9904         * math/test-idouble.c: Likewise.
9905         * math/test-ifloat.c: Likewise.
9906         * math/test-ildoubl.c: Likewise.
9907         * math/test-ldouble.c: Likewise.
9908         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
9909
9910 2015-05-13  Roland McGrath  <roland@hack.frob.com>
9911
9912         * sysdeps/nacl/fdopendir.c: New file.
9913
9914         * dirent/scandir-tail.c: New file.
9915         * dirent/scandir64-tail.c: New file.
9916         * dirent/Makefile (routines): Add them.
9917         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
9918         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
9919         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
9920         [!SCANDIR] (SCANDIR_TAIL): New macro.
9921         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
9922         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
9923         (SCANDIRAT): Macro removed.
9924         (SCANDIR_TAIL): New macro.
9925         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
9926         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
9927         (SCANDIRAT): Just call __opendirat and __scandir_tail.
9928         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
9929         (READDIR): Macro removed.
9930         (SCANDIR_TAIL): New macro.
9931         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
9932         (SCANDIR_TAIL): New macro.
9933
9934         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
9935         * dirent/scandir-cancel.c: ... to this new file.
9936         * dirent/Makefile (routines): Add it.
9937         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
9938         * sysdeps/unix/sysv/linux/i386/scandir64.c
9939         (SKIP_SCANDIR_CANCEL): Macro removed.
9940         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
9941
9942         * dirent/tst-scandir.c: New file.
9943         * dirent/tst-scandir64.c: New file.
9944         * dirent/Makefile (tests): Add them.
9945
9946 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9947
9948         [BZ #18409]
9949         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
9950
9951 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9952
9953         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
9954         list.
9955
9956 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
9957
9958         * benchtests/bench-strcoll.c: New benchmark.
9959         * benchtests/Makefile: Generate locales and run benchmark.
9960         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
9961         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9962         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
9963         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
9964         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
9965         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
9966         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
9967         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
9968         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
9969         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
9970         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
9971         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
9972         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
9973         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
9974         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
9975         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
9976         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
9977         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
9978         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
9979         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
9980         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
9981         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
9982         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
9983         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
9984
9985 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
9986
9987         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
9988         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9989
9990 2015-05-12  Roland McGrath  <roland@hack.frob.com>
9991
9992         * posix/uname-values.h: New file.
9993         * posix/uname.c: Include that instead of <config-name.h>.
9994         * sysdeps/nacl/uname-values.h: New file.
9995         * sysdeps/arm/nacl/uname-values.h: New file.
9996
9997 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
9998
9999         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
10000         splitting into fields.
10001
10002 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10003
10004         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10005         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10006         * locale/localeinfo.h: Add enum collation_encoding_type.
10007         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10008         * programs/ld-collate.c (collate_output): Add encoding type info.
10009         * string/strcoll_l.c (STRDIFF): New function.
10010         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10011         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10012
10013 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10014
10015         [BZ #18397]
10016         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10017         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10018         <fpu_control.h> instead of <math/fpu_control.c>.
10019         * sysdeps/mips/mips32/fpu/Makefile: New file.
10020
10021 2015-05-11  Andreas Schwab  <schwab@suse.de>
10022
10023         [BZ #18007]
10024         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10025         nss_endgrent.
10026         (_nss_compat_endgrent): Call nss_endgrent.
10027         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10028         nss_endpwent.
10029         (_nss_compat_endpwent): Call nss_endpwent.
10030         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10031         needent, call nss_setspent only if non-zero.
10032         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10033         (internal_endspent): Don't call nss_endspent.
10034         (_nss_compat_endspent): Call nss_endspent.
10035         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10036         Remove.  All uses removed.
10037         (internal_setent): Remove parameter stayopen, add parameter
10038         stream.  Use it instead of global variable.
10039         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10040         (internal_endent, internal_getent): Add parameter stream.  Use it
10041         instead of global variable.
10042         (CONCAT(_nss_files_end,ENTNAME))
10043         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10044         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10045         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10046         uses removed.
10047         (internal_setent, internal_endent): Add parameter stream.  Use it
10048         instead of global variable.
10049         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10050         stream.
10051         (get_next_alias): Add parameter stream.
10052         (_nss_files_getaliasent_r): Pass global stream.
10053         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10054         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10055         (_nss_files_gethostbyname4_r): Pass local stream to
10056         internal_setent, internal_getent and internal_endent.  Remove
10057         locking.
10058
10059 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10060
10061         * tst-strfmon1.c (tests): Update expected currency symbol.
10062
10063 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10064
10065         * sysdeps/nacl/gethostname.c: New file.
10066
10067 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10068
10069         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10070         and sinh.
10071         * math/auto-libm-test-out: Regenerated.
10072         * sysdeps/i386/fpu/libm-test-ulps: Update.
10073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10074
10075 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10076
10077         [BZ #18125]
10078         * stdlib/tst-setcontext3.c: New file.
10079         * stdlib/tst-setcontext3.sh: New file.
10080         * stdlib/Makefile (tests): Add tst-setcontext3.
10081         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10082         to verify test program created output file.
10083         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10084         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10085         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10086         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10087
10088 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10089
10090         [BZ #18383]
10091         * elf/tst-tlsalign.c: New file.
10092         * elf/tst-tlsalign-static.c: New file.
10093         * elf/tst-tlsalign-lib.c: New file.
10094         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10095         (tests-static): Add tst-tlsalign-static.
10096         (modules-names): Add tst-tlsalign-lib.
10097         (test-xfail-tst-tlsalign): New variable.
10098         (test-xfail-tst-tlsalign-static): New variable.
10099
10100         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10101         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10102
10103 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10104
10105         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10106         csqrt, erfc, sin and sincos.
10107         * math/auto-libm-test-out: Regenerated.
10108         * sysdeps/i386/fpu/libm-test-ulps: Update.
10109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10110
10111 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10112
10113         * sysdeps/aarch64/libm-test-ulps: Update.
10114
10115 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10116
10117         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10118         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10119         * math/auto-libm-test-out: Regenerated.
10120         * sysdeps/i386/fpu/libm-test-ulps: Update.
10121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10122
10123 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10124
10125         [BZ #18265]
10126         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10127         (wcsncpy): Likewise.
10128
10129 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10130
10131         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10132         Assume __ASSUME_FALLOCATE is always true.
10133         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10134         (__posix_fallocate64_l64): Likweise.
10135         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10136         (posix_fallocate): Likewise.
10137         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10138         (__posix_fallocate64_l64): Likewise.
10139         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10140         [!__ASSUME_FALLOCATE]: Add comment.
10141
10142 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10143
10144         * sysdeps/unix/sysv/linux/i386/Makefile
10145         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10146         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10147         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10148         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10149         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10150         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10151         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10152
10153 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10154
10155         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10156         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10157         tgamma.
10158         * math/auto-libm-test-out: Regenerated.
10159         * sysdeps/i386/fpu/libm-test-ulps: Update.
10160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10161
10162 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10163
10164         * math/auto-libm-test-in: Add more tests of tgamma.
10165         * math/auto-libm-test-out: Regenerated.
10166         * sysdeps/i386/fpu/libm-test-ulps: Update.
10167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10168
10169         * math/auto-libm-test-in: Add more tests of tanh.
10170         * math/auto-libm-test-out: Regenerated.
10171         * sysdeps/i386/fpu/libm-test-ulps: Update.
10172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173
10174         * math/auto-libm-test-in: Add more tests of tan.
10175         * math/auto-libm-test-out: Regenerated.
10176         * sysdeps/i386/fpu/libm-test-ulps: Update.
10177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10178
10179         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
10180         * math/auto-libm-test-out: Regenerated.
10181         * sysdeps/i386/fpu/libm-test-ulps: Update.
10182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10183
10184         * math/auto-libm-test-in: Add another test of pow.
10185         * math/auto-libm-test-out: Regenerated.
10186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10187
10188         * math/auto-libm-test-in: Add more tests of lgamma.
10189         * math/auto-libm-test-out: Regenerated.
10190         * sysdeps/i386/fpu/libm-test-ulps: Update.
10191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10192
10193         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
10194         log1p.
10195         * math/auto-libm-test-out: Regenerated.
10196         * sysdeps/i386/fpu/libm-test-ulps: Update.
10197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10198
10199 2015-05-01  Mark Wielaard  <mjw@redhat.com>
10200
10201         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
10202         Elf64_Chdr structs and ELFCOMPRESS constants.
10203
10204 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10205
10206         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
10207         expm1.
10208         * math/auto-libm-test-out: Regenerated.
10209         * sysdeps/i386/fpu/libm-test-ulps: Update.
10210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211
10212         * math/auto-libm-test-in: Add more tests of erf and erfc.
10213         * math/auto-libm-test-out: Regenerated.
10214         * sysdeps/i386/fpu/libm-test-ulps: Update.
10215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10216
10217 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10218
10219         * config.h.in (HAVE_AARCH64_BE): Add.
10220
10221 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
10222
10223         * math/auto-libm-test-in: Add more tests of csqrt.
10224         * math/auto-libm-test-out: Regenerated.
10225         * sysdeps/i386/fpu/libm-test-ulps: Update.
10226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10227
10228         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10229         * math/auto-libm-test-out: Regenerated.
10230         * sysdeps/i386/fpu/libm-test-ulps: Update.
10231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10232
10233         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
10234
10235 2015-04-29  Roland McGrath  <roland@hack.frob.com>
10236
10237         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
10238         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
10239
10240         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
10241         (euidaccess, eaccess): Define as weak aliases.
10242
10243         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
10244         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
10245         but __suseconds_t is often 'long int' so some sources assume that
10246         type is being used (e.g. they use %ld to print tv_usec).
10247
10248 2015-04-29  Florian Weimer  <fweimer@redhat.com>
10249
10250         [BZ #18007]
10251         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
10252         (CVE-2014-8121)
10253         * nss/tst-nss-getpwent.c: New file.
10254         * nss/Makefile (tests): Add new test.
10255
10256 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
10257
10258         [BZ #18346]
10259         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
10260         exponents less than 48 as cases where high part of mantissa needs
10261         examining to determine whether argument is integral.
10262         * math/libm-test.inc (round_test_data): Add more tests.
10263
10264 2015-04-28  Mark Wielaard  <mjw@redhat.com>
10265
10266         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
10267
10268 2015-04-27  David S. Miller  <davem@davemloft.net>
10269
10270         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
10271         __tls_get_addr.
10272         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10273
10274 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
10275
10276         [BZ#18333]
10277         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
10278
10279 2015-04-27  Florian Weimer  <fweimer@redhat.com>
10280
10281         [BZ#18333]
10282         * time/tzset.c (parse_tzname): Return error on memory allocation
10283         failure.
10284         * test-skeleton.c (struct temp_name_list): Change type of name
10285         member to non-const.
10286         (add_temp_file): Create a copy of the file name.
10287         (delete_temp_files): Deallocate memory.
10288         (create_temp_file): Add comment.
10289
10290 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10291
10292         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
10293         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
10294
10295 2015-04-24  Roland McGrath  <roland@hack.frob.com>
10296
10297         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
10298         * sysdeps/arm/configure: Regenerated.
10299
10300 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10301
10302         [BZ #17715]
10303         * time/tzfile.c (__tzfile_read): Check for large values of
10304         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
10305         * time/tzset.c (__tzstring_len): New function, based on the old
10306         __tzstring function.
10307         (__tzstring): Call __tzstring_len.
10308         (parse_tzname): New helper function extracted from
10309         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
10310         the input string.
10311         (parse_offset): New helper function extracted from
10312         __tzset_parse_tz.  Replace switch with fallthrough with
10313         initialization before sscanf.
10314         (parse_rule): Likewise.
10315         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
10316         new-style function definition.
10317         * timezone/Makefile (tests): Add tst-tzset.
10318         (tst-tzset.out): Dependencies on time zone files.
10319         (tst-tzset-ENV): Set TZDIR.
10320         (testdata/XT%): Copy crafted time zone files.
10321         * timezone/README: Mention crafted time zone files.
10322         * timezone/testdata/XT1, timezone/testdata/XT2,
10323         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
10324         files.
10325         * timezone/tst-tzset.c: New test.
10326
10327 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10328
10329         * Makeconfig (+gccwarn): Remove -Winline.
10330
10331 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10332
10333         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
10334
10335 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10336
10337         * NEWS: Mention sysconf() cache information support for s390.
10338         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
10339
10340 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
10341
10342         * math/k_casinh.c (__kernel_casinh): Use __copysign.
10343         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
10344         (__nearbyint): Likewise.
10345         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
10346         (copysignl): Likewise.
10347
10348 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
10349
10350         [BZ #18287]
10351         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
10352         based on padding.  (CVE-2015-1781)
10353
10354 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10355
10356         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10357         libc-vdso.h.
10358         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
10359         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
10360         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
10361         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10362         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10363         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
10364         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
10365         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10366         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10367         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
10368         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10369         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10370         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10371         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
10372         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10373         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
10374         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
10375         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
10376         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
10377         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
10378         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
10379         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
10380         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
10381
10382 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
10383
10384         * stdlib/setenv.c (__add_to_environ):
10385         Dump core quickly if setenv (..., NULL, ...) is called.
10386         This time, do it the right way, and pacify GCC with a pragma.
10387
10388 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10389
10390         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10391         IMAP->l_prev cannot be null, and #if out the code for the contrary
10392         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
10393         believe that NS (&_dl_ns[NSID]) could point outside the array.
10394
10395         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
10396         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10397         before using NSID as an index.
10398
10399 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
10400
10401         [BZ #17825]
10402         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
10403         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
10404         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10405
10406 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10407
10408         Add preliminary port to Google Native Client on ARM.
10409         * abi-tags (.*-.*-nacl.*): New entry.
10410         * sysdeps/arm/nacl: New directory.
10411         * sysdeps/nacl: New directory.
10412
10413 2015-04-16  David S. Miller  <davem@davemloft.net>
10414
10415         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
10416         lowlevellock-futex.h
10417
10418 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
10419
10420         * sysdeps/tile/configure.ac: New file.
10421         * sysdeps/tile/configure: Regenerated.
10422
10423 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10424
10425         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
10426         conditionals for weak_alias and libc_hidden_weak.
10427         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
10428         libc_hidden_weak and weak_alias.
10429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
10430         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
10431         and weak_alias for static one.
10432
10433 2015-04-15  David S. Miller  <davem@davemloft.net>
10434
10435         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10436
10437 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10438
10439         [BZ #18206]
10440         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
10441           Use signed comparision instead of substraction to avoid
10442           overflow bug.
10443         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
10444           Take the sign of ret.
10445         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10446           Do not expect precise return values. Only the sign matters.
10447         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
10448         * wcsmbs/test-wcsncmp.c: New File.
10449         * string/test-strncmp.c: Add wcsncmp support.
10450
10451 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10452
10453         [BZ #6792]
10454         * math/w_log1p.c: New file.
10455         * math/w_log1pf.c: Likewise.
10456         * math/w_log1pl.c: Likewise.
10457         * math/Makefile (libm-calls): Add w_log1p.
10458         * math/s_log1pl.c (log1pl): Remove weak_alias.
10459         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
10460         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
10461         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
10462         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
10463         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
10464         [NO_LONG_DOUBLE] (log1pl): Likewise.
10465         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
10466         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
10467         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
10468         (log1p): Remove long_double_symbol.
10469         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
10470         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
10471         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
10472         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
10473         remove weak_alias for corresponding log1p function.
10474         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
10475         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10476         * sysdeps/ia64/fpu/w_log1p.c: New file.
10477         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
10478         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
10479         * math/libm-test.inc (log1p_test_data): Add errno expectations.
10480
10481 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
10482
10483         [BZ #18247]
10484         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
10485         decimal exponent by 1.
10486         * stdlib/tst-strtod-round-data: Add more tests.
10487         * stdlib/tst-strtod-round.c (tests): Regenerated.
10488
10489 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
10490
10491         * math/auto-libm-test-in: Add more tests of clog and clog10.
10492         * math/auto-libm-test-out: Regenerated.
10493         * sysdeps/i386/fpu/libm-test-ulps: Update.
10494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10495
10496 2015-04-09  Roland McGrath  <roland@hack.frob.com>
10497
10498         * Makeconfig (module-cppflags): Exclude all .v.i files.
10499         (skip-module-cppflags): Variable removed.
10500
10501         * configure.ac (libc_config_ok): Initialize before reading
10502         preconfigure scripts, not after.
10503         * configure: Regenerated.
10504
10505         * test-skeleton.c (TIMEOUT): Move #define to top level.
10506         (main): Grok environment variable TEST_DIRECT.  If set, print
10507         test expectation details into that file and then behave as if
10508         given --direct.
10509
10510 2015-04-09  Florian Weimer  <fweimer@redhat.com>
10511
10512         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
10513         warning on 32-bit.
10514
10515 2015-04-08  David S. Miller  <davem@davemloft.net>
10516
10517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10518
10519 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10520
10521         * math/auto-libm-test-in: Add more tests of atanh.
10522         * math/auto-libm-test-out: Regenerated.
10523         * sysdeps/i386/fpu/libm-test-ulps: Update.
10524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10525
10526         * math/auto-libm-test-in: Add more tests of atan.
10527         * math/auto-libm-test-out: Regenerated.
10528         * sysdeps/i386/fpu/libm-test-ulps: Update.
10529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10530
10531 2015-04-08  Florian Weimer  <fweimer@redhat.com>
10532
10533         * elf/pldd.c (main): Rewrite to use struct
10534         scratch_buffer instead of extend_alloca.
10535         * elf/pldd-xx.c (find_maps): Likewise.
10536         * grp/initgroups.c: Include <scratch_buffer.h> instead of
10537         <alloca.h>.
10538         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
10539         scratch_buffer instead of extend_alloca.
10540         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
10541         grp/compat-initgroups.c.
10542         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
10543         Rewrite to use struct scratch_buffer instead of extend_alloca.
10544         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
10545         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10546
10547 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10548
10549         * math/auto-libm-test-in: Add more tests of cbrt.
10550         * math/auto-libm-test-out: Regenerated.
10551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10552
10553         * math/auto-libm-test-in: Add more tests of cabs.
10554         * math/auto-libm-test-out: Regenerated.
10555         * sysdeps/i386/fpu/libm-test-ulps: Update.
10556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10557
10558         [BZ #18210]
10559         [BZ #18211]
10560         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
10561         (__ieee754_atan2): Set FE_TONEAREST mode for internal
10562         computations.
10563         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
10564         clog10.
10565         * math/auto-libm-test-out: Regenerated.
10566         * sysdeps/i386/fpu/libm-test-ulps: Update.
10567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10568
10569         [BZ #18197]
10570         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
10571         (atan): Set FE_TONEAREST mode for internal computations.
10572         * math/auto-libm-test-in: Add more tests of atan.
10573         * math/auto-libm-test-out: Regenerated.
10574
10575 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
10576
10577         [BZ #17930]
10578         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
10579
10580 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10581
10582         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
10583
10584 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10585
10586         * include/scratch_buffer.h: New file.
10587         * malloc/scratch_buffer_grow.c: Likewise.
10588         * malloc/scratch_buffer_grow_preserve.c: Likewise.
10589         * malloc/scratch_buffer_set_array_size.c: Likewise.
10590         * malloc/tst-scratch_buffer.c: Likewise.
10591         * malloc/Makefile (routines): Add scratch_buffer_grow.
10592         (tests): Add test case.
10593         * malloc/Versions (GLIBC_PRIVATE): Export
10594         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
10595         __libc_scratch_buffer_set_array_size.
10596
10597 2015-04-06  Richard Henderson  <rth@redhat.com>
10598
10599         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
10600         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10601
10602         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
10603         unsigned int before printing.
10604
10605 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10606
10607         [BZ #17596]
10608         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
10609         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10610
10611 2015-04-02  Florian Weimer  <fweimer@redhat.com>
10612
10613         * include/libc-internal.h (libc_max_align_t): Define.
10614
10615 2015-04-02  Andreas Schwab  <schwab@suse.de>
10616
10617         [BZ #16850]
10618         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
10619
10620 2015-04-02  Mel Gorman  <mgorman@suse.de>
10621
10622         [BZ #17195]
10623         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
10624         as well as the main arena.
10625
10626 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10627
10628         [BZ #18185]
10629         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
10630         sharing L2 cache to 2 for Silvermont/Knights Landing.
10631
10632 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10633
10634         [BZ #17711]
10635         * config.make.in (have-protected-data): New.
10636         * configure.ac: Check linker support for protected data symbol.
10637         * configure: Regenerated.
10638         * elf/Makefile (modules-names): Add tst-protected1moda and
10639         tst-protected1modb if $(have-protected-data) is yes.
10640         (tests): Add tst-protected1a and tst-protected1b if
10641         $(have-protected-data) is yes.
10642         ($(objpfx)tst-protected1a): New.
10643         ($(objpfx)tst-protected1b): Likewise.
10644         (tst-protected1modb.so-no-z-defs): Likewise.
10645         * elf/tst-protected1a.c: New file.
10646         * elf/tst-protected1b.c: Likewise.
10647         * elf/tst-protected1mod.h: Likewise.
10648         * elf/tst-protected1moda.c: Likewise.
10649         * elf/tst-protected1modb.c: Likewise.
10650
10651 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10652
10653         [BZ #17711]
10654         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
10655         indicates it is called from do_lookup_x on relocation against
10656         protected data, skip the data definion in the executable from
10657         copy reloc.
10658         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
10659         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
10660         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
10661         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
10662         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
10663         otherwise to 0.
10664         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10665         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
10666         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
10667         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10668         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
10669         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
10670
10671 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
10672
10673         * sysdeps/nptl/pthread.h: Remove duplicate definition of
10674         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
10675
10676 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
10677
10678         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
10679         THREAD_SETMEM_NC.
10680         * sysdeps/x86_64/nptl/tls.h: Ditto.
10681
10682 2015-03-27  Roland McGrath  <roland@hack.frob.com>
10683
10684         * dlfcn/tststatic.c (main): Converted to ...
10685         (do_test): ... this.
10686         (TEST_FUNCTION): New macro.
10687         Include test-skeleton.c.
10688
10689 2015-03-26  Alan Modra  <amodra@gmail.com>
10690
10691         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
10692         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
10693         zero for undefined weak.
10694         (elf_machine_plt_conflict): Similarly.
10695
10696 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10697
10698         * math/auto-libm-test-in: Add more tests of acosh, asinh and
10699         atanh.
10700         * math/auto-libm-test-out: Regenerated.
10701         * sysdeps/i386/fpu/libm-test-ulps: Update.
10702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10703
10704         * math/auto-libm-test-in: Add another test of asin.
10705         * math/auto-libm-test-out: Regenerated.
10706         * sysdeps/i386/fpu/libm-test-ulps: Update.
10707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10708
10709         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
10710         Remove macro.
10711         (LLL_EBX_REG): Likewise.
10712         (LLL_ENTER_KERNEL): Likewise.
10713
10714         * math/auto-libm-test-in: Add more tests of asin.
10715         * math/auto-libm-test-out: Regenerated.
10716         * sysdeps/i386/fpu/libm-test-ulps: Update.
10717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10718
10719         [BZ #18138]
10720         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
10721         libc_do_syscall_args): New structure.
10722         (INTERNAL_SYSCALL_MAIN_0): New macro.
10723         (INTERNAL_SYSCALL_MAIN_1): Likewise.
10724         (INTERNAL_SYSCALL_MAIN_2): Likewise.
10725         (INTERNAL_SYSCALL_MAIN_3): Likewise.
10726         (INTERNAL_SYSCALL_MAIN_4): Likewise.
10727         (INTERNAL_SYSCALL_MAIN_5): Likewise.
10728         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
10729         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
10730         Replace conditional definitions by conditional definitions of ....
10731         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
10732         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
10733         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
10734         (libpthread-sysdep_routines): Add libc-do-syscall.
10735         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
10736         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
10737         to __NR_futex not 240.
10738
10739 2015-03-25  Alan Modra  <amodra@gmail.com>
10740
10741         * NEWS: Advertise TLS optimization.
10742         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
10743         (DT_PPC_NUM): Increment.
10744         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
10745         (CHECK_STATIC_TLS): Use here.
10746         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
10747         TLS descriptors.
10748         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10749         * sysdeps/powerpc/dl-tls.c: New file.
10750         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
10751         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
10752         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
10753         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
10754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
10755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10757
10758 2015-03-25  Alan Modra  <amodra@gmail.com>
10759
10760         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
10761         for overlapping .opd entries" to "support...".
10762         * sysdeps/powerpc/powerpc64/configure: Regenerate
10763
10764 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10765
10766         * math/auto-libm-test-in: Add more tests of acos.
10767         * math/auto-libm-test-out: Regenerated.
10768         * sysdeps/i386/fpu/libm-test-ulps: Update.
10769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10770
10771         * math/auto-libm-test-in: Add more tests of expm1.
10772         * math/auto-libm-test-out: Regenerated.
10773         * sysdeps/i386/fpu/libm-test-ulps: Update.
10774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10775
10776 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
10777
10778         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10779         * math/auto-libm-test-out: Regenerated.
10780         * sysdeps/i386/fpu/libm-test-ulps: Update.
10781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10782
10783         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10785
10786         * math/auto-libm-test-in: Add more tests of log2.
10787         * math/auto-libm-test-out: Regenerated.
10788         * sysdeps/i386/fpu/libm-test-ulps: Update.
10789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10790
10791 2015-03-23  Roland McGrath  <roland@hack.frob.com>
10792
10793         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
10794         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
10795         _IO_IS_APPENDING bit in READ_WRITE instead.
10796
10797 2015-03-23  Florian Weimer  <fweimer@redhat.com>
10798
10799         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10800         (__determine_cpumask_size): Replace extend_alloca with a
10801         variable-length array.  Do not treat res == 0 as an error.
10802
10803 2015-03-23  Florian Weimer  <fweimer@redhat.com>
10804
10805         [BZ #18100]
10806         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
10807         and integer overflow.
10808         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
10809         (main): Add integer overflow tests.
10810         * manual/pattern.texi (Calling Wordexp): Document additional use
10811         for WRDE_SYNTAX.
10812
10813 2015-03-23  Alan Modra  <amodra@gmail.com>
10814
10815         * config.h.in: Remove HAVE_ASM_PPC_REL16.
10816         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
10817         and false branch of conditional.
10818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10819         Likewise.
10820
10821 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
10822
10823         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
10824         libc-modules.h
10825         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
10826         unused declaration of _hurd_intr_rpc_msg_in_trap.
10827         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
10828         defined instead of whether it is non-zero.
10829         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
10830         input constraint instead of both input and output constraint.  Use ecx
10831         clobber instead of %ecx.
10832         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
10833         mutex_unlock): Use a statement expression instead of an expression list.
10834         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
10835         type to vm_size_t instead of vm_address_t.
10836         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
10837         defined instead of whether it is non-zero.
10838         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
10839         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
10840         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
10841         comparisons with mapaddr.
10842         * nscd/nscd-client.h: Include <time.h>.
10843         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
10844         9th parameter to __vm_region instead of int.
10845         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
10846         * scripts/check-local-headers.sh (exclude): Add device/,
10847         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
10848         cthreads.h.
10849
10850 2015-03-19  Roland McGrath  <roland@hack.frob.com>
10851
10852         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
10853         to account for alignment padding.
10854         * sysdeps/arm/memmove.S: Likewise.
10855
10856 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
10857
10858         * sysdeps/unix/sysv/linux/generic/README: New file.
10859
10860 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
10861
10862         [BZ #18138]
10863         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
10864         (futex_abstimed_wait)
10865         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
10866         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
10867         of lll_futex_timed_wait.
10868
10869 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
10870
10871         [BZ #17542]
10872         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
10873
10874 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
10875
10876         [BZ #17090]
10877         [BZ #17620]
10878         [BZ #17621]
10879         [BZ #17628]
10880         * NEWS: Update.
10881         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
10882         entries with Static TLS too.  Skip entries past the end of the
10883         allocated DTV, from Alan Modra.
10884         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
10885         Static TLS DTV entry set up from...
10886         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
10887         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
10888         * nptl/allocatestack.c (init_one_static_tls): ... and here...
10889         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
10890         for Static TLS.
10891         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
10892         that the slot we find is associated with the given map before
10893         using its generation count.
10894         * nptl_db/db_info.c: Include ldsodefs.h.
10895         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
10896         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
10897         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
10898         (link_map::l_tls_offset): New struct field.
10899         (dtv_t::counter): Likewise.
10900         (rtld_global): New struct.
10901         (_rtld_global): New rtld variable.
10902         (dl_tls_dtv_slotinfo_list): New rtld global field.
10903         (dtv_slotinfo_list): New struct.
10904         (dtv_slotinfo): Likewise.
10905         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
10906         (td_lookup): Rename to...
10907         (td_mod_lookup): ... this.  Use new mod parameter instead of
10908         LIBPTHREAD_SO.
10909         * nptl_db/td_thr_tlsbase.c: Include link.h.
10910         (dtv_slotinfo_list, dtv_slotinfo): New functions.
10911         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
10912         addresses even if the DTV is out of date or missing them.
10913         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
10914         index zero-length arrays.
10915         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
10916         (td_lookup): Make it a macro implemented in terms of...
10917         (td_mod_lookup): ... this declaration.
10918         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
10919         (DB_MAIN_VARIABLE): Likewise.
10920
10921 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10922
10923         [BZ #18134]
10924         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10925
10926 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
10927
10928         * stdlib/setenv.c (__add_to_environ): Revert previous change.
10929
10930 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10931
10932         [BZ #18128]
10933         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
10934         (atomic_add, atomic_increment_and_test)
10935         (atomic_decrement_and_test): Fix 64-bit arithmetic.
10936
10937 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
10938
10939         * stdlib/setenv.c (__add_to_environ):
10940         Dump core quickly if setenv (..., NULL, ...) is called.
10941
10942 2015-03-13  Roland McGrath  <roland@hack.frob.com>
10943
10944         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
10945         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
10946         all the necessary asm magic in one place.
10947         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
10948         using those.
10949
10950 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
10951
10952         [BZ #14906]
10953         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
10954         traced file mtime. Use consistent log message.
10955         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
10956         (register_traced_file): Call install_watches. Always set mtime.
10957         (invalidate_cache): Iterate over all trace files. Call install_watches.
10958         (inotify_check_files): Don't inline. Handle watching parent
10959         directories and configuration file movement in and out.
10960         (handle_inotify_events): New function.
10961         (main_loop_poll): Call handle_inotify_events.
10962         (main_loop_epoll): Likewise.
10963         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
10964         (struct traced_file): Use array of inotify fds. Add parent directory,
10965         and basename.
10966         (struct database_dyn): Remove unused file_mtime.
10967         (init_traced_file): New inline function.
10968         (define_traced_file): New macro.
10969         * nss/nss_db/db-init.c: Use define_traced_file.
10970         (_nss_db_init): Use init_traced_file.
10971         * nss/nss_files/files-init.c: Use define_traced_file.
10972         (_nss_files_init): Use init_traced_file.
10973
10974 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
10975
10976         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
10977         [_LIBC]: Do not include <stdlib.h>.
10978         [!_LIBC] (abort): Remove declaration.
10979         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
10980         _FP_STATIC_ASSERT instead of conditionally calling abort.
10981         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
10982         (_FP_EXTEND_CNAN): Likewise.
10983         (FP_TRUNC): Likewise.
10984         (__FP_CLZ): Likewise.
10985         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
10986
10987 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
10988
10989         * manual/string.texi (XPG basename): Fix prototype.
10990
10991 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10992
10993         [BZ #18080]
10994         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
10995         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
10996         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
10997         (__setcontext): Likewise.
10998         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
10999         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11000         Call rt_sigprocmask syscall one time to set new signal mask
11001         and retrieve the current signal mask instead of two calls.
11002         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11003         (__swapcontext): Likewise.
11004         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11005         * stdlib/tst-setcontext2.c: New file.
11006
11007 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11008
11009         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11010
11011 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11012
11013         [BZ #18093]
11014         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11015         the wrong size.
11016
11017 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11018
11019         [BZ #18043]
11020         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11021
11022 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11023
11024         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11025         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11026         Remove define.
11027         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11028         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11029         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11030         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11031         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11032         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11033         define.
11034         * nptl_db/td_symbol_list.c (td_lookup): Remove
11035         HAVE_ASM_GLOBAL_DOT_NAME code.
11036         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11037         HAVE_ASM_GLOBAL_DOT_NAME check.
11038         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11039         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11040         (DOT_LABEL): Remove define.
11041         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11042         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11043         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11044         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11045         (__TLS_GET_ADDR): Likewise.
11046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11047         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11048
11049 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11050
11051         [BZ #18111]
11052         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11053         (_FPU_SETCW): Initialize cw from fpsr before storing.
11054         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11055         (fesetexceptflag): Rewrite using fpu_control.h.
11056         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11057
11058 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11059
11060         [BZ #18110]
11061         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11062         asms.
11063         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11064
11065 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11066
11067         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11068         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11069         abort.
11070         (_FP_FMA): Likewise.
11071         (_FP_DIV): Likewise.
11072
11073 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11074
11075         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11076         with 0 in that case.
11077         * Makefile (summarize-tests): New canned sequence, factored out of
11078         commands for targets tests and xtests.  Display summary lines that
11079         don't start with PASS: or XFAIL: rather than ones that do start with
11080         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11081         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11082         do start with ERROR: or FAIL:.
11083         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11084         (except for [$(build-shared) = yes]).
11085         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11086         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11087         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11088         * nptl/Makefile: Revert 2015-03-04 changes.
11089         [$(CXX) empty] (tests-unsupported): New variable.
11090         * debug/Makefile: Likewise.
11091
11092         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11093         gnulib file.  Replace __attribute with __attribute__ throughout.
11094
11095 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11096
11097         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11098
11099 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11100
11101         [BZ #18104]
11102         * math/auto-libm-test-in: Add another test of pow.
11103         * math/auto-libm-test-out: Regenerated.
11104
11105 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11106
11107         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11108         $(config-cflags-nofma).
11109
11110 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11111
11112         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11113         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11114         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11115         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11116         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11117         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11118         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11119         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11120         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11121         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11122         Add comment on closing #endif.
11123
11124 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11125
11126         * posix/wordexp.c (CHAR_IN_SET): New macro.
11127         (parse_param): Use it.
11128
11129 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11130
11131         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11132
11133 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11134
11135         [BZ #18043]
11136         * posix/wordexp.c (parse_param): Fix buffer overflow.
11137         * posix/wordexp-test.c (test_case): Add test case.
11138
11139 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11140
11141         [BZ #18042]
11142         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11143         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11144
11145 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11146
11147         [BZ #18043]
11148         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11149         (do_bz18043): Delete.
11150         (at_page_end): New.
11151         (testit): Refactor to have words at the edge of unreadable page.
11152
11153 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11154
11155         [BZ #16734]
11156         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11157         Cleanup read-only streams as well.
11158         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11159
11160 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11161
11162         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11163         <bits/libc-lockP.h>
11164
11165 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11166
11167         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11168         on [__KERNEL__].
11169         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11170         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11171         * soft-fp/op-common.h (_FP_DECL): Likewise.
11172
11173 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11174
11175         * elf/ifuncdep2.c (global): Replace
11176         __attribute__((visibility("protected"))) with
11177         asm (".protected global").
11178         * elf/ifuncmod1.c (global): Likewise.
11179         * elf/ifuncmod5.c (global): Likewise.
11180
11181 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
11182
11183         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
11184         <asm/sfp-machine.h> instead of <sfp-machine.h>.
11185
11186 2015-03-06  Roland McGrath  <roland@hack.frob.com>
11187
11188         * manual/install.texi (Configuring and compiling):
11189         Document test-wrapper-env-only.
11190         * INSTALL: Regenerated.
11191
11192 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11193
11194         [BZ #18043]
11195         * posix/wordexp.c (parse_param): Fix buffer overflow.
11196         * posix/wordexp-test.c (do_bz18043): Add test case.
11197
11198 2015-03-06  Vincent Bernat  <vincent@bernat.im>
11199
11200         * time/tst-strptime2.c (do_test): Ensure failing tests are
11201         reported correctly.
11202         * time/tst-strptime3.c (do_test): Likewise.
11203
11204 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
11205
11206         Fix aio_error thread-safety.
11207         * sysdeps/pthread/aio_error.c: New file
11208         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
11209         synchronization.
11210
11211 2015-03-06  Florian Weimer  <fweimer@redhat.com>
11212
11213         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
11214         (group_number, vfprintf): Use it.
11215         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
11216         (JUMP, REF): Use it.
11217         (WORK_BUFFER_SIZE): New enum constant.
11218         (process_arg, vfprintf): Use it.
11219
11220 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
11221
11222         * manual/errno.texi (Error Messages): Complete example function
11223         by adding missing #define.
11224         (program_invocation_name): Add statement indicating GNU
11225         extension and reference which header file declares the variable.
11226         (program_invocation_short_name): Likewise.
11227
11228 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
11229
11230         * manual/errno.texi (Error Messages): Delete strerror ISO C89
11231         compatibility note.
11232
11233 2015-03-05  Roland McGrath  <roland@hack.frob.com>
11234
11235         * Makeconfig (test-wrapper-env-only): New variable.
11236         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
11237         then use that with $(test-wrapper-env-only) rather than using
11238         $(test-wrapper-env) $(run-program-env) $($*-ENV).
11239
11240 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11241
11242         [BZ #18082]
11243         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
11244         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
11245         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
11246         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
11247         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
11248         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
11249         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
11250         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
11251         Likewise.
11252         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
11253         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
11254         Likewise.
11255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
11256         Likewise.
11257         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
11258         Likewise.
11259         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
11260         Likewise.
11261         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
11262         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
11263         Likewise.
11264         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
11265         Likewise.
11266         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
11267         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
11268
11269 2015-03-04  Roland McGrath  <roland@hack.frob.com>
11270
11271         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
11272         (ETH_ALEN): New macro.
11273         (struct ether_addr): Use it for length of ether_addr_octet.
11274
11275         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
11276         (setdb): Don't call __nss_configure_lookup for "rpc".
11277         (do_test): Don't call test_rpc.
11278         (output_rpcent, test_rpc): Functions moved ...
11279         * sunrpc/test-rpcent.c: ... to this new file.
11280         * sunrpc/Makefile (tests): Add it.
11281
11282         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
11283         __xpg_sigpause.
11284         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
11285         * nptl/tst-signal6.c: Likewise.
11286         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
11287         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
11288
11289         * configure.ac (libc_cv_cxx_link_ok): New check.
11290         Reset CXX to empty if it fails to link.
11291         * configure: Regenerated.
11292         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
11293         bug-atexit3-lib only if $(CXX) is nonempty.
11294         * nptl/Makefile (tests): Likewise for tst-cancel24.
11295         (tests, tests-static): Likewise for tst-cancel24-static.
11296         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
11297         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
11298         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
11299         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
11300
11301 2015-03-04  Andreas Schwab  <schwab@suse.de>
11302
11303         [BZ #17631]
11304         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
11305         for non-GCC compilers.
11306         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11307         Likewise.
11308
11309 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11310
11311         [BZ #17776]
11312         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
11313         integer before bitwise and assembly operations.
11314         (feclearexcept): Likewise.
11315         * math/test-fenvinline.c: New file.
11316         * math/Makefile: Add test-fenvinline test.
11317
11318 2015-03-03  Alan Modra  <amodra@gmail.com>
11319
11320         [BZ #16512]
11321         * scripts/localplt.awk: Strip off symbol version.
11322         * NEWS: Mention bug fix.
11323
11324 2015-03-02  Roland McGrath  <roland@hack.frob.com>
11325
11326         * sysdeps/pthread/timer_routines.c
11327         (timer_free_list, thread_free_list, thread_active_list): Make static.
11328
11329 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
11330
11331         [BZ #17779]
11332         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11333         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11334         Undefine.
11335         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11336         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11337         Likewise.
11338         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11339         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11340         Likewise.
11341
11342 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11343
11344         [BZ #18036]
11345         * posix/fnmatch_loop.c (END): Detect invalid pattern.
11346         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
11347
11348 2015-03-02  Andreas Schwab  <schwab@suse.de>
11349
11350         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
11351         variable name.
11352
11353 2015-03-02  Florian Weimer  <fweimer@redhat.com>
11354
11355         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
11356         Return error status.
11357
11358 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
11359
11360         [BZ #15969]
11361         * locale/findlocale.c (_nl_find_locale): Introduce const
11362         version of loc_name and drop unsafe type casts.
11363
11364 2015-02-27  Roland McGrath  <roland@hack.frob.com>
11365
11366         * dlfcn/tststatic2.c (main): Converted to ...
11367         (do_test): ... this.
11368         (TEST_FUNCTION): New macro.
11369         Include test-skeleton.c.
11370
11371 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
11372
11373         [BZ #17711]
11374         * elf/Makefile (tests): Add vismain only if PIE is enabled.
11375         (tests-pie): Add vismain.
11376         (CFLAGS-vismain.c): New.
11377         * elf/vismain.c: Add comments for PIE requirement.
11378
11379 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11380
11381         [BZ #18046]
11382         [BZ #18047]
11383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
11384         0x1p-56L as threshold for just returning the argument.
11385         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
11386         0x1p-32L as threshold for just returning the argument.
11387         * math/auto-libm-test-in: Add more tests of atanh.
11388         * math/auto-libm-test-out: Regenerated.
11389         * sysdeps/i386/fpu/libm-test-ulps: Update.
11390         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
11391
11392 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11393
11394         * string/bcopy.c (bcopy): Call memmove for performance.
11395
11396 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11397
11398         * string/bzero.c (__bzero): Call memset for performance.
11399
11400 2015-02-27  John David Anglin  <dave.anglin@bell.net>
11401
11402         [BZ #18068]
11403         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
11404         to 00100000.
11405
11406 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11407
11408         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
11409
11410 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11411
11412         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
11413         (__kernel_standard): Use CSTR macro when setting exc.name.
11414         * sysdeps/ieee754/Makefile [$(subdir) = math]
11415         (CFLAGS-k_standard.c): Remove variable.
11416
11417         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
11418         setting p and q from "else if" to "else".
11419         (qzero): Likewise.
11420         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
11421         (qone): Likewise.
11422         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
11423         (qzerof): Likewise.
11424         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
11425         (qonef): Likewise.
11426         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
11427         (qzero): Likewise.
11428         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
11429         (qone): Likewise.
11430
11431         [BZ #18038]
11432         [BZ #18039]
11433         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
11434         return pi/2 for arguments below 0x1p-113L.
11435         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
11436         return pi/2 for arguments below 0x1p-106L.
11437         * math/auto-libm-test-in: Add more tests of acos.
11438         * math/auto-libm-test-out: Regenerated.
11439
11440         [BZ #16351]
11441         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
11442         (MO): New macro.
11443         (__ieee754_asin): Force underflow exception for results with small
11444         absolute value.
11445         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
11446         (MO): New macro.
11447         (__ieee754_asinf): Force underflow exception for results with
11448         small absolute value.
11449         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
11450         (__ieee754_asin): Force underflow exception for results with small
11451         absolute value.
11452         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
11453         (__ieee754_asinf): Force underflow exception for results with
11454         small absolute value.
11455         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
11456         (__ieee754_asinl): Force underflow exception for results with
11457         small absolute value.
11458         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
11459         (__ieee754_asinl): Force underflow exception for results with
11460         small absolute value.
11461         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
11462         (__ieee754_asinl): Force underflow exception for results with
11463         small absolute value.
11464         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11465         Include <math.h>.
11466         * math/auto-libm-test-in: Do not mark underflow exceptions as
11467         possibly missing for bug 16351.
11468         * math/auto-libm-test-out: Regenerated.
11469
11470         [BZ #18030]
11471         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
11472         of power of 2 down when low part has opposite sign.
11473         * math/libm-test.inc (logb_test_data): Add more tests.
11474
11475 2015-02-26  Andreas Schwab  <schwab@suse.de>
11476
11477         [BZ #18032]
11478         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
11479         over collating symbol inside a bracket expression.  Minor cleanup.
11480         * posix/tst-fnmatch3.c (do_test): Add test case.
11481
11482 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11483
11484         [BZ #18029]
11485         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
11486         Adjust exponent of power of 2 down when low part has opposite
11487         sign.
11488         * math/libm-test.inc (ilogb_test_data): Add more tests.
11489
11490 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
11491
11492         [BZ #15969]
11493         * locale/findlocale.c (_nl_find_locale): Fix constness error in
11494         the previous change.
11495
11496         [BZ #15969]
11497         * locale/findlocale.c (_nl_find_locale): Retry archive search
11498         after alias expansion.
11499
11500 2015-02-25  Roland McGrath  <roland@hack.frob.com>
11501
11502         * iconv/tst-iconv3.c (main): Converted to ...
11503         (do_test): ... this.
11504         (TEST_FUNCTION): New macro.
11505         Include test-skeleton.c.
11506
11507         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
11508         (convert): Make function static.
11509         (test_unalign): Likewise.  Add const to argument pointee types.
11510         (main): Replace with static function do_test.
11511         Print "Succeeded." only if RET is zero.
11512         (TEST_FUNCTION): New macro.
11513         Include test-skeleton.c.
11514
11515         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
11516         returns a null pointer.
11517
11518 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11519
11520         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
11521         to __memcpy_ppc only for static builds.
11522
11523 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
11524
11525         [BZ #18020]
11526         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
11527         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
11528         * math/auto-libm-test-in: Add more tests of asinh.
11529         * math/auto-libm-test-out: Regenerated.
11530         * sysdeps/i386/fpu/libm-test-ulps: Update.
11531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11532
11533 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
11534
11535         [BZ #15850]
11536         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
11537         and ip6_mtuinfo definitions here.
11538         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
11539         in this define too.  Update comment.
11540
11541 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
11542
11543         * elf/sprof.c (load_shobj): Tweak error message to match others.
11544
11545 2015-02-24  Kevin Easton  <kevin@guarana.org>
11546
11547         [BZ #16145] (partial fix)
11548         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
11549         to reduce lock contention.
11550
11551 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
11552
11553         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
11554         (struct timex): Update time comment.
11555         (ADJ_SETOFFSET): Define.
11556
11557 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11558
11559         [BZ #18019]
11560         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11561         2**56 not 2**28 as threshold for log (2x) formula.
11562         * math/auto-libm-test-in: Add more tests of acosh.
11563         * math/auto-libm-test-out: Regenerated.
11564         * sysdeps/i386/fpu/libm-test-ulps: Update.
11565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11566
11567 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11568
11569         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
11570         parenthesis around the buf assignment.
11571         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
11572
11573 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11574
11575         [BZ #16783]
11576         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
11577         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
11578         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
11579         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11580         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11581         * math/libm-test.inc (scalb_test_data): Add more tests.
11582
11583 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11584
11585         [BZ #17916]
11586         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
11587         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
11588
11589 2015-02-24  Eric Rannaud  <e@nanocritical.com>
11590
11591         [BZ #17523]
11592         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
11593         * io/bits/fcntl2.h (open): Use it.
11594         (openat): Likewise.
11595         * io/open.c (__libc_open): Likewise.
11596         * io/open64.c (__libc_open64): Likewise.
11597         * io/open64_2.c (__open64_2): Likewise.
11598         * io/open_2.c (__open_2): Likewise.
11599         * io/openat.c (__openat): Likewise.
11600         * io/openat64.c (__openat64): Likewise.
11601         * io/openat64_2.c (__openat64_2): Likewise.
11602         * io/openat_2.c (__openat_2): Likewise.
11603         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
11604         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11605         * sysdeps/posix/open64.c (__libc_open64): Likewise.
11606         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11607         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11608         (__open_nocancel): Likewise.
11609         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11610         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11611         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
11612
11613 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11614
11615         [BZ #14841]
11616         * resolv/gethnamaddr.c (getanswer): Skip logging if
11617         RES_USE_DNSSEC is set.
11618         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11619
11620 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11621
11622         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
11623
11624 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
11625
11626         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11627         201304L, for Unicode 7.
11628
11629 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
11630
11631         [BZ #17836]
11632         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
11633         shared library.  Add gmon-start.os otherwise.
11634         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
11635         $(objpfx)gmon-start.os if builing shared library.
11636         ($(objpfx)g$(static-start-installed-name)): Likewise.
11637
11638 2015-02-23  Andreas Schwab  <schwab@suse.de>
11639
11640         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
11641
11642 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11643
11644         [BZ #17269]
11645         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
11646         (enlarge_userbuf): Likewise.
11647
11648 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
11649
11650         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
11651         * math/atest-exp.c (TIMEOUT): Adjust to 200.
11652         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
11653         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
11654
11655 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
11656
11657         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
11658         expression inside statement expression.
11659
11660 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11661
11662         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
11663         <sysdeps/nptl/lowlevellock.h> and remove macros and
11664         functions that are now defined there.
11665         (SYS_futex): Remove.
11666         (lll_compare_and_swap): Remove.
11667         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
11668
11669 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
11670
11671         [BZ #17999]
11672         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
11673         instead of scandirat.
11674         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
11675         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
11676         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
11677         __scandirat.
11678         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
11679         (__scandirat): Declare.  Use libc_hidden_proto.
11680         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
11681         Remove variable.
11682         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11683
11684 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11685
11686         [BZ #15319]
11687         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
11688         (MO): New macro.
11689         (__ieee754_atan2): For results with small absolute value, force
11690         underflow exception and remove excess range and precision from
11691         return value.
11692         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
11693         (MO): New macro.
11694         (__ieee754_atan2f): For results with small absolute value, force
11695         underflow exception and remove excess range and precision from
11696         return value.
11697         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
11698         (MO): New macro.
11699         (__atan): For results with small absolute value, force underflow
11700         exception and remove excess range and precision from return value.
11701         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
11702         (MO): New macro.
11703         (__atanf): For results with small absolute value, force underflow
11704         exception and remove excess range and precision from return value.
11705         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
11706         <math.h>.
11707         (__ieee754_atan2): Force underflow exception for results with
11708         small absolute value.
11709         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
11710         <math_private.h>.
11711         (atan): Force underflow exception for results with small absolute
11712         value.
11713         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
11714         (__atanf): Force underflow exception for results with small
11715         absolute value.
11716         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
11717         <math.h>.
11718         (__atanl): Force underflow exception for results with small
11719         absolute value.
11720         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
11721         (__atanl): Force underflow exception for results with small
11722         absolute value.
11723         * sysdeps/x86/fpu/bits/mathinline.h
11724         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
11725         (__ieee754_atan2): Only define inline for long double.
11726         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11727         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
11728         * math/auto-libm-test-in: Do not mark underflow exceptions as
11729         possibly missing for bug 15319.  Add more tests of atan2.
11730         * math/auto-libm-test-out: Regenerated.
11731         * math/libm-test.inc (casin_test_data): Do not mark underflow
11732         exceptions as possibly missing for bug 15319.
11733         (casinh_test_data): Likewise.
11734         * sysdeps/i386/fpu/libm-test-ulps: Update.
11735
11736 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
11737
11738         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
11739         * sysdeps/mips/bits/endian.h: Fix comments.
11740
11741 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11742
11743         [BZ #17996]
11744         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
11745         (hdestroy_r): Likewise.
11746         (hsearch_r): Likewise.
11747         (__hcreate_r): Declare and use libc_hidden_proto.
11748         (__hdestroy_r): Likewise.
11749         (__hsearch_r): Likewise.
11750         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
11751         (hcreate): Call __hcreate_r instead of hcreate_r.
11752         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
11753         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
11754         as weak alias of __hcreate_r.
11755         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
11756         __hdestroy_r.
11757         (hsearch_r): Rename to __hsearch_r and define as weak alias of
11758         __hsearch_r.
11759         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
11760         Remove variable.
11761         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11762         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11763         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11764         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11765
11766 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11767
11768         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
11769         arena_lock into a single arena_get.
11770
11771 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
11772
11773         * dl-reloc.c: Inlucde libc-internal.h.
11774         (_dl_try_allocate_static_tls): Call ALIGN_UP.
11775         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
11776         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
11777         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
11778         (grow_heap): Likewise.
11779         * malloc/malloc.c: Include libc-internal.h.
11780         (do_check_malloc): Call powerof2.
11781         (sysmalloc): Use pagesize. Call ALIGN_UP.
11782         (systrim): Use pagesize.
11783         (mremap_chunk): Use pagesize. Call ALIGN_UP.
11784         (__libc_valloc): Use pagesize.
11785         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
11786
11787 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
11788
11789         [BZ #17991]
11790         * include/sys/resource.h (__getrlimit64): Declare.  Use
11791         libc_hidden_proto.
11792         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
11793         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
11794         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
11795         getrlimit64.
11796         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
11797         __getrlimit64.
11798         [!getrlimit64] (getrlimit64): Define as weak alias of
11799         __getrlimit64.  Use libc_hidden_weak.
11800         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
11801         using __getrlimit64 not __new_getrlimit64.
11802         (__GI_getrlimit64): Likewise.
11803         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
11804         Likewise.
11805         (__GI_getrlimit64): Likewise.
11806         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
11807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
11808         (getrlimit): Add __getrlimit64 alias.
11809         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
11810         Likewise.
11811         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
11812         Remove variable.
11813         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11814         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11815
11816 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
11817
11818         * libio/fileops.c: Add missing sys/mman.h
11819         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
11820
11821 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
11822
11823         * manual/math.texi (Errors in Math Functions): Clarify goals
11824         regarding inexact and underflow exceptions.
11825
11826 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
11827
11828         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
11829         * sysdeps/mips/memset.S: Ditto.
11830
11831 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
11832
11833         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
11834
11835 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11836
11837         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
11838         (__v1longjmp): Remove versioned symbol.
11839         (__v1siglongjmp): Remove alias and versioned symbol.
11840         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
11841         (__v2siglongjmp): Likewise.
11842
11843 2015-02-16  Torvald Riegel  <triegel@redhat.com>
11844
11845         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
11846
11847 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
11848
11849         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
11850
11851 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
11852
11853         [BZ #17987]
11854         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
11855         zero result does not depend on the sign resulting from
11856         subtraction.
11857         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11858         Likewise.
11859         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11860         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11861         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11862         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11863         * math/libm-test.inc (remquo_test_data): Add more tests.
11864
11865 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
11866
11867         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
11868         Problem reported by J William Piggott.
11869
11870 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
11871
11872         [BZ #17978]
11873         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
11874         products 4 * y and 2 * y where those would overflow.
11875         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11876         Likewise.
11877         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11878         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11879         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11880         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11881         * math/libm-test.inc (remquo_test_data): Add more tests.
11882
11883         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
11884
11885         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
11886         [defined _COMPILING_NEWLIB].
11887         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
11888         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
11889
11890         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
11891         [!defined __mips_isa_rev || __mips_isa_rev < 6].
11892
11893 2015-02-16  Torvald Riegel  <triegel@redhat.com>
11894
11895         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
11896         acquired.
11897
11898 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
11899
11900         [BZ #17792]
11901         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
11902         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
11903         HOST_STACK_END_ADDR): Likewise.
11904
11905 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
11906
11907         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
11908         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
11909         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
11910
11911 2015-02-13  Roland McGrath  <roland@hack.frob.com>
11912
11913         * sysdeps/generic/c++-types.data: New file.
11914         * sysdeps/generic/ld.abilist: New file.
11915         * sysdeps/generic/libBrokenLocale.abilist: New file.
11916         * sysdeps/generic/libanl.abilist: New file.
11917         * sysdeps/generic/libc.abilist: New file.
11918         * sysdeps/generic/libcrypt.abilist: New file.
11919         * sysdeps/generic/libdl.abilist: New file.
11920         * sysdeps/generic/libm.abilist: New file.
11921         * sysdeps/generic/libpthread.abilist: New file.
11922         * sysdeps/generic/libresolv.abilist: New file.
11923         * sysdeps/generic/librt.abilist: New file.
11924
11925 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
11926
11927         [BZ #17569]
11928         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11929         Compute absolute value of x as modified by fmod, not original
11930         value of x.
11931         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
11932         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
11933         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
11934         RUN_TEST_ffI_f1_mod8.
11935         (remquo_test_data): Add more tests.
11936
11937 2015-02-13  Roland McGrath  <roland@hack.frob.com>
11938
11939         * sysdeps/init_array/pt-crti.S: New file.
11940
11941 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
11942
11943         [BZ #17967]
11944         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
11945         __builtin_fmaf instead of relying on contraction of a * b + c.
11946
11947 2015-02-12  J William Piggott  <elseifthen@gmx.com>
11948
11949         [BZ #17969]
11950         * manual/time.texi: correct the zoneinfo path in the TZ Variable
11951         node.
11952
11953 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
11954
11955         [BZ #17964]
11956         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
11957         __builtin_fma instead of relying on contraction of a * b + c.
11958
11959 2015-02-12  Roland McGrath  <roland@hack.frob.com>
11960
11961         * Makeconfig (ASFLAGS): Add -Werror=undef.
11962         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
11963         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
11964         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
11965
11966         * Makeconfig (after-link): New variable.
11967         (+link-pie, +link-pie-tests): Use it.
11968         (+link-static, +link-static-tests): Likewise.
11969         (+link, +link-tests): Likewise.
11970         * Makerules (build-module, build-module-asneeded): Likewise.
11971         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
11972         Likewise.
11973         * elf/Makefile ($(objpfx)ld.so): Likewise.
11974
11975 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
11976
11977         [BZ #17965]
11978         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
11979         both struct timeval and struct timespec.
11980
11981 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
11982
11983         [BZ #16560]
11984         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11985         and redefine.
11986         (__ieee754_exp2l): Do not multiply small fractional parts by
11987         M_LN2l.
11988         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
11989         small argument.
11990         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11991         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11992         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
11993         * math/auto-libm-test-in: Add more tests of exp2.
11994         * math/auto-libm-test-out: Regenerated.
11995
11996 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11997
11998         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
11999         unaligned path.
12000
12001 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12002
12003         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12004         little endian.
12005
12006 2015-02-12  Andreas Schwab  <schwab@suse.de>
12007
12008         [BZ #15790]
12009         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12010         Filter out elision flags from value returned in kind.
12011         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12012         * nptl/tst-pthread-mutexattr.c: New file.
12013
12014 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12015
12016         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12017         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12018         into gnu-gnu, and update comment to refer to abi-tags.
12019
12020 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12021
12022         [BZ #15467]
12023         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12024         (__sincos): Set errno to EDOM for infinite argument.
12025         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12026         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12027         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12028         (__sincosl): Set errno to EDOM for infinite argument.
12029         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12030         (__sincosl): Set errno to EDOM for infinite argument.
12031         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12032         (__sincosl): Set errno to EDOM for infinite argument.
12033         * math/libm-test.inc (sincos_test_data): Test errno setting.
12034
12035 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12036
12037         * string/strxfrm_l.c: Remove #define STRCMP.
12038         * string/strcoll_l.c: Remove #define STRLEN.
12039         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12040         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12041
12042 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12043
12044         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12045         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12046         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12047         * sysdeps/mips/mips64/Makefile: ... here.
12048         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12049         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12050         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12051         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12052         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12053         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12054         * sysdeps/mips/mips64/n64/Implies: Likewise.
12055
12056 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12057
12058         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12059         <sys/time.h>, <string.h>, and <errno.h>.
12060         (dest_offset, dest_address, value, zero): Remove unused variables.
12061         (ldouble): Remove typedef.
12062         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12063         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12064         1).  Fix code style.
12065         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12066         (check): Function removed.
12067         (CHECK): New macro.
12068         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12069         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12070         Don't call set_sigaction_FP and remove_sigaction_FP here.
12071         (ldouble_test): Just use 'long double' as macro argument, no need for
12072         the 'ldouble' typedef.
12073         (do_test): Set up SIGFPE handler at start, using plain signal rather
12074         than sigaction.  Fix code style.
12075
12076 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12077
12078         [BZ #17949]
12079         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12080         jump label.
12081
12082 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12083
12084         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12085         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12086
12087         * sysdeps/powerpc/configure.ac: Remove file.
12088         * sysdeps/powerpc/configure: Likewise.
12089
12090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12091         [sysdep_routines]: Remove wordcopy-power6 object.
12092         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12093         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12094         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12095         (__memmove_ppc32): Likewise.
12096         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12097         file.
12098         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12099         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12100         Remove preprocessor.
12101
12102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12103         [sysdep_routines]: Remove wide chars objects.
12104         [wcsmbs]: New rule for wide char objects.
12105
12106         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12107         Remove wordcopy-power6 obejct.
12108         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12109         Use local call for wordcopy and memcpy symbols.
12110         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12111         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12112         implementation for loader.
12113         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12114
12115         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12116         Remove wordcopy-power7 object.
12117         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12118         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12119         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12120         (_wordcopy_fwd_dest_aligned): Likewise.
12121         (_wordcopy_bwd_aligned): Likewise.
12122         (_wordcopy_bwd_dest_aligned): Likewise.
12123
12124         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12125         Rewrite to call __memmove_ppc instead of include default
12126         implementation.
12127
12128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12129         Remove wide chars objects.
12130         [wcsmbs]: New rule for wide char objects.
12131
12132 2015-02-09  Andreas Schwab  <schwab@suse.de>
12133
12134         [BZ #17912]
12135         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12136         in terms of __O_DIRECTORY.
12137
12138 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12139
12140         * time/getdate.c: Include <stdbool.h>.
12141         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12142         call PTR_MANGLE.
12143         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12144         PTR_DEMANGLE.
12145
12146 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12147
12148         Add ersatz _Static_assert on older C hosts
12149         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12150         pre-C11 C platform that is not known to support _Static_assert.
12151
12152 2015-02-07  Richard Braun  <rbraun@sceen.net>
12153
12154         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12155         sigstate.
12156         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12157
12158 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12159
12160         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12161         priority against unexistent AIO_PRIO_DELTA_MAX.
12162         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12163         instead of int.
12164         * misc/fchflags.c (fchflags): Likewise.
12165         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12166         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12167         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12168         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12169         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12170         Declare macros.
12171         [__USE_MISC] (chflags, fchflags): Declare functions.
12172         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12173         EINVAL when nfds is greater than FD_SETSIZE.
12174         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12175         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12176         45.
12177         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12178         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
12179         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
12180         MACH_RCV_TIMED_OUT.
12181         * hurd/hurd/signal.h (_hurd_self_sigstate,
12182         _hurd_critical_section_lock, _hurd_critical_section_unlock):
12183         Explicit casts from void *.
12184         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
12185         * abi-tags: Rename gnu-gnu os into gnu.
12186
12187         [BZ #4719]
12188         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
12189         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
12190         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
12191         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
12192         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
12193         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
12194
12195         [BZ #17944]
12196         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
12197         duplicates ADDR->sun_path with sockaddr LEN limitation.
12198         * sysdeps/mach/hurd/connect.c: Include <string.h>
12199         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
12200         * sysdeps/mach/hurd/sendmsg.c: Likewise.
12201         * sysdeps/mach/hurd/sendto.c: Likewise.
12202         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
12203         implementing it by hand.
12204
12205 2015-02-06  Roland McGrath  <roland@hack.frob.com>
12206
12207         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
12208         Use sfi_breg on ldr.
12209         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
12210         Likewise.
12211
12212         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
12213         it's defined.
12214         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
12215         Test SIGSETXID only if it's defined.
12216
12217         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
12218
12219         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
12220         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
12221
12222         * nptl/tst-align2.c: Moved ...
12223         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
12224         * nptl/Makefile (tests): Remove tst-align2.
12225         * sysdeps/unix/sysv/linux/Makefile
12226         [$(subdir) = nptl] (tests): Add tst-align-clone.
12227         * nptl/tst-getpid1.c: Moved ...
12228         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
12229         * nptl/tst-getpid2.c: Moved ...
12230         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
12231         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
12232         * sysdeps/unix/sysv/linux/Makefile
12233         [$(subdir) = nptl] (tests): ... here.
12234         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
12235         * sysdeps/unix/sysv/linux/Makefile
12236         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
12237
12238         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
12239         Drop trailing \n from perror argument.  Use return rather than exit.
12240
12241         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
12242         on [SA_SIGINFO].
12243         * nptl/tst-cancel21.c (do_test): Likewise.
12244         * debug/tst-backtrace6.c: Include <signal.h> first thing.
12245         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
12246         [!SA_SIGINFO]: Make it a stub test.
12247
12248         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
12249         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
12250
12251         * posix/tst-getlogin.c: Move to ...
12252         * login/tst-getlogin.c: ... here.
12253         * posix/Makefile (tests): Move tst-getlogin to ...
12254         * login/Makefile (tests): ... here.
12255
12256         * libio/tst-atime.c (do_test): Move local variables SV and E
12257         inside [ST_NOATIME] conditional.
12258
12259         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
12260
12261         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
12262
12263         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
12264         (wait_code): New function replaces macro.
12265         Call nanosleep rather than syscall.
12266
12267         * nptl/pt-system.c: Rewritten.  Put everything under
12268         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12269         Use IFUNC to redirect when possible.
12270
12271         * nptl/pt-longjmp.c: Rewritten.  Put everything under
12272         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12273         Use IFUNC to redirect when possible.
12274
12275         * nptl/pt-fork.c: Rewritten.  Put everything under
12276         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12277         Use IFUNC to redirect when possible.
12278         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
12279
12280         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
12281         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
12282         unconditionally nowadays.  This included the only reference to
12283         __vdso_clock_gettime that appears outside libc proper.
12284         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
12285         Remove version set (containing only __vdso_clock_gettime).
12286         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12287         Add attribute_hidden.
12288         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12289         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
12290         libc_hidden_data_def.
12291         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12292         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12293
12294         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
12295         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
12296         setrpcent, and getrpcport to ...
12297         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
12298         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
12299         getrpcbynumber_r, and getrpcent_r to ...
12300         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
12301         * inet/getrpcbyname.c: Moved ...
12302         * sunrpc/getrpcbyname.c: ... here.
12303         * inet/getrpcbyname_r.c: Moved ...
12304         * sunrpc/getrpcbyname_r.c: ... here.
12305         * inet/getrpcbynumber.c: Moved ...
12306         * sunrpc/getrpcbynumber.c: ... here.
12307         * inet/getrpcbynumber_r.c: Moved ...
12308         * sunrpc/getrpcbynumber_r.c: ... here.
12309         * inet/getrpcent.c: Moved ...
12310         * sunrpc/getrpcent.c: ... here.
12311         * inet/getrpcent_r.c: Moved ...
12312         * sunrpc/getrpcent_r.c: ... here.
12313         * inet/Makefile (routines): Move those to ...
12314         * sunrpc/Makefile (routines): ... here.
12315         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
12316         the $(subdirs) list.
12317         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
12318         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
12319         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
12320         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
12321
12322         * elf/Makefile (routines): Include $(all-dl-routines), not just
12323         $(dl-routines).
12324         (rtld-routines): Likewise.  Use = rather than :=.
12325         * sysdeps/aarch64/Makefile [$(subdir) = elf]
12326         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
12327         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
12328         * sysdeps/arm/Makefile: Likewise.
12329         * sysdeps/i386/Makefile: Likewise.
12330         * sysdeps/x86_64/Makefile: Likewise.
12331         * sysdeps/hppa/Makefile [$(subdir) = elf]
12332         (sysdep_routines, sysdep-rtld-routines): Don't add
12333         $(sysdep-dl-routines) to these.
12334         * sysdeps/ia64/Makefile: Likewise.
12335         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
12336         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
12337         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
12338         Don't add dl-static to these; sysdep-dl-routines alone is enough.
12339         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
12340         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
12341         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
12342         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
12343         * sysdeps/powerpc/Makefile [$(subdir) = elf]
12344         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
12345         these; sysdep-dl-routines alone is enough.
12346
12347 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
12348
12349         [BZ #17932]
12350         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
12351         where multiplication results in zero and third argument is finite
12352         and nonzero.
12353         * math/auto-libm-test-in: Add more tests of fma.
12354         * math/auto-libm-test-out: Regenerated.
12355
12356         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
12357         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12358         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
12359         (_FP_CMP_EQ): Likewise.
12360         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
12361
12362         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
12363         extra argument CHECK_NAN.  Redefine as wrapper around
12364         _FP_EXTEND_CNAN.
12365
12366 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
12367
12368         * version.h (RELEASE): Set to "stable".
12369         (VERSION): Set to "2.21"
12370         * include/features.h (__GLIBC_MINOR__): Set to 21.
12371
12372         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
12373
12374 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12375             Paul Eggert  <eggert@cs.ucla.edu>
12376
12377         [BZ #16618]
12378         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
12379         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
12380         size in bytes. Store needed elements in wpmax. Use needed size
12381         in bytes for extend_alloca.
12382
12383 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
12384
12385         * manual/install.texi: Latest tested versions are GCC 4.9.2,
12386         binutls 2.25, and texinfo 5.2.
12387         * INSTALL: Regenerate.
12388         * sysdeps/nios2/configure: Regenerate.
12389         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
12390         * manual/contrib.texi: Update.
12391         * po/be.po: Update.
12392         * po/bg.po: Update.
12393         * po/ca.po: Update.
12394         * po/cs.po: Update.
12395         * po/da.po: Update.
12396         * po/de.po: Update.
12397         * po/el.po: Update.
12398         * po/eo.po: Update.
12399         * po/es.po: Update.
12400         * po/fi.po: Update.
12401         * po/fr.po: Update.
12402         * po/gl.po: Update.
12403         * po/hr.po: Update.
12404         * po/hu.po: Update.
12405         * po/ia.po: Update.
12406         * po/id.po: Update.
12407         * po/it.po: Update.
12408         * po/ja.po: Update.
12409         * po/ko.po: Update.
12410         * po/lt.po: Update.
12411         * po/nb.po: Update.
12412         * po/nl.po: Update.
12413         * po/pl.po: Update.
12414         * po/pt_BR.po: Update.
12415         * po/ru.po: Update.
12416         * po/rw.po: Update.
12417         * po/sk.po: Update.
12418         * po/sl.po: Update.
12419         * po/sv.po: Update.
12420         * po/tr.po: Update.
12421         * po/uk.po: Update.
12422         * po/vi.po: Update.
12423         * po/zh_CN.po: Update.
12424         * po/zh_TW.po: Update.
12425
12426         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
12427         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
12428         * sysdeps/hppa/dl-irel.h: Remove #warning.
12429         * sysdeps/hppa/entry.h: Provide prototype for
12430         __canonicalize_funcptr_for_compare and cast argument.
12431         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
12432         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
12433         * sysdeps/hppa/sotruss-lib.c: New file.
12434         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12435         (atomic_compare_and_exchange_val_acq): Use __typeof__.
12436         (atomic_compare_and_exchange_bool_acq): Likewise.
12437         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
12438         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
12439
12440         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
12441         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
12442         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
12443
12444 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
12445
12446         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
12447         called function in non-PIC case.
12448
12449 2015-01-31  David S. Miller  <davem@davemloft.net>
12450
12451         * sysdeps/sparc/sparc32/bits/atomic.h
12452         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
12453         unlock not after it.
12454         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12455         volatile register usage warnings from the compiler.
12456
12457         * sysdeps/sparc/nptl/sem_init.c: Delete.
12458         * sysdeps/sparc/nptl/sem_post.c: Delete.
12459         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
12460         * sysdeps/sparc/nptl/sem_wait.c: Delete.
12461         * sysdeps/sparc/sparc32/sem_init.c: New file.
12462         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
12463         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
12464         padding explicitly initialized.
12465         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
12466         padding for in-semaphore spinlock.
12467         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
12468         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
12469         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
12470         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
12471         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
12472         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
12473         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
12474         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
12475         version.
12476         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
12477         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
12478
12479 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
12480
12481         [BZ #17801]
12482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12483         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
12484         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
12485         New.
12486         (index_AVX_Fast_Unaligned_Load): Likewise.
12487         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
12488         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
12489         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
12490         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
12491         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
12492         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
12493         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
12494         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
12495         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
12496
12497 2015-01-29  Andreas Schwab  <schwab@suse.de>
12498
12499         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
12500
12501 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
12502
12503         [BZ #17892]
12504         * nscd/nscd_stat.c (send_stats): Initialize DATA.
12505
12506 2015-01-28  Martin Sebor  <msebor@redhat.com>
12507
12508         * math/README.libm-test: Clarify. Add "How to read the test output."
12509
12510 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
12511
12512         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
12513         Define to 0.
12514
12515 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
12516
12517         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
12518         (__HAVE_64B_ATOMICS): Define to 0.
12519
12520 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12521
12522         [BZ #17885]
12523         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
12524         value to set as new flag.
12525
12526         [BZ #16576]
12527         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
12528         and use _ARCH_PPCSQ instead.
12529         (__ieee754_sqrt): Likewise.
12530         (__ieee754_sqrtf): Likewise.
12531         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
12532         _ARCH_PPCSQ is defined.
12533         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
12534         fsqrt instruction.
12535         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
12536         _ARCH_PPCSQ is defined.
12537         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
12538         fsqrts instruction.
12539         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
12540
12541 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12542
12543         * iconv/loop.c: Suppress array out of bound warning caused by GCC
12544         bug (GCC BZ #64739).
12545
12546 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
12547
12548         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
12549         Mark _retval as used.
12550         (lll_futex_wake_unlock): Likewise.
12551         (lll_futex_timed_wait_requeue_pi): Likewise.
12552
12553         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12554         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
12555         register variables.
12556
12557         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
12558         libm_hidden_def.
12559
12560         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
12561         (__bswap_64): Mark as __always_inline.
12562
12563 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
12564
12565         [BZ #15378]
12566         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
12567         when none of the search directories exist.
12568
12569 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12570
12571         [BZ #17869]
12572         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
12573         power8 in .machine directive.
12574
12575         [BZ #17868]
12576         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
12577         set dependency from opd value.
12578
12579 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12580
12581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12582         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
12583         architecture.
12584
12585 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12586
12587         [BZ #17870]
12588         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
12589         with uint64_t.
12590         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
12591         (uint64_t) 1.
12592         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
12593         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
12594         Replace 1UL with (uint64_t) 1.
12595         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
12596         int with uint64_t.
12597
12598 2015-01-23  Roland McGrath  <roland@hack.frob.com>
12599
12600         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
12601         (if_freenameindex): Likewise.
12602
12603         * resource/getrlimit64.c: Add missing libc_hidden_def.
12604
12605 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
12606
12607         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
12608         __label__.
12609         (_FP_FMA): Likewise.
12610         (_FP_TO_INT_ROUND): Likewise.
12611         (_FP_FROM_INT): Likewise.
12612
12613 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12614
12615         [BZ #16418]
12616         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12617         Make code racy and cancel safe.
12618
12619 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
12620
12621         * sysdeps/arm/unwind-resume.h: Fix copyright year.
12622         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
12623         attribution.
12624
12625         * pwd/tst-getpw.c: Rewrite.
12626
12627         [BZ #17702]
12628         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
12629         (modules-names): Add moddummy1 and moddummy2.
12630         ($(objpfx)tst-rec-dlopen): Define.
12631         * dlfcn/moddummy1.c: New file.
12632         * dlfcn/moddummy2.c: New file.
12633         * dlfcn/tst-rec-dlopen.c: New file.
12634         * elf/dl-cache.c (_dl_load_cache_lookup):
12635         Return char*. Copy result with alloca/strcpy/strdup.
12636         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
12637         returns char*. Free cached. If not saving realname
12638         free cached.
12639         * elf/dl-open.c (dl_open_worker): Do not assert that
12640         _r_debug->r_state is RT_CONSISTENT.
12641         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
12642         returns char*.
12643
12644 2015-01-21  Torvald Riegel  <triegel@redhat.com>
12645             Carlos O'Donell  <carlos@redhat.com>
12646
12647         [BZ #12674]
12648         * nptl/sem_waitcommon.c: New file.
12649         * nptl/sem_wait.c: Include sem_waitcommon.c.
12650         (__sem_wait_cleanup, do_futex_wait): Remove.
12651         (__new_sem_wait): Adapt.
12652         (__new_sem_trywait): New function.
12653         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
12654         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
12655         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
12656         (sem_timedwait): Adapt.
12657         * nptl/sem_post.c (__new_sem_post): Adapt.
12658         (futex_wake): New function.
12659         (__old_sem_post): Add release MO fence.
12660         * nptl/sem_open.c (sem_open): Adapt.
12661         * nptl/sem_init.c (__new_sem_init): Adapt.
12662         (futex_private_if_supported): New function.
12663         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
12664         (__old_sem_getvalue): Add using previous code.
12665         * sysdeps/nptl/internaltypes.h: Adapt.
12666         * nptl/tst-sem13.c (do_test): Adapt.
12667         * nptl/tst-sem11.c (main): Adapt.
12668         * nptl/sem_trywait.c: Remove.
12669         * nptl/DESIGN-sem.txt: Remove.
12670         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
12671         (gen-as-const-headers): Remove structsem.sym.
12672         * nptl/structsem.sym: Remove.
12673         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
12674         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
12675         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
12676         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
12677         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
12678         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
12679         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
12680         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
12681         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
12682         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
12683         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
12684         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
12685         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
12686         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
12687         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
12688         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
12689         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
12690         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
12691         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
12692         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
12693         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
12694         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
12695
12696 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
12697
12698         * INSTALL: Regenerated.
12699
12700         * po/libc.pot: Regenerated.
12701
12702 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
12703             Sandra Loosemore  <sandra@codesourcery.com>
12704             Andrew Jenner  <andrew@codesourcery.com>
12705             Joseph Myers  <joseph@codesourcery.com>
12706             Nathan Sidwell  <nathan@codesourcery.com>
12707
12708         * NEWS: Mention new Nios II port.
12709         * sysdeps/nios2/Implies: New file.
12710         * sysdeps/nios2/Makefile: New file.
12711         * sysdeps/nios2/Subdirs: New file.
12712         * sysdeps/nios2/Versions: New file.
12713         * sysdeps/nios2/__longjmp.S: New file.
12714         * sysdeps/nios2/abort-instr.h: New file.
12715         * sysdeps/nios2/backtrace.c: New file.
12716         * sysdeps/nios2/bits/endian.h: New file.
12717         * sysdeps/nios2/bits/fenv.h: New file.
12718         * sysdeps/nios2/bits/link.h: New file.
12719         * sysdeps/nios2/bits/setjmp.h: New file.
12720         * sysdeps/nios2/bsd-_setjmp.S: New file.
12721         * sysdeps/nios2/bsd-setjmp.S: New file.
12722         * sysdeps/nios2/configure: New generated file.
12723         * sysdeps/nios2/configure.ac: New file.
12724         * sysdeps/nios2/crti.S: New file.
12725         * sysdeps/nios2/crtn.S: New file.
12726         * sysdeps/nios2/dl-init.c: New file.
12727         * sysdeps/nios2/dl-machine.h: New file.
12728         * sysdeps/nios2/dl-sysdep.h: New file.
12729         * sysdeps/nios2/dl-tls.h: New file.
12730         * sysdeps/nios2/dl-trampoline.S: New file.
12731         * sysdeps/nios2/gccframe.h: New file.
12732         * sysdeps/nios2/gmp-mparam.h: New file.
12733         * sysdeps/nios2/jmpbuf-offsets.h: New file.
12734         * sysdeps/nios2/jmpbuf-unwind.h: New file.
12735         * sysdeps/nios2/ldsodefs.h: New file.
12736         * sysdeps/nios2/libc-tls.c: New file.
12737         * sysdeps/nios2/libm-test-ulps: New file.
12738         * sysdeps/nios2/machine-gmon.h: New file.
12739         * sysdeps/nios2/math-tests.h: New file.
12740         * sysdeps/nios2/math_private.h: New file.
12741         * sysdeps/nios2/memusage.h: New file.
12742         * sysdeps/nios2/nptl/Makefile: New file.
12743         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
12744         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
12745         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
12746         * sysdeps/nios2/nptl/pthreaddef.h: New file.
12747         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
12748         * sysdeps/nios2/nptl/tls.h: New file.
12749         * sysdeps/nios2/preconfigure: New file.
12750         * sysdeps/nios2/s_fma.c: New file.
12751         * sysdeps/nios2/s_fmaf.c: New file.
12752         * sysdeps/nios2/setjmp.S: New file.
12753         * sysdeps/nios2/sfp-machine.h: New file.
12754         * sysdeps/nios2/sotruss-lib.c: New file.
12755         * sysdeps/nios2/stackguard-macros.h: New file.
12756         * sysdeps/nios2/stackinfo.h: New file.
12757         * sysdeps/nios2/start.S: New file.
12758         * sysdeps/nios2/sysdep.h: New file.
12759         * sysdeps/nios2/tls-macros.h: New file.
12760         * sysdeps/nios2/tst-audit.h: New file.
12761         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
12762         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
12763         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
12764         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
12765         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
12766         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
12767         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
12768         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
12769         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
12770         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
12771         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
12772         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
12773         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
12774         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
12775         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
12776         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
12777         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
12778         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
12779         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
12780         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
12781         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
12782         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
12783         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
12784         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
12785         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
12786         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
12787         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
12788         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
12789         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
12790         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
12791         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
12792         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
12793         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
12794         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
12795         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
12796         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
12797         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
12798         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
12799         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
12800         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
12801         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
12802         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
12803         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
12804         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
12805
12806 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12807
12808         [BZ #17844]
12809         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
12810         (getutent): Use weak_alias in non SHARED case
12811         and default_symbol_version in SHARED case.
12812         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
12813         (getutent_r, pututline): Likewise.
12814         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
12815         (getutid): Likewise.
12816         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
12817         (getutid_r): Likewise.
12818         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
12819         (getutline): Likewise.
12820         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
12821         (getutline_r): Likewise.
12822         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
12823         (updwtmp): Likewise.
12824
12825 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12826
12827         [BZ #17848]
12828         * sysdeps/s390/s390-32/memcmp.S
12829         (memcmp_g5): Rename to __memcmp_g5.
12830         * sysdeps/s390/s390-32/memcpy.S
12831         (memcpy_g5): Rename to __memcpy_g5.
12832         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12833         (memcpy_mvcle) Rename to __memcpy_mvcle.
12834         * sysdeps/s390/s390-32/memset.S
12835         (memset_g5): Rename to __memset_g5.
12836         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12837         (IFUNC_RESOLVE): Prefix ifunc-resolve function
12838         and use prefixed functions.
12839         * sysdeps/s390/s390-32/multiarch/memcmp.S
12840         (memcmp_z196): Rename to __memcmp_z196.
12841         (memcmp_z10): Rename to __memcmp_z10.
12842         (memcmp): Set alias to __memcmp_g5.
12843         (bcmp): Set alias to __memcmp_g5.
12844         * sysdeps/s390/s390-32/multiarch/memcpy.S
12845         (memcpy_z196): Rename to __memcpy_z196.
12846         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12847         (memcpy_z10): Rename to __memcpy_z10.
12848         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12849         (memcpy): Set alias to __memcpy_g5.
12850         * sysdeps/s390/s390-32/multiarch/memset.S
12851         (memset_z196): Rename to __memset_z196.
12852         Jump to __memset_mvcle instead of memset_mvcle.
12853         (memset_z10): Rename to __memset_z10.
12854         Jump to __memset_mvcle instead of memset_mvcle.
12855         (memset_mvcle) Rename to __memset_mvcle.
12856         (memset): Set alias to __memset_g5.
12857         * sysdeps/s390/s390-64/memcmp.S
12858         (memcmp_z900): Rename to __memcmp_z900.
12859         * sysdeps/s390/s390-64/memcpy.S
12860         (memcpy_z900): Rename to __memcpy_z900.
12861         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12862         (memcpy_mvcle) Rename to __memcpy_mvcle.
12863         * sysdeps/s390/s390-64/memset.S
12864         (memset_z900): Rename to __memset_z900.
12865         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
12866         (IFUNC_RESOLVE): Prefix ifunc-resolve function
12867         and use prefixed functions.
12868         * sysdeps/s390/s390-64/multiarch/memcmp.S
12869         (memcmp_z196): Rename to __memcmp_z196.
12870         (memcmp_z10): Rename to __memcmp_z10.
12871         (memcmp): Set alias to __memcmp_z900.
12872         (bcmp): Set alias to __memcmp_z900.
12873         * sysdeps/s390/s390-64/multiarch/memcpy.S
12874         (memcpy_z196): Rename to __memcpy_z196.
12875         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12876         (memcpy_z10): Rename to __memcpy_z10.
12877         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12878         (memcpy): Set alias to __memcpy_z900.
12879         * sysdeps/s390/s390-64/multiarch/memset.S
12880         (memset_z196): Rename to __memset_z196.
12881         Jump to __memset_mvcle instead of memset_mvcle.
12882         (memset_z10): Rename to __memset_z10.
12883         Jump to __memset_mvcle instead of memset_mvcle.
12884         (memset_mvcle) Rename to __memset_mvcle.
12885         (memset): Set alias to __memset_z900.
12886
12887 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
12888
12889         [BZ #17748]
12890         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
12891         __fesetenv instead of fesetenv.
12892
12893 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12894
12895         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
12896         macro.
12897
12898 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12899
12900         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
12901         regression on LE.
12902
12903         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
12904         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
12905         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12906         strncmp-power8 object.
12907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12908         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
12909         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
12910         * NEWS: Update.
12911
12912 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12913             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12914
12915         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
12916         trailing byte check.
12917
12918 2015-01-13  David S. Miller  <davem@davemloft.net>
12919
12920         * include/signal.h (__sigreturn): Guard with __USE_MISC.
12921
12922 2015-01-13  Roland McGrath  <roland@hack.frob.com>
12923
12924         * login/logout.c (logout): Use memset rather than bzero.
12925         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
12926         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
12927         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
12928         (_gethtbyaddr): Likewise.
12929         * locale/programs/simple-hash.c (bcopy): Macro removed.
12930
12931 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12932
12933         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12934         Add strcmp-power8 object.
12935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12936         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
12937         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
12938         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
12939         __strcmp_power8 implementation.
12940         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
12941         * NEWS: Update.
12942
12943         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12944         Add strncpy-power8 and stpncpy-power8 objects.
12945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12946         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
12947         implementations.
12948         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
12949         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
12950         __stpncpy_power8 implementation.
12951         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
12952         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
12953         __strncpy_power8 implementation.
12954         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
12955         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
12956         * NEWS: Update.
12957
12958         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
12959         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
12960         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
12961
12962         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12963         strncat-power8 object.
12964         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
12965         __strcat_power8 implementation.
12966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12967         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
12968         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
12969         optimized strcat for power8.
12970
12971         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12972         strcpy-power8 and stpcpy-power8 objects.
12973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12974         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
12975         implementations.
12976         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
12977         multiarch stpcpy implementation for POWER8.
12978         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
12979         multiarch strcpy implementation for POWER8.
12980         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
12981         __strcpy_power8 function.
12982         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
12983         stpcpy for POWER8.
12984         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
12985         strcpy for POWER8.
12986         * NEWS: Update.
12987
12988 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
12989
12990         [BZ #16009]
12991         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
12992         weights and rules. Use do_xfrm_cached if data fits in cache,
12993         do_xfrm otherwise.  Moved former main loop to...
12994         * (do_xfrm_cached): New function.
12995         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
12996         find_idx, find_position and stack_push.
12997         * (find_idx): New function.
12998         * (find_position): Likewise.
12999         * localedata/sort-test.sh: Added test run for do_xfrm.
13000         * localedata/xfrm-test.c (main): Added command line option
13001         -nocache to run the test with strings that are too large for
13002         the STRXFRM cache.
13003
13004 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13005
13006         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13007         variable to lll_futex_wake call, not the value itself.
13008
13009 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13010
13011         [BZ #17803]
13012         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13013         twom64.  Adjust value to 0x1p-64L.
13014         (__scalblnl): Only return standard underflowing result for K <=
13015         -64 not K <= -63; adjust exponent for underflowing result by 64
13016         not 63.
13017         * math/libm-test.inc (scalbn_test_data): Add more tests.
13018         (scalbln_test_data): Likewise.
13019
13020         [BZ #17834]
13021         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13022         0x1p63L.
13023         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13024         not HX.
13025         * math/libm-test.inc (scalbn_test_data): Add more tests.
13026         (scalbln_test_data): Likewise.
13027
13028 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13029             Stefani Seibold  <stefani@seibold.net>
13030
13031         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13032         (sysdep_routines): Add dl-vdso here, ...
13033         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13034         (sysdep_routines): ... not here.
13035         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13036         fallback when vDSO is not presented.
13037         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13038         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13039         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13040         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13041         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13042         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13043         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13044         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13045         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13046         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13047         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13048         fallback configurable symbol when vDSO is not available.
13049         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13050         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13051         be able to redefine fallback symbol when vDSO is not available.
13052         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13053         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13054
13055 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13056
13057         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13058         (TLS_INIT_TP): Add tm_capable initialization.
13059         (TLS_DEFINE_INIT_TP): Likewise.
13060         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13061         TCB.
13062         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13063         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13064         calculation.
13065         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13066         transactoion is lock elision is built and TCB tm_capable is set.
13067         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13069         (INTERNAL_SYSCALL_NCS): Likewise.
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13071         (INTERNAL_SYSCALL_NCS): Likewise.
13072         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13073
13074         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13075         for powerpc.
13076         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13077         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13078         and remove it for 32 bits case.
13079         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13081         initialization.
13082         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13083         Disable lock elision with rdlocks if elision is not available.
13084
13085         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13086         (sysdep_routines): Add lock elision objects.
13087         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13088         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13089         [pthread_mutex_t] (__elision): Add field.
13090         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13091         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13092         elision definitions for powerpc.
13093         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13094         implementation of lock elision for powerpc.
13095         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13096         implementation of timed lock elision for powerpc.
13097         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13098         implementation of trylock with lock elision for powerpc.
13099         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13100         implementaion of unlock for lock elision for powerpc.
13101         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13102         automatic enable lock elision for mutexes.
13103         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13104         transaction execution definitions for powerpc.
13105         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13106         definitions.
13107         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13108         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13109         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13110         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13111         * NEWS: Update.
13112
13113 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13114
13115         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13116         for #include of <shm-directory.h>.
13117
13118 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13119
13120         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13121         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13122
13123 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13124
13125         [BZ #17791]
13126         * NEWS: Mention bug fix.
13127         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13128         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13129         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13130
13131 2015-01-09  Torvald Riegel <triegel@redhat.com>
13132
13133         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13134
13135 2015-01-09  Torvald Riegel <triegel@redhat.com>
13136
13137         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13138
13139 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13140
13141         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13142         pointer and cast to uintptr_t.
13143
13144 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13145
13146         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13147         removed.
13148         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13149
13150 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13151
13152         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13153         of 0.
13154
13155 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13156
13157         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13158         <nptl/pthreadP.h> instead.
13159         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13160
13161         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13162         already defined.
13163         [__SIGRTMIN] (init): Function removed.
13164         [__SIGRTMIN] (initialized): Variable removed.
13165         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13166         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13167         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13168         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13169         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13170         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13171         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13172         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13173         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13174         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13175         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13176         * sysdeps/nptl/allocrtsig.c: New file.
13177         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13178         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
13179         * sysdeps/generic/testrtsig.h: File removed.
13180
13181         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
13182         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
13183
13184         * nptl/nptl-init.c (pthread_functions): Conditionalize
13185         .ptr__nptl_setxid initialization on [SIGSETXID].
13186
13187         * sysdeps/nptl/sys/procfs.h: New file.
13188         * nptl_db/Makefile (headers): Add it.
13189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
13190
13191         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
13192         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
13193         * nptl/pthread_attr_setaffinity.c: Include it.
13194         * nptl/pthread_setattr_default_np.c: Likewise.
13195         * nptl/check-cpuset.h: New file.
13196
13197 2015-01-08  Richard Henderson  <rth@redhat.com>
13198
13199         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
13200         (CFLAGS-tst-execstack-prog.c): Likewise.
13201         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
13202
13203 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
13204             Sandra Loosemore  <sandra@codesourcery.com>
13205             Andrew Jenner  <andrew@codesourcery.com>
13206             Joseph Myers  <joseph@codesourcery.com>
13207             Nathan Sidwell  <nathan@codesourcery.com>
13208
13209         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
13210         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
13211         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
13212         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
13213         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
13214         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13215         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
13216         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
13217         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
13218         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
13219         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
13220         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
13221         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
13222         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
13223         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
13224         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
13225         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
13226
13227 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13228
13229         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
13230         timespec struct member in syscall macro.
13231         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13232         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
13233         first timeval struct member in syscall macro.
13234         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
13235
13236 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
13237
13238         [BZ #17748]
13239         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
13240         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
13241         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
13242         __feupdateenv and define as weak alias of __feupdateenv.  Use
13243         libm_hidden_weak.
13244         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
13245         libm_hidden_def.
13246         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
13247         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
13248         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13249         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
13250         libm_hidden_def.
13251         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
13252         __feupdateenv and define as weak alias of __feupdateenv.  Use
13253         libm_hidden_weak.
13254         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
13255         libm_hidden_def.
13256         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
13257         __feupdateenv and define as weak alias of __feupdateenv.  Use
13258         libm_hidden_weak.
13259         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
13260         libm_hidden_def.
13261         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13262         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13263         (__feupdateenv): Likewise.
13264         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
13265         __feupdateenv and define as weak alias of __feupdateenv.  Use
13266         libm_hidden_weak.
13267         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13268         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
13269         libm_hidden_def.
13270         * sysdeps/tile/math_private.h (__feupdateenv): New inline
13271         function.
13272         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
13273         libm_hidden_def.
13274         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
13275         __feupdateenv instead of feupdateenv.
13276         (default_libc_feupdateenv_test): Likewise.
13277         (libc_feresetround_ctx): Likewise.
13278
13279 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13280
13281         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
13282         prototype.
13283
13284 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
13285
13286         * posix/regcomp.c (parse_bracket_exp): Initialize type to
13287         COLL_SYM in a couple of places to avoid uninitialized variable
13288         wanings on tilegx gcc 4.8.2.
13289
13290 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13291
13292         * sysdeps/aarch64/strcpy.S: New file.
13293         * sysdeps/aarch64/stpcpy.S: New file.
13294         * NEWS: Updated.
13295
13296 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13297
13298         * sysdeps/aarch64/strrchr.S: New file.
13299         * NEWS: Updated.
13300
13301 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
13302
13303         [BZ #17658]
13304         * stdlib/setenv.c: Fix memory leak when setting large,
13305         duplicate string.
13306
13307 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
13308
13309         [BZ #17273]
13310         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
13311         and tabs from buffer before parsing fstab entry.
13312         * misc/tst-mntent.c (main): Add test for mount entry with
13313         trailing spaces and tabs.
13314
13315 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
13316
13317         [BZ #17748]
13318         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
13319         * math/fesetround.c (fesetround): Rename to __fesetround and
13320         define as weak alias of __fesetround.  Use libm_hidden_weak.
13321         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
13322         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
13323         * sysdeps/arm/fesetround.c (fesetround): Likewise.
13324         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
13325         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
13326         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
13327         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
13328         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
13329         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
13330         __fesetround_inline.
13331         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
13332         __fesetround_inline instead of __fesetround.
13333         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
13334         __fesetround and define as weak alias of __fesetround.  Use
13335         libm_hidden_weak.  Call __fesetround_inline instead of
13336         __fesetround.
13337         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
13338         __fesetround and define as weak alias of __fesetround.  Use
13339         libm_hidden_weak.
13340         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
13341         Likewise.
13342         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
13343         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13344         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
13345         * sysdeps/tile/math_private.h (__fesetround): New inline function.
13346         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
13347         __fesetround and define as weak alias of __fesetround.  Use
13348         libm_hidden_weak.
13349         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
13350         __fesetround instead of fesetround.
13351         (default_libc_feholdexcept_setround): Likewise.
13352         (libc_feholdsetround_ctx): Likewise.
13353         (libc_feholdsetround_noex_ctx): Likewise.
13354
13355         [BZ #17748]
13356         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
13357         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
13358         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13359         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13360         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13361         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
13362         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13363         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13364         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13365         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13366         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13367         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13368         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13369         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13370         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
13371         libm_hidden_def.
13372         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
13373         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
13374         Likewise.
13375         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13376         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13377         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13378         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13379         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
13380         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13381         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13382         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
13383         __fesetenv instead of fesetenv.
13384         (libc_feresetround_noex_ctx): Likewise.
13385         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13386         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13387         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
13388         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13389         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13390         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13391         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13392         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13393         (__feupdateenv): Likewise.
13394         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13395         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13396         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13397         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
13398
13399 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13400
13401         [BZ #17806]
13402         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
13403         addresses have been freed.
13404
13405 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13406
13407         * resolv/res_init.c (__res_vinit): Improve comments about nserv
13408         and nservall.
13409
13410 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
13411
13412         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
13413         Clean up check_pf allocation pattern. addresses
13414
13415 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13416
13417         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
13418         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
13419         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
13420         * nptl/pthread_exit.c (__pthread_exit): Likewise.
13421         * nptl/pthread_join.c (pthread_join): Likewise.
13422         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
13423         * sysdeps/posix/waitid.c (__waitid): Likewise.
13424         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13425         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13426         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13427         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13428         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13429         Likewise.
13430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13431         (__libc_pread64): Likewise.
13432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13433         (__libc_pwrite): Likewise.
13434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13435         (__libc_pwrite64): Likewsie.
13436         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13437         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13438         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13439         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13440         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13441         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13442         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13444         Likewise.
13445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13446         (__libc_pread64): Likewise.
13447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
13448         Likewise.
13449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13450         (__libc_pwrite64): Likewise.
13451         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13452         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13453         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
13454         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13455         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13456         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13457         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
13458         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13459         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13460         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13461         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
13462         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13463         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13464         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
13465         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13466         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13467         Likewise.
13468
13469 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
13470
13471         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
13472         (CFLAGS-test-double.c): Likewise.
13473         (CFLAGS-test-ldouble.c): Likewise.
13474         (CPPFLAGS-test-ifloat.c): Likewise.
13475         (CPPFLAGS-test-idouble.c): Likewise.
13476         (CPPFLAGS-test-ildoubl.c): Likewise.
13477         (CFLAGS-test-test-fenv.c): Remove variable.
13478         (CFLAGS-test-misc.c): Likewise.
13479
13480 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
13481
13482         [BZ #17797]
13483         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
13484         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
13485         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
13486         CLOCKS_PER_SEC == 1000000.
13487         * time/clocktest.c (main): Replace %ld with %jd and cast to
13488         intmax_t.
13489
13490 2015-01-05  Roland McGrath  <roland@hack.frob.com>
13491
13492         * sysdeps/generic/unwind-resume.h: New file.
13493         * sysdeps/gnu/unwind-resume.c: Include it.
13494         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
13495         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
13496         argument list.
13497         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
13498         global rather than static.
13499         (_Unwind_Resume): Update user.
13500         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
13501         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
13502         rather than static.  Add __attribute__ ((cold)).
13503         (_Unwind_Resume, __gcc_personality_v0): Update callers.
13504         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13505         * sysdeps/arm/arm-unwind-resume.S: New file.
13506         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
13507         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
13508         * sysdeps/arm/Makefile [$(subdir) = csu]
13509         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
13510         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13511         Add rt-arm-unwind-resume.
13512         [$(subdir) = nptl]
13513         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13514         Add pt-arm-unwind-resume.
13515         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
13516         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
13517
13518 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13519
13520         [BZ #17748]
13521         * include/fenv.h (__feholdexcept): Declare.  Use
13522         libm_hidden_proto.
13523         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
13524         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
13525         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13526         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
13527         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
13528         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
13529         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
13530         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13531         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
13532         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
13533         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13534         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
13535         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
13536         (feholdexcept): Likewise.
13537         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13538         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13539         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13540         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13541         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
13542         __feholdexcept instead of feholdexcept.
13543         (default_libc_feholdexcept_setround): Likewise.
13544
13545 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13546
13547         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
13548         to avoid using stl/str to align destination.
13549
13550 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13551
13552         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
13553
13554 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13555
13556         [BZ #17796]
13557         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
13558         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
13559         Define as weak alias not strong alias.
13560
13561 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13562
13563         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
13564         bltzal with addiupc.
13565         (RTLD_START): Ditto.
13566
13567 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
13568
13569         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
13570         for __vdso_* functions in declarations.
13571         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
13572         definitions.
13573         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
13574         INTERNAL_VSYSCALL): Use struct return types to check for error.
13575
13576         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
13577         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
13578         function with cast from llround().
13579         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
13580         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13581         Define.
13582
13583 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13584
13585         [BZ #17793]
13586         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
13587         Define as weak alias not strong alias.
13588
13589         [BZ #17635]
13590         * ctype/ctype-c99.c: New file.  isblank implementation moved from
13591         ...
13592         * ctype/ctype-extn.c: ... here.
13593         (__isblank_l): Move to ...
13594         * ctype/ctype-c99_l.c: ... here.  New file.
13595         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
13596         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
13597         Remove variable.
13598         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13599         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13600         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13601         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13602         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13603
13604         [BZ #17777]
13605         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
13606         (posix_fadvise64): Define as weak alias not strong alias.
13607         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13608         (posix_fallocate64): Likewise.
13609         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
13610         Remove variable.
13611         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13612         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13613         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13614         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13615         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13616
13617 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
13618
13619         [BZ #16191]
13620         * NEWS: Mention bug fix.
13621         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
13622         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
13623         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
13624         (HOST_STACK_END_ADDR): Likewise.
13625
13626 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13627
13628         [BZ #17748]
13629         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
13630         * math/fegetround.c (fegetround): Rename to __fegetround and
13631         define as weak alias of __fegetround.  Use libm_hidden_weak.
13632         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
13633         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
13634         * sysdeps/arm/fegetround.c (fegetround): Likewise.
13635         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
13636         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13637         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
13638         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
13639         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
13640         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13641         Undefine after rather than before function definition; use
13642         parentheses around function name in definition.
13643         (__fegetround): Also undefine macro after function definition.
13644         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
13645         __fegetround and define as weak alias of __fegetround.  Use
13646         libm_hidden_weak.  Do not undefine as macro.
13647         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13648         Likewise.
13649         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
13650         __fegetround and define as weak alias of __fegetround.  Use
13651         libm_hidden_weak.
13652         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13653         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13654         * sysdeps/tile/math_private.h (__fegetround): New inline function.
13655         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
13656         __fegetround and define as weak alias of __fegetround.  Use
13657         libm_hidden_weak.
13658         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
13659         __fegetround instead of fegetround.
13660
13661         [BZ #17782]
13662         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
13663         Condition macro definition on [__USE_MISC].
13664
13665         [BZ #17781]
13666         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13667         (struct sigaction): Change type of sa_flags field to int.
13668
13669         [BZ #17780]
13670         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
13671         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
13672         __glibc_reserved0.
13673
13674         * nptl/version.c (banner): Use single year in copyright notice.
13675
13676         * NEWS: Update copyright dates.
13677         * catgets/gencat.c (print_version): Likewise.
13678         * csu/version.c (banner): Likewise.
13679         * debug/catchsegv.sh: Likewise.
13680         * debug/pcprofiledump.c (print_version): Likewise.
13681         * debug/xtrace.sh (do_version): Likewise.
13682         * elf/ldconfig.c (print_version): Likewise.
13683         * elf/ldd.bash.in: Likewise.
13684         * elf/pldd.c (print_version): Likewise.
13685         * elf/sotruss.sh: Likewise.
13686         * elf/sprof.c (print_version): Likewise.
13687         * iconv/iconv_prog.c (print_version): Likewise.
13688         * iconv/iconvconfig.c (print_version): Likewise.
13689         * locale/programs/locale.c (print_version): Likewise.
13690         * locale/programs/localedef.c (print_version): Likewise.
13691         * login/programs/pt_chown.c (print_version): Likewise.
13692         * malloc/memusage.sh (do_version): Likewise.
13693         * malloc/memusagestat.c (print_version): Likewise.
13694         * malloc/mtrace.pl: Likewise.
13695         * manual/libc.texinfo: Likewise.
13696         * nptl/version.c (banner): Likewise.
13697         * nscd/nscd.c (print_version): Likewise.
13698         * nss/getent.c (print_version): Likewise.
13699         * nss/makedb.c (print_version): Likewise.
13700         * posix/getconf.c (main): Likewise.
13701         * scripts/test-installation.pl: Likewise.
13702         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13703
13704 2015-01-02  Will Newton  <will.newton@linaro.org>
13705
13706         * sysdeps/arm/armv7/configure: Removed.
13707         * sysdeps/arm/armv7/configure.ac: Likewise.
13708
13709 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13710
13711         * All files with FSF copyright notices: Update copyright dates
13712         using scripts/update-copyrights.
13713         * intl/plural.c: Regenerated.
13714         * locale/programs/charmap-kw.h: Likewise.
13715         * locale/programs/locfile-kw.h: Likewise.
13716
13717 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13718
13719         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
13720
13721 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
13722
13723         [BZ #17748]
13724         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
13725         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
13726         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13727         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13728         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13729         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
13730         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13731         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
13732         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13733         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13734         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13735         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13736         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13737         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13738         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
13739         libm_hidden_def.
13740         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
13741         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
13742         Likewise.
13743         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13744         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13745         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13746         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13747         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
13748         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13749         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13750         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
13751         __fegetenv instead of fegetenv.
13752         (libc_feholdsetround_noex_ctx): Likewise.
13753
13754 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13755
13756         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
13757         (Elf_MIPS_ABIFlags_v0): New structure.
13758         (EF_MIPS_FP64): Define.
13759         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
13760         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
13761         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
13762         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
13763         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
13764         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
13765         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
13766         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
13767         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
13768         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
13769         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
13770         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
13771         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
13772         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
13773         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
13774         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
13775         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
13776         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
13777         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
13778         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
13779         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
13780         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
13781         field.
13782         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
13783         EF_MIPS_FP64.
13784         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
13785         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
13786         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
13787         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
13788         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
13789         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
13790         * sysdeps/mips/tst-abi-interlink.c: Likewise.
13791         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
13792         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
13793         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
13794         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
13795         record the current FP ABI extension.
13796         (mips-mode-switch): Define to show if kernel headers support mode
13797         switching.
13798         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13799         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
13800         supported SYSV ABI version to 3.
13801         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
13802         feature.
13803
13804 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13805             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13806
13807         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
13808         path.
13809         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
13810
13811 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
13812
13813         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
13814         __fegetround and redefine to call __fegetround.  Remove condition
13815         on [!__NO_MATH_INLINES].
13816         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
13817         function.
13818         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
13819         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13820         Remove macro.
13821         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
13822         instead of <fenv_libc.h>.
13823         (__llrintl): Call fegetround instead of __fegetround.
13824         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
13825         instead of <fenv_libc.h>.
13826         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13827         (__lrintl): Call fegetround instead of __fegetround.
13828         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
13829         instead of <fenv_libc.h>.
13830         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13831         (__rintl): Call fegetround instead of __fegetround.
13832
13833 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13834
13835         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
13836         arrays.
13837
13838 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
13839
13840         [BZ #17775]
13841         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
13842         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
13843         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
13844
13845 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13846
13847         * sysdeps/i386/tls-macros.h: Include <features.h>.
13848         (TLS_LE): Use non-PIC version for GCC >= 5.0.
13849         (TLS_IE): Likewise.
13850         (TLS_LD): Likewise.
13851         (TLS_GD): Likewise.
13852         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
13853         define for GCC >= 5.0.
13854
13855 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
13856
13857         * math/test-fenv.c (test_single_exception, set_single_exc,
13858         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
13859         feexcp_mask_test, feenable_test, fe_single_test): Add
13860         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
13861         case where they are not used.
13862         * math/libm-test.inc: Likewise.
13863         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
13864         unused in the absence of FP rounding/exception support.
13865         * stdio-common/tst-printf-round.c: Likewise.
13866         * stdlib/tst-strtod-round.c: Likewise.
13867         * stdlib/tst-strtod-underflow.c: Likewise.
13868
13869 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
13870
13871         [BZ #17723]
13872         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
13873         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
13874         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13875         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13876         libm_hidden_weak.
13877         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
13878         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13879         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
13880         libm_hidden_def.
13881         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13882         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13883         libm_hidden_weak.
13884         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
13885         Likewise.
13886         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
13887         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13888         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13889         libm_hidden_weak.
13890         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13891         libm_hidden_def.
13892         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13893         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
13894         (__feraiseexcept): Likewise.
13895         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13896         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13897         libm_hidden_weak.
13898         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13899         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13900         libm_hidden_def.
13901         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
13902         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
13903         Use libm_hidden_def.
13904         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
13905         libm_hidden_def.
13906         (feraiseexcept): Define as weak not strong alias.  Use
13907         libm_hidden_weak.
13908         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
13909         New inline function.  Factored out of ...
13910         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
13911         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
13912         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
13913         feraiseexcept.
13914         * math/w_acos.c (__acos): Likewise.
13915         * math/w_asin.c (__asin): Likewise.
13916         * math/w_ilogb.c (__ilogb): Likewise.
13917         * math/w_j0.c (y0): Likewise.
13918         * math/w_j1.c (y1): Likewise.
13919         * math/w_jn.c (yn): Likewise.
13920         * math/w_log.c (__log): Likewise.
13921         * math/w_log10.c (__log10): Likewise.
13922         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
13923         * sysdeps/aarch64/fpu/math_private.h
13924         (libc_feupdateenv_test_aarch64): Likewise.
13925         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13926         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
13927         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
13928         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13929         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13930         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13931         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
13932         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13933         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13934         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13935
13936 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
13937
13938         [BZ #17732]
13939         * io/test-utime.c (main): Replace %ld with %jd and cast to
13940         intmax_t.
13941         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
13942         * nptl/tst-mutex5.c: Include <stdint.h>.
13943         (do_test): Replace %ld with %jd and cast to intmax_t.
13944         * posix/tst-regex.c (run_test): Likewise.
13945         (run_test_backwards): Likewise.
13946         * rt/tst-clock.c: Include <stdint.h>.
13947         (clock_test): Replace %ld with %jd and cast to intmax_t.
13948         * rt/tst-cpuclock1.c: Include <stdint.h>.
13949         (do_test): Replace %lu with %ju and cast to uintmax_t.
13950         * rt/tst-cpuclock2.c: Include <stdint.h>.
13951         (do_test): Replace %lu with %ju and cast to uintmax_t.
13952         * rt/tst-mqueue1.c: Include <stdint.h>.
13953         (check_attrs): Replace %ld with %jd and cast to intmax_t.
13954         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
13955         intmax_t.
13956         * rt/tst-mqueue4.c (do_test): Likewise.
13957         * rt/tst-timer4.c: Include <stdint.h>.
13958         (check_ts): Replace %ld with %jd and cast to intmax_t.
13959         (do_test): Likewise.
13960         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
13961         and cast to intmax_t.
13962         * sysdeps/pthread/tst-timer.c (main): Likewise.
13963         * time/clocktest.c (main): Likewise.
13964         * time/tst-posixtz.c (do_test): Likewise.
13965         * timezone/tst-timezone.c (main): Likewise.
13966
13967 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13968             H.J. Lu  <hongjiu.lu@intel.com>
13969
13970         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
13971         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
13972         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
13973         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
13974         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
13975         version if bit_Fast_Unaligned_Load is set.
13976         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13977         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13978         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13979         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13980         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13981         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13982         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13983         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
13984         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
13985         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
13986         to 4.
13987         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
13988         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
13989         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
13990         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
13991
13992 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
13993
13994         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
13995         instead of #if to avoid a Wundef warning.
13996         * stdlib/tst-limits.c (do_test): Likewise.
13997
13998         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
13999         parallel other exception macros.
14000         (fegetenv): Convert from macro to extern inline so that it applies
14001         retroactively to inline functions already seen by the compiler.
14002         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14003
14004         * posix/Makefile (before-compile): Use $(objpfx) for
14005         posix-conf-vars-def.h.
14006
14007 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14008
14009         * posix/getconf.c (main): Use size_t for type of I.
14010         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14011         NSPEC.
14012
14013         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14014         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14015         * posix/posix-envs.def: Likewise.
14016         * sysdeps/posix/sysconf.c: Likewise.
14017         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14018         (specs): Remove array.
14019         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14020         array.
14021
14022         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14023         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14024         (__sysconf): Use CONF_IS_* macros.
14025
14026         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14027         ($(objpfx)posix-conf-vars-def.h): New target.
14028         * posix/posix-conf-vars.list: New file.
14029         * posix/posix-conf-vars.h: New file.
14030         * posix/confstr.c: Include posix-conf-vars.h.
14031         (confstr): Use CONF_IS_* macros.
14032         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14033         CONF_IS_* macros.
14034         * scripts/gen-posix-conf-vars.awk: New file.
14035
14036 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14037
14038         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14039         fegetround): Add no-op macros to avoid linknamespace issues.
14040
14041         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14042         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14043
14044         * sysdeps/unix/sysv/linux/tile/sysdep.h
14045         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14046         assembly-specific section to avoid a redefinition warning.
14047
14048         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14049         long before casting to pointer to avoid a cast warning.
14050
14051 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14052
14053         * sysdeps/tile/tilegx/Implies: New file.
14054
14055 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14056
14057         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14058
14059 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14060
14061         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14062
14063 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14064
14065         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14066         not define.
14067         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14068         <kernel-features.h>.
14069         (__utimes) [__NR_utimes]: Make code unconditional.
14070         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14071         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14072         (__ASSUME_UTIMES): Do not undefine.
14073         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14074         (__ASSUME_UTIMES): Likewise.
14075         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14076         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14077         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14078         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14079
14080 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14081
14082         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14083
14084 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14085
14086         [BZ #17747]
14087         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14088         alias to weak alias for j0l, y0l.
14089         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14090         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14091
14092         [BZ #17746]
14093         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14094         conversion.
14095
14096 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14097
14098         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14099         to zero if not already defined.
14100
14101 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14102
14103         [BZ #17724]
14104         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14105         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14106         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14107         (char *) casts added.
14108         * sysdeps/ieee754/k_standardf.c: New file.
14109         * sysdeps/ieee754/k_standardl.c: Likewise.
14110         * math/Makefile (libm-support): Remove k_standard.
14111         (libm-calls): Add k_standard.
14112
14113 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14114
14115         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14116         Optimize to avoid an unnecessary FPCR read.
14117
14118 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14119
14120         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14121         Optimize to reduce FPCR/FPSR accesses.
14122
14123 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14124
14125         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14126         Call libc_fetestexcept_aarch64.
14127
14128 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14129
14130         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14131         Call libc_fesetround_aarch64.
14132
14133 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14134
14135         [BZ #17733]
14136         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14137         (__bind): Do not define as weak alias.
14138         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14139         define.
14140         (__getsockname): Do not define as weak alias.
14141
14142 2014-12-22  Will Newton  <will.newton@linaro.org>
14143
14144         * manual/install.texi: Document that we require bison 2.7
14145         or above.
14146         * INSTALL: Regenerate.
14147         * configure.ac: Use AC_CHECK_PROG_VER instead of
14148         AC_PATH_PROG when checking for bison and check for
14149         version 2.7 or above.
14150         * configure: Regenerate.
14151
14152 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14153
14154         [BZ #17745]
14155         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14156         * sysdeps/tile/ffsll.c (ffsll): To here.
14157
14158         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14159
14160 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14161
14162         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14163         if not defined.
14164         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14165         definition.
14166         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14167         hidden ___tls_get_addr.
14168         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14169         hidden __tls_get_addr.
14170         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14171         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14172         Likewise.
14173
14174 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14175
14176         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14177         _dl_init call.
14178
14179 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14180
14181         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
14182         from "call _dl_init@PLT".
14183         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
14184
14185 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
14186
14187         * manual/search.texi: (Array Sort Function): Clarify stable sorting
14188         guarantees.
14189
14190 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
14191
14192         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
14193
14194 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14195
14196         [BZ #17744]
14197         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
14198         strnlen.
14199
14200 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14201
14202         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
14203         of multu on MIPSr6.
14204         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
14205         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
14206         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
14207         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
14208         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
14209
14210 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14211
14212         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
14213         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
14214         (PTR_SUBU): Use subu for mips32r6/mips64r6.
14215         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
14216         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
14217         mips32r6/mips64r6.
14218         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
14219
14220 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
14221
14222         * string/strncat.c (STRNCAT): Simplify implementation.
14223
14224 2014-12-19  David S. Miller  <davem@davemloft.net>
14225
14226         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
14227         access the quad as both a long double and as a series of 4 words.
14228
14229         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
14230         link_map->l_info array access.
14231
14232 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14233
14234         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
14235
14236         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
14237         * math/atest-exp2.c (TIMEOUT): Likewise.
14238         * math/atest-sincos.c (TIMEOUT): Likewise.
14239
14240 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14241
14242         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
14243         -Wno-error with -fno-builtin-lround.
14244
14245 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14246
14247         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
14248         Contains futex constants and functions moved over from ...
14249         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
14250         <lowlevellock-futex.h>.
14251         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14252         (lll_timedwait_tid): Add comments and parentheses around macro
14253         arguments.
14254
14255 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14256
14257         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
14258         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
14259         (__lll_private_flag): Remove.
14260         (lll_futex_wait): Likewise.
14261         (lll_futex_timed_wait): Likewise.
14262         (lll_futex_wake): Likewise.
14263         (lll_futex_requeue): Likewise.
14264         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14265         (__lll_timedwait_tid): Spell out argument names.
14266         (lll_timedwait_tid): Add comments and parentheses around macro
14267         arguments.
14268         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
14269         LLL_SHARED and LLL_PRIVATE usable from assembly code.
14270
14271 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14272
14273         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
14274         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14275         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14276         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
14277         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
14278         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
14279         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
14280         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
14281         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
14282         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
14283         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14284         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
14285         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
14286         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
14287         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
14288         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
14289         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
14290         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
14291         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
14292
14293 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14294
14295         * sysdeps/x86_64/x32/Makefile: New file.
14296
14297 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14298
14299         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
14300         1L with (mp_limb_t) 1.
14301
14302 2014-12-17  Roland McGrath  <roland@hack.frob.com>
14303
14304         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
14305         * nptl/libc_pthread_init.c: ... here.
14306         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
14307         * nptl/register-atfork.c: ... here.
14308
14309         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
14310         Use pthread_sigmask rather than INTERNAL_SYSCALL.
14311         Use assert_perror to check its return value.
14312         (__gai_create_helper_thread): Likewise.
14313
14314         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
14315
14316         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
14317
14318 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
14319
14320         [BZ #17725]
14321         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
14322         __profil_counter.
14323         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
14324         Likewise.
14325         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
14326         Likewise.
14327         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
14328         Likewise.
14329         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
14330         (profil_counter): Likewise.
14331         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
14332         (profil_counter): Likewise.
14333         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
14334         Likewise.
14335         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
14336         Likewise.
14337         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
14338         (profil_counter): Likewise.
14339         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
14340         Likewise.
14341         [!__profil_counter] (profil_counter): Define as weak alias of
14342         __profil_counter.
14343         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
14344         (profil_counter): Rename to __profil_counter.
14345         [!__profil_counter] (profil_counter): Define as weak alias of
14346         __profil_counter.
14347         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
14348         (profil_counter): Rename to __profil_counter.
14349         [!__profil_counter] (profil_counter): Define as weak alias of
14350         __profil_counter.
14351         * sysdeps/posix/profil.c: Update comment referring to
14352         profil_counter.
14353         (__profil): Use __profil_counter instead of profil_counter.
14354         * sysdeps/posix/sprofil.c (profil_counter): Rename to
14355         __profil_counter.  Use __profil_counter_ushort and
14356         __profil_counter_uint in definitions.
14357         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
14358         instead of profil_counter_uint and profil_counter_ushort.
14359
14360         [BZ #17722]
14361         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
14362         define as weak alias of __inet_makeaddr.
14363         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
14364         as weak alias of __inet_addr.
14365         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
14366         as weak alias of __inet_pton.  Use libc_hidden_weak.
14367         * include/arpa/inet.h (__inet_pton): Declare.  Use
14368         libc_hidden_proto.
14369         (inet_makeaddr): Don't use libc_hidden_proto.
14370         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14371         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
14372         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
14373         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
14374         Remove variable.
14375         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14376         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14377
14378 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
14379
14380         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
14381
14382 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14383
14384         * stdio-common/bug-vfprintf-nargs.c (do_test):
14385         Cast value to intptr_t to avoid format warning
14386         for usage with PRIdPTR printing macro.
14387
14388 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14389
14390         * libio/tst-widetext.c (do_test):
14391         Use format type %td instead of %Zd for ptrdiff_t
14392         in order to avoid format warning.
14393
14394 2014-12-17  Andreas Schwab  <schwab@suse.de>
14395
14396         * nscd/mem.c (gc): Add size_t cast to match printf format.
14397
14398 2014-12-16  Roland McGrath  <roland@hack.frob.com>
14399
14400         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
14401         (init): Apply PTR_MANGLE to pointers before storing them.
14402         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
14403         before using them.
14404
14405 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
14406
14407         [BZ #17719]
14408         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
14409         define as weak alias of __memrchr.
14410         (__memrchr): Do not define as strong alias of memrchr.
14411         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
14412         Remove variable.
14413         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14414         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14415         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14416
14417         [BZ #17717]
14418         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
14419         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
14420         (if_indextoname): Rename to __if_indextoname and define as weak
14421         alias of __if_indextoname.  Use libc_hidden_weak.
14422         (if_freenameindex): Rename to __if_freenameindex and define as
14423         weak alias of __if_freenameindex.
14424         (if_nameindex): Rename to __if_nameindex and define as weak alias
14425         of __if_nameindex.
14426         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
14427         __if_nametoindex and define as weak alias of __if_nametoindex.
14428         Use libc_hidden_weak.
14429         (if_freenameindex): Rename to __if_freenameindex and define as
14430         weak alias of __if_freenameindex.
14431         (if_nameindex): Rename to __if_nameindex and define as weak alias
14432         of __if_nameindex.
14433         (if_indextoname): Rename to __if_indextoname and define as weak
14434         alias of __if_indextoname.  Use libc_hidden_weak.
14435         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
14436         __if_nametoindex and define as weak alias of __if_nametoindex.
14437         Use libc_hidden_weak.
14438         (if_freenameindex): Rename to __if_freenameindex and define as
14439         weak alias of __if_freenameindex.  Use libc_hidden_weak.
14440         (if_nameindex_netlink): Use __if_freenameindex instead of
14441         if_freenameindex.
14442         (if_nameindex): Rename to __if_nameindex and define as weak alias
14443         of __if_nameindex.  Use libc_hidden_weak.
14444         (if_indextoname): Rename to __if_indextoname and define as weak
14445         alias of __if_indextoname.  Use libc_hidden_weak.
14446         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
14447         libc_hidden_proto.
14448         [!_ISOMAC] (__if_freenameindex): Likewise.
14449         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
14450         if_nametoindex.
14451         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
14452         variable.
14453         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14454         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14455         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14456         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14457         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14458         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14459         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14460
14461         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
14462         Remove variable.
14463         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14464         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14465
14466 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14467
14468         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
14469         subscript above bounds'
14470
14471         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
14472         bounds.
14473
14474 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
14475
14476         * libio/tst-fopenloc.c: Use test-skeleton.c.
14477
14478         * stdlib/tst-bsearch.c: Use test-skeleton.c.
14479         (entry): Rename to ITEM.
14480         (do_test, comp): Adjust.
14481
14482         * stdio-common/tst-fseek.c: Use test-skeleton.c.
14483
14484 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14485
14486         * string/tester.c: Include <libc-internal.h>.
14487         (test_memset): Ignore -Wmemset-transposed-args.
14488
14489 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14490
14491         * misc/tst-mntent2.c (do_test): Fix warning.
14492
14493 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14494
14495         * elf/tst-unique4lib.cc(a): Mark as used.
14496
14497 2014-12-16  Florian Weimer  <fweimer@redhat.com>
14498
14499         [BZ #17630]
14500         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
14501         names.
14502
14503 2014-12-16  Allan McRae  <allan@archlinux.org>
14504
14505         * stdio-common/Makefile (tests): Re-add bug26.
14506
14507 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
14508
14509         [BZ #17657]
14510         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
14511         static array.
14512
14513 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
14514
14515         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
14516         (__lll_lock_wait): Likewise.
14517         (__lll_timedlock_wait): Likewise.
14518         (__lll_timedwait_tid): Likewise.
14519         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
14520         (__lll_robust_timedlock_wait): Likewise.
14521         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
14522         (lll_cond_trylock): Likewise.
14523         (__lll_lock): Likewise.
14524         (__lll_robust_lock): Likewise.
14525         (__lll_cond_lock): Likewise.
14526         (lll_robust_cond_lock): Likewise.
14527         (__lll_timedlock): Likewise.
14528         (__lll_robust_timedlock): Likewise.
14529         (__lll_unlock): Likewise.
14530         (__lll_robust_unlock): Likewise.
14531         (lll_wait_tid): Likewise.
14532         (lll_timedwait_tid): Likewise.
14533
14534 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14535
14536         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
14537
14538 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14539
14540         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
14541
14542 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14543
14544         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
14545         * stdio-common/tst-sprintf.c: Likewise.
14546
14547 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14548
14549         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
14550
14551 2014-12-15  Jeff Law  <law@redhat.com>
14552
14553         [BZ #16617]
14554         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
14555         on the heap.  (CVE-2012-3406)
14556         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
14557         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
14558         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
14559
14560 2014-12-15  Will Newton  <will.newton@linaro.org>
14561
14562         * manual/install.texi: Bump required version of texinfo
14563         to 4.7 from 4.5.
14564         * INSTALL: Regenerated.
14565         * configure.ac: Check for makeinfo version 4.7 and above.
14566         * configure: Regenerated.
14567
14568 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14569
14570         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
14571         PREFIX, string constant to insert between directory and name.
14572         * sysdeps/posix/shm_open.c: Update caller.
14573         * sysdeps/posix/shm_unlink.c: Likewise.
14574         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
14575         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
14576         (SEM_SHM_PREFIX): New macro.
14577         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
14578         [$(have-thread-library) = no].
14579         * nptl/Makefile (libpthread-routines): Add shm-directory.
14580         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
14581         * sysdeps/nptl/shm-directory.h: New file.
14582         * sysdeps/posix/shm-directory.c
14583         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
14584         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14585         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
14586         INTERNAL_SYSCALL.
14587         (__where_is_shmfs): Function removed.
14588         (mountpoint, defaultmount, defaultdir, __namedsem_once):
14589         Variables removed.
14590         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
14591         Use SHM_GET_NAME.
14592         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
14593
14594         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
14595         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
14596         unconditional for use inside libpthread.
14597         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
14598
14599 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14600
14601         * nptl/pthread_getaffinity.c: New file.
14602         * nptl/pthread_setaffinity.c: New file.
14603         * nptl/pthread_getname.c: New file.
14604         * nptl/pthread_setname.c: New file.
14605
14606         * nptl/pthread_create.c (START_THREAD_DEFN)
14607         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
14608
14609 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14610             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14611
14612         * resolv/res_send.c (send_vc): Disable warning resplen may
14613         be used uninitialized.
14614
14615 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14616
14617         * nptl/tst-mutex6.c
14618         (ATTR_NULL): New define checks ATTR against NULL.
14619         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
14620         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
14621
14622 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
14623
14624         [BZ #17581]
14625         * malloc/hooks.c
14626         (mem2mem_check): Revert my previous change.
14627         (malloc_check_get_size): Revert my previous change.
14628         (mem2chunk_check): Revert my previous change.
14629
14630 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14631
14632         * sysdeps/posix/shm-directory.c: New file.
14633         * sysdeps/posix/shm-directory.h: New file.
14634         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
14635         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
14636         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
14637         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
14638         Transmute EPERM to EACCES.
14639         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
14640         from ...
14641         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
14642         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
14643
14644 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14645
14646         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
14647         pointer and cast to uintptr_t.
14648         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
14649         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
14650         Add cast to avoid warning.
14651         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
14652
14653 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14654
14655         * nptl/semaphore.h: Move to ...
14656         * sysdeps/pthread/semaphore.h: ... here.
14657         * Makefile (installed-headers): Change nptl/semaphore.h to
14658         sysdeps/pthread/semaphore.h.
14659
14660 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14661
14662         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
14663         generated error format strings.
14664
14665         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
14666         -Wformat-extra-args warnings for scanf formats.
14667         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
14668         test of zero-length format (duh).
14669         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
14670         corner-case scanf format test.
14671         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
14672         generated fprintf format string.
14673         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
14674         corner-case sprintf format tests.
14675         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
14676         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
14677         -Wformat-extra-args warnings throughout.
14678         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
14679         (CFLAGS-scanf4.c): Likewise.
14680         (CFLAGS-scanf7.c): Likewise.
14681         (CFLAGS-tst-sprintf.c): Likewise.
14682         (CFLAGS-tst-printf.c): Likewise.
14683         (CFLAGS-tst-printfsz.c): Likewise.
14684
14685 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14686
14687         * include/cpio.h: New file.
14688         * include/fmtmsg.h: Likewise.
14689
14690         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
14691         corresponding format argument to size_t.
14692         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
14693         arguments.
14694         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
14695         corresponding format argument to size_t.
14696         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
14697         arguments.
14698         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
14699         corresponding format argument to size_t.
14700         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
14701         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
14702         (CFLAGS-tst-mbswcs2.c): Likewise.
14703         (CFLAGS-tst-mbswcs3.c): Likewise.
14704         (CFLAGS-tst-mbswcs4.c): Likewise.
14705         (CFLAGS-tst-mbswcs5.c): Likewise.
14706         (CFLAGS-tst-trans.c): Likewise
14707
14708 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14709
14710         * posix/regexbug1.c (main): Use "%s" format with regerror results,
14711         rather than assuming they won't contain any '%'s.
14712
14713 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
14714
14715         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
14716         inhibit_loop_to_libcall to avoid recursive calls.
14717         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
14718         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
14719
14720 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14721
14722         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
14723         prototype.
14724
14725 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14726
14727         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
14728         integer value instead of boolean.
14729
14730 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14731
14732         * malloc/malloc.c: Fix powerof2 check.
14733
14734 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14735
14736         * locale/programs/locfile.h (maybe_swap_uint32):
14737         Remove inline and add unused attribute.
14738
14739 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14740
14741         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14742         Truncating assembler expression to a .long expression.
14743
14744 2014-12-11  Andreas Schwab  <schwab@suse.de>
14745
14746         * elf/rtld.c (struct map_args): Constify str member.
14747         (do_preload): Constify fname argument.
14748
14749 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14750
14751         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
14752         constants definition.
14753
14754 2014-12-11  Andreas Schwab  <schwab@suse.de>
14755
14756         [BZ #16657]
14757         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
14758         FORCE_ELISION instead of DO_ELISION.
14759         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
14760         Remove.
14761         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
14762         Likewise.
14763
14764         * iconvdata/gconv-modules: Remove duplicate entry.
14765
14766 2014-12-11  Will Newton  <will.newton@linaro.org>
14767
14768         Merge gettext 0.19.3 into intl/.
14769
14770         This involves a number of cosmetic changes to comments
14771         and ANSI function definitions and prototypes throughout
14772         all the files. The gettext copyright header is used but
14773         with the date ranges taken from the glibc copy.
14774
14775         * NEWS: Add gettext merge to 2.21.
14776         * intl/bindtextdom.c: Switch to gettext copyright.
14777         Use ANSI definitions and prototypes.
14778         Use gl_* locking primitives rather than __libc_* ones.
14779         Use __builtin_expect rather than __glibc_likely/unlikely.
14780         * intl/dcgettext.c: Switch to gettext copyright.
14781         Use ANSI definitions and prototypes.
14782         * intl/dcigettext.c: Switch to gettext copyright.
14783         Use ANSI definitions and prototypes.
14784         (INTDIV0_RAISES_SIGFPE): New define.
14785         Use gl_* locking primitives rather than __libc_* ones.
14786         Include eval-plural.h instead of plural-eval.c.
14787         Use __builtin_expect rather than __glibc_likely/unlikely.
14788         * intl/dcngettext.c: Switch to gettext copyright.
14789         Use ANSI definitions and prototypes.
14790         * intl/dgettext.c: Likewise.
14791         * intl/dngettext.c: Likewise.
14792         * intl/plural-eval.c: Renamed to...
14793         * intl/eval-plural.h: ...this.
14794         * intl/explodename.c: Switch to gettext copyright.
14795         Use ANSI definitions and prototypes.
14796         (_nl_explode_name): Use strchr instead of __rawmemchr.
14797         * intl/finddomain.c: Switch to gettext copyright.
14798         Use ANSI definitions and prototypes.
14799         Use gl_* locking primitives rather than __libc_* ones.
14800         (_nl_find_domain): Use malloc rather than alloca for
14801         allocation of temporary locale name.
14802         * intl/gettext.c: Switch to gettext copyright.
14803         Use ANSI definitions and prototypes.
14804         * intl/gettextP.h: Switch to gettext copyright.
14805         Use ANSI definitions and prototypes.
14806         Use gl_* locking primitives rather than __libc_* ones.
14807         * intl/gmo.h: Switch to gettext copyright.
14808         (struct sysdep_string): Move struct segment_pair outside of
14809         struct definition.
14810         * intl/hash-string.c: Use ANSI definitions and prototypes.
14811         * intl/hash-string.h: Switch to gettext copyright.
14812         Use ANSI definitions and prototypes.
14813         * intl/l10nflist.c: Switch to gettext copyright.
14814         Use ANSI definitions and prototypes.
14815         (_nl_normalize_codeset): Avoid integer overflow.
14816         * intl/loadinfo.h: Switch to gettext copyright.
14817         Use ANSI definitions and prototypes.
14818         (LIBINTL_DLL_EXPORTED): New define.
14819         (PATH_SEPARATOR): New define.
14820         * intl/loadmsgcat.c: Switch to gettext copyright.
14821         * intl/localealias.c: Switch to gettext copyright.
14822         Use ANSI definitions and prototypes.
14823         (_nl_expand_alias): Use PATH_SEPARATOR.
14824         * intl/ngettext.c: Switch to gettext copyright.
14825         Use ANSI definitions and prototypes.
14826         * intl/plural-exp.c: Likewise.
14827         * intl/plural-exp.h: Switch to gettext copyright.
14828         Use ANSI definitions and prototypes.
14829         (struct expression): Move definition of enum operator outside
14830         of struct definition.
14831         * intl/plural.c: Regenerate.
14832         * intl/plural.y: Switch to gettext copyright.
14833         Use ANSI definitions and prototypes.
14834         Port to bison 3.0.
14835         * intl/textdomain.c: Switch to gettext copyright.
14836         Use ANSI definitions and prototypes.
14837         Use gl_* locking primitives rather than __libc_* ones.
14838
14839 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
14840
14841         * debug/warning-nop.c: Add used atrribute.
14842
14843 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14844
14845         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
14846
14847         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
14848         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
14849         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
14850
14851 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14852             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14853
14854         [BZ #17634]
14855         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
14856         Undefine after defining function.  Define as weak alias of
14857         __wcschr.  Use libc_hidden_weak.
14858         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
14859         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
14860         (libc_hidden_def): Also define __GI___wcschr alias.
14861         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
14862         __wcschr and define as weak alias of __wcschr.
14863         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
14864         __wcschr.
14865         [!WCSCHR] (DEFAULT_WCSCHR): Define.
14866         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
14867         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
14868         libc_hidden_weak.  Do not use libc_hidden_def.
14869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
14870         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
14871         __GI___wcschr alias.
14872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
14873         [IS_IN (libc)] (wcschr): Define as macro expanding to
14874         __redirect_wcschr.
14875         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
14876         [IS_IN (libc)] (__wcschr_power6): Likewise.
14877         [IS_IN (libc)] (__wcschr_power7): Likewise.
14878         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
14879         instead of wcschr.
14880         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
14881         __libc_wcschr.
14882         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
14883         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
14884         __wcschr and define as weak alias of __wcschr.  Use
14885         libc_hidden_builtin_def.
14886         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
14887         as weak alias of __wcschr.  Use libc_hidden_weak.
14888         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
14889         wcschr.
14890         * time/era.c (_nl_init_era_entries): Likewise.
14891         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
14892         variable.
14893         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14894         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14895
14896 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14897
14898         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
14899         format for long int variable.
14900
14901 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
14902
14903         [BZ #10672]
14904         * manual/search.texi: (Array Sort Function): Remove claim how to make
14905         qsort stable.
14906
14907 2014-12-10  Andreas Schwab  <schwab@suse.de>
14908
14909         [BZ #12847]
14910         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
14911         user-controlled locks.
14912
14913 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
14914
14915         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
14916         register.
14917
14918 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14919
14920         * configure.ac (--disable-werror): New configure option.
14921         (enable_werror): New AC_SUBST.
14922         * configure: Regenerated.
14923         * config.make.in (enable-werror): New variable.
14924         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
14925         -Wno-error=undef.
14926         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
14927         * manual/install.texi (Configuring and compiling): Document
14928         --disable-werror.
14929         * INSTALL: Regenerated.
14930         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
14931         (CFLAGS-tst-chk2.c): Likewise.
14932         (CFLAGS-tst-chk3.c): Likewise.
14933         (CFLAGS-tst-chk4.cc): Likewise.
14934         (CFLAGS-tst-chk5.cc): Likewise.
14935         (CFLAGS-tst-chk6.cc): Likewise.
14936         (CFLAGS-tst-lfschk1.c): Likewise.
14937         (CFLAGS-tst-lfschk2.c): Likewise.
14938         (CFLAGS-tst-lfschk3.c): Likewise.
14939         (CFLAGS-tst-lfschk4.cc): Likewise.
14940         (CFLAGS-tst-lfschk5.cc): Likewise.
14941         (CFLAGS-tst-lfschk6.cc): Likewise.
14942
14943         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
14944         (main): Disable -Wdeprecated-declarations around calls to
14945         register_printf_function.
14946
14947         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
14948         (do_test): Disable -Wdiv-by-zero around some calls to
14949         fwrite_unlocked and fread_unlocked.
14950
14951         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
14952         (DIAG_POP_NEEDS_COMMENT): Likewise.
14953         (_DIAG_STR1): Likewise.
14954         (_DIAG_STR): Likewise.
14955         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
14956         * stdio-common/bug21.c: Include <libc-internal.h>.
14957         (do_test): Disable -Wformat around call to sscanf.
14958         * stdio-common/scanf14.c: Include <libc-internal.h>.
14959         (main): Disable -Wformat around some calls to scanf functions.
14960
14961 2014-12-09  Torvald Riegel  <triegel@redhat.com>
14962
14963         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
14964
14965 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14966
14967         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
14968         stack variable alignment.
14969
14970 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
14971
14972         [BZ #17682]
14973         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
14974         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
14975         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
14976         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
14977         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
14978         __getrlimit instead of getrlimit.
14979         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
14980         __gettimeofday instead of gettimeofday.
14981         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14982         Likewise.
14983         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14984         Likewise.
14985         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14986         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
14987         Remove variable.
14988         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14989         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14990
14991 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14992
14993         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
14994         for wide-character tests.
14995
14996 2014-12-04  Roland McGrath  <roland@hack.frob.com>
14997
14998         * io/openat64.c: #include <libc-internal.h>
14999         (__openat64): Prototypify.  Use ignore_value on MODE.
15000         * io/openat.c: Likewise.
15001         * misc/reboot.c: #include <libc-internal.h>
15002         (reboot): Prototypify.  Use ignore_value on HOWTO.
15003         * misc/ptrace.c: #include <libc-internal.h>
15004         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15005
15006 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15007
15008         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15009         XPG4, UNIX98 and XOPEN2K.
15010         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15011         Remove variable.
15012         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15013
15014 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15015
15016         * libio/fileops.c: Use ISO C style for function definitions.
15017         * libio/iofopen.c: Likewise.
15018         * libio/wfileops.c: Likewise.
15019
15020         [BZ #17653]
15021         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15022         offset on EOF.
15023         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15024         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15025         (fgets_func): Function pointer to fgets and fgetws.
15026         (do_ftell_test): Add test to verify ftell value after read
15027         EOF.
15028         (do_test): Set fgets_func.
15029
15030         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15031         O_TRUNC flag for w and w+ modes.
15032         (do_rewind_test): Likewise.
15033         (do_ftell_test): Likewise.
15034         (do_write_test): Likewise.
15035
15036         [BZ #17647]
15037         * libio/fileops.c (do_ftell): Seek only when there are
15038         unflushed writes.
15039         * libio/wfileops.c (do_ftell_wide): Likewise.
15040         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15041         test case.
15042         (do_one_test): Call it.
15043
15044 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15045
15046         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15047         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15048         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15049         Remove variable.
15050         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15051         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15052         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15053
15054 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15055
15056         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15057         Remove variable.
15058         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15059
15060         [BZ #17668]
15061         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15062         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15063         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15064         __freeifaddrs.  Use libc_hidden_weak.
15065         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15066         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15067         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15068         __freeifaddrs.  Use libc_hidden_weak.
15069         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15070         __getifaddrs and define as weak alias of __getifaddrs.  Use
15071         libc_hidden_weak.
15072         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15073         __freeifaddrs.  Use libc_hidden_weak.
15074         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15075         Remove variable.
15076         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15077         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15078
15079 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15080
15081         [BZ #17601]
15082         * sysdeps/mips/start.S (__start): Use indirect jump to call
15083         __libc_start_main.
15084
15085 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15086
15087         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15088
15089         * nptl/tst-mutex1.c: Include <stdbool.h>.
15090         [!ATTR] (ATTR_NULL): New macro.
15091         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15092         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15093         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15094
15095         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15096         to char *.
15097
15098         [BZ #17665]
15099         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15100         Change conditional to [__USE_MISC].
15101
15102         [BZ #17664]
15103         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15104         fgets_unlocked.
15105         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15106         __fgets_unlocked.
15107         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15108         fgets_unlocked.
15109         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15110         Remove variable.
15111         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15112         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15113         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15114         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15115         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15116         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15117         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15118         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15119         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15120
15121         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15122
15123 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15124
15125         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15126         Remove strpbrk objects.
15127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15128         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15129         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15130         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15131         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15132         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15133
15134         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15135         Remove strcspn objects.
15136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15137         (__libc_ifunc_impl_list): Remove strcspn implementation.
15138         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15139         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15140         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15141         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15142
15143         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15144         Remove strspn objetcs.
15145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15146         (__libc_ifunc_impl_list): Remove strspn implementation.
15147         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15148         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15149         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15150         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15151
15152 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15153
15154         [BZ #17581]
15155         * malloc/hooks.c
15156         (mem2mem_check): Add a terminator to the chain of checking blocks.
15157         (malloc_check_get_size): Use it here.
15158         (mem2chunk_check): Ditto.
15159
15160 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15161
15162         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15163         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15164
15165 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15166
15167         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15168
15169         * nptl/nptl-init.c: Include libc-internal.h.
15170         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15171
15172         * elf/ldconfig.c (search_dir): Expand comment.
15173
15174 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15175
15176         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15177         variable.
15178         (linknamespace-symlist-stdlibs-tests): Likewise.
15179         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
15180         instead of $(objpfx)symlist-stdlibs.
15181         (linknamespace-libs-isoc): New variable.
15182         (linknamespace-libs): Use $(linknamespace-libs-isoc).
15183         (linknamespace-libs-ISO): New variable.
15184         (linknamespace-libs-ISO99): Likewise.
15185         (linknamespace-libs-ISO11): Likewise.
15186         (linknamespace-libs-XPG3): Likewise.
15187         (linknamespace-libs-XPG4): Likewise.
15188         (linknamespace-libs-POSIX): Likewise.
15189         (linknamespace-libs-UNIX98): Likewise.
15190         (linknamespace-libs-XOPEN2K): Likewise.
15191         (linknamespace-libs-POSIX2008): Likewise.
15192         (linknamespace-libs-XOPEN2K8): Likewise.
15193         ($(objpfx)symlist-stdlibs): Replace by
15194         $(linknamespace-symlist-stdlibs-tests).  Use
15195         $(linknamespace-libs-$*) as set of libraries.
15196         ($(linknamespace-header-tests)): Update dependencies.  Use
15197         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
15198         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
15199         * conform/linknamespace.pl: Remove comment about considering
15200         definitions of symbols from irrelevant libraries.
15201
15202 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
15203
15204         [BZ #13862]
15205         * elf/dl-tls.c: Include <atomic.h>.
15206         (oom): Remove #ifdef SHARED/#endif.
15207         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
15208         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
15209         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
15210         big enough.
15211         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
15212         * nptl/Makefile (tests): Add tst-stack4.
15213         (modules-names): Add tst-stack4mod.
15214         ($(objpfx)tst-stack4): New.
15215         (tst-stack4mod.sos): Likewise.
15216         ($(objpfx)tst-stack4.out): Likewise.
15217         ($(tst-stack4mod.sos)): Likewise.
15218         (clean): Likewise.
15219         * nptl/tst-stack4.c: New file.
15220         * nptl/tst-stack4mod.c: Likewise.
15221
15222 2014-11-27  J. Brown  <jb999@gmx.de>
15223
15224         * sysdeps/x86/bits/string.h: Add recent CPUs.
15225
15226 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15227
15228         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
15229         sigblock.
15230
15231         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
15232         feof.
15233
15234         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
15235         variable.
15236
15237 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15238
15239         * nscd/connections.c: Include libc-internal.h because of macro
15240         usage ignore_value.
15241
15242 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15243
15244         * string/bits/string3.h (__warn_memset_zero_len): Don't
15245         declare for gcc newer than 5.0.
15246         (memset): Don't test for zero-length __LEN for gcc newer than
15247         5.0.
15248
15249 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15250
15251         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
15252         size_t for %zu format.
15253
15254         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
15255         difference, not %ju.
15256
15257 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15258
15259         * include/libc-internal.h (ignore_value): New macro.
15260         * nscd/connections.c (restart): Wrap calls to setuid and setgid
15261         with ignore_value.
15262
15263         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
15264         definition.
15265
15266         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
15267         pthread_cleanup_push to void *.
15268
15269         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
15270         Undefine.
15271
15272         [BZ #16619]
15273         [BZ #16740]
15274         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
15275         instead of 1L << 52.
15276
15277         * libio/bug-rewind.c (do_test): Check fwscanf return values.
15278         * libio/bug-rewind2.c (do_test): Likewise.
15279
15280         * debug/test-stpcpy_chk-ifunc.c: Remove file.
15281         * debug/test-strcpy_chk-ifunc.c: Likewise.
15282         * wcsmbs/test-wcschr-ifunc.c: Likewise.
15283         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15284         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15285         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15286         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15287         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15288         * Rules [$(multi-arch) = no] (tests): Do not filter out
15289         $(tests-ifunc).
15290         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
15291         * debug/Makefile (tests-ifunc): Remove variable.
15292         (tests): Do not add $(tests-ifunc).
15293         * wcsmbs/Makefile (tests-ifunc): Remove variable.
15294         (tests): Do not add $(tests-ifunc).
15295         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
15296         [TEST_IFUNC]: Remove conditionals.
15297         * string/test-string.h (TEST_IFUNC): Remove macro.
15298         [TEST_IFUNC]: Remove conditionals.
15299
15300         * string/test-strchr.c [!WIDE] (L): New macro.
15301         [WIDE] (L): Likewise.
15302         (check1): Use CHAR instead of char.  Use L on string and character
15303         constants.
15304
15305 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
15306
15307         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
15308         tests.
15309         * sysdeps/powerpc/bits/atomic.h
15310         (__arch_atomic_exchange_and_add_32_acq): Add definition.
15311         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15312         (atomic_exchange_and_add_acq): Likewise.
15313         (atomic_exchange_and_add_rel): Likewise.
15314         * sysdeps/powerpc/powerpc32/bits/atomic.h
15315         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15316         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15317         * sysdeps/powerpc/powerpc64/bits/atomic.h
15318         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15319         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15320
15321 2014-11-26  Torvald Riegel  <triegel@redhat.com>
15322
15323         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
15324         Change synchronization of __sched_fifo_min_prio and
15325         __sched_fifo_max_prio.
15326         * nptl/pthread_mutexattr_getprioceiling.c
15327         (pthread_mutexattr_getprioceiling): Likewise.
15328         * nptl/pthread_mutexattr_setprioceiling.c
15329         (pthread_mutexattr_setprioceiling): Likewise.
15330         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15331         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
15332         Likewise.
15333
15334 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15335
15336         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
15337         void.
15338
15339 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15340
15341         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
15342         third argument const.
15343
15344 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15345
15346         fnmatch: work around GCC compiler warning bug with uninit var
15347         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
15348         This works around a bug with x86-64 GCC 4.9.2 and earlier
15349         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
15350         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
15351         used uninitialized in this function [-Wmaybe-uninitialized]".
15352
15353 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15354
15355         * posix/bug-regex31.c (main): Return RES not 0.
15356
15357 2014-11-25  Anton Blanchard <anton@samba.org>
15358
15359         * sysdeps/powerpc/bits/atomic.h
15360         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
15361
15362 2014-11-24  Sterling Augustine  <saugustine@google.com>
15363
15364         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
15365
15366 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
15367
15368         [BZ #17608]
15369         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
15370
15371 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
15372
15373         [BZ #17633]
15374         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
15375         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
15376         variable.
15377         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15378         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15379
15380 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15381
15382         * string/strncpy.c (strncpy): Improve performance by using memset.
15383
15384 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15385
15386         * string/strcpy.c (strcpy):
15387         Improve performance by using strlen and memcpy.
15388
15389 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
15390
15391         * string/strcoll_l.c (get_next_seq): __always_inline.
15392         * string/strcoll_l.c (do_compare): __always_inline.
15393
15394 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15395
15396         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
15397         defined.
15398         * include/mqueue.h: Likewise.
15399         * include/stdlib.h: Likewise.
15400
15401         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
15402         (get_null_defines): Adjust.
15403         * sunrpc/Makefile: Adjust comment.
15404         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
15405         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
15406         (CFLAGS-interp.c): Likewise.
15407         (CFLAGS-ldconfig.c): Likewise.
15408         (CPPFLAGS-.os): Likewise.
15409         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15410         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15411         * extra-modules.mk (extra-modules.mk): Likewise.
15412         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
15413         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
15414         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
15415         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
15416         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
15417         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
15418         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
15419         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
15420         * iconvdata/Makefile (CPPFLAGS): Likewise.
15421         (cpp-srcs-left): Add libof for all iconvdata routines.
15422         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
15423         * include/assert.h: Likewise.
15424         * include/ctype.h: Likewise.
15425         * include/errno.h: Likewise.
15426         * include/libc-symbols.h: Likewise.
15427         * include/math.h: Likewise.
15428         * include/netdb.h: Likewise.
15429         * include/resolv.h: Likewise.
15430         * include/stdio.h: Likewise.
15431         * include/stdlib.h: Likewise.
15432         * include/string.h: Likewise.
15433         * include/sys/stat.h: Likewise.
15434         * include/wctype.h: Likewise.
15435         * intl/l10nflist.c: Likewise.
15436         * libidn/idn-stub.c: Likewise.
15437         * libio/libioP.h: Likewise.
15438         * nptl/libc_multiple_threads.c: Likewise.
15439         * nptl/pthreadP.h: Likewise.
15440         * posix/regex_internal.h: Likewise.
15441         * resolv/res_hconf.c: Likewise.
15442         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
15443         * sysdeps/arm/memmove.S: Likewise.
15444         * sysdeps/arm/sysdep.h: Likewise.
15445         * sysdeps/generic/_itoa.h: Likewise.
15446         * sysdeps/generic/symbol-hacks.h: Likewise.
15447         * sysdeps/gnu/errlist.awk: Likewise.
15448         * sysdeps/gnu/errlist.c: Likewise.
15449         * sysdeps/i386/i586/memcpy.S: Likewise.
15450         * sysdeps/i386/i586/memset.S: Likewise.
15451         * sysdeps/i386/i686/memcpy.S: Likewise.
15452         * sysdeps/i386/i686/memmove.S: Likewise.
15453         * sysdeps/i386/i686/mempcpy.S: Likewise.
15454         * sysdeps/i386/i686/memset.S: Likewise.
15455         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15456         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15457         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
15458         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
15459         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15460         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15461         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
15462         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15463         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15464         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15465         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15466         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15467         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15468         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15469         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15470         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15471         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
15472         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
15473         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
15474         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15475         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15476         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15477         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15478         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15479         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15480         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15481         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
15482         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15483         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
15484         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15485         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15486         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15487         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15488         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15489         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15490         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15491         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15492         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15493         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15494         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15495         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15496         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15497         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15498         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15499         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15500         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15501         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
15502         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
15503         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15504         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15505         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15506         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
15507         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
15508         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15509         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15510         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
15511         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15512         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
15513         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
15514         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15515         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15516         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15517         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
15518         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15519         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15520         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
15521         * sysdeps/posix/closedir.c: Likewise.
15522         * sysdeps/posix/opendir.c: Likewise.
15523         * sysdeps/posix/readdir.c: Likewise.
15524         * sysdeps/posix/rewinddir.c: Likewise.
15525         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
15526         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
15527         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15528         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15529         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15530         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
15531         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
15532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
15533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15534         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
15535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15536         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15537         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15538         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
15539         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
15540         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
15541         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15542         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15543         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
15544         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
15545         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15546         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
15547         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
15548         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15549         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
15550         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
15551         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
15552         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15553         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15554         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
15555         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
15556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
15557         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
15558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
15559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
15560         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
15561         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15562         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15563         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
15564         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
15565         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
15566         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
15567         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15568         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
15569         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15570         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
15571         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
15572         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15573         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
15574         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
15575         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
15576         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15577         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15578         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15579         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15580         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
15581         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
15582         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15583         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15584         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
15585         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
15586         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15587         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15588         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15589         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
15590         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
15591         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
15592         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
15593         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
15594         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
15595         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
15596         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15597         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
15598         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15599         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15600         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
15601         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
15602         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15603         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15604         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
15605         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15606         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15607         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
15608         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
15609         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15610         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
15611         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
15612         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15613         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15614         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15615         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
15616         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
15617         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
15618         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15619         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15620         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
15621         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15622         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15623         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
15624         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
15625         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15626         * sysdeps/unix/alpha/sysdep.S: Likewise.
15627         * sysdeps/unix/alpha/sysdep.h: Likewise.
15628         * sysdeps/unix/make-syscalls.sh: Likewise.
15629         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15630         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15631         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15632         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
15633         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15634         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15635         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
15636         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15637         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15638         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
15639         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15640         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15641         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15642         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15643         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15644         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15645         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15646         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15647         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15648         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15649         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15650         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15651         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15652         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15653         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15654         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15655         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15658         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
15659         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15660         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15661         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15662         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15663         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15664         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15665         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15666         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15667         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15668         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15669         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15670         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15671         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15672         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15673         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15674         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15675         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15676         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15678         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15679         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15680         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15681         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15682         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15683         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15684         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15685         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15687         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
15688         * sysdeps/x86_64/memcpy.S: Likewise.
15689         * sysdeps/x86_64/memmove.c: Likewise.
15690         * sysdeps/x86_64/memset.S: Likewise.
15691         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
15692         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15693         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15694         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
15695         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
15696         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15697         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15698         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15699         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15700         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15701         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15702         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15703         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
15704         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15705         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15706         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
15707         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15708         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15709         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15710         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15711         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
15712         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15713         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15714         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15715         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15716         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15717         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15718         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
15719         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15720         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15721         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
15722         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15723         * sysdeps/x86_64/strcmp.S: Likewise.
15724
15725         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
15726
15727         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
15728         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
15729         * elf/rtld-Rules: Likewise.
15730         * elf/setup-vdso.h: Likewise.
15731         * include/assert.h: Likewise.
15732         * include/bits/stdlib-float.h: Likewise.
15733         * include/errno.h: Likewise.
15734         * include/sys/stat.h: Likewise.
15735         * include/unistd.h: Likewise.
15736         * sysdeps/aarch64/setjmp.S: Likewise.
15737         * sysdeps/alpha/setjmp.S: Likewise.
15738         * sysdeps/arm/__longjmp.S: Likewise.
15739         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
15740         * sysdeps/arm/setjmp.S: Likewise.
15741         * sysdeps/arm/sysdep.h: Likewise.
15742         * sysdeps/generic/_itoa.h: Likewise.
15743         * sysdeps/generic/dl-sysdep.h: Likewise.
15744         * sysdeps/generic/ldsodefs.h: Likewise.
15745         * sysdeps/i386/dl-tls.h: Likewise.
15746         * sysdeps/i386/setjmp.S: Likewise.
15747         * sysdeps/m68k/setjmp.c: Likewise.
15748         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
15749         * sysdeps/mach/hurd/opendir.c: Likewise.
15750         * sysdeps/posix/getcwd.c: Likewise.
15751         * sysdeps/posix/opendir.c: Likewise.
15752         * sysdeps/posix/profil.c: Likewise.
15753         * sysdeps/powerpc/dl-procinfo.h: Likewise.
15754         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15755         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15756         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15757         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15758         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
15759         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15760         * sysdeps/s390/dl-tls.h: Likewise.
15761         * sysdeps/s390/s390-32/setjmp.S: Likewise.
15762         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15763         * sysdeps/sh/sh3/setjmp.S: Likewise.
15764         * sysdeps/sh/sh4/setjmp.S: Likewise.
15765         * sysdeps/unix/alpha/sysdep.h: Likewise.
15766         * sysdeps/unix/arm/sysdep.S: Likewise.
15767         * sysdeps/unix/i386/sysdep.S: Likewise.
15768         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15769         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15770         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15771         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15772         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15773         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15774         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15775         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15776         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15777         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15778         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15779         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15780         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15783         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15784         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15786         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15787         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15788         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15789         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15790         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15791         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15792         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15793         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15795         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15796         * sysdeps/x86_64/setjmp.S: Likewise.
15797
15798         * include/math.h: Use IS_IN instead of IS_IN_libm.
15799         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
15800         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15801         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15802         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15803         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15804         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15805         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15806         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15807         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15808         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15809         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
15810         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
15811         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
15812         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
15813         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
15814         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
15815         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
15816         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
15817         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
15818         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
15819         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
15820         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
15821         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
15822         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
15823         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
15824         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15825         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
15826         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
15827         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
15828         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
15829         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
15830         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15831         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
15833         Likewise.
15834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15835         Likewise.
15836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
15837         Likewise.
15838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
15839         Likewise.
15840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
15841         Likewise.
15842         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15843         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
15844         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15845         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15846         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15847         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
15849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
15853         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
15854         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
15855         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15856         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15857         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15858         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15859         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15860         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15861         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15862         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
15863         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
15864         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
15865         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
15866         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
15867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15868         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
15869
15870         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
15871         * nptl/pthreadP.h: Likewise.
15872         * nptl_db/structs.def: Likewise.
15873         * sysdeps/arm/sysdep.h: Likewise.
15874         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15875         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15876         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
15877         * sysdeps/unix/alpha/sysdep.h: Likewise.
15878         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15879         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15880         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15881         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15882         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15883         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15884         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15885         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15886         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15887         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15888         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15889         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15890         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15891         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15894         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15896         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15897         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15898         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15899         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15900         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15901         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15902         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15903         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15904
15905         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
15906         * nptl/pthreadP.h: Likewise.
15907         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15908         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15909         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15910         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15911         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15912         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15913         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15914         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15915         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15916         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15917         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15918         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15920         Likewise.
15921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15922         Likewise.
15923         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15924         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15925         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15926         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15927         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15928         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15929         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15930         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15931
15932         * dlfcn/dladdr.c: Use IS_IN.
15933         * dlfcn/dladdr1.c: Likewise.
15934         * dlfcn/dlclose.c: Likewise.
15935         * dlfcn/dlerror.c: Likewise.
15936         * dlfcn/dlinfo.c: Likewise.
15937         * dlfcn/dlmopen.c: Likewise.
15938         * dlfcn/dlopen.c: Likewise.
15939         * dlfcn/dlsym.c: Likewise.
15940         * dlfcn/dlvsym.c: Likewise.
15941
15942         * include/ifaddrs.h: Use IS_IN.
15943         * inet/check_pf.c: Likewise.
15944         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15945         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
15946
15947         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
15948         IS_IN_ldconfig.
15949         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
15950         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
15951
15952         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
15953         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
15954         IS_IN (libc).
15955
15956         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
15957
15958         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
15959         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15960         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15961         * include/libc-symbols.h (IS_IN_LIB): New macro.
15962         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
15963         * include/netdb.h: Likewise.
15964         * include/stap-probe.h: Remove all uses of IN_LIB.
15965
15966         * Makeconfig (module-cppflags-real): Define MODULE_NAME
15967         instead of IN_MODULE.
15968         * include/libc-symbols.h (IN_MODULE): Define using
15969         MODULE_NAME.
15970         (PASTE_NAME, PASTE_NAME1): New macros.
15971         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
15972         of IN_LIB.
15973         (STAP_PROBE_ASM): Likewise.
15974
15975 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15976
15977         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
15978         __mach_init in dlopened libc.
15979
15980 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
15981
15982         * sysdeps/arm/preconfigure.ac: Delete EABI check.
15983         * sysdeps/arm/preconfigure: Regenerate.
15984
15985 2014-11-21  Roland McGrath  <roland@hack.frob.com>
15986
15987         * nptl/pthread_create.c (__pthread_create_2_1): Set
15988         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
15989         when copying values from IATTR into PD.
15990
15991 2014-11-21  Will Newton  <will.newton@linaro.org>
15992             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
15993
15994         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
15995         Refactor inline-asm.  Also add comment.
15996
15997         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
15998         ElfW macro instead of hardcoded Elf64 types.
15999         (la_aarch64_gnu_pltenter): Likewise.
16000         * sysdeps/aarch64/dl-machine.h
16001         (elf_machine_runtime_setup): Use ElfW(Addr).
16002
16003         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16004         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16005         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16006         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16007         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16008         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16009         (R_AARCH64_TLS_DTPMOD): This.
16010         (R_AARCH64_TLS_DTPREL64): Rename to ...
16011         (R_AARCH64_TLS_DTPREL): This.
16012         (R_AARCH64_TLS_TPREL64): Rename to ...
16013         (R_AARCH64_TLS_TPREL): This.
16014         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16015         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16016         R_AARCH64_TLS_TPREL64.
16017         (elf_machine_rela): Likewise.
16018
16019 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16020
16021         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16022         by setting it to 0.  64b atomics are not supported currently.
16023
16024 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16025
16026         [BZ #16469]
16027         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16028         search domain names.
16029
16030 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16031
16032         [BZ #16469]
16033         * NEWS: Update.
16034         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16035         trailing dot.
16036         * posix/tst-getaddrinfo5.c: New.
16037         * posix/Makefile (tests): Add it.
16038
16039 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16040
16041         [BZ #14498]
16042         * NEWS: Fixed.
16043         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16044         after parsing line but before break_if_match.
16045         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16046         if there is a protocol mismatch.
16047
16048 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16049
16050         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16051         because the potential race is on the user-supplied stream.
16052
16053 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16054
16055         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16056         string literal if not passed a buffer.
16057         * manual/job.texi (ctermid): Update reasoning, note deviation
16058         from posix, suggest mtasurace when not passed a buffer, for
16059         future non-preliminary safety notes.
16060
16061 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16062
16063         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16064         of not passing it a buffer.
16065         Reported by Peng Haitao.
16066
16067 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16068
16069         * manual/Makefile ($(objpfx)stamp-summary): Require
16070         check-safety.sh to pass.
16071         * manual/check-safety.sh: Wish for verification that every
16072         @deftypefn and @deftypefun is followed by a @safety remark.
16073
16074 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16075
16076         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16077
16078         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16079         PTHREAD_CANCEL_ASYNCHRONOUS.
16080         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16081         send SIGCANCEL.
16082
16083         * nptl/default-sched.h: New file.
16084         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16085         * nptl/pthread_create.c: Include it.
16086         (__pthread_create_2_1): Use collect_default_sched instead of making
16087         Linux syscalls here directly.
16088
16089 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16090
16091         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16092         __pthread_once): Use C11 atomics.
16093
16094 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16095
16096         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16097
16098 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16099
16100         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16101         atomic_thread_fence_acquire, atomic_thread_fence_release,
16102         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16103         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16104         atomic_compare_exchange_weak_relaxed,
16105         atomic_compare_exchange_weak_acquire,
16106         atomic_compare_exchange_weak_release,
16107         atomic_exchange_acquire, atomic_exchange_release,
16108         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16109         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16110         atomic_fetch_and_acquire,
16111         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16112
16113 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16114
16115         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16116         USE_ATOMIC_COMPILER_BUILTINS): Define.
16117         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16118         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16119         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16121         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16123         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16125         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16127         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16129         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16130         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16131         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16133         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16134         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16135         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16137         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16139         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16141         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16143         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16145         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16147         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16149         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16151         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16152         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16153         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16155         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16157
16158 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16159
16160         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16161         the sched_priority value here.  It was already checked when the user
16162         called pthread_attr_setschedparam.
16163
16164         * nptl/tst-bad-schedattr.c: New file.
16165         * nptl/Makefile (tests): Add it.
16166
16167 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16168             Florian Weimer  <fweimer@redhat.com>
16169             Joseph Myers  <joseph@codesourcery.com>
16170             Adam Conrad  <adconrad@0c3.net>
16171             Andreas Schwab  <schwab@suse.de>
16172             Brooks  <bmoses@google.com>
16173
16174         [BZ #17625]
16175         * wordexp-test.c (__dso_handle): Add prototype.
16176         (__register_atfork): Likewise.
16177         (__app_register_atfork): New function.
16178         (registered_forks): New global.
16179         (register_fork): New function.
16180         (test_case): Add 3 new tests for WRDE_CMDSUB.
16181         (main): Call __app_register_atfork.
16182         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
16183         fork count is non-zero fail the test.
16184         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
16185         is set.
16186         (parse_dollars): Remove check for WRDE_NOCMD.
16187         (parse_dquote): Likewise.
16188
16189 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16190
16191         * Makeconfig (built-modules): List non-library modules to be
16192         built.
16193         (module-cppflags): Include libc-modules.h for
16194         everything except shlib-versions.v.i.
16195         (CPPFLAGS): Use it.
16196         (before-compile): Add libc-modules.h.
16197         ($(common-objpfx)libc-modules.h,
16198         $(common-objpfx)libc-modules.stmp): New targets.
16199         (common-generated): Add libc-modules.h and libc-modules.stmp.
16200         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
16201         * include/libc-symbols.h: Don't include libc-modules.h.
16202         * include/libc-modules.h: Remove file.
16203         * scripts/gen-libc-modules.awk: New script to generate
16204         libc-modules.h.
16205         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
16206         Depend on libc-modules.stmp.
16207
16208         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
16209
16210         * Makeconfig (in-module): Get value of libof set for the
16211         translation unit.
16212         (CPPFLAGS): Use $(in-module).
16213         * Makerules: Don't suffix routine names for nonlib.
16214         * include/libc-modules.h: New file.
16215         * include/libc-symbols.h: Include libc-modules.h
16216         (IS_IN): New macro to replace IS_IN_* macros.
16217         * elf/Makefile: Set libof-* for each routine.
16218         * elf/rtld-Rules: Likewise.
16219         * extra-modules.mk: Likewise.
16220         * iconv/Makefile: Likewise.
16221         * iconvdata/Makefile: Likewise.
16222         * locale/Makefile: Likewise.
16223         * malloc/Makefile: Likewise.
16224         * nss/Makefile: Likewise.
16225         * sysdeps/gnu/Makefile: Likewise.
16226         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
16227         * sysdeps/unix/sysv/linux/Makefile: Likewise.
16228         * sysdeps/s390/s390-64/Makefile: Likewise.
16229         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
16230         CPPFLAGS for nscd instead of nonlib.
16231
16232 2014-11-18  Roland McGrath  <roland@hack.frob.com>
16233
16234         * nptl/createthread.c: New file.
16235
16236         * nptl/createthread.c: Moved ...
16237         * sysdeps/unix/sysv/linux/createthread.c: ... here.
16238
16239         * nptl/createthread.c: Add proper top-line comment.
16240         (do_clone): Folded into ...
16241         (create_thread): ... here.  Take new arguments STOPPED_START and
16242         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
16243         increment __nptl_threads, do event-reporting logic, do
16244         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
16245         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
16246         resource cleanup if sched_setaffinity or sched_setscheduler fails,
16247         just send SIGCANCEL.
16248         * nptl/pthread_create.c: Forward-declare create_thread before
16249         including createthread.c.
16250         (start_thread): Use new macro START_THREAD_DEFN to replace defining
16251         declaration, and new macro START_THREAD_SELF to replace argument.
16252         Remove return statement.
16253         (report_thread_creation): New function.
16254         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
16255         synchronization logic, and __nptl_nthreads increment here, around
16256         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
16257         PD->parent_cancelhandling here, before create_thread.  When
16258         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
16259         __deallocate_stack, and ENOMEM translation here.
16260
16261 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
16262
16263         [BZ #17616]
16264         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
16265         (mptwo): Rename to __mptwo.
16266         (__inv): Use __mptwo instead of mptwo.
16267         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
16268         (mptwo): Rename to __mptwo.
16269         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
16270         of mpone and __mptwo instead of mptwo.
16271         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
16272         instead of mpone.
16273         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16274         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
16275         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
16276         of mpone and __mptwo instead of mptwo.
16277         (__mpranred): Use __mpone instead of mpone.
16278         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
16279         variable.
16280         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16281         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16282         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16283         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16284         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16285         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16286         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16287         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16288         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16289         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16290         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16291         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16292         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16293         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16294         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16295         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16296         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16297         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16298         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16299
16300 2014-11-18  Tom de Vries  <tom@codesoucery.com>
16301
16302         * manual/signal.texi (Primitives Interrupted by Signals): In section,
16303         replace BSD Handler xref with BSD Signal Handling.
16304
16305 2014-11-17  Richard Henderson  <rth@redhat.com>
16306
16307         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
16308         (_FP_PACK_RAW_2): Remove.
16309         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
16310         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
16311         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
16312         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
16313         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
16314         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16315         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
16316         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
16317         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
16318         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
16319         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
16320         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
16321         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
16322         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
16323         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
16324         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
16325
16326 2014-11-14  Roland McGrath  <roland@hack.frob.com>
16327
16328         * signal/signal.h [__USE_MISC]
16329         (struct sigvec): Remove type.
16330         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
16331         (sigvec): Remove declaration.
16332         * sysdeps/posix/sigvec.c: Moved ...
16333         * signal/sigvec.c: ... here, replacing old file.
16334         (struct sigvec): New type, copied from old signal.h definition.
16335         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
16336         (__sigvec): Convert definition to prototype.
16337         (sigvec): Replace weak_alias with compat_symbol.
16338         * signal/Versions (libc: GLIBC_2.21): New version set.
16339         * include/signal.h: Remove __sigvec declaration.
16340         * sysdeps/unix/bsd/sigvec.c: Remove file.
16341         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
16342         * manual/signal.texi (BSD Handler): Remove subsection.
16343         Move siginterrupt up to ...
16344         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
16345         (Blocking in BSD): Fold subsection into its parent.
16346         * NEWS: Mention sigvec removal.
16347
16348 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16349
16350         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
16351         (DLA_FMS): Make definition conditional only on [__FMA4__].
16352         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
16353         definition.
16354
16355         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
16356         Make definition conditional only on [PROF].
16357         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
16358         definition.
16359         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
16360         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
16361
16362         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
16363         !__GNUC__].
16364         * include/signal.h (__sigpause): Move declaration above call to
16365         libc_hidden_proto.
16366         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
16367         variable.
16368         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16369         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16370
16371 2014-11-14  David S. Miller  <davem@davemloft.net>
16372
16373         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
16374         Define before including <string/memcpy.c> and <string/mempcpy.c>.
16375
16376 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16377
16378         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
16379         * configure: Regenerated.
16380         * manual/install.texi (Tools for Compilation): Document a
16381         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
16382         compiler verified to work.
16383         * INSTALL: Regenerated.
16384
16385         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
16386         redeclare with asm name.
16387         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
16388         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
16389         including <string.h>.
16390         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16391         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
16392         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16393         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
16394         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16395         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16396         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16397
16398 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
16399
16400         * stdlib/strtol.c (__strtol): Use prototype definition.
16401
16402         [BZ #17594]
16403         * stdlib/strtol.c (SYM__): New macro.
16404         (SYM__1): Likewise.
16405         (__strtol): Likewise.
16406         (strtol): Rename to __strtol and define as weak alias of
16407         __strtol.  Use libc_hidden_weak.
16408
16409 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16410
16411         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
16412         Use numbered labels in inline assembly.
16413
16414 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16415
16416         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
16417         Add setjmp LIBC_PROBE.
16418         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
16419         Likewise.
16420         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
16421         Add longjmp, longjmp_target LIBC_PROBE.
16422         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
16423         Likewise.
16424
16425 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16426
16427         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16428         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16429         to get rid of unused variable warning.
16430
16431 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16432
16433         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
16434         Check for unwind_backtrace ==  NULL only in SHARED case.
16435         (__backchain_backtrace): Compile only in SHARED case.
16436         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
16437         Likewise.
16438         (__backchain_backtrace): Declare as static.
16439
16440 2014-11-12  Roland McGrath  <roland@hack.frob.com>
16441
16442         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
16443         (__libc_multiple_threads_ptr): Variable moved ...
16444         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16445
16446 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
16447
16448         * conform/GlibcConform.pm: New file.
16449         * conform/conformtest.pl: Use GlibcConform module.
16450         * conform/linknamespace.pl: New file.
16451         * conform/list-header-symbols.pl: Likewise.
16452         * conform/Makefile (linknamespace-symlists-base): New variable.
16453         (linknamespace-symlists-tests): Likewise.
16454         (linknamespace-header-base): Likewise.
16455         (linknamespace-header-tests): Likewise.
16456         (tests-special): Add new tests.
16457         ($(linknamespace-symlists-tests)): New rule.
16458         (linknamespace-libs): New variable.
16459         ($(objpfx)symlist-stdlibs): New rule.
16460         ($(linknamespace-header-tests)): Likewise.
16461         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
16462         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
16463         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
16464         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
16465         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
16466         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
16467         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
16468         (test-xfail-ISO/math.h/linknamespace): Likewise.
16469         (test-xfail-ISO/signal.h/linknamespace): Likewise.
16470         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
16471         (test-xfail-ISO/time.h/linknamespace): Likewise.
16472         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16473         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
16474         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16475         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16476         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16477         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16478         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16479         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16480         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16481         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16482         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16483         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16484         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16485         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
16486         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
16487         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16488         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
16489         (test-xfail-XPG3/search.h/linknamespace): Likewise.
16490         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
16491         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16492         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
16493         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16494         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16495         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
16496         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16497         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16498         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
16499         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
16500         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16501         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
16502         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16503         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16504         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16505         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16506         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
16507         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
16508         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
16509         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
16510         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16511         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
16512         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16513         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
16514         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16515         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16516         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16517         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
16518         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
16519         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16520         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16521         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
16522         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16523         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16524         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
16525         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16526         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16527         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16528         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16529         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16530         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16531         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16532         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16533         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16534         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
16535         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16536         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16537         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16538         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
16539         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16540         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16541         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
16542         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16543         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16544         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16545         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16546         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16547         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16548         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
16549         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
16550         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16551         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
16552         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16553         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
16554         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16555         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16556         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16557         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
16558         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16559         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16560         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16561         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
16562         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
16563         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
16564         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16565         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16566         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16567         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16568         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
16569         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
16570         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16571         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16572         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16573         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16574         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16575         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16576         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16577         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16578         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16579         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16580         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
16581         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16582         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16583         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
16584         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16585         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16586         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16587         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16588         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16589         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16590         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16591         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16592         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16593         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16594         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16595         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16596         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16597         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16598         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
16599         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16600         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16601         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16602         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16603         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16604         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
16605         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16606         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16607         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16608         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16609         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16610         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16611         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16612         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16613         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16614         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16615         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16616         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16617         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16618         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
16619         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16620         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16621         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16622
16623         [BZ #17589]
16624         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
16625         of fgets_unlocked.
16626
16627         [BZ #17585]
16628         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
16629         (memmem): Rename to __memmem and define as weak alias of
16630         __memmem.  Use libc_hidden_weak.
16631         (__memmem): Use libc_hidden_def.
16632         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
16633         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
16634         memmem.
16635
16636         [BZ #17582]
16637         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
16638         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
16639         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
16640         and define as weak alias of __fgets_unlocked.  Use
16641         libc_hidden_weak.
16642         (__fgets_unlocked): Use libc_hidden_def.
16643         * include/stdio.h (__fgets_unlocked): Declare.  Use
16644         libc_hidden_proto.
16645         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
16646         __fgets_unlocked instead of fgets_unlocked.
16647         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
16648         (GET_NPROCS_CONF_PARSER): Likewise.
16649         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
16650         (GET_NPROCS_CONF_PARSER): Likewise.
16651
16652         [BZ #17574]
16653         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
16654         weak alias of __wmemset.  Use libc_hidden_weak.
16655         (__wmemset): Use libc_hidden_def.
16656         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
16657         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
16658         of wmemset.
16659
16660         [BZ #17573]
16661         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
16662         with asm name __mempcpy.
16663         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
16664
16665         [BZ #17572]
16666         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
16667         and define as weak alias of __rawmemchr.
16668         (__rawmemchr): Do not define as strong alias of rawmemchr.
16669
16670         [BZ #17571]
16671         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
16672         alias of __qsort_r.
16673         (qsort): Call __qsort_r instead of qsort_r.
16674         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
16675         (__qsort_r): Declare.  Call libc_hidden_proto.
16676         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
16677         instead of qsort_r.
16678         * nscd/gai.c (__qsort_r): Define to qsort_r.
16679         * posix/tst-rfc3484.c (__qsort_r): Likewise.
16680         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
16681         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
16682
16683         [BZ #17570]
16684         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
16685         define as weak alias of __malloc_info.
16686
16687         [BZ #17584]
16688         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
16689         as weak alias of __rewinddir.  Don't use libc_hidden_def.
16690         (__rewinddir): Use libc_hidden_def.
16691         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
16692         as weak alias of __rewinddir.  Don't use libc_hidden_def.
16693         (__rewinddir): Use libc_hidden_def.
16694         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
16695         weak alias of __rewinddir.  Don't use libc_hidden_def.
16696         (__rewinddir): Use libc_hidden_def.
16697         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
16698         (__rewinddir): Use libc_hidden_proto.
16699         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
16700         rewinddir.
16701         (__getcwd): Use __rewinddir instead of rewinddir.
16702
16703         [BZ #17583]
16704         * libio/fileno.c (fileno): Rename to __fileno and define as weak
16705         alias of __fileno.  Use libc_hidden_weak.
16706         (__fileno): Use libc_hidden_def.
16707         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
16708         * libio/ftello.c (ftello): Rename to __ftello and define as weak
16709         alias of __ftello.
16710         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
16711         __ftello.
16712         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
16713         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
16714         libc_hidden_def.
16715         (fread_unlocked): Don't use libc_hidden_ver.
16716         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
16717         and define as weak alias of __fread_unlocked.  Don't use
16718         libc_hidden_def.
16719         (__fread_unlocked): Use libc_hidden_def.
16720         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
16721         (ftello): Don't use libc_hidden_proto.
16722         (__ftello): Declare.  Use libc_hidden_proto.
16723         (fread_unlocked): Don't use libc_hidden_proto.
16724         (__fread_unlocked): Declare.  Use libc_hidden_proto.
16725         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
16726         and __ftello instead of fileno, fread_unlocked and ftello.
16727
16728 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16729
16730         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
16731         GOT12.
16732         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16733         Likewise.
16734         (_dl_start_user): Likewise.
16735         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
16736
16737 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
16738             Siddhesh Poyarekar  <siddhesh@redhat.com>
16739
16740         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
16741         Move argv and envp down instead of moving argc up.
16742         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
16743
16744 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
16745
16746         [BZ #17506]
16747         * test-skeleton.c (main): Return successful if one of
16748         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
16749         * string/tst-strcoll-overflow.c: Define expected status.
16750
16751 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
16752
16753         [BZ #17475]
16754         * locale/iso-639.def: Define Bhili and Tulu language codes.
16755
16756 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
16757
16758         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
16759
16760 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
16761
16762         [BZ #17555]
16763         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
16764
16765 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16766
16767         * configure.ac: Updated check of minimal required version to
16768         2.22.
16769         * manual/install.texi (Tools for Compilation): Updated version
16770         number.
16771         * configure: Regenerated.
16772         * INSTALL: Likewise.
16773
16774 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
16775
16776         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
16777         __tls_get_addr.
16778
16779 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
16780
16781         * include/sys/wait.h (__libc_waitpid): Remove declaration.
16782         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
16783         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16784         libc_hidden_weak.
16785         (waitpid): Define as alias of __waitpid.
16786         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
16787         __waitpid.
16788         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16789         libc_hidden_weak.
16790         (waitpid): Define as alias of __waitpid.
16791         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
16792         __libc_waitpid alias.
16793         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
16794         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
16795         Likewise.
16796         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
16797         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
16798         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
16799         alias.
16800         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
16801         __waitpid.
16802         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16803         libc_hidden_weak.
16804         (waitpid): Define as alias of __waitpid.
16805
16806 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
16807
16808         * manual/llio.texi: Add comment that write safety has been
16809         fixed in Linux.
16810
16811         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
16812         (localplt-build-dso): Add elf/ld.so.
16813         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
16814         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
16815         and free for ld.so.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
16817         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
16819         Likewise.
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16821         Likewise.
16822         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
16823         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
16824         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
16825         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
16826         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16827         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
16828         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
16829         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
16830         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16831         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
16832         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16833
16834 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
16835
16836         [BZ #14132]
16837         * include/libc-symbols.h (INTUSE): Remove macro.
16838         (INTDEF): Likewise.
16839         (INTVARDEF): Likewise.
16840         (_INTVARDEF): Likewise.
16841         (INTDEF2): Likewise.
16842         (INTVARDEF2): Likewise.
16843         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
16844         rtld_hidden_def instead of INTVARDEF.
16845         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
16846         (_dl_starting_up_internal): Remove declaration.
16847         (_dl_starting_up): Use rtld_hidden_proto.
16848         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
16849         declaration.
16850         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
16851         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
16852         _dl_starting_up.
16853         * elf/dl-writev.h (_dl_writev): Likewise.
16854         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
16855         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
16856         _dl_starting_up_internal.
16857
16858 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16859
16860         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16861         test-skeleton.c.
16862
16863 2014-11-05  Will Newton  <will.newton@linaro.org>
16864
16865         * benchtests/Makefile: (bench-malloc): Add malloc thread
16866         scalability benchmark.
16867         * benchtests/bench-malloc-threads.c: New file.
16868
16869 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
16870
16871         * sysdeps/aarch64/strchrnul.S: New file.
16872
16873 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16874
16875         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
16876         definition.
16877         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16878         Likwise.
16879         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16880         Likewise.
16881         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16882         Likewise.
16883         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16884         Likewise.
16885         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16886         Likewise.
16887
16888 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
16889
16890         * catgets/test-gencat.c: Use test-skeleton.c.
16891         * catgets/tst-catgets.c: Likewise.
16892         * csu/tst-empty.c: Likewise.
16893         * elf/tst-audit2.c: Likewise.
16894         * elf/tst-global1.c: Likewise.
16895         * elf/tst-pathopt.c: Likewise.
16896         * elf/tst-piemod1.c: Likewise.
16897         * elf/tst-tls10.c: Likewise.
16898         * elf/tst-tls11.c: Likewise.
16899         * elf/tst-tls12.c: Likewise.
16900         * gnulib/tst-gcc.c: Likewise.
16901         * iconvdata/tst-e2big.c: Likewise.
16902         * iconvdata/tst-loading.c: Likewise.
16903         * iconv/tst-iconv1.c: Likewise.
16904         * iconv/tst-iconv2.c: Likewise.
16905         * inet/test-inet6_opt.c: Likewise.
16906         * inet/tst-gethnm.c: Likewise.
16907         * inet/tst-network.c: Likewise.
16908         * inet/tst-ntoa.c: Likewise.
16909         * intl/tst-codeset.c: Likewise.
16910         * intl/tst-gettext2.c: Likewise.
16911         * intl/tst-gettext3.c: Likewise.
16912         * intl/tst-ngettext.c: Likewise.
16913         * intl/tst-translit.c: Likewise.
16914         * io/test-stat.c: Likewise.
16915         * libio/test-fmemopen.c: Likewise.
16916         * libio/tst-freopen.c: Likewise.
16917         * libio/tst-sscanf.c: Likewise.
16918         * libio/tst-ungetwc1.c: Likewise.
16919         * libio/tst-ungetwc2.c: Likewise.
16920         * libio/tst-widetext.c: Likewise.
16921         * localedata/tst-ctype.c: Likewise.
16922         * localedata/tst-digits.c: Likewise.
16923         * localedata/tst-leaks.c: Likewise.
16924         * localedata/tst-mbswcs1.c: Likewise.
16925         * localedata/tst-mbswcs2.c: Likewise.
16926         * localedata/tst-mbswcs3.c: Likewise.
16927         * localedata/tst-mbswcs4.c: Likewise.
16928         * localedata/tst-mbswcs5.c: Likewise.
16929         * localedata/tst-setlocale.c: Likewise.
16930         * localedata/tst-trans.c: Likewise.
16931         * localedata/tst-wctype.c: Likewise.
16932         * localedata/tst-xlocale1.c: Likewise.
16933         * login/tst-grantpt.c: Likewise.
16934         * malloc/tst-calloc.c: Likewise.
16935         * malloc/tst-malloc.c: Likewise.
16936         * malloc/tst-mallocstate.c: Likewise.
16937         * malloc/tst-mcheck.c: Likewise.
16938         * malloc/tst-mtrace.c: Likewise.
16939         * malloc/tst-obstack.c: Likewise.
16940         * math/atest-exp2.c: Likewise.
16941         * math/atest-exp.c: Likewise.
16942         * math/atest-sincos.c: Likewise.
16943         * math/test-matherr.c: Likewise.
16944         * math/test-misc.c: Likewise.
16945         * math/test-powl.c: Likewise.
16946         * math/tst-definitions.c: Likewise.
16947         * misc/tst-dirname.c: Likewise.
16948         * misc/tst-efgcvt.c: Likewise.
16949         * misc/tst-fdset.c: Likewise.
16950         * misc/tst-hsearch.c: Likewise.
16951         * misc/tst-mntent2.c: Likewise.
16952         * nptl/tst-sem7.c: Likewise.
16953         * nptl/tst-sem8.c: Likewise.
16954         * nptl/tst-sem9.c: Likewise.
16955         * nss/test-netdb.c: Likewise.
16956         * posix/tst-fnmatch.c: Likewise.
16957         * posix/tst-getlogin.c: Likewise.
16958         * posix/tst-gnuglob.c: Likewise.
16959         * posix/tst-mmap.c: Likewise.
16960         * pwd/tst-getpw.c: Likewise.
16961         * resolv/tst-inet_ntop.c: Likewise.
16962         * rt/tst-timer.c: Likewise.
16963         * stdio-common/test-fseek.c: Likewise.
16964         * stdio-common/test-popen.c: Likewise.
16965         * stdio-common/test-vfprintf.c: Likewise.
16966         * stdio-common/tst-cookie.c: Likewise.
16967         * stdio-common/tst-fileno.c: Likewise.
16968         * stdio-common/tst-gets.c: Likewise.
16969         * stdio-common/tst-obprintf.c: Likewise.
16970         * stdio-common/tst-perror.c: Likewise.
16971         * stdio-common/tst-sprintf2.c: Likewise.
16972         * stdio-common/tst-sprintf3.c: Likewise.
16973         * stdio-common/tst-sprintf.c: Likewise.
16974         * stdio-common/tst-swprintf.c: Likewise.
16975         * stdio-common/tst-tmpnam.c: Likewise.
16976         * stdio-common/tst-unbputc.c: Likewise.
16977         * stdio-common/tst-wc-printf.c: Likewise.
16978         * stdlib/tst-environ.c: Likewise.
16979         * stdlib/tst-fmtmsg.c: Likewise.
16980         * stdlib/tst-limits.c: Likewise.
16981         * stdlib/tst-rand48-2.c: Likewise.
16982         * stdlib/tst-rand48.c: Likewise.
16983         * stdlib/tst-random2.c: Likewise.
16984         * stdlib/tst-random.c: Likewise.
16985         * stdlib/tst-strtol.c: Likewise.
16986         * stdlib/tst-strtoll.c: Likewise.
16987         * stdlib/tst-tls-atexit.c: Likewise.
16988         * stdlib/tst-xpg-basename.c: Likewise.
16989         * string/test-ffs.c: Likewise.
16990         * string/tst-bswap.c: Likewise.
16991         * string/tst-inlcall.c: Likewise.
16992         * string/tst-strtok.c: Likewise.
16993         * string/tst-strxfrm.c: Likewise.
16994         * sysdeps/x86_64/tst-audit10.c: Likewise.
16995         * sysdeps/x86_64/tst-audit3.c: Likewise.
16996         * sysdeps/x86_64/tst-audit4.c: Likewise.
16997         * sysdeps/x86_64/tst-audit5.c: Likewise.
16998         * time/tst-ftime_l.c: Likewise.
16999         * time/tst-getdate.c: Likewise.
17000         * time/tst-mktime3.c: Likewise.
17001         * time/tst-mktime.c: Likewise.
17002         * time/tst-posixtz.c: Likewise.
17003         * time/tst-strptime2.c: Likewise.
17004         * time/tst-strptime3.c: Likewise.
17005         * wcsmbs/tst-btowc.c: Likewise.
17006         * wcsmbs/tst-mbrtowc.c: Likewise.
17007         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17008         * wcsmbs/tst-wchar-h.c: Likewise.
17009         * wcsmbs/tst-wcpncpy.c: Likewise.
17010         * wcsmbs/tst-wcrtomb.c: Likewise.
17011         * wcsmbs/tst-wcsnlen.c: Likewise.
17012         * wcsmbs/tst-wcstof.c: Likewise.
17013
17014 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17015
17016         [BZ #14132]
17017         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17018         INTDEF.
17019         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17020         declaration.
17021         (_dl_mcount): Use rtld_hidden_proto.
17022         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17023         _dl_mcount.
17024         * elf/rtld.c (_rtld_global_ro): Likewise.
17025
17026         [BZ #14132]
17027         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17028         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17029         of _dl_init_internal.
17030         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17031         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17032         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17033         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17034         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17035         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17036         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17037         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17038         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17039         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17040         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17041         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17042         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17043         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17044         * sysdeps/tile/dl-start.S (_start): Likewise.
17045         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17046         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17047
17048         [BZ #14132]
17049         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17050         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17051         (rtld_progname): Make macro definition unconditional.
17052         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17053         INTDEF.
17054         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17055         (dl_main): Likewise.
17056         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17057         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17058         instead of _dl_argv_internal.
17059         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17060         __GI__dl_argv instead of INTUSE(_dl_argv).
17061         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17062         __GI__dl_argv instead of _dl_argv_internal.
17063
17064         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17065         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17066         macro.
17067         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17068         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17069         New macro.
17070         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17071         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17072         macro.
17073         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17074         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17075
17076 2014-11-04  Andreas Schwab  <schwab@suse.de>
17077
17078         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17079
17080 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17081
17082         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17083         mtvsrd instruction in binary form.
17084
17085 2014-11-03  Andreas Schwab  <schwab@suse.de>
17086
17087         [BZ #17522]
17088         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17089         for less than MB_LEN_MAX use a local buffer of that size.
17090         * libio/tst-fputws.c: New file.
17091         * libio/Makefile (tests): Add tst-fputws.
17092
17093 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17094
17095         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17096         the size of the fpu_fr.fpu_dregs[] array.
17097
17098 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17099
17100         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17101         (__nanosleep): Do not define as alias.
17102         (nanosleep): Define as alias of __nanosleep.
17103         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17104         __libc_nanosleep name.
17105
17106 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17107
17108         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17109         install.texi in comment.
17110
17111 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17112
17113         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17114         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17115         ... add here and use lwsync or sync ...
17116         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17117         ... and add here using lwsync.
17118
17119 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17120
17121         * elf/dl-machine-reject-phdr.h: New file.
17122         * elf/dl-load.c: #include that.
17123         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17124         if that returned true.
17125
17126 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17127
17128         [BZ #17496]
17129         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17130         gen-as-const-headers chunk.  Add a big scare comment after the last
17131         safe place to touch before-compile.
17132
17133 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17134
17135         * manual/install.texi (Tools for Compilation): Update autoconf
17136         version requirements.
17137         * INSTALL: Regenerated.
17138
17139         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17140         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17141         (__libc_pselect): Likewise.
17142
17143         [BZ #14138]
17144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17148
17149 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17150
17151         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17152         correct barrier instruction.
17153         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17154         Likewise.
17155         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17156         Likewise.
17157
17158 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17159
17160         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17161         after defining inlines.  Instead, just use parens to defeat macro
17162         expansion of __isctype in its declaration.
17163
17164 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17165
17166         * include/sys/uio.h (__libc_readv): Remove declaration.
17167         (__libc_writev): Likewise.
17168         * misc/readv.c (__libc_readv): Rename to __readv.
17169         (__readv): Do not define as alias.
17170         (readv): Define as alias of __readv.
17171         * misc/writev.c (__libc_writev): Rename to __writev.
17172         (__writev): Do not define as alias.
17173         (writev): Define as alias of __writev.
17174         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17175         (__readv): Do not define as alias.
17176         (readv): Define unconditionally as alias of __readv.
17177         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17178         (__writev): Do not define as alias.
17179         (writev): Define unconditionally as alias of __writev.
17180         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
17181         name.
17182         (writev): Do not define __libc_writev name.
17183
17184 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17185
17186         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
17187         (convert_charseq): New function, broken out of ...
17188         (use_from_charmap): ... here.  Call it.
17189         (use_to_charmap): Use convert_charseq and free instead of duplicating
17190         its code with a variable-length stack struct.
17191
17192 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17193
17194         * include/fcntl.h (__libc_creat): Remove declaration.
17195         * io/creat.c (__libc_creat): Rename to creat.
17196         (creat): Do not define as alias.
17197         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
17198         of creat instead of __libc_creat.
17199         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
17200         to creat.
17201         (creat): Do not define as alias.
17202         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
17203         __libc_creat.
17204         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
17205         __libc_creat name.
17206         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
17207         Likewise.
17208
17209 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
17210
17211         * manual/llio.texi: Add comments discussing why write() may be
17212         considered MT-unsafe on Linux.
17213
17214 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
17215
17216         * dl-load.c (local_strdup): Remove.
17217         (expand_dynamic_string_token): Use __strdup.
17218         (decompose_rpath): Likewise.
17219         (_dl_map_object): Likewise.
17220
17221 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
17222
17223         [BZ #14132]
17224         * sysdeps/generic/unwind-dw2-fde.c
17225         (__register_frame_info_bases_internal): Do not declare.
17226         (__register_frame_info_table_bases_internal): Likewise.
17227         (__deregister_frame_info_bases_internal): Likewise.
17228         (__register_frame_info_bases): Declare and use hidden_proto before
17229         definition.  Use hidden_def instead of INTDEF.
17230         (__register_frame_info_table_bases): Likewise.
17231         (__deregister_frame_info_bases): Likewise.
17232         (__register_frame_info): Do not use INTUSE.
17233         (__register_frame): Likewise.
17234         (__register_frame_info_table): Likewise.
17235         (__register_frame_table): Likewise.
17236         (__deregister_frame_info): Likewise.
17237         (__deregister_frame): Likewise.
17238
17239 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
17240
17241         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17242         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
17243         not undefine.
17244         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
17245         Likewise.
17246         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
17247         Likewise.
17248
17249 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
17250
17251         [BZ #14138]
17252         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
17253         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
17254         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
17255         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
17256         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
17257         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
17258         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
17259         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
17260         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
17261         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
17262         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
17263         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
17264         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
17265         syscall.
17266         (setfsuid): Likewise.
17267         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
17268         (setfsuid): Likewise.
17269         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
17270         (setfsuid): Likewise.
17271         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
17272         Likewise.
17273         (setfsuid): Likewise.
17274         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
17275         (setfsuid): Likewise.
17276         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
17277         Likewise.
17278         (setfsuid): Likewise.
17279
17280 2014-10-27  Andreas Schwab  <schwab@suse.de>
17281
17282         [BZ #17501]
17283         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
17284         check for Slow_SSE4_2 feature bit.
17285         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
17286         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17287         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
17288         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
17289
17290 2014-10-24  Roland McGrath  <roland@hack.frob.com>
17291
17292         * configure.ac: Validate compiler version with a empirical test of
17293         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
17294         $CC -v output.
17295         * configure: Regenerated.
17296
17297         * inet/htons.c (htons): Prototypify.
17298         * inet/htonl.c (htonl): Likewise.
17299
17300 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17301
17302         * string/strncat.c (strncat): Improve performance by using strlen.
17303
17304 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17305
17306         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
17307
17308 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17309
17310         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
17311         Call libc_fetestexcept_aarch64.
17312
17313 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17314
17315         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
17316         Call libc_feholdexcept_aarch64.
17317
17318 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17319
17320         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
17321         Call get_rounding_mode.
17322
17323 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17324
17325         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17326         Simplify logic.
17327
17328 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17329
17330         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
17331         Simplify logic.
17332
17333 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17334
17335         [BZ #14138]
17336         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
17337         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
17338         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17339         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
17340         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
17341         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
17342         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
17343         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
17344         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
17345         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
17346         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17347         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
17348         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
17349         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
17350         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
17351         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
17352         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
17353         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
17354         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
17355         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
17356         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
17357         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
17358         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
17359         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
17360         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
17361         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
17362         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
17363         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
17364         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
17365         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
17366         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
17367         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
17368         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
17369         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
17370         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
17371         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
17372         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
17373         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
17374         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
17375         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
17376         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
17377         syscall.
17378         (geteuid): Likewise.
17379         (getgid): Likewise.
17380         (getuid): Likewise.
17381         (getresgid): Likewise.
17382         (getresuid): Likewise.
17383         (getgroups): Likewise.
17384         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
17385         (geteuid): Likewise.
17386         (getgid): Likewise.
17387         (getuid): Likewise.
17388         (getresgid): Likewise.
17389         (getresuid): Likewise.
17390         (getgroups): Likewise.
17391         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
17392         (geteuid): Likewise.
17393         (getgid): Likewise.
17394         (getuid): Likewise.
17395         (getresgid): Likewise.
17396         (getresuid): Likewise.
17397         (getgroups): Likewise.
17398         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
17399         Likewise.
17400         (geteuid): Likewise.
17401         (getgid): Likewise.
17402         (getuid): Likewise.
17403         (getresgid): Likewise.
17404         (getresuid): Likewise.
17405         (getgroups): Likewise.
17406         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
17407         (geteuid): Likewise.
17408         (getgid): Likewise.
17409         (getuid): Likewise.
17410         (getresgid): Likewise.
17411         (getresuid): Likewise.
17412         (getgroups): Likewise.
17413         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
17414         Likewise.
17415         (geteuid): Likewise.
17416         (getgid): Likewise.
17417         (getuid): Likewise.
17418         (getgroups): Likewise.
17419
17420         [BZ #14138]
17421         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
17422         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
17423         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
17424         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17425         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
17426         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
17427         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
17428         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
17429         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
17430         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
17431         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
17432         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
17433         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
17434         __chown.
17435         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
17436         (lchown): Likewise.
17437         (fchown): Likewise.
17438         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
17439         Likewise.
17440         (lchown): Likewise.
17441         (fchown): Likewise.
17442         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
17443         (lchown): Likewise.
17444         (fchown): Likewise.
17445         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
17446         Likewise.
17447         (lchown): Likewise.
17448         (fchown): Likewise.
17449
17450 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17451
17452         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
17453         Simplify logic.
17454
17455 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17456
17457         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17458         Cleanup logic.
17459
17460 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17461
17462         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17463         Remove unused include.
17464
17465 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17466
17467         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
17468         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
17469         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
17470         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
17471
17472 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
17473             Helge Deller <deller@gmx.de>
17474
17475         [BZ #17508]
17476         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
17477         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
17478         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
17479
17480 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
17481
17482         [BZ #14132]
17483         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
17484         Remove macro definition.
17485         (__ashrdi3_v_glibc20): Likewise.
17486         (__lshrdi3_v_glibc20): Likewise.
17487         (__cmpdi2_v_glibc20): Likewise.
17488         (__ucmpdi2_v_glibc20): Likewise.
17489         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
17490         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17491         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17492         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17493         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17494         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
17495
17496 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17497
17498         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
17499         old GNU extension [0] syntax.
17500         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
17501         alloca rather than an array member with variable length.
17502         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
17503         * nscd/nscd.c (invalidate_db): New function, broken out of ...
17504         (parse_opt): ... here.  Likewise use alloca there.
17505         Validate the -i argument before checking for rootness.
17506         (send_shutdown): New function, broken out of ...
17507         (parse_opt): ... here.
17508
17509 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17510
17511         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
17512         macro to get at the _rt_local_ro field.
17513         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
17514         ([PIC] case) or _dl_hwcap ([!PIC] case).
17515         * sysdeps/arm/setjmp.S: Likewise.
17516
17517         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
17518         * sysdeps/arm/configure.ac: New check to define it.
17519         * sysdeps/arm/configure: Regenerated.
17520         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
17521         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
17522         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
17523         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
17524         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
17525         Use move/movt pair instead of a load.
17526         (LDST_GLOBAL): Macro removed.
17527         (LDR_GLOBAL): New macro replaces it.
17528         (LDR_HIDDEN): New macro.
17529         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
17530         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
17531
17532         * setjmp/tst-setjmp-static.c: New file.
17533         * setjmp/Makefile (tests): Add it.
17534         (tests-static): New variable.
17535
17536 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
17537
17538         [BZ #17485]
17539         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
17540
17541 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
17542
17543         [BZ #14132]
17544         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
17545
17546 2014-10-21  Roland McGrath  <roland@hack.frob.com>
17547
17548         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
17549
17550 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17551
17552         * io/fts.c (dirent_not_directory): New function.
17553         (fts_build): Call it.
17554
17555 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17556
17557         * nptl/version.c (__nptl_main): Use normal __write rather than
17558         INTERNAL_SYSCALL.
17559         (banner): Update copyright years.
17560
17561         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
17562         gettimeofday.
17563         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17564         * nptl/pthread_cond_timedwait.c: Likewise.
17565         * nptl/pthread_mutex_timedlock.c: Likewise.
17566         * nptl/sem_timedwait.c: Likewise.
17567
17568         * sysdeps/nptl/bits/libc-lock.h
17569         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17570         (__libc_lock_init_recursive): Return void, not 0.
17571         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
17572         (__libc_rwlock_init): Likewise.
17573         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
17574
17575 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17576
17577         [BZ #15215]
17578         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
17579         (__pthread_once_slow): ... here.
17580         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
17581         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
17582
17583 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17584
17585         [BZ #15215]
17586         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
17587         __PTHREAD_ONCE_FORK_GEN_INCR): New.
17588         * sysdeps/nptl/fork.c (__libc_fork): Use them.
17589         * nptl/pthread_once.c (__pthread_once): Likewise.
17590         Update comments.
17591
17592 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
17593
17594         [BZ #14138]
17595         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
17596         name.
17597         (writev): Use __libc_writev as strong name.
17598         * sysdeps/unix/sysv/linux/readv.c: Remove file.
17599         * sysdeps/unix/sysv/linux/writev.c: Likewise.
17600
17601 2014-10-17  Roland McGrath  <roland@hack.frob.com>
17602
17603         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
17604
17605         * sysdeps/i386/nptl/tls.h
17606         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
17607         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
17608         New macros.
17609         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
17610         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
17611         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
17612         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
17613         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
17614         Call CHECK_THREAD_SYSINFO instead of doing an assert.
17615
17616         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17617         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
17618         on [__NR_futex].
17619         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
17620         broken out of ...
17621         (__pthread_mutex_init): ... here.  Call it.
17622         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
17623         Conditionalize PI cases on [__NR_futex].
17624         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
17625         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
17626         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17627
17628         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
17629         conditional on [SIGSETXID].
17630         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
17631         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
17632         is defined.  Likewise for SIGSETXID.
17633         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
17634         Conditionalize definitions on [SIGSETXID].
17635         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
17636         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
17637         unblocking on [SIGCANCEL].
17638
17639         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
17640         [__NR_set_robust_list].
17641
17642 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17643
17644         * string/strcoll_l.c (get_next_seq): Fix up formatting.
17645         (do_compare): Likewise.
17646
17647 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
17648
17649         [BZ #15884]
17650         * string/strcoll_l.c: Don't include stdio.h.
17651         (coll_seq): Remove members idxarr and rulearr.
17652         (get_next_seq_cached): Remove function.
17653         (get_next_seq): Likewise.
17654         (get_next_seq_nocache): Rename to get_next_seq.
17655         (do_compare): Remove function.
17656         (do_compare_nocache): Rename to do_compare.
17657         (STRCOLL): Remove weight and rules cache.
17658
17659 2014-10-16  Roland McGrath  <roland@hack.frob.com>
17660
17661         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
17662         * sysdeps/arm/sfp-machine.h: ... to here.
17663         * sysdeps/arm/Implies: Remove arm/soft-fp.
17664
17665 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
17666
17667         * conform/data/sys/utsname.h-data (*_t): Allow.
17668         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
17669         [POSIX] (WEXITED): Do not expect constant.
17670         [POSIX] (WSTOPPED): Likewise.
17671         [POSIX] (WNOHANG): Likewise.
17672         [POSIX] (WNOWAIT): Likewise.
17673         [POSIX] (siginfo_t): Do not expect type or elements.
17674         [POSIX] (pid_t): Do not expect type.
17675         [POSIX] (signal.h): Do not allow header.
17676         [POSIX] (sys/resource.h): Likewise.
17677         [POSIX] (si_*): Do not allow pattern.
17678         [POSIX] (W*): Likewise.
17679         [POSIX] (P_*): Likewise.
17680         [POSIX] (BUS_*): Likewise.
17681         [POSIX] (CLD_*): Likewise.
17682         [POSIX] (FPE_*): Likewise.
17683         [POSIX] (ILL_*): Likewise.
17684         [POSIX] (POLL_*): Likewise.
17685         [POSIX] (SEGV_*): Likewise.
17686         [POSIX] (SI_*): Likewise.
17687         [POSIX] (TRAP_*): Likewise.
17688         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
17689         variable.
17690
17691 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17692
17693         [BZ #12926]
17694         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
17695         infinite loop when __recvmsg returns 0.
17696
17697 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
17698
17699         * CANCEL-FCT-WAIVE: Remove file.
17700         * CANCEL-FILE-WAIVE: Likewise.
17701
17702         [BZ #14132]
17703         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
17704         instead of INTVARDEF.
17705         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17706         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
17707         rtld_hidden_data_def instead of INTVARDEF.
17708         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17709         * elf/dl-deps.c (expand_dst): Likewise.
17710         * elf/dl-load.c (_dl_dst_count): Likewise.
17711         (_dl_dst_substitute): Likewise.
17712         (decompose_rpath): Likewise.
17713         (_dl_init_paths): Likewise.
17714         (open_path): Likewise.
17715         (_dl_map_object): Likewise.
17716         * elf/rtld.c (dl_main): Likewise.
17717         (process_dl_audit): Likewise.
17718         (process_envvars): Likewise.
17719         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
17720         Remove declaration.
17721         (__libc_enable_secure): Use rtld_hidden_proto.
17722
17723 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17724
17725         * elf/dl-load.c
17726         (add_path): New function broken out of _dl_rtld_di_serinfo.
17727         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
17728
17729 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
17730
17731         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
17732         parentheses around macro arguments.
17733         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
17734         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
17735         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
17736         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
17737         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
17738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17739         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
17741         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
17742         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
17743         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
17744         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
17745         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
17746         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
17747         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
17748         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
17749         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
17750         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
17751         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
17752         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
17753         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
17754         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
17755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
17756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17757         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
17759         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
17760         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
17761         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
17762         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
17763         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
17764         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
17765         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
17766         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
17767         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
17768         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
17769         Likewise.
17770         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
17771         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17772         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17773         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
17774         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
17775         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
17776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
17777         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
17778         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
17779         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
17780         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
17781         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
17782         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
17783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
17784         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
17785         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17786         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17787         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
17788         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
17789         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
17790         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
17791         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
17792         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
17793         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
17794         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
17795         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
17796         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
17797         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
17798         (_FP_FRAC_SRS_1): Likewise.
17799         (_FP_FRAC_CLZ_1): Likewise.
17800         (_FP_MUL_MEAT_1_imm): Likewise.
17801         (_FP_MUL_MEAT_1_wide): Likewise.
17802         (_FP_MUL_MEAT_1_hard): Likewise.
17803         (_FP_SQRT_MEAT_1): Likewise.
17804         (_FP_FRAC_ASSEMBLE_1): Likewise.
17805         (_FP_FRAC_DISASSEMBLE_1): Likewise.
17806         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
17807         (__FP_CLZ_2): Likewise.
17808         (_FP_MUL_MEAT_2_wide): Likewise.
17809         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17810         (_FP_MUL_MEAT_2_gmp): Likewise.
17811         (_FP_MUL_MEAT_2_120_240_double): Likewise.
17812         (_FP_SQRT_MEAT_2): Likewise.
17813         (_FP_FRAC_ASSEMBLE_2): Likewise.
17814         (_FP_FRAC_DISASSEMBLE_2): Likewise.
17815         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
17816         (_FP_FRAC_CLZ_4): Likewise.
17817         (_FP_MUL_MEAT_4_wide): Likewise.
17818         (_FP_MUL_MEAT_4_gmp): Likewise.
17819         (_FP_SQRT_MEAT_4): Likewise.
17820         (_FP_FRAC_ASSEMBLE_4): Likewise.
17821         (_FP_FRAC_DISASSEMBLE_4): Likewise.
17822         * soft-fp/op-common.h (_FP_CMP): Likewise.
17823         (_FP_CMP_EQ): Likewise.
17824         (_FP_CMP_UNORD): Likewise.
17825         (_FP_TO_INT): Likewise.
17826         (_FP_FROM_INT): Likewise.
17827         [!__FP_CLZ] (__FP_CLZ): Likewise.
17828         (_FP_DIV_HELP_imm): Likewise.
17829         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
17830         Likewise.
17831         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
17832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
17833         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
17834         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
17835         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
17836         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17837         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17838         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
17839         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
17840         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
17841         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
17842         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
17843         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
17844         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
17845         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
17846         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
17847         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
17848         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
17849         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
17850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
17851         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
17852         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
17853         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
17854         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17855         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17856         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
17857         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
17858         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
17859         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
17860         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
17861         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
17862         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
17863         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
17864         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
17865         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
17866         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
17867         (FP_UNPACK_RAW_SP): Likewise.
17868         (FP_PACK_RAW_S): Likewise.
17869         (FP_PACK_RAW_SP): Likewise.
17870         (FP_UNPACK_S): Likewise.
17871         (FP_UNPACK_SP): Likewise.
17872         (FP_UNPACK_SEMIRAW_S): Likewise.
17873         (FP_UNPACK_SEMIRAW_SP): Likewise.
17874         (FP_PACK_S): Likewise.
17875         (FP_PACK_SP): Likewise.
17876         (FP_PACK_SEMIRAW_S): Likewise.
17877         (FP_PACK_SEMIRAW_SP): Likewise.
17878         (_FP_SQRT_MEAT_S): Likewise.
17879         (FP_CMP_S): Likewise.
17880         (FP_CMP_EQ_S): Likewise.
17881         (FP_CMP_UNORD_S): Likewise.
17882         (FP_TO_INT_S): Likewise.
17883         (FP_FROM_INT_S): Likewise.
17884
17885         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
17886
17887         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
17888         (FP_EX_INVALID_IMZ): Likewise.
17889         (FP_EX_INVALID_IMZ_FMA): Likewise.
17890         (FP_EX_INVALID_ISI): Likewise.
17891         (FP_EX_INVALID_ZDZ): Likewise.
17892         (FP_EX_INVALID_IDI): Likewise.
17893         (FP_EX_INVALID_SQRT): Likewise.
17894         (FP_EX_INVALID_CVI): Likewise.
17895         (FP_EX_INVALID_VC): Likewise.
17896         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
17897         "invalid" exceptions.
17898         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
17899         (_FP_ADD_INTERNAL): Likewise.
17900         (_FP_MUL): Likewise.
17901         (_FP_FMA): Likewise.
17902         (_FP_DIV): Likewise.
17903         (_FP_CMP_CHECK_NAN): Likewise.
17904         (_FP_SQRT): Likewise.
17905         (_FP_TO_INT): Likewise.
17906         (FP_EXTEND): Likewise.
17907
17908 2014-10-09  Allan McRae  <allan@archlinux.org>
17909
17910         * po/fr.po: Update French translation from translation project.
17911
17912 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
17913
17914         [BZ #14132]
17915         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
17916         of INTDEF.
17917         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
17918         (__cxa_atexit): Use libc_hidden_proto.
17919         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
17920
17921         [BZ #14132]
17922         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
17923         declaration.
17924         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
17925         [!_ISOMAC] (__iswspace_l_internal): Likewise.
17926         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
17927         [!_ISOMAC] (__iswctype_internal): Likewise.
17928         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
17929         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
17930         alias.
17931         (fcntl): Remove __fcntl_internal alias.
17932         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
17933         __connect_internal alias.
17934         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
17935         Likewise.
17936
17937         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
17938         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
17939         FP_DENORM_ZERO.
17940         (_FP_CHECK_FLUSH_ZERO): New macro.
17941         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
17942         (_FP_CMP): Likewise.
17943         (_FP_CMP_EQ): Likewise.
17944         (_FP_TO_INT): Do not set inexact for subnormal arguments if
17945         FP_DENORM_ZERO.
17946         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
17947         (FP_TRUNC): Likewise.
17948
17949         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
17950         treated as invalid conversion, not as normal exponent.
17951
17952         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
17953         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
17954         (_FP_CMP_EQ): Likewise.
17955         (_FP_CMP_UNORD): Likewise.
17956         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
17957         (FP_CMP_EQ_D): Likewise.
17958         (FP_CMP_UNORD_D): Likewise.
17959         * soft-fp/extended.h (FP_CMP_E): Likewise.
17960         (FP_CMP_EQ_E): Likewise.
17961         (FP_CMP_UNORD_E): Likewise.
17962         * soft-fp/quad.h (FP_CMP_Q): Likewise.
17963         (FP_CMP_EQ_Q): Likewise.
17964         (FP_CMP_UNORD_Q): Likewise.
17965         * soft-fp/single.h (FP_CMP_S): Likewise.
17966         (FP_CMP_EQ_S): Likewise.
17967         (FP_CMP_UNORD_S): Likewise.
17968         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
17969         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
17970         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
17971         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
17972         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
17973         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
17974         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
17975         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
17976         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
17977         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
17978         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
17979         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
17980         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
17981         to FP_CMP_Q.
17982         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
17983         FP_CMP_Q.
17984         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
17985         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
17986         FP_CMP_EQ_Q.
17987         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
17988         FP_CMP_Q.
17989         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
17990         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
17991         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
17992         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
17993         FP_CMP_EQ_Q.
17994         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
17995         FP_CMP_Q.
17996         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
17997         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
17998         FP_CMP_EQ_Q.
17999         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
18000         FP_CMP_Q.
18001         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
18002         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18003         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18004         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18005         FP_CMP_EQ_Q.
18006
18007         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18008         a subnormal result, set the underflow exception if trapping on
18009         underflow is enabled.
18010         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18011         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18012         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18013         redefine to 0.
18014         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18015         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18016         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18017         * soft-fp/extendxftf2.c (__extendxftf2): Use
18018         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18019
18020         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18021         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18022         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18023         FP_HANDLE_EXCEPTIONS.
18024         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18025         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18026         FP_HANDLE_EXCEPTIONS.
18027         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18028         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18029         FP_HANDLE_EXCEPTIONS.
18030         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18031         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18032         FP_HANDLE_EXCEPTIONS.
18033
18034 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18035
18036         [BZ #14132]
18037         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18038         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18039         use INTUSE.
18040         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18041         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18042         Remove alias.
18043         (__adjtimex): Define using libc_hidden_ver.
18044         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18045         Remove declaration.
18046         (ntp_gettime): Call __adjtimex directly.
18047         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18048         Remove declaration.
18049         (ntp_gettimex): Call __adjtimex directly.
18050         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18051         __adjtimex_internal alias.
18052
18053 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18054
18055         [BZ #17460]
18056         * nscd/nscd.c (more_help): Rewrite list of tables collection
18057         using xstrdup and asprintf.
18058
18059         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18060
18061 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18062             Roland McGrath  <roland@hack.frob.com>
18063
18064         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18065         (do_lookup_unique): ... local function 'enter' here; update callers.
18066
18067 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18068
18069         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18070         compat_symbol calls on [SHARED].
18071         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18072         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18073         Remove.
18074         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18075         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18076         (oldsetrlimit): Remove.
18077         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18079         (lchown): New syscall entry.
18080         (oldsetrlimit): Remove.
18081         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18082         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18083         (oldsetrlimit): Remove.
18084         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18085
18086         [BZ #14138]
18087         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18088         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18089         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18090         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18091         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18092         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18093         (fchown): Likewise.
18094         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18095         (fchown): Likewise.
18096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18097         Likewise.
18098
18099 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18100
18101         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18102         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18103         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18104         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18105         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18106         Likewise.
18107         (__old_sem_post): Likewise.
18108
18109 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18110
18111         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18112         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18113         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18114         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18115         Use INLINE_VSYSCALL macro.
18116         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18117         __vdso_clock_gettime.
18118         * sysdeps/unix/sysv/linux/tile/init-first.c
18119         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18120         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18121         __vdso_clock_gettime.
18122
18123         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18124         to set up frame more cleanly.
18125
18126         * sysdeps/tile/memcmp.c: New file.
18127
18128         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18129
18130         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18131         * sysdeps/tile/tilegx/strcasestr.c: New file.
18132         * sysdeps/tile/tilegx/strnlen.c: New file.
18133         * sysdeps/tile/tilegx/strstr.c: New file.
18134
18135         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18136
18137 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18138
18139         * nptl/tst-setuid3.c: Write errors to stdout.
18140
18141 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18142
18143         * elf/dl-deps.c
18144         (preload): New functions broken out of _dl_map_object_deps.
18145         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18146
18147 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18148
18149         [BZ #14138]
18150         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18151         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18152
18153 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18154
18155         * sysdeps/mips/strcmp.S: New.
18156
18157 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18158
18159         [BZ #14138]
18160         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18161         (linkat): Likewise.
18162         (mkdirat): Likewise.
18163         (readlinkat): Likewise.
18164         (renameat): Likewise.
18165         (symlinkat): Likewise.
18166         (unlinkat): Likewise.
18167         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18168         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18169         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18170         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18171         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18172         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18173         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18174
18175 2014-09-30  Will Newton  <will.newton@linaro.org>
18176
18177         * math/math.h: Define long double math functions if
18178         _LIBC_TEST is defined.
18179         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
18180
18181         * localedata/Makefile: Move assignment to tests-special
18182         into an ifdef testing run-built-tests.
18183         * timezone/Makefile: Likewise.
18184
18185 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
18186
18187         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
18188         with $(BASH) not $(SHELL).
18189
18190 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
18191             Matthew LeGendre  <legendre1@llnl.gov>
18192
18193         [BZ #17411]
18194         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
18195         l_reloc_result.
18196
18197 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18198
18199         * stdio-common/printf_fp.c
18200         (hack_digit): New function, broken out of ...
18201         (__printf_fp): ... local function here.  Update call sites.
18202         hack_digit now takes an additional parameter that is a pointer
18203         to a struct of the referenced locals.  Those locals moved inside
18204         the struct and references updated.
18205
18206 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
18207
18208         * aclocal.m4: Require autoconf 2.69.
18209         * configure: Regenerated.
18210         * sysdeps/aarch64/configure: Likewise.
18211         * sysdeps/alpha/configure: Likewise.
18212         * sysdeps/arm/armv7/configure: Likewise.
18213         * sysdeps/arm/configure: Likewise.
18214         * sysdeps/ia64/configure: Likewise.
18215         * sysdeps/mach/configure: Likewise.
18216         * sysdeps/mips/configure: Likewise.
18217         * sysdeps/s390/configure: Likewise.
18218         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
18219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
18220
18221         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
18222         file.
18223         * sysdeps/ia64/configure.ac: Likewise.
18224
18225 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
18226
18227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
18228         specify symbol version for ld.so.  Do not include entry for
18229         libpthread.
18230         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18231         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18232         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18233
18234         [BZ #14171]
18235         * Makeconfig [$(build-shared) = yes]
18236         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
18237         makefiles.
18238         [$(build-shared) = yes && $(soversions.mk-done) = t]
18239         ($(common-objpfx)gnu/lib-names.h): Remove rule.
18240         [$(build-shared) = yes && $(soversions.mk-done) = t]
18241         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
18242         to Makerules.
18243         [$(build-shared) = yes && $(soversions.mk-done) = t]
18244         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
18245         here.
18246         [$(build-shared) = yes && $(soversions.mk-done) = t]
18247         (common-generated): Don't append gnu/lib-names.h and
18248         gnu/lib-names.stmp here.
18249         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
18250         (lib-names-h-abi): New variable.
18251         [$(build-shared) = yes && $(soversions.mk-done) = t]
18252         (lib-names-stmp-abi): Likewise.
18253         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18254         abi-variants] (before-compile): Append
18255         $(common-objpfx)$(lib-names-h-abi).
18256         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18257         abi-variants] (common-generated): Append gnu/lib-names.h.
18258         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18259         abi-variants] (install-others-nosubdir): Depend on
18260         $(inst_includedir)/$(lib-names-h-abi).
18261         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18262         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
18263         [$(build-shared) = yes && $(soversions.mk-done) = t]
18264         ($(common-objpfx)$(lib-names-h-abi)): New rule.
18265         [$(build-shared) = yes && $(soversions.mk-done) = t]
18266         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
18267         [$(build-shared) = yes && $(soversions.mk-done) = t]
18268         (common-generated): Append $(lib-names-h-abi) and
18269         $(lib-names-stmp-abi).
18270         * scripts/lib-names.awk: Do not handle multi being set.
18271         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
18272         Remove variable.
18273         (abi-lp64_be-ld-soname): Likewise.
18274         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
18275         Likewise.
18276         (abi-hard-ld-soname): Likewise.
18277         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
18278         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
18279         Remove variable.
18280         (abi-o32_hard-ld-soname): Likewise.
18281         (abi-o32_soft_2008-ld-soname): Likewise.
18282         (abi-o32_hard_2008-ld-soname): Likewise.
18283         (abi-n32_soft-ld-soname): Likewise.
18284         (abi-n32_hard-ld-soname): Likewise.
18285         (abi-n32_soft_2008-ld-soname): Likewise.
18286         (abi-n32_hard_2008-ld-soname): Likewise.
18287         (abi-n64_soft-ld-soname): Likewise.
18288         (abi-n64_hard-ld-soname): Likewise.
18289         (abi-n64_soft_2008-ld-soname): Likewise.
18290         (abi-n64_hard_2008-ld-soname): Likewise.
18291         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
18292         Likewise.
18293         (abi-64-v2-ld-soname): Likewise.
18294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
18295         ld.so entries.
18296         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
18297         variable.
18298         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
18299         entry.
18300         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
18301         variable.
18302         (abi-64-ld-soname): Likewise.
18303         (abi-x32-ld-soname): Likewise.
18304         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
18305         entry.
18306         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18307
18308 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
18309
18310         [BZ #14138]
18311         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
18312         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
18313         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
18314         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
18315         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
18316         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
18317         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
18318         syscall entry for GLIBC_2.2 symbol version.
18319         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
18320         Likewise.
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18322         (setrlimit): Likewise.
18323         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
18324         Likewise.
18325
18326 2014-09-23  Will Newton  <will.newton@linaro.org>
18327
18328         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
18329         _LINUX_ARM_SYSDEP_H include guard too.
18330         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
18331         define.
18332
18333 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18334
18335         * sysdeps/unix/sysv/linux/eventfd.c:
18336         Make first argument unsigned.
18337         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
18338         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
18339
18340 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
18341
18342         * socket/recvmmsg.c (recvmmsg): Drop const argument.
18343         * socket/sys/socket.h: Likewise
18344         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
18345
18346 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18347
18348         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18349
18350 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
18351
18352         * time/tst-ftime.c: New test.
18353         * time/Makefile (tests): Add tst-ftime.
18354
18355 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
18356
18357         * soft-fp/extended.h: Fix comment formatting.
18358         * soft-fp/op-1.h: Likewise.
18359         * soft-fp/op-2.h: Likewise.
18360         * soft-fp/op-4.h: Likewise.
18361         * soft-fp/op-8.h: Likewise.
18362         * soft-fp/op-common.h: Likewise.
18363         * soft-fp/soft-fp.h: Likewise.
18364
18365         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
18366
18367 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
18368
18369         [BZ #6652]
18370         * Makeconfig (soversions-default-setname): Remove variable.
18371         ($(common-objpfx)soversions.i): Don't pass default_setname to
18372         soversions.awk.
18373         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
18374         oldest_abi to abi-versions.awk.
18375         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
18376         * config.make.in (oldest-abi): Remove variable.
18377         * configure.ac (--enable-oldest-abi): Remove configure option.
18378         * configure: Regenerated.
18379         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18380         text.
18381         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
18382         * scripts/soversions.awk: Do not handle default_setname variable.
18383         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
18384         variable.
18385         * sysdeps/mach/hurd/configure: Regenerated.
18386         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
18387         variable.
18388         * sysdeps/unix/sysv/linux/configure: Regenerated.
18389
18390 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18391
18392         * elf/Makefile (CFLAGS-interp.c): Remove.
18393         ($(elf-objpfx)runtime-linker.h): Generate header with linker
18394         path string.
18395         * elf/interp.c: Include generated runtime-linker.h
18396
18397         * Makerules (lib%.so): Don't include $(+interp) in
18398         prerequisites.
18399         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
18400         * dlfcn/eval.c: Remove file.
18401
18402         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
18403         macros.
18404
18405         [BZ #17266]
18406         * misc/sys/cdefs.h: Define __extern_always_inline for clang
18407         4.2 and newer.
18408
18409         [BZ #17370]
18410         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
18411
18412 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18413             Jakub Jelinek  <jakub@redhat.com>
18414
18415         [BZ #17266]
18416         * libio/stdio.h: Check definition of __fortify_function
18417         instead of __extern_always_inline to include bits/stdio2.h.
18418         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
18419         check if __extern_always_inline is defined.
18420         [__USE_MISC || __USE_XOPEN]: Likewise.
18421         [__USE_ISOC99] Likewise.
18422         * misc/sys/cdefs.h (__fortify_function): Define only if
18423         __extern_always_inline is defined.
18424         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
18425         __extern_always_inline and __extern_inline only for g++-4.3
18426         and newer or a compatible gcc.
18427
18428 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
18429
18430         [BZ #17371]
18431         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18432         last change to handle zero prefix length.
18433
18434 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18435
18436         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
18437         _SC_REGEX_VERSION.
18438
18439         * posix/getconf.c (vars): Add _POSIX_IPV6 and
18440         _POSIX_RAW_SOCKETS.
18441
18442 2014-09-13  Allan McRae  <allan@archlinux.org>
18443
18444         * po/ru.po: Update Russian translation from translation project.
18445
18446 2014-09-12  Roland McGrath  <roland@hack.frob.com>
18447
18448         * locale/programs/locale.c (show_locale_vars): Inline local function
18449         into its sole call site.  Clean up some style nits.
18450         (print_item): New function, broken out of ...
18451         (show_info): ... local function here.  Clean up style nits.
18452
18453         * locale/programs/ld-ctype.c (set_one_default): New function, broken
18454         out of ...
18455         (set_class_defaults): ... local function set_default here.
18456         Define set_default as a macro locally to pass constant parameters.
18457         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
18458         rather than a shared local.
18459
18460         * stdlib/rpmatch.c (try): New function, broken out of ...
18461         (rpmatch): ... local function here.  Also, prototypify definition.
18462
18463 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
18464
18465         * scripts/soversions.awk: Do not handle configuration names.
18466         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
18467         vendor and os variables to soversions.awk.
18468         * configure.ac: Do not modify gnu-* host_os.
18469         * configure: Regenerated
18470         * shlib-versions: Remove first column with configuration names.
18471         * nptl/shlib-versions: Likewise.
18472         * nptl_db/shlib-versions: Likewise.
18473         * sysdeps/hppa/shlib-versions: Likewise.
18474         * sysdeps/m68k/shlib-versions: Likewise.
18475         * sysdeps/mach/hurd/shlib-versions: Likewise.
18476         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
18477         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
18478         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
18479         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
18480         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
18481         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
18482         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
18483         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
18484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18485         Likewise.
18486         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18487         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18488         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18489         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18490         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18491         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
18492         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18493         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18494
18495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18496         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
18497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
18498         Regenerated.
18499         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
18500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18501         Condition symbol version definitions on [HAVE_ELFV2_ABI].
18502
18503         * shlib-versions: Remove OS-specific entries.  Moved to files in
18504         sysdeps.
18505         * sysdeps/mach/hurd/shlib-versions: New file.
18506         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18507
18508         * nptl/shlib-versions: Remove architecture-specific entries.
18509         Moved to files in sysdeps.
18510         * shlib-versions: Likewise.
18511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
18512         file.
18513         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18514         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18515         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18516         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18517
18518         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
18519         (UDP_NO_CHECK6_RX): Likewise.
18520
18521 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18522
18523         * sysdeps/posix/sysconf.c (__sysconf): Spell
18524         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
18525
18526 2014-08-12  Florian Weimer  <fweimer@redhat.com>
18527
18528         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
18529         loading.
18530         * iconv/Versions (__gconv_transliterate): Export for use from
18531         gconv modules.
18532         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
18533         (struct __gconv_trans_data, __gconv_trans_fct,
18534         __gconv_trans_context_fct, __gconv_trans_query_fct,
18535         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
18536         definitions.
18537         (struct __gconv_step_data): Remove __trans member.
18538         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
18539         longer hidden.  Remove unused trans_data argument.
18540         * iconv/gconv_int.h (struct trans_struct): Remove definition.
18541         (__gconv_translit_find): Remove declaration.
18542         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
18543         prototype.
18544         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
18545         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
18546         trans_data argument.  Add hidden definition.
18547         (__gconv_translit_find): Remove.
18548         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
18549         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
18550         * iconv/skeleton.c: Remove transliteration initialization.
18551         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
18552         __gconv_step_data initialization.
18553         * libio/iofwide.c (__libio_translit_): Remove.
18554         (_IO_fwide): Adjust struct __gconv_step_data initialization.
18555         * wcsmbs/btowc.c (__btowc): Likewise.
18556         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18557         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18558         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18559         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18560         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
18561         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18562         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18563         * wcsmbs/wctob.c (wctob): Likewise.
18564
18565 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18566
18567         [BZ #16194]
18568         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
18569         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
18570         register usage.
18571         * sysdeps/x86/Makefile: Adjust.
18572
18573 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18574             Roland McGrath  <roland@hack.frob.com>
18575
18576         * locale/weight.h: Add include guard.
18577         (findidx): Make static rather than auto; take new parameters
18578         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
18579         * locale/weightwc.h: Likewise.
18580         * posix/fnmatch_loop.c
18581         (FCT): Change type of EXTRA from int32_t to wint_t.
18582         Don't include either header inside the function.
18583         Call FINDIDX rather than findidx, and pass new arguments.
18584         #undef FINDIDX at the end of the file.
18585         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
18586         FINDIDX before including fnmatch_loop.c for the non-wide version.
18587         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
18588         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
18589         for the wide version.
18590         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
18591         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
18592         Pass new arguments to findidx.
18593         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
18594         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
18595         Don't #include it inside the function.  Pass new arguments to findidx.
18596         * posix/regex_internal.h
18597         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
18598         (re_string_elem_size_at): Don't #include it inside the function.
18599         Pass new arguments to findidx.
18600         * string/strcoll_l.c: #include WEIGHT_H at top level.
18601         (get_next_seq): Don't #include it inside the function.
18602         Pass new arguments to findidx.
18603         (get_next_seq_nocache): Likewise.
18604         * string/strxfrm_l.c: #include WEIGHT_H at top level.
18605         (STRXFRM): Don't #include it inside the function.
18606         Pass new arguments to findidx.
18607
18608 2014-09-11  Florian Weimer  <fweimer@redhat.com>
18609
18610         [BZ #17344]
18611         * malloc/malloc.c (unlink): Turn asserts into a call to
18612         malloc_printerr.
18613
18614 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
18615
18616         [BZ #17370]
18617         * libio/wfileops (do_ftell_wide): Free OUT.
18618
18619 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
18620
18621         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
18622
18623 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18624
18625         [BZ #17363]
18626         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
18627         group if the current group is empty.
18628
18629 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18630
18631         * benchtests/bench-memset.c (test_main): Add more test from size
18632         from 32 to 512 bytes.
18633         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18634         Add POWER8 memset object.
18635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18636         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
18637         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
18638         implementation.
18639         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
18640         Likewise.
18641         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
18642         multiarch POWER8 memset optimization.
18643         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
18644         POWER8 memset optimization.
18645
18646         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18647         Remove bzero multiarch objects.
18648         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
18649         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
18650         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
18651         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
18652         Remove define.
18653         [__bzero]: Redefine to specific name.
18654         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
18655         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
18656         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
18657         define.
18658         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18659         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18660
18661 2014-09-10  Florian Weimer  <fweimer@redhat.com>
18662
18663         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
18664         warnings into errors.
18665
18666         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
18667         __cxa_thread_atexit_impl prototype.
18668
18669 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18670
18671         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
18672         Fix capitalization of error message.
18673
18674 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18675
18676         * sysdeps/mips/preconfigure: Modify ABI tests.
18677
18678 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
18679
18680         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
18681
18682 2014-09-07  Roland McGrath  <roland@hack.frob.com>
18683             Carlos O'Donell  <carlos@systemhalted.org>
18684
18685         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
18686         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
18687         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
18688         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
18689         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
18690         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
18691         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
18692         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
18693         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
18694         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
18695         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
18696         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
18697         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
18698         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
18699         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
18700         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
18701         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
18702         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
18703         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
18704         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
18705         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
18706         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
18707         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
18708         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
18709         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
18710         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
18711         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
18712         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
18713         Deconditionalize the code that was previously under [RESET_PID].
18714         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
18715         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
18716         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
18717         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
18718         include sysdep.h.
18719
18720 2014-09-08  Allan McRae  <allan@archlinux.org>
18721
18722         * version.h (RELEASE): Set to "development".
18723         (VERSION): Set to "2.20.90"
18724
18725 2014-09-07  Allan McRae  <allan@archlinux.org
18726
18727         * version.h (RELEASE): Set to "stable".
18728         (VERSION): Set to "2.20"
18729         * include/features.h (__GLIBC_MINOR__): Set to 20.
18730
18731         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
18732         Liebler.
18733
18734         * po/ko.po: Update Korean translation from translation project.
18735
18736 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
18737
18738         [BZ #17354]
18739         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
18740         macro for handling signed relocations.
18741
18742 2014-09-03  Florian Weimer  <fweimer@redhat.com>
18743
18744         [BZ #17325]
18745         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
18746         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
18747         assert.
18748         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
18749         * iconvdata/ibm935.c (BODY): Likewise.
18750         * iconvdata/ibm937.c (BODY): Likewise.
18751         * iconvdata/ibm939.c (BODY): Likewise.
18752         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
18753         assert.
18754         * iconvdata/Makefile (iconv-test.out): Pass module list to test
18755         script.
18756         * iconvdata/run-iconv-test.sh: New test loop for checking for
18757         decoder crashers.
18758
18759 2014-09-02  Khem Raj  <raj.khem@gmail.com>
18760
18761         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
18762         libm_hidden_ver.
18763
18764 2014-09-01  Allan McRae  <allan@archlinux.org>
18765
18766         * po/eo.po: Update Esperanto translation from translation project.
18767
18768         * po/ca.po: Update Catalan translation from translation project.
18769
18770 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18771
18772         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
18773         __proc_dostop call.
18774
18775 2014-08-27  Mark Wielaard  <mjw@redhat.com>
18776
18777         [BZ #17319]
18778         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
18779         to call set_thread_area instead of hand written asm.
18780         (__NR_set_thread_area): Removed define.
18781         (TLS_FLAG_WRITABLE): Likewise.
18782         (__ASSUME_SET_THREAD_AREA): Remove check.
18783         (TLS_EBX_ARG): Remove define.
18784         (TLS_LOAD_EBX): Likewise.
18785
18786 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18787
18788         Simplify atomicity of socket creation in bind.
18789
18790         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
18791         looking up the name after linking the file.
18792
18793 2014-08-27  Allan McRae  <allan@archlinux.org>
18794
18795         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18796
18797 2014-08-26  Florian Weimer  <fweimer@redhat.com>
18798
18799         [BZ #17187]
18800         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
18801         trans_compare, open_translit, __gconv_translit_find):
18802         Remove module loading code.
18803
18804 2014-08-26  Allan McRae  <allan@archlinux.org>
18805
18806         * po/vi.po: Update Vietnamese translation from translation project.
18807
18808         * po/uk.po: Update Ukrainian translation from translation project.
18809
18810         * po/fr.po: Update French translation from translation project.
18811
18812         * po/ru.po: Update Russian translation from translation project.
18813
18814         * po/pl.po: Update Polish translation from translation project.
18815
18816         * po/cs.po: Update Czech translation from translation project.
18817
18818         * po/de.po: Update German translation from translation project.
18819
18820         * po/bg.po: Update Bulgarian translation from translation project.
18821
18822         * po/sv.po: Update Sweedish translation from translation project.
18823
18824         * po/nl.po: Update Dutch translation from translation project.
18825
18826         * po/es.po: Update Spanish translation from translation project.
18827
18828 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18829
18830         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
18831
18832         * catgets/Makefile (CPPFLAGS-gencat): Remove.
18833         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
18834         (CPPFLAGS-iconvconfig): Likewise.
18835         * timezone/Makefile (CPPFLAGS-zic): Likewise.
18836
18837         * include/libc-symbols.h: Remove unnecessary check for
18838         NOT_IN_libc.
18839         * nptl/pthreadP.h: Likewise.
18840         * sysdeps/aarch64/setjmp.S: Likewise.
18841         * sysdeps/alpha/setjmp.S: Likewise.
18842         * sysdeps/arm/sysdep.h: Likewise.
18843         * sysdeps/i386/setjmp.S: Likewise.
18844         * sysdeps/m68k/setjmp.c: Likewise.
18845         * sysdeps/posix/getcwd.c: Likewise.
18846         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18847         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18848         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18849         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18850         * sysdeps/sh/sh3/setjmp.S: Likewise.
18851         * sysdeps/sh/sh4/setjmp.S: Likewise.
18852         * sysdeps/unix/alpha/sysdep.h: Likewise.
18853         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18854         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18855         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18856         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18860         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18861         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18862         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18863         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18864         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18865         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18866         * sysdeps/x86_64/setjmp.S: Likewise.
18867
18868 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
18869
18870         [BZ #17263]
18871         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
18872         <stdint.h>.
18873         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
18874         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
18875
18876 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18877
18878         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
18879
18880         [BZ #17262]
18881         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
18882         and __x86_64__ when disabling x87 inline functions.
18883
18884 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
18885
18886         [BZ #17259]
18887         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
18888         asm statement with __cpuid_count.
18889
18890 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
18891
18892         * configure.ac: Change __ehdr_start code to dereference the struct.
18893         Run readelf on the output to look for relocations.
18894         * configure: Regenerated.
18895
18896 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
18897
18898         [BZ #17261]
18899         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
18900         value to 0.
18901         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
18902
18903 2014-08-12  Roland McGrath  <roland@hack.frob.com>
18904
18905         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
18906
18907 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
18908
18909         [BZ #16892]
18910         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
18911         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
18912
18913 2014-08-12  Sean Anderson  <seanga2@gmail.com>
18914
18915         * malloc/malloc.c: Fix typo in comment.
18916
18917 2014-08-09  Allan McRae  <allan@archlinux.org>
18918
18919         * Regenerate libc.po.
18920
18921 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
18922
18923         * intl/tst-gettext2.sh: Check every lang file for creation.
18924
18925 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
18926
18927         * sysdeps/aarch64/fpu/math_private.h
18928         (libc_feholdsetround_noex_aarch64_ctx): New function.
18929
18930 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
18931
18932         * sysdeps/arm/armv6/strcpy.S (strcpy):
18933         Fix performance issue in misaligned cases.
18934
18935 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18936
18937         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
18938         Move definition from termios.h.
18939         (struct termio): Likewise.
18940         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18941         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18942         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18943         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18944         Likewise.
18945         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
18946         Move definition to ioctl-types.h
18947         (struct termio): Likewise.
18948         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18949         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18950         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18951         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18952         Likewise.
18953
18954 2014-08-05  Richard Henderson  <rth@redhat.com>
18955
18956         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
18957         exceptions.
18958         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
18959         Add fraiseexcpt.
18960         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
18961         Use __feraiseexcept.
18962         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
18963         Protect libm symbols with IS_IN_libm.
18964
18965         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
18966
18967 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
18968
18969         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
18970
18971 2014-08-04  Will Newton  <will.newton@linaro.org>
18972
18973         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
18974         file.
18975
18976 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
18977
18978         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
18979         variants for each function.
18980
18981 2014-08-04  Roland McGrath  <roland@hack.frob.com>
18982
18983         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
18984         appended ...
18985         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
18986         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
18987         appended ...
18988         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
18989         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
18990         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
18991         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
18992         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
18993         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
18994         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
18995         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
18996         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
18997         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
18998         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
18999         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
19000         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
19001         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
19002         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19003         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19004         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19005         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19006         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19007         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19008         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19009         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19010         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19011         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19012         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19013         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19014         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19015         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19016         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19017         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19018         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19019         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19020         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19021         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19022         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19023         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19024         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19025         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19026         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19027         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19028         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19029         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19030         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19031         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19032         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19033         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19034         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19035         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19036         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19037         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19038         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19039         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19040         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19041         Update #include.
19042         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19043         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19044
19045 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19046
19047         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19048         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19049         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19050         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19051         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19052         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19053
19054 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19055
19056         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19057         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19058         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19059         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19060
19061 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19062
19063         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19064         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19065         (__libc_vfork): Define function under this name.
19066         (__vfork): Define as an alias.
19067         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19068         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19069
19070 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19071
19072         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19073         that was previously under [RESET_PID].
19074         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19075
19076 2014-08-04  Andreas Schwab  <schwab@suse.de>
19077
19078         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19079
19080 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19081
19082         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19083         (main): Likewise.
19084
19085 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19086
19087         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19088
19089 2014-08-01  Richard Henderon  <rth@redhat.com>
19090
19091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19092         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19093         typo in exact zero test.
19094         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19095         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19096         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19097
19098 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19099
19100         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19101         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19102         * sysdeps/arm/sysdep.h: ... here.
19103         [!__ASSEMBLER__]: Include <stdint.h>.
19104
19105 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19106
19107         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19108         (HAVE_WCTYPE_H): Likewise.
19109         (HAVE_ISWCTYPE): Likewise.
19110         (ENABLE_NLS): Likewise.
19111         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19112         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19113
19114         * posix/regex_internal.c: Check if DEBUG is defined and is
19115         set.
19116
19117         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19118         (HAVE_MBSRTOWCS): Likewise.
19119         * posix/fnmatch.c: Include string.h unconditionally.
19120
19121 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19122
19123         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19124         reversal.
19125
19126 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19127
19128         * sysdeps/generic/safe-fatal.h: New file.
19129         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19130         * nptl/forward.c: Include it.
19131         (__pthread_unwind): Use __safe_fatal as default action, rather
19132         than a bogus use of INTERNAL_SYSCALL that could never work.
19133
19134         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19135         * configure.ac (libc_cv_builtin_trap): New test.
19136         * configure: Regenerated.
19137         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19138         (ABORT_INSTRUCTION): Define using __builtin_trap.
19139
19140         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19141         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19142         * sysdeps/nptl/nptl-signals.h: New file.
19143         * nptl/pthreadP.h: Include <nptl-signals.h>.
19144
19145 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19146
19147         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19148         (ONE_DIRECTION): Define.
19149         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19150         (ONE_DIRECTION): Define.
19151         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19152         (ONE_DIRECTION): Define.
19153
19154 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19155
19156         * sysdeps/s390/Makefile: Delete file.
19157         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19158         * sysdeps/s390/__longjmp.c: Delete file.
19159         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19160         Remove fields __flags and __reserved.
19161         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19162         and add versioning.
19163         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19164         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19165         * sysdeps/s390/rtld-setjmp.S: Likewise.
19166         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19167         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19168         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19169         * sysdeps/s390/s390-32/setjmp.S: ... here.
19170         Add versioning.
19171         (__sigsetjmp): Remove setting __flags field.
19172         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19173         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19174         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19175         * sysdeps/s390/s390-64/setjmp.S: ... here.
19176         Add versioning.
19177         (__sigsetjmp): Remove setting __flags field.
19178         * sysdeps/s390/setjmp.S: Delete file.
19179         * sysdeps/s390/sigjmp.c: Likewise.
19180         * sysdeps/s390/v1-longjmp.c: Likewise.
19181         * sysdeps/s390/v1-setjmp.h: Likewise.
19182         * sysdeps/s390/v1-sigjmp.c: Likewise.
19183         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
19184         Remove v1-longjmp_chk.
19185         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
19186         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
19187         Include debug/longjmp_chk.c and add versioning.
19188         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
19189         Include nptl/pt-longjmp.c and add versioning.
19190         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
19191         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
19192         Include __longjmp.c.
19193         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19194         Move to ...
19195         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
19196         (__getcontext): Remove setting __flags field.
19197         Add versioning.
19198         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19199         Don't restore upper high grps.
19200         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
19201         Likewise.
19202         (__swapcontext): Remove setting uc_flags field.
19203         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
19204         Delete file.
19205         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19206         Include __longjmp.c.
19207         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19208         Move to ...
19209         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
19210         (__getcontext): Remove setting __flags field.
19211         Add versioning.
19212         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
19213         (__swapcontext): Remove setting uc_flags field.
19214         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
19215         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
19216         Remove fields uc_high_gprs and __reserved.
19217         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
19218         New file with reverted content.
19219         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
19220         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
19221         Regenerated.
19222         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
19223         Regenerated.
19224
19225 2014-07-31  Andreas Schwab  <schwab@suse.de>
19226
19227         * config.h.in (HAVE_IFUNC): Define to 0.
19228         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
19229         definedness.
19230
19231 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
19232
19233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19234         memmove-avx-unaligned, memcpy-avx-unaligned and
19235         mempcpy-avx-unaligned.
19236         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19237         Add tests for AVX memcpy functions.
19238         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
19239         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
19240         memcpy_chk.
19241         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
19242         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
19243         memmove_chk.
19244         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
19245         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
19246         mempcpy_chk.
19247         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
19248         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19249         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
19250
19251 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19252
19253         [BZ #17213]
19254         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
19255         powerpc64le.
19256
19257 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
19258
19259         [BZ #16839]
19260         * manual/llio.texi: Add section about open file description locks.
19261         * manual/examples/ofdlocks.c: Example of open file description
19262         lock usage.
19263         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
19264         F_OFD_SETLK, and F_OFD_SETLKW.
19265
19266 2014-07-23  Allan McRae  <allan@archlinux.org>
19267
19268         * po/es.po: Update Spanish translation from translation project.
19269
19270 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
19271
19272         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
19273
19274 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19275
19276         [BZ #17078]
19277         * sysdeps/arm/dl-machine.h (elf_machine_rela)
19278         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
19279         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
19280
19281 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
19282
19283         [BZ #17088]
19284         * math/fesetenv.c (__fesetenv)
19285         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
19286         * math/feupdateenv.c (__feupdateenv)
19287         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19288
19289         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
19290         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19291         (__ASSUME_SOCKETCALL): Do not define.
19292
19293         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
19294         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
19295         (__ASSUME_SOCKETCALL): Do not define.
19296         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
19297         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19298         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19299         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19300         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19301         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
19302         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19303         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19304
19305         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
19306         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
19307         (__ASSUME_SOCKETCALL): Do not define.
19308         (__ASSUME_IPC64): Define unconditionally.
19309         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19310         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19311         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19312         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19313         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
19314         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19315         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
19316         Likewise.
19317
19318         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
19319         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
19320         (__ASSUME_SOCKETCALL): Do not define.
19321         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
19322         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19323         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19324         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19325         (__ASSUME_REQUEUE_PI): Define unconditionally.
19326         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
19327         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19328         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19329         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
19330         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19331         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19332
19333         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
19334         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
19335         (__ASSUME_SOCKETCALL): Do not define.
19336         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
19337         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19338         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19339         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
19340         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19341         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19342
19343         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
19344         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
19345         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19346         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
19347         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19348         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19349         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19350         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
19351         (__ASSUME_GETCPU_SYSCALL): Likewise.
19352
19353         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
19354         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
19355         cases for individual architectures.
19356         * sysdeps/gnu/configure: Regenerated.
19357         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
19358         LIBC_SLIBDIR_RTLDDIR.
19359         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
19360         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
19361         LIBC_SLIBDIR_RTLDDIR.
19362         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
19363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
19364         LIBC_SLIBDIR_RTLDDIR.
19365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19366         Regenerated.
19367         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
19368         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
19369         file.
19370         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
19371         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
19372         file.
19373         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
19374         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
19375         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
19376         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
19377
19378         * sysdeps/aarch64/shlib-versions: Move to ...
19379         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
19380         * sysdeps/alpha/shlib-versions: Move to ...
19381         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
19382         * sysdeps/arm/shlib-versions: Move to ...
19383         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
19384         * sysdeps/hppa/shlib-versions: Move all contents except for
19385         libgcc_s entry to ...
19386         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
19387         entry from ...
19388         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
19389         * sysdeps/ia64/shlib-versions: Move to ...
19390         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
19391         entry from ...
19392         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
19393         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
19394         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
19395         * sysdeps/microblaze/shlib-versions: Move to ...
19396         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
19397         * sysdeps/mips/shlib-versions: Move to ...
19398         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
19399         entry from ...
19400         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
19401         * sysdeps/tile/shlib-versions: Move to ...
19402         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
19403         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
19404         from ...
19405         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
19406         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
19407         entry from ...
19408         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
19409
19410 2014-07-17  Will Newton  <will.newton@linaro.org>
19411
19412         * sysdeps/arm/bits/atomic.h
19413         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
19414         (__arch_compare_and_exchange_bool_16_int): Likewise.
19415         (__arch_compare_and_exchange_bool_64_int): Likewise.
19416
19417         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
19418         into an #else block.
19419
19420 2014-07-16  Roland McGrath  <roland@hack.frob.com>
19421
19422         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
19423         just Linux configurations.  Test empirically that the compiler sets
19424         __ARM_EABI__, rather than using the tuple to decide.
19425         * sysdeps/arm/preconfigure: Regenerated.
19426         * sysdeps/unix/sysv/linux/arm/configure: File removed.
19427         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
19428         contents appended ...
19429         * sysdeps/arm/configure.ac: ... here.
19430         * sysdeps/arm/configure: Regenerated.
19431
19432 2014-07-15  Roland McGrath  <roland@hack.frob.com>
19433
19434         * nptl/pthread_kill.c: New file.
19435         * nptl/pthread_sigmask.c: New file.
19436         * nptl/pthread_sigqueue.c: New file.
19437
19438         * sysdeps/nptl/lowlevellock.h: New file.
19439         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
19440         * sysdeps/nptl/lowlevellock-futex.h: New file.
19441
19442         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
19443         Remove dead declarations.
19444
19445 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
19446
19447         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
19448         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19449         config-cflags-avx2.
19450         * sysdeps/x86_64/configure.ac: Likewise.
19451         * sysdeps/i386/configure: Regenerated.
19452         * sysdeps/x86_64/configure: Likewise.
19453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19454         memset-avx2 only if config-cflags-avx2 is yes.
19455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19456         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
19457         defined.
19458         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
19459         only if HAVE_AVX2_SUPPORT is defined.
19460         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19461
19462 2014-07-14  Alan Modra  <amodra@gmail.com>
19463
19464         [BZ #17153]
19465         * elf/elf.h (DT_PPC64_NUM): Correct value.
19466         * NEWS: Add to fixed bug list.
19467
19468 2014-07-13  Jim Meyering  <meyering@fb.com>
19469
19470         [BZ 17150]
19471         regex: don't deref NULL upon heap allocation failure
19472         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
19473         failure in one more place.
19474         To trigger the segfault, configure grep -with-included-regex,
19475         build it, and run these commands:
19476         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
19477
19478 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
19479
19480         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19481
19482 2014-07-11  Richard Henderson  <rth@redhat.com>
19483
19484         * sysdeps/aarch64/libm-test-ulps: Update.
19485
19486 2014-07-10  Florian Weimer  <fweimer@redhat.com>
19487
19488         [BZ #17135]
19489         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
19490         * nptl/allocatestack.c (__nptl_setxid_error): New function.
19491         (__nptl_setxid): Initialize error member.  Call
19492         __nptl_setxid_error.
19493         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
19494         * nptl/descr.h (struct xid_command): Add error member.
19495         * nptl/tst-setuid3.c: New file.
19496         * nptl/Makefile (tests): Add it.
19497
19498 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19499
19500         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
19501         New define.
19502         (__lll_trylock): Use __lll_base_trylock.
19503         (__lll_cond_trylock): Likewise.
19504
19505 2014-07-10  Roland McGrath  <roland@hack.frob.com>
19506
19507         * nptl/pthread_create.c (start_thread): Use atomic_or and
19508         lll_futex_wake directly rather than lll_robust_dead.
19509         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19510         (lll_robust_dead): Macro removed.
19511         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
19512         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19513         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19514         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19515         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19516         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19517         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19518         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19519         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19520         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19521         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19522         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19523         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19524         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19525         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19526
19527         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19528         Use atomic_compare_and_exchange_val_acq directly rather than
19529         lll_robust_trylock.
19530         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19531         (__lll_robust_trylock, lll_robust_trylock): Removed.
19532         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19533         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19534         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19535         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19536         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19537         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19538         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19539         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19540         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19541         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19542         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19543         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19544         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19545         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19546
19547 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19548
19549         * manual/locale.texi (Locale Names): New section documenting
19550         locale name syntax.  Adjust menu and node chaining accordingly.
19551         (Choosing Locale): Reference Locale Names, Locale Categories.
19552         Mention setting LC_ALL=C.  Reflect that name syntax is now
19553         documented.
19554         (Locale Categories): New section title.  Reference Locale Names.
19555         LC_ALL is an environment variable, but not a category.
19556         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
19557         description, now in Locale Name.  Reference that section.  Locale
19558         name syntax is now documented.
19559
19560 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19561
19562         [BZ #17137]
19563         * locale/findlocale.c (name_present, valid_locale_name): New
19564         functions.
19565         (_nl_find_locale): Use the loc_name variable to store name
19566         candidates.  Call name_present and valid_locale_name to check and
19567         validate locale names.  Return an error if the locale is invalid.
19568
19569 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19570
19571         * locale/setlocale.c (setlocale): Use strdup for allocating
19572         composite name copy.
19573
19574 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19575
19576         Sync up with gnulib.
19577         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
19578         [!_LIBC && ENABLE_NLS]: Include gettext.h.
19579         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
19580         and _GL_ARG_NONNULL.
19581         [USE_UNLOCKED_IO]: Include unlocked-io.h.
19582         [!_LIBC]: Include code for Windows and Cygwin.
19583         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
19584         Include prototype for int strerror_r.
19585         [!_LIBC] (is_open): New function.
19586         (flush_stdout): New function.
19587         (print_errno_message): Use it.
19588         (error): Likewise.
19589         (error_at_line): Likewise.
19590         (error_tail) Add function attribute macros.  Use
19591         __builtin_expect.
19592
19593         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
19594
19595         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
19596
19597         * io/ftw.c: Include sys/param.h unconditionally.
19598
19599         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
19600
19601         [BZ #17125]
19602         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
19603         libc_freeres_ptr.
19604         (freecache): New function to free CACHE on exit.
19605
19606         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
19607         initialization.
19608
19609 2014-07-09  David S. Miller  <davem@davemloft.net>
19610
19611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19612
19613         * sysdeps/sparc/nptl/internaltypes.h: Delete.
19614         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
19615         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
19616         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
19617         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
19618         * sysdeps/sparc/nptl/sem_init.c: Likewise.
19619         * sysdeps/sparc/nptl/sem_post.c: Likewise.
19620         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
19621         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
19622         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
19623         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
19624         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
19625         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
19626
19627 2014-07-09  Andreas Schwab  <schwab@suse.de>
19628
19629         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
19630         output.
19631         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
19632         (do_test): Likewise.
19633
19634         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19635
19636 2014-07-09  Will Newton  <will.newton@linaro.org>
19637
19638         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
19639         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
19640         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
19641         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
19642         * sysdeps/hppa/start.S (_start): Likewise.
19643
19644 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19645
19646         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
19647
19648         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
19649         defined.
19650
19651 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19652
19653         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
19654         after checking that it is non-NULL.
19655
19656         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
19657
19658 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19659
19660         * sysdeps/powerpc/memmove.c: Remove file.
19661         * sysdeps/powerpc/powerpc32/power4/memcopy.h
19662         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
19663         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19664         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
19665         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
19666         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
19667         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
19668         string memmove instead of removed powerpc one.
19669
19670         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19671         [weak_alias]: Fix compiler warning due trailing data.
19672         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
19673         [weak_alias]: Likewise.
19674         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
19675         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
19676
19677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19678         (__libc_ifunc_impl_list): Add memmove functions.
19679
19680 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19681
19682         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
19683         Remove code.
19684         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
19685         Likewise
19686         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
19687         Likewise
19688         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
19689         Likewise
19690         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
19691         Likewise
19692         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
19693         Likewise
19694         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
19695         Likewise
19696         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
19697         Likewise
19698         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
19699         Likewise
19700         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
19701         Likewise
19702         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
19703         Likewise
19704         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
19705         Likewise
19706         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
19707         Likewise
19708         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
19709         Likewise
19710         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
19711         Likewise
19712         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
19713         Likewise
19714         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
19715         Likewise
19716
19717 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19718
19719         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
19720         to avoid alignment traps in non-cacheable memory.
19721         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19722
19723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
19724         multiarch objects.
19725         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
19726         file: multiarch power7 memmove.
19727         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
19728         multiarch default memmove.
19729         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
19730         multiarch memove for powerpc32/power4.
19731
19732         * string/bcopy.c: Use full path to include memmove.c.
19733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
19734         multiarch objects.
19735         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
19736         bcopy for powerpc64.
19737         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
19738         bcopy for powerpc64.
19739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
19740         and memmove implementations.
19741         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
19742         optimized multiarch memmove for POWER7/powerpc64.
19743         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
19744         default multiarch memmove for powerpc64.
19745         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
19746         multiarch for powerpc64.
19747         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
19748         for POWER7/powerpc64.
19749         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
19750         memmove for POWER7/powerpc64.
19751
19752         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
19753         glibc default one.
19754
19755         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
19756         __ELF_NATIVE_CLASS equal to 64.
19757
19758 2014-07-07  Roland McGrath  <roland@hack.frob.com>
19759
19760         * sysdeps/nptl/lowlevellock.h: File removed.
19761
19762         * NEWS: NPTL is no longer an add-on!
19763         * nptl/internaltypes.h: Moved ...
19764         * sysdeps/nptl/internaltypes.h: ... here.
19765         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
19766         * sysdeps/nptl/fork.c: Likewise.
19767         * sysdeps/nptl/gai_misc.h: Likewise.
19768         * sysdeps/nptl/librt-cancellation.c: Likewise.
19769         * sysdeps/nptl/jmp-unwind.c: Likewise.
19770         * sysdeps/nptl/setxid.h: Likewise.
19771         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
19772         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
19773         * sysdeps/unix/sysv/linux/arm/Implies: New file.
19774         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
19775         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
19776         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
19777         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
19778         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
19779         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
19780         * sysdeps/unix/sysv/linux/mips/Implies: New file.
19781         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
19782         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
19783         * sysdeps/unix/sysv/linux/sh/Implies: New file.
19784         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
19785         * sysdeps/unix/sysv/linux/tile/Implies: New file.
19786         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
19787         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
19788         * nptl/Makeconfig: Moved ...
19789         * sysdeps/nptl/Makeconfig: ... here.
19790         * nptl/configure: File removed.
19791         * nptl/ANNOUNCE: File removed.
19792         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
19793         * sysdeps/unix/sysv/linux/configure: Regenerated.
19794
19795         * nptl/Makefile (routines): Add libc_pthread_init,
19796         libc_multiple_threads, register-atfork and unregister-atfork.
19797         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
19798         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
19799         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
19800         pthread-pi-defines.sym, structsem.sym.
19801         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
19802         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
19803         [$(subdir) = nptl] (tests): Add tst-setgetname.
19804         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
19805         * sysdeps/unix/sysv/linux/sigaction.c: Just include
19806         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
19807         [!LIBC_SIGACTION]: Remove aliases.
19808         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19809         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19810         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19811         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
19812         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19813         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19814         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19815         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19816         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19817         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
19818         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
19819         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
19820         __libc_allocate_rtsig_private.
19821         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
19822         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
19823         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
19824         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
19825         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
19826         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
19827         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
19828         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
19829         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
19830         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
19831         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
19832         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
19833         * nptl/internaltypes.h: ... here.
19834         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
19835         * sysdeps/nptl/jmp-unwind.c: ... here.
19836         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
19837         * nptl/libc-lowlevellock.c: ... here.
19838         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
19839         * nptl/libc_multiple_threads.c: ... here.
19840         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
19841         * nptl/libc_pthread_init.c: ... here.
19842         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
19843         * nptl/lowlevelbarrier.sym: ... here.
19844         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
19845         * nptl/lowlevelcond.sym: ... here.
19846         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
19847         * nptl/lowlevellock.c: ... here.
19848         * nptl/lowlevellock.h: Moved ...
19849         * sysdeps/nptl/lowlevellock.h: ... here.
19850         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
19851         * nptl/lowlevelrobustlock.c: ... here.
19852         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
19853         * nptl/lowlevelrobustlock.sym: ... here.
19854         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
19855         * nptl/lowlevelrwlock.sym: ... here.
19856         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
19857         * nptl/pt-fork.c: ... here.
19858         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
19859         * nptl/pthread-pi-defines.sym: ... here.
19860         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
19861         * nptl/pthread_attr_getaffinity.c: ... here.
19862         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
19863         * nptl/pthread_attr_setaffinity.c: ... here.
19864         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
19865         * nptl/pthread_mutex_cond_lock.c: ... here.
19866         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19867         Update #include.
19868         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
19869         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
19870         * nptl/pthread_once.c: ... here, replacing old file.
19871         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
19872         * nptl/pthread_yield.c: ... here.
19873         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
19874         * nptl/register-atfork.c: ... here.
19875         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
19876         * nptl/sem_post.c: ... here.
19877         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
19878         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
19879         * nptl/sem_timedwait.c: ... here.
19880         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
19881         * nptl/sem_trywait.c: ... here.
19882         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
19883         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
19884         * nptl/sem_wait.c: ... here.
19885         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
19886         * nptl/structsem.sym: ... here.
19887         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
19888         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
19889         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
19890         * nptl/unregister-atfork.c: ... here.
19891         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
19892         * nptl/unwindbuf.sym: ... here.
19893         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
19894         * sysdeps/nptl/fork.c: ... here.
19895         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
19896         * sysdeps/nptl/fork.h: ... here.
19897         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
19898         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
19899         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
19900         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
19901         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
19902         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
19903         * sysdeps/unix/sysv/linux/getpid.c: ... here.
19904         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
19905         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
19906         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
19907         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
19908         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
19909         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
19910         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
19911         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
19912         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
19913         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
19914         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
19915         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
19916         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
19917         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
19918         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
19919         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
19920         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
19921         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
19922         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
19923         * sysdeps/unix/sysv/linux/raise.c: ... here.
19924         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
19925         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
19926         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
19927         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
19928         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
19929         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
19930         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
19931         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
19932         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
19933         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
19934         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
19935         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
19936         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
19937         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
19938         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
19939
19940 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19941
19942         * sysdeps/generic/memcopy.h: Add comment for
19943         MEMCPY_OK_FOR_FWD_MEMMOVE.
19944
19945 2014-07-04  Will Newton  <will.newton@linaro.org>
19946
19947         * string/memchr.c: Merge from gnulib.
19948         [_LIBC]: Remove conditionals.
19949         (__ptr_t): Remove define.
19950         (LONG_MAX_32_BITS): Likewise.
19951         (LONG_MAX): Likewise.
19952         (MEMCHR): Use ANSI prototype and optimize algorithm.
19953
19954         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
19955
19956 2014-07-03  Roland McGrath  <roland@hack.frob.com>
19957
19958         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
19959         (lll_futex_timed_wait_bitset): Fix syscall argument count.
19960
19961         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
19962         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
19963         in a bare environment with no <stdlib.h> installed.
19964         * sysdeps/nptl/configure: Regenerated.
19965
19966         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
19967
19968         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
19969         AC_EGREP_CPP for kernel header checks, so they only succeed if
19970         including <linux/version.h> actually works right.
19971         * sysdeps/unix/sysv/linux/configure: Regenerated.
19972
19973         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
19974         value so it's not diagnosed as unused.
19975
19976         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
19977         thing) with "ifeq ($(subdir),rt)".
19978
19979 2014-07-03  Richard Henderson  <rth@redhat.com>
19980
19981         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
19982         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
19983         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
19984
19985         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
19986         (math_force_eval): New.
19987
19988         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
19989         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
19990
19991         * sysdeps/alpha/fpu/s_round.c: Remove file.
19992         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
19993
19994         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
19995         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
19996         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
19997         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
19998         (_dl_start, print_statistics): Likewise.
19999         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
20000         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
20001
20002         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20003         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20004         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20005         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20006         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20007         (HP_SMALL_TIMING_AVAIL): Define.
20008         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20009         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20010         (HP_SMALL_TIMING_AVAIL): Define.
20011         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20012         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20013
20014         * sysdeps/aarch64/hp-timing.h: New file.
20015
20016         * sysdeps/generic/hp-timing.h: Remove dead comment.
20017         * sysdeps/generic/hp-timing-common.h: New file.
20018         * sysdeps/alpha/hp-timing.h: Include it.
20019         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20020         * sysdeps/i386/i686/hp-timing.h: Likewise.
20021         * sysdeps/ia64/hp-timing.h: Likewise.
20022         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20023         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20024         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20025         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20026         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20027         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20028         (hp_timing_t): New.
20029
20030         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20031         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20032         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20033         * elf/rtld.c (_dl_start_final): Likewise.
20034         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20035         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20036         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20037         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20038         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20039         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20040         (HP_TIMING_DIFF_INIT): Remove.
20041         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20042         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20043         (HP_TIMING_DIFF_INIT): Remove.
20044         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20045         * sysdeps/i386/i686/hp-timing.c: Remove file.
20046         * sysdeps/x86_64/hp-timing.c: Remove file.
20047         * sysdeps/ia64/hp-timing.c: Remove file.
20048         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20049         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20050         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20051         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20052
20053         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20054         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20055         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20056         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20057         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20058         (HP_TIMING_ACCUM): Remove.
20059         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20060         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20061         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20062
20063         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20064         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20065         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20066         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20067         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20068         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20069         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20070         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20071
20072         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20073
20074 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20075
20076         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20077
20078 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20079
20080         Sync up with gettext.
20081         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20082         [_MSC_VER]: Include malloc.h
20083         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20084         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20085         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20086         TEMP_FAILURE_RETRY.  Cast return of alloca.
20087         [!_LIBC] Call gl_rwlock_init.
20088         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20089
20090 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20091
20092         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20093         before checking its value.
20094
20095 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20096
20097         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20098
20099         * debug/memcpy_chk.c: Don't include pagecopy.h.
20100         * debug/mempcpy_chk.c: Likewise.
20101         * string/memcpy.c: Likewise.
20102         * string/memmove.c: Likewise.
20103         * sysdeps/powerpc/memmove.c: Likewise.
20104         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20105         definition of PAGE_COPY_FWD_MAYBE here...
20106         * sysdeps/generic/pagecopy.h: ... from here.
20107         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20108
20109 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20110             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20111
20112         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20114         optimizations.
20115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20116         (__libc_ifunc_impl_list): Likewise.
20117         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20118         multiarch strcat for PPC64.
20119         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20120         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20121
20122 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20123
20124         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20125
20126 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20127
20128         * intl/loadmsgcat.c: Remove declaration of
20129         get_sysdep_segment_value.
20130         (get_sysdep_segment_value): Use ISO C style.
20131         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20132         semicolon.  Fix typo and formatting in comment.
20133         (_nl_unload_domain): Use ISO C style.
20134
20135         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20136
20137 2014-07-02  Will Newton  <will.newton@linaro.org>
20138
20139         * malloc/obstack.c: Merge from gnulib master.
20140         [HAVE_CONFIG_H]: Remove conditional code.
20141         [!_LIBC]: Include config.h.
20142         [!ELIDE_CODE]: Don't include inttypes.h, include
20143         stdint.h unconditionally.
20144         (print_and_abort): Mark as _Noreturn.
20145         (_obstack_allocated_p): Mark as __attribute_pure__.
20146         (obstack_free): Rename to __obstack_free.
20147         [!__attribute__]: Remove conditional code.
20148         * malloc/obstack.h: Merge from gnulib master.
20149         [__cplusplus]: Move conditional down.
20150         [!__attribute_pure__]: Define __attribute_pure__ here
20151         if it is not already defined.
20152         (_obstack_memory_used): Mark as __attribute_pure__.
20153         [!__obstack_free]: Define as obstack_free.
20154         [__GNUC__]: Remove check for ancient NeXT gcc.
20155
20156 2014-07-02  Will Newton  <will.newton@linaro.org>
20157             Paul Eggert  <eggert@cs.ucla.edu>
20158
20159         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20160
20161 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20162
20163         * resolv/gethnamaddr.c: Add comment warning that the file is
20164         not maintained.
20165
20166 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20167
20168         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20169         entries.
20170
20171         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20172         entry for aio_cancel and aio_cancel64.
20173         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20174         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20175         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20176         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20177         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20178         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
20179         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
20180         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
20181         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
20182         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
20183         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
20184         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20185         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
20186
20187 2014-07-01  Roland McGrath  <roland@hack.frob.com>
20188
20189         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
20190         * nptl/pthread_mutex_lock.c: Likewise.
20191         * nptl/pthread_mutex_timedlock.c: Likewise.
20192         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
20193
20194 2014-07-01  Richard henderson  <rth@redhat.com>
20195
20196         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
20197         (__isnan, __isnanl): Remove.
20198         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
20199
20200         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20201
20202 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20203
20204         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20205
20206 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20207
20208         * resolv/nss_dns/dns-host.c (getanswer_r)
20209         [MULTI_PTRS_ARE_ALIASES]: Remove code.
20210
20211 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
20212
20213         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20214         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
20215         undefine.
20216         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20217         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
20218
20219 2014-07-01  Roland McGrath <roland@hack.frob.com>
20220
20221         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
20222         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
20223
20224         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20225         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
20226
20227         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
20228         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20229         ... here.
20230         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
20231         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
20232
20233         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
20234         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
20235         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
20236         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
20237
20238         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
20239         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
20240         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
20241         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
20242         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
20243         Moved ...
20244         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
20245         ... here.
20246         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
20247         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
20248         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
20249         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
20250         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
20251         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
20252         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
20253         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
20254         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
20255         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
20256         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
20257         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
20258         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
20259         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
20260         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
20261         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
20262         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
20263         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
20264         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
20265         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
20266         ... here.
20267         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
20268         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
20269         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
20270         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
20271         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
20272         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
20273         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
20274         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
20275
20276 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
20277
20278         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
20279         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
20280         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
20281         Add sysdep.
20282
20283 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20284
20285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20286
20287 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20288
20289         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20290         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20291
20292         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20293
20294         * sysdeps/arm/libm-test-ulps: Regenerated.
20295
20296 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20297             Roland McGrath <roland@hack.frob.com>
20298
20299         * test-skeleton.c (signal_handler): Kill the whole process group
20300         before killing the child individually.
20301         (main): Report any failure on `setpgid'.
20302
20303 2014-06-30  Roland McGrath  <roland@hack.frob.com>
20304
20305         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20306         from _TLS_H to _ARM_NPTL_TLS_H.
20307         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
20308         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
20309
20310 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20311
20312         [BZ #16539]
20313         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
20314         (__expm1l): Return argument unchanged when small but not
20315         subnormal.
20316
20317         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
20318         include macro name.
20319         (_FP_UNPACK_RAW_1_P): Likewise.
20320         (_FP_PACK_RAW_1): Likewise.
20321         (_FP_PACK_RAW_1_P): Likewise.
20322         (_FP_MUL_MEAT_1_wide): Likewise.
20323         (_FP_MUL_MEAT_DW_1_hard): Likewise.
20324         (_FP_MUL_MEAT_1_hard): Likewise.
20325         (_FP_DIV_MEAT_1_imm): Likewise.
20326         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
20327         (_FP_DIV_MEAT_1_udiv): Likewise.
20328         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20329         (_FP_UNPACK_RAW_2): Likewise.
20330         (_FP_UNPACK_RAW_2_P): Likewise.
20331         (_FP_PACK_RAW_2): Likewise.
20332         (_FP_PACK_RAW_2_P): Likewise.
20333         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20334         (_FP_MUL_MEAT_2_wide): Likewise.
20335         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
20336         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20337         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
20338         (_FP_MUL_MEAT_2_gmp): Likewise.
20339         (_FP_DIV_MEAT_2_udiv): Likewise.
20340         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
20341         (_FP_FRAC_SRL_4): Likewise.
20342         (_FP_FRAC_SRST_4): Likewise.
20343         (_FP_FRAC_SRS_4): Likewise.
20344         (_FP_UNPACK_RAW_4): Likewise.
20345         (_FP_UNPACK_RAW_4_P): Likewise.
20346         (_FP_PACK_RAW_4): Likewise.
20347         (_FP_PACK_RAW_4_P): Likewise.
20348         (_FP_MUL_MEAT_DW_4_wide): Likewise.
20349         (_FP_MUL_MEAT_4_wide): Likewise.
20350         (_FP_MUL_MEAT_4_gmp): Likewise.
20351         (umul_ppppmnnn): Likewise.
20352         (_FP_DIV_MEAT_4_udiv): Likewise.
20353         (__FP_FRAC_ADD_4): Likewise.
20354         (__FP_FRAC_SUB_3): Likewise.
20355         (__FP_FRAC_SUB_4): Likewise.
20356         (__FP_FRAC_DEC_3): Likewise.
20357         (__FP_FRAC_DEC_4): Likewise.
20358         (__FP_FRAC_ADDI_4): Likewise.
20359         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
20360         (_FP_FRAC_SRL_8): Likewise.
20361         (_FP_FRAC_SRS_8): Likewise.
20362
20363         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
20364         include macro name.
20365         (FP_UNPACK_RAW_EP): Likewise.
20366         (FP_PACK_RAW_E): Likewise.
20367         (FP_PACK_RAW_EP): Likewise.
20368         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
20369         (_FP_ISSIGNAN): Likewise.
20370         (_FP_ADD_INTERNAL): Likewise.
20371         (_FP_FMA): Likewise.
20372         (_FP_CMP): Likewise.
20373         (_FP_SQRT): Likewise.
20374         (_FP_TO_INT): Likewise.
20375         (_FP_FROM_INT): Likewise.
20376         (FP_EXTEND): Likewise.
20377         (_FP_DIV_MEAT_N_loop): Likewise.
20378
20379 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20380
20381         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
20382         throughout.
20383
20384 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
20385
20386         [BZ #17097]
20387         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
20388         result with correct sign in case of exponents that produce
20389         overflow except for X very close to 1.
20390
20391 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
20392
20393         mktime: merge #if/#ifdef usage from glibc
20394         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
20395         as that works with both Glibc's and Gnulib's style.
20396         See thread starting at Siddhesh Poyarekar's bug report at:
20397         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20398
20399 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20400
20401         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
20402         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
20403         * sysdeps/tile/tilegx/memmove.c: Remove file.
20404
20405 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20406
20407         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
20408         abi-name definition.
20409         * scripts/soversions.awk: Do not handle or generate ABI lines.
20410         * shlib-versions: Remove ABI entries.
20411         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
20412         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
20413
20414 2014-06-27  Roland McGrath  <roland@hack.frob.com>
20415
20416         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
20417         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
20418         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
20419         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
20420         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
20421         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
20422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
20423         Moved ...
20424         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
20425         ... here.
20426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
20427         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
20428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
20429         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
20430         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
20431         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
20432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20433         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
20434         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
20435         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
20436         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
20437         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
20438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
20439         Moved ...
20440         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
20441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
20442         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
20443         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
20444         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
20445         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
20446         Moved ...
20447         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
20448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
20449         Moved ...
20450         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
20451         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
20452         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
20453         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
20454         Moved ...
20455         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
20456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
20457         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
20458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
20459         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
20460         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
20461         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
20462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
20463         Moved ...
20464         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
20465         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
20466         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
20467         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
20468         Moved ...
20469         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
20470         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
20471         Moved ...
20472         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
20473         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
20474         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
20475         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
20476         Moved ...
20477         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
20478         ... here.
20479         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
20480         Identical file removed.
20481         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
20482         Moved ...
20483         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
20484         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
20485         Identical file removed.
20486         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
20487         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
20488         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
20489         Moved ...
20490         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
20491         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
20492         Identical file removed.
20493         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
20494         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
20495         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
20496         Identical file removed.
20497         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
20498         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
20499         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
20500         Identical file removed.
20501         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
20502         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
20503         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
20504         Identical file removed.
20505         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
20506         Moved ...
20507         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
20508         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
20509         Identical file removed.
20510         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
20511         Moved ...
20512         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
20513         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
20514         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
20515         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
20516         Identical file removed.
20517         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
20518         Moved ...
20519         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
20520         ... here.
20521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
20522         Identical file removed.
20523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
20524         Moved ...
20525         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
20526         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
20527         Identical file removed.
20528         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
20529         Moved ...
20530         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
20531         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
20532         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
20533         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
20534         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
20535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
20536         Moved ...
20537         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
20538         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
20539         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
20540
20541         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
20542         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
20543         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
20544         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
20545         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
20546
20547 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
20548
20549         [BZ #17092]
20550         * nscd/nscd.c (monitor_child): Return exit status of child
20551         instead of return value from wait syscall.
20552
20553 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20554
20555         * configure.ac (libc_commonpagesize): Remove variable.
20556         (libc_relro_required): Likewise.
20557         (libc_cv_z_relro): Remove configure test.
20558         * configure: Regenerated.
20559         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
20560         variable.
20561         (libc_relro_required): Likewise.
20562         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
20563         (libc_relro_required): Likewise.
20564         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
20565         (libc_relro_required): Likewise.
20566         * sysdeps/arm/preconfigure: Regenerated.
20567         * sysdeps/ia64/preconfigure: Remove file.
20568         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
20569         variable.
20570         (libc_relro_required): Likewise.
20571
20572         [BZ #16561]
20573         [BZ #16562]
20574         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
20575         (__ieee754_yn): Set FE_TONEAREST mode internally and then
20576         recompute overflowing results in original rounding mode.
20577         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
20578         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
20579         recompute overflowing results in original rounding mode.
20580         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
20581         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20582         recompute overflowing results in original rounding mode.
20583         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
20584         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20585         recompute overflowing results in original rounding mode.
20586         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
20587         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20588         recompute overflowing results in original rounding mode.
20589         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
20590         (libc_feholdsetround_ctx): New macro.
20591         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
20592         * sysdeps/i386/fpu/libm-test-ulps: Update.
20593         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
20594
20595 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20596
20597         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
20598         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
20599         corresponding .cpsetup call.
20600
20601 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20602
20603         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
20604         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
20605         * sysdeps/arm/Makefile [$(subdir) = csu]
20606         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
20607         (static-only-routines): Add aeabi_read_tp here.
20608         (shared-only-routines): Add libc-aeabi_read_tp here.
20609         (CFLAGS-libc-start.c): Add -fexceptions here.
20610         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
20611         (sysdep_routines, static-only-routines, shared-only-routines):
20612         Don't add to these here.
20613         (CFLAGS-libc-start.c): Likewise.
20614
20615         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
20616         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20617         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
20618         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20619         * sysdeps/arm/Makefile [$(subdir) = rt]
20620         (librt-sysdep_routines, librt-shared-only-routines):
20621         Append rt-aeabi_unwind_cpp_pr1 here.
20622         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
20623         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
20624         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
20625         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20626         Append nptl-aeabi_unwind_cpp_pr1 here.
20627         (tests): Filter out tst-cleanupx4 here.
20628         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
20629         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
20630         Don't do those here.
20631
20632 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20633
20634         * scripts/list-sources.sh: Do not handle ports specially.
20635
20636 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20637
20638         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
20639         * sysdeps/arm/feupdateenv.c: Likewise.
20640
20641         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
20642
20643 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20644
20645         * manual/texinfo.tex: Update to version 2014-05-05.10 with
20646         trailing whitespace removed.
20647         * scripts/config.guess: Update to version 2014-03-23.
20648         * scripts/config.sub: Update to version 2014-05-01
20649         * scripts/install-sh: Update to version 2013-12-25.23.
20650         * scripts/move-if-change: Update from gnulib.
20651
20652 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20653
20654         * debug/memmove_chk.c: Remove pagecopy.h include.
20655
20656 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
20657
20658         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
20659         identical to gnulib mktime.
20660
20661 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20662
20663         * configure.ac: Do not test for machine being rs6000.  Do not test
20664         for powerpc*-*soft.
20665         * configure: Regenerated.
20666
20667         [BZ #11505]
20668         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
20669         test.
20670         * configure: Regenerated.
20671         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
20672         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
20673         Remove configure test.
20674         * sysdeps/arm/configure: Regenerated.
20675         * sysdeps/nptl/configure.ac: Do not check
20676         libc_cv_asm_cfi_directives.
20677         * sysdeps/nptl/configure: Regenerated.
20678         * sysdeps/x86_64/nptl/configure.ac: Remove file.
20679         * sysdeps/x86_64/nptl/configure: Remove generated file.
20680         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
20681         unconditional.
20682         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
20683
20684 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20685
20686         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
20687         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
20688         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
20689         it is defined.
20690
20691         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
20692         instead of whether it is defined.
20693         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
20694         * sysdeps/hppa/dl-machine.h: Likewise.
20695         * sysdeps/ia64/dl-machine.h: Likewise.
20696         * sysdeps/m68k/dl-machine.h: Likewise.
20697         * sysdeps/microblaze/dl-machine.h: Likewise.
20698         * sysdeps/mips/dl-machine.: Likewise.
20699         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20700         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20701         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20702         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20703         * sysdeps/sh/dl-machine.h: Likewise.
20704         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20705         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20706         * sysdeps/tile/dl-machine.h: Likewise.
20707         * sysdeps/x86_64/dl-machine.h: Likewise.
20708
20709         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
20710         code.
20711         (verify_persistent_db): Likewise.
20712
20713 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20714
20715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
20716         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
20717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
20718         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
20719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20720         Moved ...
20721         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
20722         ... here.
20723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
20724         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
20725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
20726         Identical file removed.
20727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
20728         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
20729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
20730         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
20731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
20732         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
20733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
20734         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
20735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
20736         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
20737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20738         Moved ...
20739         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
20740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
20741         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
20742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
20743         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
20744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20745         Moved ...
20746         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
20747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
20748         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
20749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
20750         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
20751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20752         Identical file removed.
20753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
20754         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
20755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
20756         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
20757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20758         Moved ...
20759         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
20760         ... here.
20761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
20762         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
20763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
20764         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
20765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
20766         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
20767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
20768         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
20769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
20770         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
20771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20772         Moved ...
20773         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
20774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
20775         Moved ...
20776         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
20777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
20778         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
20779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20780         Moved ...
20781         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
20782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
20783         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
20784
20785         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
20786         folded into ...
20787         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
20788         * sysdeps/unix/sysv/linux/s390/Versions
20789         (libpthread: GLIBC_2.19): New version set.
20790         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
20791         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
20792         (librt: GLIBC_2.3.3): New version set.
20793         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
20794         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
20795         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
20796         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
20797         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
20798         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
20799         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
20800         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
20801         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
20802         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
20803         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
20804         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
20805         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
20806         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
20807         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
20808         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
20809         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
20810         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
20811         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
20812         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
20813         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
20814         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
20815         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
20816         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
20817         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
20818         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
20819         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
20820         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
20821         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
20822         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
20823         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
20824         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
20825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
20826         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
20827         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
20828         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
20829         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
20830         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
20831         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
20832         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
20833         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
20834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
20835         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
20836         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
20837         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
20838
20839         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
20840         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
20841         (__libc_vfork): Define the function under this name.
20842         [!NOT_IN_libc] (__vfork): Make this an alias.
20843         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20844         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
20845         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
20846         (__libc_vfork): Define the function under this name.
20847         [!NOT_IN_libc] (__vfork): Make this an alias.
20848         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20849         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
20850         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
20851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
20852         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
20853         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20854
20855         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
20856         code that was previously under [RESET_PID].
20857         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
20858         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
20859         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
20860
20861         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
20862         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
20863         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
20864         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
20865         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
20866         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
20867         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
20868         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
20869         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
20870         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
20871         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
20872         Moved ...
20873         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
20874         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
20875         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
20876         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
20877         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
20878         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
20879         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
20880         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
20881         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
20882         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
20883         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
20884         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
20885         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
20886         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
20887         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
20888         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
20889         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
20890         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
20891         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
20892         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
20893         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
20894         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
20895         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
20896         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
20897         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
20898         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
20899         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
20900         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
20901         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
20902
20903 2014-06-25  Roland McGrath  <roland@hack.frob.com>
20904
20905         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
20906         that was previously under [RESET_PID].
20907         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
20908
20909 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
20910
20911         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
20912         not undefine and redefine.
20913         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
20914         [O_CLOEXEC]: Make code unconditional.
20915         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
20916         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
20917         <kernel-features.h>.
20918         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
20919         conditional variable definition.
20920         (shm_open) [O_CLOEXEC]: Make code unconditional.
20921         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
20922         code.
20923
20924         * configure.ac (USE_REGPARMS): Don't define here.
20925         * configure: Regenerated.
20926         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
20927         * sysdeps/i386/configure: Regenerated.
20928
20929         * nptl/createthread.c: Don't include kernel-features.h.
20930         * nptl/pthread_cancel.c: Likewise.
20931         * nptl/pthread_condattr_setclock.c: Likewise.
20932         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
20933         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
20934         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
20935         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
20936         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
20937         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
20938         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20939         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
20940         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20941         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
20942         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
20943         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
20944         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
20945         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
20946         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
20947         * nscd/gai.c: Likewise.
20948         * nss/nss_db/db-open.c: Likewise.
20949         * sysdeps/generic/ldsodefs.h: Likewise.
20950         * sysdeps/sh/nptl/tls.h: Likewise.
20951         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20952         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
20953         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
20954         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
20955         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
20956         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20957         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
20958         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20959         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
20960         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20961         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20962         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
20963         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
20964         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
20965         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
20966         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
20967         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20968         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
20969         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
20970         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
20971         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20972         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20973         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
20974         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20976         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
20978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20979         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20980         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
20981         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
20982         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
20983         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
20984         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20985         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20986         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20987         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20988         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
20989         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
20990         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20991         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20992         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
20993         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
20994         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20995         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
20996         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
20997         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
20998         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
20999         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
21000         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21001         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21002         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21003         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21004         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21005         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21006         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21007         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21008         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21031         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21032         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21033         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21034         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21035         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21036         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21037         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21038         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21039         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21040         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21041         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21042         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21043         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21044         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21045         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21046         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21047         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21048         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21049         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21050         * sysdeps/unix/sysv/linux/system.c: Likewise.
21051         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21052         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21053         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21054         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21055         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21056         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21057         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21058
21059         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21060         * configure: Regenerated.
21061         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21062
21063         * configure.ac (base_machine): Do not set specially for particular
21064         machines here.
21065         * configure: Regenerated.
21066         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21067         settings from configure.ac.
21068         * sysdeps/i386/preconfigure: New file.
21069         * sysdeps/s390/preconfigure: Likewise.
21070         * sysdeps/sh/preconfigure: Likewise.
21071         * sysdeps/sparc/preconfigure: Likewise.
21072
21073 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21074
21075         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21076         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21077         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21078         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21079         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21080         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21081         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21082         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21083         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21084         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21085         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21086         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21087         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21088         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21089         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21090         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21091         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21092         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21093         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21094
21095         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21096         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21097         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21098         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21099         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21100         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21101         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21102         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21103         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21104         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21105         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21106         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21107         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21108         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21109         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21110         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21111         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21112         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21113         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21114         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21115         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21116         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21117         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21118         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21119         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21120         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21121         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21122         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21123         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21124         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21125         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21126         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21127         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21128         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21129         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21130         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21131         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21132         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21133
21134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21135         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21137         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21138         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21139         Moved ...
21140         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21141         ... here.
21142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21143         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21145         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21147         Moved ...
21148         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21150         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21152         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21154         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21156         Moved ...
21157         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21159         Moved ...
21160         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21162         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21164         Moved ...
21165         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21167         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21169         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21171         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21173         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21175         Moved ...
21176         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21177         ... here.
21178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
21179         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
21180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
21181         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
21182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
21183         Moved ...
21184         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
21185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
21186         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
21187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
21188         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
21189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
21190         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
21191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21192         Moved ...
21193         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
21194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21195         Moved ...
21196         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
21197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
21198         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
21199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21200         Moved ...
21201         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
21202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
21203         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
21204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
21205         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
21206
21207 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21208
21209         * timezone/checktab.awk: Update from tzcode 2014e.
21210         * timezone/private.h: Likewise.
21211         * timezone/tzfile.h: Likewise.
21212         * timezone/zdump.c: Likewise.
21213         * timezone/zic.c: Likewise.
21214
21215         * sysdeps/unix/sysv/linux/kernel-features.h
21216         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
21217         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
21218         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
21219         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21220         Remove conditional code.
21221
21222 2014-06-25  Will Newton  <will.newton@linaro.org>
21223
21224         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
21225         (_dl_arm_cap_flags): Add HWCAP2 values.
21226         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21227         (_DL_HWCAP_COUNT): Increase to 37.
21228         (_DL_HWCAP_LAST): New define.
21229         (_DL_HWCAP2_LAST): New define.
21230         (_dl_procinfo): Add support for printing
21231         AT_HWCAP2 entries.
21232         (_dl_string_hwcap): Use _dl_hwcap_string.
21233
21234 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21235
21236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21237
21238 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21239
21240         * README: Do not mention ports directory.
21241
21242         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
21243         Remove macro.
21244         * sysdeps/unix/sysv/linux/futimes.c: Do not include
21245         <kernel-features.h>.
21246         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
21247         conditional variable definition.
21248         (__futimes): Update comment.
21249         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
21250         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
21251
21252         [BZ #16560]
21253         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
21254         arguments close to 0.
21255         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
21256         Likewise.
21257         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
21258         Likewise.
21259         * math/auto-libm-test-in: Add more tests of exp10.
21260         * math/auto-libm-test-out: Regenerated.
21261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21262
21263         * sysdeps/unix/sysv/linux/kernel-features.h
21264         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
21265         * sysdeps/unix/sysv/linux/readv.c: Do not include
21266         <kernel-features.h>.
21267         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21268         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21269         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21270         unconditional.
21271         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21272         conditional code.
21273         * sysdeps/unix/sysv/linux/writev.c: Do not include
21274         <kernel-features.h>.
21275         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21276         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21277         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21278         unconditional.
21279         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21280         conditional code.
21281
21282 2014-06-25  Will Newton  <will.newton@linaro.org>
21283
21284         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
21285         comment changes throughout the file.  Remove checks
21286         for HAVE_*_H definitions that are not required.
21287         (__gen_tempname): Call abort if an unknown kind value is
21288         passed.
21289
21290 2014-06-25  Andreas Schwab  <schwab@suse.de>
21291
21292         [BZ #17086]
21293         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
21294         scalbln, scalblnf, scalblnl in libc.
21295
21296 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21297
21298         [BZ #17086]
21299         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
21300         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21301         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21302
21303 2014-06-24  Roland McGrath  <roland@hack.frob.com>
21304
21305         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
21306         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
21307         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
21308         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
21309         Update #include.
21310         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
21311         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
21312         Update #include.
21313         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
21314         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
21315         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
21316         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
21317         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
21318         * sysdeps/x86/bits/pthreadtypes.h: ... here.
21319         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
21320         * sysdeps/x86/bits/semaphore.h: ... here.
21321         * sysdeps/x86/nptl/elide.h: Moved ...
21322         * sysdeps/x86/elide.h: ... here.
21323         * sysdeps/x86_64/nptl/Implies: File removed.
21324         * sysdeps/i386/nptl/Implies: File removed.
21325
21326 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
21327
21328         [BZ #16539]
21329         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
21330         return the argument for normal arguments with exponent below -64.
21331         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21332         Likewise.
21333         * math/auto-libm-test-in: Add another test of expm1.
21334         * math/auto-libm-test-out: Regenerated.
21335
21336         [BZ #16287]
21337         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
21338         calling __erfcl for arguments at least 16.
21339         * math/auto-libm-test-in: Add more tests of erf.
21340         * math/auto-libm-test-out: Regenerated.
21341
21342         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
21343         individual architectures.
21344         * sysdeps/unix/sysv/linux/configure: Regenerated.
21345         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21346         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
21347         * sysdeps/unix/sysv/linux/powerpc/configure.ac
21348         (ldd_rewrite_script): Define variable.
21349         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
21351         file.
21352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21353         generated file.
21354         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
21355         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
21356         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
21357         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
21358         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
21359         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21360         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
21361         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
21362
21363 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21364
21365         [BZ #17084]
21366         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
21367         Rename member __data.d to __data.__elision_data.
21368
21369 2014-06-24  Wilco  <wdijkstr@arm.com>
21370
21371         * NEWS: Add 16918 to fixed bug list.
21372
21373 2014-06-24  Wilco  <wdijkstr@arm.com>
21374
21375         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
21376
21377 2014-06-24  Wilco  <wdijkstr@arm.com>
21378
21379         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
21380         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
21381         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
21382         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21383         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
21384         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
21385         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
21386         Use _FPU_MASK_RM.
21387
21388 2014-06-24  Wilco  <wdijkstr@arm.com>
21389
21390         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
21391
21392 2014-06-24  Wilco  <wdijkstr@arm.com>
21393
21394         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
21395         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
21396         * sysdeps/arm/fesetround.c (fesetround): Remove space.
21397         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
21398
21399 2014-06-24  Wilco  <wdijkstr@arm.com>
21400
21401         [BZ #16918]
21402         * sysdeps/arm/feupdateenv.c (feupdateenv):
21403         Rewrite to reduce FPSCR accesses and fix return value.
21404
21405 2014-06-24  Wilco  <wdijkstr@arm.com>
21406
21407         * sysdeps/arm/fclrexcpt.c (feclearexcept):
21408         Optimize to avoid unnecessary FPSCR writes.
21409         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
21410         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
21411         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
21412         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
21413
21414 2014-06-24  Wilco  <wdijkstr@arm.com>
21415
21416         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
21417         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
21418         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
21419         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
21420         Call libc_fetestexcept_vfp.
21421         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
21422         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
21423         __SOFTFP__ ifdef so that they can be built for softfp.
21424
21425 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21426
21427         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
21428         argument type signed char.
21429
21430         * Makerules (check-abi): Dump diff of symlist if the test
21431         fails.
21432
21433 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21434
21435         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
21436         using abort.
21437
21438         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21439         Remove unused variable ST.
21440
21441 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21442
21443         [BZ #16354]
21444         [BZ #17061]
21445         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
21446         small arguments before calling __expm1.
21447         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21448         small arguments before calling __expm1f.
21449         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
21450         small arguments before calling __expm1l.
21451         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21452         Likewise.
21453         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
21454         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
21455         spurious underflow for some cosh tests.
21456         * math/auto-libm-test-out: Regenerated.
21457         * sysdeps/i386/fpu/libm-test-ulps: Update.
21458
21459         [BZ #17050]
21460         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
21461         (__ieee754_y1): Set errno if return value overflows.
21462         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
21463         (__ieee754_y1f): Set errno if return value overflows.
21464         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
21465         (__ieee754_y1l): Set errno if return value overflows.
21466         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
21467         (__ieee754_y1l): Set errno if return value overflows.
21468         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
21469         * math/auto-libm-test-out: Regenerated.
21470
21471         * math/gen-auto-libm-tests.c: Document use of
21472         ignore-zero-inf-sign.
21473         (input_flag_type): Add value flag_ignore_zero_inf_sign.
21474         (input_flags): Add ignore-zero-inf-sign.
21475         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
21476         * math/gen-libm-test.pl (generate_testfile): Handle
21477         ignore-zero-inf-sign.
21478         * math/auto-libm-test-in: Mark some cpow tests with
21479         ignore-zero-inf-sign and some with xfail-rounding.
21480         * math/auto-libm-test-out: Regenerated.
21481         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
21482         * sysdeps/i386/fpu/libm-test-ulps: Update.
21483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21484
21485         [BZ #16315]
21486         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
21487         overflowing or underflowing operations take place with sign of
21488         result.
21489         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21490         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21491         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
21492         (__ieee754_pow): Recompute overflowing and underflowing results in
21493         original rounding mode.
21494         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
21495         (__powl_helper): Allow negative argument X and scale negated value
21496         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
21497         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
21498         overflowing or underflowing operations take place with sign of
21499         result.
21500         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
21501         Include <math.h>.
21502         * math/auto-libm-test-in: Add more tests of pow.
21503         * math/auto-libm-test-out: Regenerated.
21504         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
21505         (pow_tonearest_test_data): Remove.
21506         (pow_test_tonearest): Likewise.
21507         (pow_towardzero_test_data): Likewise.
21508         (pow_test_towardzero): Likewise.
21509         (pow_downward_test_data): Likewise.
21510         (pow_test_downward): Likewise.
21511         (pow_upward_test_data): Likewise.
21512         (pow_test_upward): Likewise.
21513         (main): Don't call removed functions.
21514         * sysdeps/i386/fpu/libm-test-ulps: Update.
21515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21516
21517 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21518
21519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
21520         Moved ...
21521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
21522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21523         Moved ...
21524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
21525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21526         Moved ...
21527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
21528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21529         Moved ...
21530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
21531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21532         File removed.
21533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21534         File removed.
21535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
21536         File removed.
21537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
21538         File removed.
21539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
21540         File removed.
21541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
21542         File removed.
21543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
21544         File removed.
21545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21546         File removed.
21547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
21548         File removed.
21549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21550         File removed.
21551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
21552         File removed.
21553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
21554         File removed.
21555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
21556         Moved ...
21557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
21558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
21559         Moved ...
21560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
21561         ... here.
21562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
21563         Moved ...
21564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
21565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
21566         Moved ...
21567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
21568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
21569         Moved ...
21570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
21571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
21572         Moved ...
21573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
21574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
21575         Moved ...
21576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
21577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
21578         Moved ...
21579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
21580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
21581         Moved ...
21582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
21583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
21584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
21585         ... here.
21586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
21587         Moved ...
21588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
21589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21590         Moved ...
21591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21592         ... here.
21593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
21594         Moved ...
21595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21596         ... here.
21597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21598         Moved ...
21599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21600         ... here.
21601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21602         Moved ...
21603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
21604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21605         Moved ...
21606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
21607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
21608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
21609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21610         Moved ...
21611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
21612         ... here.
21613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21614         Moved ...
21615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
21616         ... here.
21617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21618         Moved ...
21619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
21620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21621         Moved ...
21622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
21623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21624         Moved ...
21625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
21626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21627         Moved ...
21628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
21629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21630         Moved ...
21631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
21632         ... here.
21633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21634         Moved ...
21635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
21636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21637         Moved ...
21638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
21639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21640         Moved ...
21641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
21642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21643         Moved ...
21644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
21645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
21646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
21647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21648         Moved ...
21649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
21650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21651         Moved ...
21652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
21653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21654         Moved ...
21655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
21656         ... here.
21657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21658         Moved ...
21659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
21660         ... here.
21661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21662         Moved ...
21663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
21664         ... here.
21665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21666         Moved ...
21667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
21668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21669         Moved ...
21670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
21671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21672         Moved ...
21673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
21674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21675         Moved ...
21676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
21677         ... here.
21678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21679         Moved ...
21680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
21681         ... here.
21682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21683         Moved ...
21684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
21685         ... here.
21686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21687         Moved ...
21688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
21689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21690         Moved ...
21691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
21692
21693 2014-06-23  Will Newton  <will.newton@linaro.org>
21694             Wilco  <wdijkstr@arm.com>
21695
21696         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
21697         implementation.  Include get-rounding-mode.h.
21698         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
21699         [!libc_feholdsetround_noex_ctx]: Define
21700         libc_feholdsetround_noex_ctx.
21701         [!libc_feholdsetround_noexf_ctx]: Define
21702         libc_feholdsetround_noexf_ctx.
21703         [!libc_feholdsetround_noexl_ctx]: Define
21704         libc_feholdsetround_noexl_ctx.
21705         (libc_feholdsetround_ctx): New function.
21706         (libc_feresetround_ctx): New function.
21707         (libc_feholdsetround_noex_ctx): New function.
21708         (libc_feresetround_noex_ctx): New function.
21709
21710 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21711
21712         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
21713         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
21714         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
21715         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
21716         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
21717         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
21718
21719         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
21720         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
21721         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
21722         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
21723         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
21724         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
21725         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
21726         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
21727         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
21728         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
21729         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
21730         Moved ...
21731         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
21732         ... here.
21733         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
21734         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
21735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
21736         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
21737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
21738         Moved ...
21739         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
21740         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
21741         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
21742         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
21743         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
21744         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
21745         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
21746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
21747         Moved ...
21748         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
21749         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
21750         Moved ...
21751         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
21752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
21753         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
21754         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
21755         Moved ...
21756         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
21757         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
21758         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
21759         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
21760         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
21761         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
21762         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
21763         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
21764         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
21765         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
21766         Moved ...
21767         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
21768         ... here.
21769         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
21770         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
21771         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
21772         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
21773         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
21774         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
21775         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
21776         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
21777         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
21778         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
21779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
21780         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
21781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
21782         Moved ...
21783         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
21784         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
21785         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
21786         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
21787         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
21788         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
21789         Moved ...
21790         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
21791         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
21792         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
21793         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
21794         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
21795
21796         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
21797         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
21798         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
21799         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
21800         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
21801         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
21802         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
21803         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
21804         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
21805         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
21806         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
21807         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
21808         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
21809         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
21810         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
21811         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
21812         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
21813         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
21814         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
21815         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
21816         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
21817         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
21818         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
21819         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
21820         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
21821         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
21822         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
21823         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
21824
21825 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21826
21827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
21828         (FALLOC_FL_COLLAPSE_RANGE): New macro.
21829         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
21830         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
21831         (IPV6_PMTUDISC_INTERFACE): Likewise.
21832         (IPV6_PMTUDISC_OMIT): Likewise.
21833
21834 2014-06-23  Andreas Schwab  <schwab@suse.de>
21835
21836         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
21837         Remove unused errout label.
21838
21839 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21840
21841         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
21842         macro: hardware supports Vector Crypto instructions.
21843
21844 2014-06-23  Will Newton  <will.newton@linaro.org>
21845
21846         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
21847         rather than __builtin_expect.
21848
21849         * elf/dl-lookup.c (undefined_msg): Remove variable.
21850         (_dl_lookup_symbol_x): Replace undefined_msg with string
21851         literal.
21852
21853         * elf/dl-lookup.c (do_lookup_unique): New function.
21854         (do_lookup_x): Move STB_GNU_UNIQUE handling code
21855         to a separate function.
21856
21857 2014-06-23  Andreas Schwab  <schwab@suse.de>
21858
21859         [BZ #17079]
21860         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
21861         before reading the next line.
21862
21863 2014-06-23  Will Newton  <will.newton@linaro.org>
21864
21865         * test-skeleton.c (signal_handler): Use printf and %m
21866         rather than perror.  Use printf rather than fprintf to
21867         stderr.  Use puts rather than fputs to stderr.
21868         (main): Likewise.
21869
21870 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
21871
21872         * nscd/nscd.c (thread_info_t): Remove typedef.
21873         (thread_info): Remove variable.
21874
21875 2014-06-21  Allan McRae  <allan@archlinux.org>
21876
21877         * NEWS: Mention CVE-2014-4043.
21878
21879 2014-06-20  Roland McGrath  <roland@hack.frob.com>
21880
21881         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
21882         * nptl/smp.h: ... here.
21883
21884         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
21885
21886         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
21887         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
21888         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
21889         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
21890
21891         * nptl/allocatestack.c: Include <stack-aliasing.h>.
21892         * nptl/stack-aliasing.h: New file.
21893         * sysdeps/i386/i686/stack-aliasing.h: New file.
21894         * sysdeps/i386/i686/nptl/Makefile: File removed.
21895         * sysdeps/x86_64/stack-aliasing.h: New file.
21896         * sysdeps/x86_64/nptl/Makefile
21897         (CFLAGS-pthread_create.c): Variable removed.
21898
21899         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
21900         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
21901         old file.
21902         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
21903         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
21904         old file.
21905
21906 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
21907
21908         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21909         (__ASSUME_SIGFRAME_V2): Remove macro.
21910         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
21911         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
21912         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
21913         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
21914         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
21915         Declare as function.  Remove conditional macro definitions.
21916         (__default_rt_sa_restorer): Likewise.
21917         (__default_sa_restorer_v1): Remove declaration.
21918         (__default_sa_restorer_v2): Likewise.
21919         (__default_rt_sa_restorer_v1): Likewise.
21920         (__default_rt_sa_restorer_v2): Likewise.
21921         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
21922         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
21923         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
21924
21925 2014-06-20  Roland McGrath  <roland@hack.frob.com>
21926
21927         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
21928         (libpthread-routines): Add sysdep.
21929         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
21930         * sysdeps/unix/sysv/linux/sparc/Versions
21931         (libpthread: GLIBC_2.3.3): New version set.
21932         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
21933         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
21934         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
21935         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
21936         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
21937         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
21938         Moved ...
21939         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
21940         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
21941         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
21942         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
21943         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
21944         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
21945         * sysdeps/sparc/nptl/sem_init.c: ... here.
21946         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
21947         * sysdeps/sparc/nptl/sem_post.c: ... here.
21948         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
21949         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
21950         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
21951         * sysdeps/sparc/nptl/sem_wait.c: ... here.
21952         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
21953         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
21954         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
21955         (libpthread-routines): Add cpu_relax.
21956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
21957         File removed.
21958         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
21959         (librt: GLIBC_2.3.3): New version set.
21960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
21961         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
21962         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
21963         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
21964         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
21965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
21966         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
21967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
21968         Moved ...
21969         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
21970         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
21971         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
21972         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
21973         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
21974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
21975         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
21976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
21977         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
21978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
21979         Moved ...
21980         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
21981         Update #include.
21982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
21983         Moved ...
21984         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
21985         Update #include.
21986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
21987         Moved ...
21988         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
21989         Update #include.
21990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
21991         Moved ...
21992         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
21993         Update #include.
21994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
21995         Moved ...
21996         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
21997         Update #include.
21998         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
21999         Moved ...
22000         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
22001         Update #include.
22002         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22003         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22005         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22009         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22011         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22013         Moved ...
22014         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22016         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22018         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22019
22020 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22021
22022         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22023         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22024         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22025         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22026         * nscd/nscd.c: Likewise.
22027         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22028         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22029         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22030         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22031
22032         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22033         <kernel-features.h>.
22034         (init_mq_netlink): Remove conditional have_sock_cloexec
22035         definitions.  Remove code conditional on have_sock_cloexec < 0.
22036         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22037         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22038         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22039         <kernel-features.h>.
22040         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22041         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22042
22043 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22044
22045         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22046         Add tests for memset_chk and memset.
22047
22048         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22049         with AVX2_Usable.
22050
22051 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22052
22053         [BZ #16046]
22054         * elf/tst-dl-iter-static.c: New file.
22055         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22056
22057         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22058         error.
22059
22060 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22061
22062         * sysdeps/unix/sysv/linux/kernel-features.h
22063         (__ASSUME_F_GETOWN_EX): Remove macro.
22064         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22065         <kernel-features.h>.
22066         (miss_F_GETOWN_EX): Remove variable or macro.
22067         (do_fcntl): Do not check miss_F_GETOWN_EX.
22068         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22069
22070         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22071         Remove macro.
22072         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22073         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22074         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22075
22076         * sysdeps/unix/sysv/linux/kernel-features.h
22077         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22078         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22079         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22080         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22081
22082 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22083
22084         [BZ #17075]
22085         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22086         Fix calculation of the symbol's value.
22087         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22088         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22089         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22090         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22091         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22092         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22093         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22094         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22095         (modules-names): Add `tst-armtlsdescmod',
22096         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22097         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22098         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22099         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22100         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22101         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22102         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22103         ($(objpfx)tst-armtlsdescloc): New dependency.
22104         ($(objpfx)tst-armtlsdescextnow): Likewise.
22105         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22106         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22107         TLS scheme support.
22108         * sysdeps/arm/configure: Regenerate.
22109
22110 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22111
22112         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22113         (__atfct_seterrno_2): Likewise.
22114         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22115         <kernel-features.h>.
22116         (__ASSUME_ATFCTS): Do not undefine and redefine.
22117         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22118         (__have_atfcts): Remove conditional definition.
22119         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22120         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22121         unreachable if [__ASSUME_ATFCTS].
22122         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22123         not undefine and redefine.
22124         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22125         <kernel-features.h>.
22126         (faccessat) [__NR_faccessat]: Make code unconditional.
22127         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22128         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22129         <kernel-features.h>.
22130         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22131         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22132         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22133         <kernel-features.h>.
22134         (fchownat) [__NR_fchownat]: Make code unconditional.
22135         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22136         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22137         <kernel-features.h>.
22138         (futimesat) [__NR_futimesat]: Make code unconditional.
22139         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22140         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22141         <kernel-features.h>.
22142         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22143         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22144         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22145         <kernel-features.h>.
22146         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22147         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22148         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22149         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22150         <kernel-features.h>.
22151         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22152         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22153         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22154         <kernel-features.h>.
22155         (linkat) [__NR_linkat]: Make code unconditional.
22156         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22157         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22158         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22159         <kernel-features.h>.
22160         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22161         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22162         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22163         <kernel-features.h>.
22164         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22165         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22166         * sysdeps/unix/sysv/linux/openat.c: Do not include
22167         <kernel-features.h>.
22168         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22169         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22170         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22171         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22172         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22173         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22174         <kernel-features.h>.
22175         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22176         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22177         result of INLINE_SYSCALL directly, not via int variable.
22178         * sysdeps/unix/sysv/linux/renameat.c: Do not include
22179         <kernel-features.h>.
22180         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
22181         (renameat) [__NR_renameat]: Make code unconditional.
22182         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
22183         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
22184         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
22185         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
22186         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
22187         (__ASSUME_ATFCTS): Do not undefine and redefine.
22188         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
22189         <kernel-features.h>.
22190         (symlinkat) [__NR_symlinkat]: Make code unconditional.
22191         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22192         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
22193         <kernel-features.h>.
22194         (unlinkat) [__NR_unlinkat]: Make code unconditional.
22195         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22196         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
22197         (__ASSUME_ATFCTS): Do not undefine and redefine.
22198         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22199         <kernel-features.h>.
22200         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22201         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22202         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22203         <kernel-features.h>.
22204         (__xmknodat) [__NR_mknodat]: Make code unconditional.
22205         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22206
22207 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22208
22209         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
22210
22211 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
22212
22213         [BZ #17069]
22214         * posix/regcomp.c (parse_reg_exp): Deallocate partially
22215         constructed tree before returning error.
22216         * posix/bug-regexp36.c: Expand test case.
22217
22218 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22219
22220         [BZ #6803]
22221         * math/libm-test.inc (scalbln_test_date):
22222         Add errno expectations.
22223         * math/w_scalblnf.c: New File.
22224         Add wrapper which checks for setting errno to ERANGE.
22225         Add weak_alias for corresponding scalbln function.
22226         * math/w_scalbln.c: Likewise.
22227         * math/w_scalblnl.c: Likewise.
22228         * math/Makefile (libm-calls): Add w_scalbln.
22229         * sysdeps/ieee754/flt-32/s_scalblnf.c:
22230         Remove weak_alias for corresponding scalbln function.
22231         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22232         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22233         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22234         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22235         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22236         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22237         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
22238         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22239         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
22240         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
22241         Remove long_double_symbol for scalblnl function in libm, libc.
22242         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
22243         Add wrapper which checks for setting errno to ERANGE.
22244         Add long_double_symbol for scalblnl function in libm, libc.
22245         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
22246         Remove long_double_symbol for scalblnl in libm.
22247         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
22248         Add wrapper which checks for setting errno to ERANGE.
22249         Add long_double_symbol for scalblnl function in libm.
22250         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
22251         Do not use wrapper because of own implementation.
22252
22253 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
22254
22255         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
22256         3 bytes for __pad1 for x32.
22257         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
22258
22259 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
22260             H.J. Lu  <hongjiu.lu@intel.com>
22261
22262         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
22263         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
22264         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22265         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22266         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22267
22268 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
22269
22270         [BZ #17069]
22271         * posix/regcomp.c (parse_expression): Deallocate partially
22272         constructed tree before returning error.
22273         * posix/Makefile.c (tests): Add bug-regex36.
22274         (generated): Add bug-regex36.mtrace.
22275         (tests-special): Add $(objpfx)bug-regex36-mem.out
22276         (bug-regex36-ENV): New variable.
22277         ($(objpfx)bug-regex36-mem.out): New rule.
22278         * posix/bug-regex36.c: New file.
22279
22280 2014-06-19  Will Newton  <will.newton@linaro.org>
22281
22282         * malloc/malloc.c (systrim): If extra is zero then return
22283         early.
22284
22285 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22286
22287         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22288
22289 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
22290
22291         * sysdeps/aarch64/strchr.S: New file.
22292
22293 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22294
22295         [BZ #17022]
22296         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
22297         from arguments -2 or below.
22298         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22299         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22300
22301 2014-06-18  Andreas Schwab  <schwab@suse.de>
22302
22303         [BZ #17062]
22304         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
22305         of a bracket expr not to run off the end of the string.
22306         * posix/Makefile (tests): Add tst-fnmatch3.
22307         * posix/tst-fnmatch3.c: New file.
22308
22309 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22310
22311         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
22312         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22313         [$(cross-compiling) = no]: Likewise.
22314         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22315         [$(cross-compiling) = no]: Likewise.
22316
22317 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22318
22319         [BZ #17031]
22320         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
22321         double, adjusted for any remainder from the high double.
22322         * math/libm-test.inc (nearbyint): Add tests.
22323         (rint): Likewise.
22324
22325 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22326
22327         * nptl/sysdeps/powerpc/Makefile: Moved ...
22328         * sysdeps/powerpc/nptl/Makefile: ... here.
22329         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
22330         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
22331         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
22332         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
22333         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
22334         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
22335         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
22336         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
22337         * nptl/sysdeps/powerpc/tls.h: Moved ...
22338         * sysdeps/powerpc/nptl/tls.h: ... here.
22339
22340 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
22341
22342         [BZ #16681]
22343         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
22344         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
22345         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
22346         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
22347         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
22348         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
22349         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
22350         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
22351         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
22352
22353 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
22354
22355         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22356
22357 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
22358
22359         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
22360         defined operator.
22361
22362         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
22363         $TIMEOUTFACTOR.
22364
22365 2014-06-16  Florian Weimer  <fweimer@redhat.com>
22366
22367         [BZ #17058]
22368         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
22369         non-executed part of the test.
22370
22371 2014-06-16  Andreas Schwab  <schwab@suse.de>
22372
22373         * string/bits/string2.h (strdup, strndup): Update feature guard.
22374
22375 2014-06-14  David S. Miller  <davem@davemloft.net>
22376
22377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22378
22379 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22380
22381         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
22382         that was previously under [RESET_PID].
22383         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
22384
22385         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22386         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
22387         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
22388         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22389         (__libc_vfork): New strong alias.
22390         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22391
22392 2014-06-14 Andi Kleen  <ak@linux.intel.com>
22393
22394         * sysdeps/generic/elide.h: New file.
22395
22396 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22397
22398         * Makefile (installed-headers): Adjust path of pthread.h header.
22399
22400 2014-06-13  Roland McGrath  <roland@hack.frob.com>
22401
22402         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
22403         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22404         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
22405         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
22406
22407         * nptl/sysdeps/s390/Makefile: Moved ...
22408         * sysdeps/s390/nptl/Makefile: ... here.
22409         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
22410         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
22411         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
22412         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22413         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
22414         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
22415         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
22416         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22417         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
22418         * sysdeps/s390/nptl/pthreaddef.h: ... here.
22419         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
22420         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22421         * nptl/sysdeps/s390/tls.h: Moved ...
22422         * sysdeps/s390/nptl/tls.h: ... here.
22423
22424         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
22425         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
22426
22427 2014-06-13  David S. Miller  <davem@davemloft.net>
22428
22429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
22430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
22431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
22432         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
22433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
22434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
22435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
22436         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
22437         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
22438         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
22439         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
22440         Remove RESET_PID cpp guards.
22441         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
22442         Remove RESET_PID cpp guards.
22443         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
22444
22445 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
22446
22447         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
22448         __sp to uintptr_t.
22449
22450 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22451
22452         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
22453         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
22454         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
22455         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
22456         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
22457         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
22458         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
22459         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
22460         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
22461         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
22462         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
22463         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
22464         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
22465         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
22466         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
22467         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
22468         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
22469         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
22470         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
22471         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
22472
22473         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
22474         (pthread_rwlock_rdlock): Add elision.
22475         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
22476         (pthread_rwlock_wrlock): Add elision.
22477         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
22478         (pthread_rwlock_trywrlock): Add elision.
22479         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
22480         (pthread_rwlock_tryrdlock): Add elision.
22481         * nptl/pthread_rwlock_unlock.c: Include elide.h.
22482         (pthread_rwlock_tryrdlock): Add elision unlock.
22483         * nptl/sysdeps/pthread/pthread.h:
22484         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
22485         (PTHREAD_RWLOCK_INITIALIZER,
22486         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
22487         Handle new elision field.
22488         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
22489         * sysdeps/arm/nptl/bits/pthreadtypes.h
22490         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22491         * sysdeps/sh/nptl/bits/pthreadtypes.h
22492         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22493         * sysdeps/tile/nptl/bits/pthreadtypes.h
22494         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22495         * sysdeps/a/nptl/bits/pthreadtypes.h
22496         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22497         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22498         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22499         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22500         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22501         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
22502         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22503         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22504         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22505         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22506         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22507         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22508         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22509         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22511         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
22512         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22513         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
22514         (elision_init): Set try_xbegin to zero when no RTM.
22515         * sysdeps/x86/nptl/bits/pthreadtypes.h
22516         (pthread_rwlock_t): Change __pad1 to __rwelision.
22517         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22518
22519 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22520
22521         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
22522         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
22523         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
22524         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
22525
22526 2014-06-13  Meador Inge  <meadori@codesourcery.com>
22527
22528         [BZ #16996]
22529         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
22530         that the cached result has been set before returning it.
22531
22532 2014-06-12  Roland McGrath  <roland@hack.frob.com>
22533
22534         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
22535         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
22536         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
22537         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
22538         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
22539         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
22540
22541         * nptl/sysdeps/sparc/Makefile: Moved ...
22542         * sysdeps/sparc/nptl/Makefile: ... here.
22543         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
22544         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
22545         * nptl/sysdeps/sparc/tls.h: Moved ...
22546         * sysdeps/sparc/nptl/tls.h: ... here.
22547         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
22548         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
22549         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
22550         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
22551         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
22552         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
22553         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
22554         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
22555         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
22556         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
22557         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
22558         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
22559         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
22560         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
22561         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
22562         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
22563         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
22564         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
22565         Update #include.
22566         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
22567         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
22568         Update #include.
22569         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
22570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
22571         Update #include.
22572         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
22573         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
22574         Update #include.
22575
22576         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22577
22578         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
22579         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
22580
22581         * sysdeps/pthread/posix-timer.h: Include <list.h>.
22582         (struct list_links): Type removed.
22583         (struct thread_node, struct timer_node): Replace struct list_links
22584         with struct list_head.
22585         (list_unlink_ip): Likewise.
22586         * sysdeps/pthread/timer_routines.c
22587         (timer_free_list, thread_free_list, thread_active_list): Likewise.
22588         (list_append, list_insbefore): Likewise.
22589         (list_init): Function removed.
22590         (thread_init, init_module): Use INIT_LIST_HEAD instead.
22591         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
22592         * sysdeps/pthread/Makefile: ... here, new file.
22593
22594         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
22595         * sysdeps/nptl/Implies: ... here.
22596         * sysdeps/unix/sysv/linux/Implies: Add nptl.
22597         * nptl/sysdeps/pthread/list.h: Moved ...
22598         * include/list.h: ... here.
22599         * nptl/sysdeps/pthread/createthread.c: Moved ...
22600         * nptl/createthread.c: ... here.
22601         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
22602         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
22603         * nptl/pt-longjmp.c: ... here.
22604         * nptl/sysdeps/pthread/Makefile: Moved ...
22605         * sysdeps/nptl/Makefile: ... here.
22606         * nptl/sysdeps/pthread/Subdirs: Moved ...
22607         * sysdeps/nptl/Subdirs: ... here.
22608         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
22609         * sysdeps/nptl/aio_misc.h: ... here.
22610         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
22611         * sysdeps/nptl/bits/libc-lock.h: ... here.
22612         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
22613         * sysdeps/nptl/bits/libc-lockP.h: ... here.
22614         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
22615         * sysdeps/nptl/bits/stdio-lock.h: ... here.
22616         * nptl/sysdeps/pthread/configure: Moved ...
22617         * sysdeps/nptl/configure: ... here.
22618         * nptl/sysdeps/pthread/configure.ac: Moved ...
22619         * sysdeps/nptl/configure.ac: ... here.
22620         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
22621         * sysdeps/nptl/gai_misc.h: ... here.
22622         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
22623         * sysdeps/nptl/librt-cancellation.c: ... here.
22624         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
22625         * sysdeps/nptl/malloc-machine.h: ... here.
22626         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
22627         * sysdeps/nptl/pthread-functions.h: ... here.
22628         * nptl/sysdeps/pthread/pthread.h: Moved ...
22629         * sysdeps/nptl/pthread.h: ... here.
22630         * nptl/sysdeps/pthread/setxid.h: Moved ...
22631         * sysdeps/nptl/setxid.h: ... here.
22632         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
22633         * sysdeps/nptl/sigfillset.c: ... here.
22634         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
22635         * sysdeps/nptl/tcb-offsets.h: ... here.
22636         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
22637         * sysdeps/nptl/tst-mqueue8x.c: ... here.
22638         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
22639         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
22640         * nptl/sysdeps/pthread/allocalim.h: Moved ...
22641         * sysdeps/pthread/allocalim.h: ... here.
22642         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
22643         * sysdeps/pthread/bits/sigthread.h: ... here.
22644         * nptl/sysdeps/pthread/flockfile.c: Moved ...
22645         * sysdeps/pthread/flockfile.c: ... here.
22646         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
22647         * sysdeps/pthread/ftrylockfile.c: ... here.
22648         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
22649         * sysdeps/pthread/funlockfile.c: ... here.
22650         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
22651         * sysdeps/pthread/posix-timer.h: ... here.
22652         * nptl/sysdeps/pthread/timer_create.c: Moved ...
22653         * sysdeps/pthread/timer_create.c: ... here.
22654         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
22655         * sysdeps/pthread/timer_delete.c: ... here.
22656         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
22657         * sysdeps/pthread/timer_getoverr.c: ... here.
22658         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
22659         * sysdeps/pthread/timer_gettime.c: ... here.
22660         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
22661         * sysdeps/pthread/timer_routines.c: ... here.
22662         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
22663         * sysdeps/pthread/timer_settime.c: ... here.
22664         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
22665         * sysdeps/pthread/tst-timer.c: ... here.
22666         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
22667         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
22668
22669         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
22670         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
22671
22672         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
22673         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
22674         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
22675         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
22676         Update #include target.
22677         * nptl/sysdeps/i386/i686/Makefile: Moved ...
22678         * sysdeps/i386/i686/nptl/Makefile: ... here.
22679         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
22680         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
22681         Update #include target.
22682         * nptl/sysdeps/i386/i686/tls.h: Moved ...
22683         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
22684         * nptl/sysdeps/i386/Makefile: Moved ...
22685         * sysdeps/i386/nptl/Makefile: ... here.
22686         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
22687         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
22688         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
22689         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
22690         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
22691         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
22692         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
22693         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
22694         * sysdeps/i386/nptl/pthreaddef.h: ... here.
22695         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
22696         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
22697         * nptl/sysdeps/i386/tls.h: Moved ...
22698         * sysdeps/i386/nptl/tls.h: ... here.
22699
22700         * sysdeps/sh/Makefile [$(subdir) = csu]
22701         (gen-as-const-headers): Add tcb-offsets.sym.
22702         * nptl/sysdeps/sh/Makefile: File removed.
22703         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
22704         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
22705         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
22706         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
22707         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
22708         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
22709         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
22710         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
22711         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
22712         * sysdeps/sh/nptl/pthreaddef.h: ... here.
22713         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
22714         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
22715         * nptl/sysdeps/sh/tls.h: Moved ...
22716         * sysdeps/sh/nptl/tls.h: ... here.
22717         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
22718         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
22719         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
22720         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
22721         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
22722         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
22723         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
22724         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
22725         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
22726         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
22727         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
22728         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
22729         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
22730         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
22731         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
22732         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
22733         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
22734         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
22735         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
22736         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
22737         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
22738         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
22739         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
22740         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
22741         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
22742         Moved ...
22743         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
22744         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
22745         Moved ...
22746         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
22747         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
22748         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
22749         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
22750         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
22751         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
22752         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
22753         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
22754         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
22755         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
22756         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
22757         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
22758         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
22759         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
22760         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
22761         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
22762         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
22763         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
22764         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
22765
22766 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22767
22768         * posix/spawn_faction_addopen.c: Include string.h.
22769
22770 2014-06-11  Roland McGrath  <roland@hack.frob.com>
22771
22772         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
22773         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
22774         * nptl/sysdeps/x86_64/Makefile: Moved ...
22775         * sysdeps/x86_64/nptl/Makefile: ... here.
22776         * nptl/sysdeps/x86_64/configure: Moved ...
22777         * sysdeps/x86_64/nptl/configure: ... here.
22778         * nptl/sysdeps/x86_64/configure.ac: Moved ...
22779         * sysdeps/x86_64/nptl/configure.ac: ... here.
22780         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
22781         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
22782         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
22783         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
22784         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
22785         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
22786         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
22787         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
22788         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
22789         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
22790         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
22791         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
22792         * nptl/sysdeps/x86_64/tls.h: Moved ...
22793         * sysdeps/x86_64/nptl/tls.h: ... here.
22794         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
22795         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
22796         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
22797         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
22798
22799         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
22800
22801 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22802
22803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22804
22805 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
22806
22807         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
22808         type.
22809         [POSIX] (off_t): Likewise.
22810         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
22811         [POSIX] (S_ISBLK): Require macro.
22812         [POSIX] (S_ISCHR): Likewise.
22813         [POSIX] (S_ISDIR): Likewise.
22814         [POSIX] (S_ISFIFO): Likewise.
22815         [POSIX] (S_ISREG): Likewise.
22816         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
22817         optional-macro.
22818         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
22819         type.
22820         [POSIX] (time_t): Likewise.
22821         [POSIX] (timer_t): Likewise.
22822
22823 2014-06-11  Florian Weimer  <fweimer@redhat.com>
22824
22825         [BZ #17048]
22826         * posix/spawn_int.h (struct __spawn_action): Make the path string
22827         non-const to support deallocation.
22828         * posix/spawn_faction_addopen.c
22829         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
22830         * posix/spawn_faction_destroy.c
22831         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
22832         path in all spawn_do_open actions.
22833         * posix/tst-spawn.c (do_test): Exercise the copy operation in
22834         posix_spawn_file_actions_addopen.
22835
22836 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
22837
22838         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
22839         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
22840         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
22841         conditional code always true.
22842         (__libc_vfork): New alias.
22843
22844 2014-06-11  Roland McGrath  <roland@hack.frob.com>
22845
22846         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22847         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
22848
22849         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
22850
22851         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22852         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
22853
22854         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22855         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
22856
22857         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22858         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
22859
22860 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22861
22862         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
22863         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
22864         multiarch strcmp for PPC64.
22865         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
22866         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
22867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
22868         multiarch optimizations.
22869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22870         (__libc_ifunc_impl_list): Likewise.
22871
22872 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22873
22874         * benchtests/scripts/validate_benchout.py: New script.
22875         * benchtests/Makefile (bench-func): Call it.
22876         * benchtests/scripts/benchout.schema.json: New file.
22877
22878 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
22879
22880         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
22881         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
22882         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
22883         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
22884         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
22885         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22886         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
22887         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
22888         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
22889         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
22890         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
22891         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
22892         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
22893         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
22894         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
22895         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
22896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
22897         Moved ...
22898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
22899         ... here.
22900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
22901         Moved ...
22902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
22903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
22904         Moved ...
22905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
22906         ... here.
22907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
22908         Moved ...
22909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
22910         ... here.
22911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
22912         Moved ...
22913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
22914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
22915         Moved ...
22916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
22917         ... here.
22918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
22919         Moved ...
22920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
22921         ... here.
22922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
22923         Moved ...
22924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
22925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
22926         Moved ...
22927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
22928         ... here.
22929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
22930         Moved ...
22931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
22932         ... here.
22933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
22934         Moved ...
22935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
22936         ... here.
22937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
22938         Moved ...
22939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
22940         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
22941         Moved ...
22942         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
22943         ... here.
22944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
22945         Moved ...
22946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
22947         ... here.
22948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
22949         Moved ...
22950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
22951         ... here.
22952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
22953         Moved ...
22954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
22955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
22956         Moved ...
22957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
22958         ... here.
22959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
22960         Moved ...
22961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
22962         ... here.
22963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
22964         Moved ...
22965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
22966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
22967         Moved ...
22968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
22969         ... here.
22970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
22971         Moved ...
22972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
22973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
22974         Moved ...
22975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
22976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
22977         Moved ...
22978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
22979         ... here.
22980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
22981         Moved ...
22982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
22983         ... here.
22984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
22985         Moved ...
22986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
22987         ... here.
22988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
22989         Moved ...
22990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
22991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
22992         Moved ...
22993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
22994         ... here.
22995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
22996         Moved ...
22997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
22998         ... here.
22999         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
23000         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
23001         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
23002         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23003         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23004         Moved ...
23005         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23006         ... here.
23007         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23008         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23009         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23010         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23011         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23012         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23013         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23014         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23015         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23016         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23017         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23018         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23019         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23020         Moved ...
23021         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23022         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23023         Moved ...
23024         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23025         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23026         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23027         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23028         Moved ...
23029         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23030         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23031         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23032         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23033         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23034         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23035         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23036
23037 2014-06-10  Wilco  <wdijkstr@arm.com>
23038
23039         * math/test-fenv-return.c: New file.
23040         * math/Makefile: Add new test test-fenv-return.
23041
23042 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23043
23044         [BZ #17042]
23045         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23046         when x - 1 is zero.
23047         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23048         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23049         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23050         0.0L for an argument of 1.0L.
23051         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23052         Likewise.
23053         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23054         value when x - 1 is zero.
23055         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23056         * sysdeps/i386/fpu/libm-test-ulps: Update.
23057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23058
23059 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23060
23061         [BZ #15119]
23062         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23063
23064 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23065
23066         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23067         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23068
23069 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23070
23071         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23072         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23073
23074         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23075         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23076
23077         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23078         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23079
23080         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23081         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23082
23083         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23084         if not already defined.
23085         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23086         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23087         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23088         (TLS_INIT_TP): Use it.
23089         (TLS_DEFINE_INIT_TP): New macro.
23090         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23091
23092 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23093
23094         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23095         constant.
23096         [POSIX] (IXANY): Likewise.
23097         [POSIX] (OLCUC): Likewise.
23098         [POSIX || POSIX2008] (CBAUD): Do not allow.
23099         [POSIX || POSIX2008] (DEFECHO): Likewise.
23100         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23101         [POSIX || POSIX2008] (ECHOKE): Likewise.
23102         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23103         [POSIX || POSIX2008] (EXTA): Likewise.
23104         [POSIX || POSIX2008] (EXTB): Likewise.
23105         [POSIX || POSIX2008] (FLUSHO): Likewise.
23106         [POSIX || POSIX2008] (LOBLK): Likewise.
23107         [POSIX || POSIX2008] (PENDIN): Likewise.
23108         [POSIX || POSIX2008] (SWTCH): Likewise.
23109         [POSIX || POSIX2008] (VDISCARD): Likewise.
23110         [POSIX || POSIX2008] (VDSUSP): Likewise.
23111         [POSIX || POSIX2008] (VLNEXT): Likewise.
23112         [POSIX || POSIX2008] (VREPRINT): Likewise.
23113         [POSIX || POSIX2008] (VSTATUS): Likewise.
23114         [POSIX || POSIX2008] (VWERASE): Likewise.
23115         (B*): Change to B[0123456789]*.
23116         * conform/data/time.h-data [POSIX || UNIX98]
23117         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23118         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23119         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23120         [POSIX] (tm_*): Do not allow.
23121
23122 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23123
23124         * Makefile (install): Don't set LANGUAGE.
23125         * Makefile.in (install): Likewise.
23126         * assert/Makefile (test-assert-ENV): Remove variable.
23127         (test-assert-perr-ENV): Likewise.
23128         * elf/Makefile (neededtest4-ENV): Likewise.
23129         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23130         [$(cross-compiling) = no]: Don't set LANGUAGE.
23131         * io/ftwtest-sh (LANG): Remove variable.
23132         * libio/Makefile (tst-widetext-ENV): Likewise.
23133         * manual/install.texi (Running make install): Don't refer to
23134         environment settings for make install.
23135         * INSTALL: Regenerated.
23136         * nptl/tst-tls6.sh: Don't set LANG.
23137         * posix/globtest.sh (LANG): Remove variable.
23138         * string/Makefile (tester-ENV): Likewise.
23139         (inl-tester-ENV): Likewise.
23140         (noinl-tester-ENV): Likewise.
23141         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23142         [$(cross-compiling) = no]: Don't set LANGUAGE.
23143         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23144         without explicit environment settings.
23145
23146 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23147
23148         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23149         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23150         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23151         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23152
23153 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23154
23155         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23156         other files in the crypt directory.
23157         * crypt/crypt.c: Remove duplicate includes.
23158         * crypt/crypt-entry.c: Likewise.
23159         * crypt/crypt_util.c: Likewise.
23160
23161 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23162
23163         * Makeconfig (run-program-env): New variable.
23164         (run-program-prefix-before-env): Likewise.
23165         (run-program-prefix-after-env): Likewise.
23166         (run-program-prefix): Define in terms of new variables.
23167         (built-program-cmd-before-env): New variable.
23168         (built-program-cmd-after-env): Likewise.
23169         (built-program-cmd): Define in terms of new variables.
23170         (test-program-prefix-before-env): New variable.
23171         (test-program-prefix-after-env): Likewise.
23172         (test-program-prefix): Define in terms of new variables.
23173         (test-program-cmd-before-env): New variable.
23174         (test-program-cmd-after-env): Likewise.
23175         (test-program-cmd): Define in terms of new variables.
23176         * Rules (make-test-out): Use $(run-program-env).
23177         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23178         (help): Do not mention environment variables.  Mention
23179         --timeoutfactor option.
23180         (timeoutfactor): New variable.
23181         (blacklist_exports): Remove function.
23182         (exports): Remove variable.
23183         (command): Do not include ${exports}.
23184         * manual/install.texi (Configuring and compiling): Do not mention
23185         test wrappers preserving environment variables.  Mention that last
23186         assignment to a variable must take precedence.
23187         * INSTALL: Regenerated.
23188         * benchtests/Makefile (run-bench): Use $(run-program-env).
23189         * catgets/Makefile ($(objpfx)test1.cat): Use
23190         $(built-program-cmd-before-env), $(run-program-env) and
23191         $(built-program-cmd-after-env).
23192         ($(objpfx)test2.cat): Do not specify environment variables
23193         explicitly.
23194         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
23195         $(run-program-env) and $(built-program-cmd-after-env).
23196         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
23197         $(run-program-env) and $(test-program-cmd-after-env).
23198         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
23199         explicitly.
23200         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
23201         run_program_env and test_program_cmd_after_env arguments.
23202         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
23203         * elf/tst-pathopt.sh: Use run_program_env argument.
23204         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
23205         $(test-wrapper-env) and $(run-program-env).
23206         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
23207         run_program_env arguments.
23208         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
23209         * intl/Makefile ($(objpfx)tst-gettext.out): Use
23210         $(test-program-prefix-before-env), $(run-program-env) and
23211         $(test-program-prefix-after-env).
23212         ($(objpfx)tst-gettext2.out): Likewise.
23213         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
23214         run_program_env and test_program_prefix_after_env arguments.
23215         * intl/tst-gettext2.sh: Likewise.
23216         * intl/tst-gettext4.sh: Do not set environment variables
23217         explicitly.
23218         * intl/tst-gettext6.sh: Likewise.
23219         * intl/tst-translit.sh: Likewise.
23220         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
23221         $(test-program-prefix-before-env), $(run-program-env) and
23222         $(test-program-prefix-after-env).
23223         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
23224         run_program_env and test_program_prefix_after_env arguments.
23225         * math/Makefile (run-regen-ulps): Use $(run-program-env).
23226         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
23227         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
23228         explicitly with each use of ${test_wrapper_env}.
23229         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
23230         $(test-program-prefix-before-env), $(run-program-env) and
23231         $(test-program-prefix-after-env).
23232         * posix/tst-getconf.sh: Do not set environment variables
23233         explicitly.
23234         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
23235         run_program_env and test_program_prefix_after_env arguments.
23236         * stdio-common/tst-printf.sh: Do not set environment variables
23237         explicitly.
23238         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
23239         $(test-program-prefix-before-env), $(run-program-env) and
23240         $(test-program-prefix-after-env).
23241         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
23242         run_program_env and test_program_prefix_after_env arguments.
23243         Split $test calls into $test_pre and $test.
23244         * timezone/Makefile (build-testdata): Use
23245         $(built-program-cmd-before-env), $(run-program-env) and
23246         $(built-program-cmd-after-env).
23247
23248 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23249
23250         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
23251         strlen for non SHARED builds.
23252
23253 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23254
23255         * nptl/allocatestack.c (check_list): Inlined function...
23256         (__reclaim_stacks): ... here.
23257
23258 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23259
23260         [BZ #15698]
23261         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23262         memory overrun.
23263
23264 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
23265
23266         * Rules (make-test-out): Include
23267         LOCPATH=$(common-objpfx)localedata in default environment.
23268         * debug/Makefile (tst-chk1-ENV): Remove variable.
23269         (tst-chk2-ENV): Likewise.
23270         (tst-chk3-ENV): Likewise.
23271         (tst-chk4-ENV): Likewise.
23272         (tst-chk5-ENV): Likewise.
23273         (tst-chk6-ENV): Likewise.
23274         (tst-lfschk1-ENV): Likewise.
23275         (tst-lfschk2-ENV): Likewise.
23276         (tst-lfschk3-ENV): Likewise.
23277         (tst-lfschk4-ENV): Likewise.
23278         (tst-lfschk5-ENV): Likewise.
23279         (tst-lfschk6-ENV): Likewise.
23280         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
23281         (tst-iconv7-ENV): Likewise.
23282         * intl/Makefile (LOCPATH-ENV): Likewise.
23283         (tst-codeset-ENV): Likewise.
23284         (tst-gettext3-ENV): Likewise.
23285         (tst-gettext5-ENV): Likewise.
23286         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
23287         (tst-fopenloc-ENV): Likewise.
23288         (tst-fgetws-ENV): Remove variable.
23289         (tst-ungetwc1-ENV): Likewise.
23290         (tst-ungetwc2-ENV): Likewise.
23291         (bug-ungetwc2-ENV): Likewise.
23292         (tst-swscanf-ENV): Likewise.
23293         (bug-ftell-ENV): Likewise.
23294         (tst-fgetwc-ENV): Likewise.
23295         (tst-fseek-ENV): Likewise.
23296         (tst-ftell-partial-wide-ENV): Likewise.
23297         (tst-ftell-active-handler-ENV): Likewise.
23298         (tst-ftell-append-ENV): Likewise.
23299         * posix/Makefile (tst-fnmatch-ENV): Likewise.
23300         (tst-regexloc-ENV): Likewise.
23301         (bug-regex1-ENV): Likewise.
23302         (tst-regex-ENV): Likewise.
23303         (tst-regex2-ENV): Likewise.
23304         (bug-regex5-ENV): Likewise.
23305         (bug-regex6-ENV): Likewise.
23306         (bug-regex17-ENV): Likewise.
23307         (bug-regex18-ENV): Likewise.
23308         (bug-regex19-ENV): Likewise.
23309         (bug-regex20-ENV): Likewise.
23310         (bug-regex22-ENV): Likewise.
23311         (bug-regex23-ENV): Likewise.
23312         (bug-regex25-ENV): Likewise.
23313         (bug-regex26-ENV): Likewise.
23314         (bug-regex30-ENV): Likewise.
23315         (bug-regex32-ENV): Likewise.
23316         (bug-regex33-ENV): Likewise.
23317         (bug-regex34-ENV): Likewise.
23318         (bug-regex35-ENV): Likewise.
23319         (tst-rxspencer-ENV): Likewise.
23320         (tst-rxspencer-no-utf8-ENV): Likewise.
23321         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
23322         (tst-sscanf-ENV): Likewise.
23323         (tst-swprintf-ENV): Likewise.
23324         (tst-swscanf-ENV): Likewise.
23325         (test-vfprintf-ENV): Likewise.
23326         (scanf13-ENV): Likewise.
23327         (bug14-ENV): Likewise.
23328         (tst-grouping-ENV): Likewise.
23329         * stdlib/Makefile (tst-strtod-ENV): Likewise.
23330         (tst-strtod3-ENV): Likewise.
23331         (tst-strtod4-ENV): Likewise.
23332         (tst-strtod5-ENV): Likewise.
23333         (testmb2-ENV): Likewise./
23334         * string/Makefile (tst-strxfrm-ENV): Likewise.
23335         (tst-strxfrm2-ENV): Likewise.
23336         (bug-strcoll1-ENV): Likewise.
23337         (test-strcasecmp-ENV): Likewise.
23338         (test-strncasecmp-ENV): Likewise.
23339         * time/Makefile (tst-strptime-ENV): Likewise.
23340         (tst-ftime_l-ENV): Likewise.
23341         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
23342         (tst-mbrtowc-ENV): Likewise.
23343         (tst-wcrtomb-ENV): Likewise.
23344         (tst-mbrtowc2-ENV): Likewise.
23345         (tst-c16c32-1-ENV): Likewise.
23346         (tst-mbsnrtowcs-ENV): Likewise.
23347
23348 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23349
23350         * manual/resource.texi (How to get information about the memory
23351         subsystem?): Fix typo.
23352         Reported by Peon de la Parra Ivan <peon@keba.com>
23353
23354 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
23355
23356         [BZ #16882]
23357         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
23358         (pthread_spin_lock): Branch out of spin loop to proper location.
23359         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
23360         (pthread_spin_lock): Likewise.
23361
23362         * nptl/tst-spin4.c: New test.
23363         * nptl/Makefile (tests): Add tst-spin4.
23364
23365 2014-06-03  Andreas Schwab  <schwab@suse.de>
23366
23367         [BZ #15946]
23368         * resolv/res_send.c (send_dg): Reload file descriptor after
23369         calling reopen.
23370
23371 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
23372
23373         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23374
23375 2014-06-03  Richard Henderson  <rth@redhat.com>
23376
23377         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
23378         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23379         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
23380         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
23381         in the SAVE_PID block.
23382         (__libc_vfork): New alias.
23383         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
23384
23385         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
23386         child in registers, not on the stack.  Remove RESET_PID conditionals.
23387         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
23388
23389 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23390
23391         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23392
23393 2014-06-03  Wilco  <wdijkstr@arm.com>
23394
23395         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
23396         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
23397         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23398         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
23399         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
23400         Likewise.
23401
23402 2014-06-03  Wilco  <wdijkstr@arm.com>
23403
23404         * sysdeps/aarch64/fpu/math_private.h
23405         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
23406         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
23407         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
23408         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23409         Fix declarations.
23410
23411 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23412
23413         * crypt/crypt-private.h: Include ufc-crypt.h.
23414         (__b64_from_24bit): Declare extern.
23415         * crypt/crypt_util.c(__b64_from_24bit): New function.
23416         (b64t): New static const variable.
23417         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
23418         (b64t): Remove variable.
23419         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
23420         * crypt/sha256-crypt.c: Include crypt-private.h.
23421         (b64t): Remove variable.
23422         (__sha256_crypt_r): Remove b64_from_24bit and replace
23423         with __b64_from_24bit.
23424         * crypt/sha512-crypt.c: Likewise.
23425
23426 2014-06-02  Roland McGrath  <roland@hack.frob.com>
23427
23428         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
23429         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
23430         Label the code __libc_vfork rather than __vfork.
23431         [!NOT_IN_libc] (vfork): Define as weak alias.
23432         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23433         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
23434         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
23435
23436 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23437
23438         * malloc/malloc.c (malloc_info): Fix format specifier for
23439         n_mmaps.
23440
23441 2014-06-02  Wilco  <wdijkstr@arm.com>
23442
23443         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
23444         FPCR write.
23445
23446 2014-06-02  Wilco  <wdijkstr@arm.com>
23447
23448         [BZ #17009]
23449         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
23450         Rewrite to reduce FPCR/FPSR accesses.
23451
23452 2014-06-01  David S. Miller  <davem@davemloft.net>
23453
23454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23455
23456 2014-05-31  David S. Miller  <davem@davemloft.net>
23457
23458         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
23459         to occur in round to nearest mode when |x| >= 2.0
23460
23461 2014-05-30  Richard Henderson  <rth@twiddle.net>
23462
23463         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
23464         (PSEUDO_RET_NOERRNO): Remove.
23465         (ret): Don't redefine.
23466         (ret_NOERRNO): Define in terms of ret.
23467         (ret_ERRVAL): Likewise.
23468
23469         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
23470         use of PSEUDO_RET; perform the error check directly.
23471
23472 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
23473
23474         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
23475         with __int128_t.
23476
23477 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23478
23479         * malloc/malloc (malloc_info): Fix formatting.
23480
23481 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23482             Roland McGrath  <roland@hack.frob.com>
23483
23484         * malloc/malloc (malloc_info): Also print mmapped statistics.
23485
23486 2014-05-30  Roland McGrath  <roland@hack.frob.com>
23487
23488         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
23489         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
23490
23491 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
23492
23493         * malloc/malloc.c (malloc_info): Inline mi_arena.
23494
23495 2014-05-29  Richard Henderson  <rth@twiddle.net>
23496
23497         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
23498         Remove comma before expanding ASM_ARGS_##nr.
23499         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
23500         Make _x0 a strict output; make _x8 a strict input; adjust expansion
23501         of ASM_ARGS_##nr.
23502         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
23503         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
23504         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
23505         (ASM_ARGS_1): Add leading comma.
23506
23507         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
23508         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
23509         to __errno_location.
23510         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
23511         Remove the expected plt for __errno_location.
23512
23513         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23514         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
23515         call to __read_tp.
23516
23517         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23518         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
23519         it and break it down.
23520         (DOCARGS_0, DOCARGS_1): Do nothing.
23521         (DOCARGS_2): Update to store into the new stack frame.
23522         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
23523         (UNDOCARGS_1): Update to restore from the new stack frame.
23524         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
23525         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
23526
23527         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23528         (SINGLE_THREAD_P): New parameter for result regno.
23529         (PSEUDO): Update to match; use cbz instead of beq.
23530
23531         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23532         Use ENTRY to define the _nocancel entry point.  Share the syscall
23533         and syscall error check paths with the cancel path.
23534         (PSEUDO_END): New.
23535
23536         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
23537         whitespace; tabs before and after asm mnemonics.
23538
23539 2014-05-29  Eric Wong  <normalperson@yhbt.net>
23540
23541         [BZ #15132]
23542         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23543         Call fstat64 or stat64 internally, depending on arguments passed.
23544         Replace stat buffer argument with file descriptor argument.
23545         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
23546         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23547         Pass fd to __internal_statvfs instead of calling fstat64.
23548         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
23549         Pass fd to __internal_statvfs64 instead of calling fstat64.
23550         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
23551         Pass -1 to __internal_statvfs instead of calling stat64.
23552         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
23553         Pass -1 to __internal_statvfs64 instead of calling stat64.
23554
23555 2014-05-28  Roland McGrath  <roland@hack.frob.com>
23556
23557         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
23558         that was previously under [RESET_PID].
23559         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
23560
23561         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
23562         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
23563
23564 2014-05-27  Roland McGrath  <roland@hack.frob.com>
23565
23566         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
23567
23568         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
23569         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
23570
23571 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
23572
23573         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
23574
23575 2014-05-27  Andreas Schwab  <schwab@suse.de>
23576
23577         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
23578         TLS_INIT_TP macro.
23579         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
23580         * elf/rtld.c (init_tls, dl_main): Likewise.
23581         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
23582         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
23583         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
23584         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
23585         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
23586         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
23587         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
23588         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
23589         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
23590         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
23591         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
23592         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
23593         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
23594         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
23595         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
23596         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
23597         * sysdeps/generic/tls.h: Update description.
23598
23599 2014-05-27  Will Newton  <will.newton@linaro.org>
23600
23601         [BZ #16990]
23602         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
23603         and restore r2 rather than just restoring.
23604
23605 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23606
23607         [BZ #16724]
23608         * libio/tst-ftell-append.c: New test case.
23609         * libio/Makefile (tests): Add test case.
23610         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
23611         append mode.
23612         * libio/wfileops.c (do_ftell_wide): Likewise.
23613
23614 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23615
23616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23617
23618         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
23619         ...
23620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
23621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23622         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
23623         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
23624         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
23625         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
23626         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
23627         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
23628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23629         Moved ...
23630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
23631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23632         Moved ...
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
23634         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
23635         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
23636         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
23637         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
23638         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
23639         ...
23640         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
23641         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
23642         Moved ...
23643         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
23644         here.
23645         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
23646         ...
23647         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
23648         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
23649         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
23650
23651         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
23652         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
23653         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
23654         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
23655
23656         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
23657         merge into ...
23658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
23659         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
23660         ...
23661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
23662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
23663         ...
23664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
23665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
23666         Moved ...
23667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
23668         here.
23669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23670         Moved ...
23671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
23672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
23673         Moved ...
23674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
23675
23676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
23677         conditional [RESET_PID].
23678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
23679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
23680         removed.
23681         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
23682         removed.
23683
23684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
23685         <tcb-offsets.h>.
23686         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23687         (__libc_vfork): New strong alias.
23688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
23689         removed.
23690         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
23691         Removed.
23692
23693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
23694         <tcb-offsets.h>.
23695         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
23696         (__libc_vfork): New strong alias.
23697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
23698         removed.
23699         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
23700         removed.
23701
23702 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
23703
23704         * malloc/malloc.c (mi_arena): New function.
23705         (malloc_info): Remove nested function mi_arena. Call non-nosted
23706         function mi_arena.
23707
23708 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23709
23710         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
23711         by insrwi.
23712         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
23713         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
23714         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
23715         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
23716         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
23717         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
23718         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
23719
23720 2014-05-26  Andreas Schwab  <schwab@suse.de>
23721
23722         [BZ #16984]
23723         * locale/programs/repertoire.c (repertoire_read): Add slash
23724         between I18NPATH element and file name.
23725         * locale/programs/locfile.c (locfile_read): Likewise.
23726
23727 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23728
23729         * nptl/pthread_mutexattr_settype.c
23730         (__pthread_mutexattr_settype):
23731         Disable lock elision for PTHREAD_MUTEX_NORMAL.
23732
23733 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23734
23735         * nptl/tst-mutex5 (do_test):
23736         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
23737
23738 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23739
23740         * benchtests/README: Document 'init' directive.
23741         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
23742         BENCH_INIT.
23743         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
23744         (parse_file): Recognize 'init' directive.
23745
23746 2014-05-26  Kyle McMartin  <kyle@redhat.com>
23747
23748         [BZ #16796]
23749         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
23750         alignment of struct pthread.
23751
23752 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23753
23754         [BZ #16878]
23755         * nscd/netgroupcache.c (addgetnetgrentX): Look for
23756         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23757         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
23758         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23759
23760 2014-05-25  Richard Henderson  <rth@twiddle.net>
23761
23762         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23763         (SINGLE_THREAD_P_PIC): Remove.
23764         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
23765         (SINGLE_THREAD_P_PIC): Remove.
23766
23767         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
23768         branch to syscall error ...
23769         (PSEUDO): ... here.
23770         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
23771         from __local_syscall_error to .Lsyscall_error.
23772         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
23773         (SYSCALL_ERROR): Update label name.
23774
23775         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23776         Do not use DOARGS/UNDOARGS.
23777         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
23778         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
23779         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
23780         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
23781         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
23782
23783         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
23784         block comment.
23785
23786         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
23787         define if !NOT_IN_libc.
23788         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
23789         define with non-default symbol versions.
23790
23791 2014-05-23  Richard Henderson  <rth@twiddle.net>
23792
23793         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
23794         (vfork, __vfork): Define via compat_symbol.
23795
23796         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
23797         [!HAVE_IFUNC] (vfork_compat): Remove.
23798         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
23799
23800 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
23801
23802         [BZ #16978]
23803         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
23804         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
23805         variable.
23806
23807 2014-05-23  Richard Henderson  <rth@twiddle.net>
23808
23809         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
23810         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
23811         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
23812         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
23813
23814         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
23815         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
23816         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
23817         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
23818         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
23819         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
23820         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
23821         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
23822         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
23823         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
23824         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
23825         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
23826         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
23827         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
23828         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
23829         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
23830         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
23831         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
23832         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
23833         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
23834         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
23835         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
23836         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
23837         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
23838         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
23839         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
23840         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
23841         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
23842         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
23843         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
23844         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
23845         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
23846         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
23847         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
23848         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
23849         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
23850         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
23851         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
23852         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
23853         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
23854         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
23855         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
23856         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
23857         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
23858         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
23859         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
23860         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
23861         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
23862         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
23863         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
23864         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
23865         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
23866         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
23867         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
23868         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
23869         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
23870
23871         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
23872         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
23873         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
23874         before exiting on error.
23875         (__libc_vfork): New strong alias.
23876         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
23877         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
23878
23879         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
23880         that was previously under [RESET_PID].
23881         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
23882
23883         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
23884
23885 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
23886
23887         [BZ #16977]
23888         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
23889         value when x - 1 is zero.
23890         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
23891         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
23892         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
23893         0.0L for an argument of 1.0L.
23894         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
23895         Likewise.
23896         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
23897         value when x - 1 is zero.
23898         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
23899         * sysdeps/i386/fpu/libm-test-ulps: Update.
23900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23901
23902 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23903
23904         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
23905         alphasort and versionsort.
23906
23907 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23908
23909         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
23910         macro.
23911         [copysignf]: Likewise.
23912
23913 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23914
23915         * crypt/md5-crypt.c: Fix formatting.
23916
23917 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23918
23919         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
23920         (b64_from_24bit): New function.
23921
23922 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23923
23924         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
23925         libc_hidden_builtin_def to ifunc.
23926         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23927         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
23928
23929 2014-05-21  Roland McGrath  <roland@hack.frob.com>
23930
23931         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
23932         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
23933
23934 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
23935
23936         * nscd/Depend (linuxthreads): Remove.
23937         (nptl): Add.
23938         * resolv/Depend (linuxthreads): Remove.
23939         * rt/Depend (linuxthreads): Remove.
23940
23941         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
23942         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
23943         $(common-objpfx)elf/.
23944         (link-libc-before-gnulib): Likewise.
23945         (elfobjdir): Remove variable.
23946         * Makefile (install): Use $(elf-objpfx) instead of
23947         $(common-objpfx)elf/.
23948         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
23949         $(elfobjdir)/.
23950         (link-libc-deps): Likewise.
23951         ($(common-objpfx)libc.so): Likewise.
23952         ($(common-objpfx)linkobj/libc.so): Likewise.
23953         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
23954         instead of $(common-objpfx)elf/.
23955         (symbolic-link-list): Likewise.
23956         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23957         [$(cross-compiling) = no]: Likewise.
23958         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
23959         $(elfobjdir)/.
23960         (static-gnulib-arch): Likewise.
23961         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23962         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
23963         $(common-objpfx)elf/.
23964
23965 2014-05-21  Richard Henderson  <rth@redhat.com>
23966
23967         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23968         (SINGLE_THREAD_P): Use the correct width load.  Fold
23969         into the ldr offset.
23970
23971         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
23972         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
23973
23974 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
23975
23976         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
23977         (libgcc_s_resume): Use __attribute_used__.
23978         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
23979         Likewise.
23980
23981 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23982
23983         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
23984         optimization when used with float constants.
23985
23986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23987
23988 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
23989
23990         [BZ #16915]
23991         * locale/nl_langinfo_l.c: Make direct reference to every
23992         _nl_current_CATEGORY symbol.
23993         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
23994         (tests-static): Add tst-langinfo-static.
23995         (tests-special): Add tst-langinfo-static.out.
23996         ($(objpfx)tst-langinfo.out): Redirect output.
23997         ($(objpfx)tst-langinfo-static.out): New.
23998         * localedata/tst-langinfo.sh: Send output to stdout.
23999         * localedata/tst-langinfo-static.c: New file.
24000
24001         [BZ #16965]
24002         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24003         when the shift amount is modulo the limb size.
24004
24005 2014-05-20  Richard Henderson  <rth@redhat.com>
24006
24007         [BZ #16967]
24008         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24009         Change type of sa_flags from unsigned int to int.
24010
24011         [BZ #16966]
24012         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24013
24014         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24015
24016 2014-05-20  Will Newton  <will.newton@linaro.org>
24017
24018         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24019         Test the return value of the system call in the nocancel case.
24020
24021 2014-05-20  Will Newton  <will.newton@linaro.org>
24022             Yvan Roux  <yvan.roux@linaro.org>
24023
24024         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24025         #include of asm/ptrace.h.
24026         (PTRACE_GET_THREAD_AREA): Remove #undef.
24027         (PTRACE_GETHBPREGS): Likewise.
24028         (PTRACE_SETHBPREGS): Likewise.
24029         (struct user_regs_struct): New structure.
24030         (struct user_fpsimd_struct): New structure.
24031         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24032         #include of asm/ptrace.h and second #include of sys/user.h.
24033         (PTRACE_GET_THREAD_AREA): Remove #undef.
24034         (PTRACE_GETHBPREGS): Likewise.
24035         (PTRACE_SETHBPREGS): Likewise.
24036         (ELF_NGREG): Use new struct user_regs_struct.
24037         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24038
24039 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24040
24041         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24042         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24043
24044 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24045
24046         [BZ #16958]
24047         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24048         membar to avoid block loads/stores to overlap previous stores.
24049
24050 2014-05-17  Richard Henderson  <rth@redhat.com>
24051
24052         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24053         Create the __##syscall_name##_nocancel entry point.
24054         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24055         Remove; let the sysdep-cancel.h code create it.
24056
24057 2014-05-17  David S. Miller  <davem@davemloft.net>
24058
24059         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24060         Protect with __USE_GNU.
24061         (TIOCSET_TEMPT): Likewise.
24062         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24063         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24064         these are already provided in bits/ioctl-types.h
24065
24066 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24067
24068         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24069         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24070
24071         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24072         Use wait4 regardless of [__NR_waitpid].
24073
24074 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24075
24076         PR libgcc/60166
24077         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24078         (_FP_NANSIGN_Q): Set the quiet bit.
24079
24080 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24081
24082         * benchtests/Makefile
24083         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24084         not $(common-objpfx)math/libm.so.
24085         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24086         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24087         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24088         $(common-objpfx)dlfcn/libdl.so.
24089         ($(objpfx)tst-audit8): Depend on $(libm), not
24090         $(common-objpfx)math/libm.so.
24091         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24092         not $(common-objpfx)dlfcn/libdl.so.
24093         * math/Makefile
24094         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24095         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24096         [$(build-shared) = yes].
24097         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24098         $(common-objpfx)nptl/libpthread.so.
24099         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24100         $(common-objpfx)math/libm.so$(libm.so-version) or
24101         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24102         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24103         $(common-objpfx)dlfcn/libdl.so.
24104         * setjmp/Makefile (link-libm): Remove variable.
24105         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24106         * stdio-common/Makefile (link-libm): Remove variable.
24107         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24108         * stdlib/Makefile (link-libm): Remove variable.
24109         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24110         ($(objpfx)tst-strtod-round): Likewise.
24111         ($(objpfx)tst-tininess): Likewise.
24112         ($(objpfx)tst-strtod-underflow): Likewise.
24113         ($(objpfx)tst-strtod6): Likewise.
24114         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24115         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24116         $(common-objpfx)dlfcn/libdl.so.
24117
24118 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24119
24120         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24121         BSD terminal modes definitions.
24122
24123 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24124
24125         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24126         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24127
24128         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24129         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24130         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24131         Don't do #include_next.
24132         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24133         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24134         Don't do #include_next.
24135         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24136         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24137         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24138         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24139
24140 2014-05-16  Allan McRae  <allan@archlinux.org>
24141
24142         * po/sv.po: Update Swedish translation from translation project.
24143
24144         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24145         in sed expression.
24146
24147 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24148
24149         [BZ #16917]
24150         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24151         errno if the TIOCGPTN ioctl fails with an error different than
24152         EINVAL.
24153         * login/tst-ptsname.c: New file.
24154         * login/Makefile (tests): Add tst-ptsname.
24155
24156         [BZ #16943]
24157         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24158         and prlimit64.
24159
24160 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24161
24162         [BZ #16849]
24163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24164         herrno to return EAI_AGAIN.
24165
24166 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24167
24168         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24169         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24170         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24171         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24172         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24173         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24174         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24175         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24176         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24177         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24178         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
24179         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
24180         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
24181         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
24182         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
24183         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
24184         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
24185         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
24186         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
24187         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
24188         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
24189         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
24190         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
24191         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
24192         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
24193         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
24194         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
24195         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
24196         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
24197         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
24198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
24199         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
24200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
24201         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
24202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24203         Moved ...
24204         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
24205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
24206         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
24207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
24208         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
24209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
24210         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
24211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
24212         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
24213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
24214         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
24215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
24216         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
24217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
24218         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
24219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
24220         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
24221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
24222         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
24223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
24224         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
24225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
24226         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
24227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
24228         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
24229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
24230         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
24231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24232         Moved ...
24233         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
24234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
24235         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
24236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
24237         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
24238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
24239         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
24240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
24241         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
24242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
24243         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
24244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
24245         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
24246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
24247         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
24248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
24249         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
24250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
24251         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
24252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24253         Moved ...
24254         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
24255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
24256         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
24257
24258         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
24259         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
24260         (libpthread-sysdep_routines): Add elision-related stuff here instead.
24261         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
24262         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
24263         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
24264         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
24265         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
24266         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
24267         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
24268         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
24269         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
24270         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
24271         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
24272         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
24273         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
24274         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
24275         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
24276         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
24277         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
24278         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
24279         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
24280         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
24281         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
24282         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
24283         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
24284         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
24285         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
24286         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
24287         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
24288         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
24289
24290         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
24291         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
24292
24293         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
24294         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
24295         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
24296         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
24297         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
24298         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
24299         Moved ...
24300         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
24301         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24302         Moved ...
24303         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
24304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24305         Moved ...
24306         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
24307         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
24308         Moved ...
24309         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
24310         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
24311         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
24312         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24313         Moved ...
24314         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
24315         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
24316         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
24317         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
24318         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
24319         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
24320         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
24321         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24322         Moved ...
24323         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
24324         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24325         Moved ...
24326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24327         ... here.
24328         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
24329         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
24330         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
24331         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
24332         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24333         Moved ...
24334         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24335         ... here.
24336         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
24337         Moved ...
24338         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
24339         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
24340         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
24341         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
24342         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
24343         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
24344         Moved ...
24345         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
24346         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24347         Moved ...
24348         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
24349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24350         Moved ...
24351         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
24352         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
24353         Moved ...
24354         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
24355         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
24356         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
24357         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
24358         Moved ...
24359         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
24360         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
24361         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
24362         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
24363         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
24364         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
24365         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
24366         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24367         Moved ...
24368         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
24369         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24370         Moved ...
24371         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24372         ... here.
24373         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
24374         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
24375         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
24376         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
24377         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24378         Moved ...
24379         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24380         ... here.
24381         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
24382         Moved ...
24383         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
24384         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
24385         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
24386         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
24387         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
24388         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
24389         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
24390         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
24391         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
24392         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
24393         Moved ...
24394         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
24395         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24396         Moved ...
24397         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
24398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24399         Moved ...
24400         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
24401         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
24402         Moved ...
24403         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
24404         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
24405         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
24406         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
24407         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
24408         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24409         Moved ...
24410         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
24411         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
24412         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
24413         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
24414         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
24415         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
24416         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
24417         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24418         Moved ...
24419         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
24420         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24421         Moved ...
24422         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24423         ... here.
24424         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
24425         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
24426         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
24427         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
24428         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24429         Moved ...
24430         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24431         ... here.
24432         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
24433         Moved ...
24434         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
24435         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
24436         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
24437         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
24438         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
24439         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
24440         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
24441         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
24442         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
24443         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
24444         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
24445
24446         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
24447         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
24448
24449         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
24450         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
24451
24452         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
24453         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
24454         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
24455         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
24456         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
24457         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
24458         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
24459         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
24460         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
24461         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
24462         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
24463         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
24464         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
24465         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
24466         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
24467         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
24468         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
24469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
24470         Moved ...
24471         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
24472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
24473         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
24474         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
24475         Moved ...
24476         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
24477         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
24478         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
24479         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
24480         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
24481         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
24482         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
24483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
24484         Moved ...
24485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
24486         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
24487         Moved ...
24488         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
24489         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
24490         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
24491         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
24492         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
24493         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
24494         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
24495         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
24496         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
24497         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
24498         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
24499         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
24500         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
24501         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
24502         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
24503         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
24504         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
24505
24506         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
24507         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
24508         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
24509         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
24510         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
24511
24512         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
24513         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
24514         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
24515         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
24516         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
24517         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
24518         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
24519         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
24520         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
24521         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
24522
24523         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
24524         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
24525
24526         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
24527         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
24528         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
24529         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
24530         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
24531         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
24532         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
24533         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
24534         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
24535         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
24536         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
24537         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
24538         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
24539         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
24540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
24541         Update #include.
24542         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
24543         Likewise.
24544         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24545         Likewise.
24546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24547         Likewise.
24548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24549         Likewise.
24550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
24551         Likewise.
24552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
24553         Likewise.
24554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24555         Likewise.
24556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
24557         Likewise.
24558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
24559         Likewise.
24560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
24561         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
24562         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
24563         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
24564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
24565         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
24566         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
24567         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
24568         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
24569         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
24570         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
24571         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
24572         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
24573         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
24574         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
24575
24576         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
24577         that was previously under [RESET_PID].
24578         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24579         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
24580         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
24581
24582         * sysdeps/i386/nptl/Implies: New file.
24583         * sysdeps/x86_64/nptl/Implies: New file.
24584         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
24585         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
24586         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
24587         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
24588
24589         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
24590         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24591         (__libc_vfork): New strong alias.
24592         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
24593         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
24594
24595         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
24596         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24597         (__libc_vfork): New strong alias.
24598         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
24599         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
24600
24601         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
24602         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24603         (__libc_vfork): New strong alias.
24604         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
24605         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
24606         * nptl/pt-vfork.c: New file.
24607         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
24608         (libpthread: GLIBC_2.20): New version set (empty).
24609
24610 2014-05-14  Will Newton  <will.newton@linaro.org>
24611
24612         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
24613         rather than #if.
24614
24615 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24616
24617         [BZ #16564]
24618         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
24619         arguments with exponent 65 or above.
24620         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
24621         arguments 0x1p113L or above.
24622         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
24623         to arguments 0x1p107L or above.
24624         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
24625         positive arguments with exponent 65 or above.
24626         * math/auto-libm-test-in: Add more tests of log1p.
24627         * math/auto-libm-test-out: Regenerated.
24628
24629         [BZ #16928]
24630         * math/s_cacos.c (__cacos): Ensure zero real part of result from
24631         non-finite arguments is +0.
24632         * math/s_cacosf.c (__cacosf): Likewise.
24633         * math/s_cacosl.c (__cacosl): Likewise.
24634         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
24635         * sysdeps/i386/fpu/libm-test-ulps: Update.
24636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24637
24638         [BZ #16927]
24639         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
24640         value.
24641         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24642         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
24643         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
24644         for explicit high bit of mantissa when testing for argument equal
24645         to 1.
24646         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
24647         * sysdeps/i386/fpu/libm-test-ulps: Update.
24648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24649
24650         [BZ #16516]
24651         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
24652         (__erf): Scale by 16 instead of 8 in potentially underflowing
24653         case.  Ensure exception if result actually underflows.
24654         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
24655         (__erff): Scale by 16 instead of 8 in potentially underflowing
24656         case.  Ensure exception if result actually underflows.
24657         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
24658         (efx8): Remove variable.
24659         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24660         case.  Ensure exception if result actually underflows.
24661         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
24662         (efx8): Remove variable.
24663         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24664         case.  Ensure exception if result actually underflows.
24665         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
24666         (efx8): Remove variable.
24667         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24668         case.  Ensure exception if result actually underflows.
24669         * math/auto-libm-test-in: Add more tests of erf.
24670         * math/auto-libm-test-out: Regenerated.
24671
24672 2014-05-14  Andreas Schwab  <schwab@suse.de>
24673
24674         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
24675         Remove code conditionalized on USE___THREAD.
24676
24677         * config.h.in (HAVE_PT_CHOWN): Define as 0.
24678         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
24679         not definedness.
24680
24681 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24682
24683         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
24684         Define unconditionally.
24685         (__ASSUME_O_CLOEXEC): Likewise.
24686         (__ASSUME_SOCK_CLOEXEC): Likewise.
24687         (__ASSUME_IN_NONBLOCK): Likewise.
24688         (__ASSUME_PIPE2): Likewise.
24689         (__ASSUME_EVENTFD2): Likewise.
24690         (__ASSUME_SIGNALFD4): Likewise.
24691         (__ASSUME_DUP3): Likewise.
24692         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24693         (__ASSUME_DUP3): Do not define.
24694         (__ASSUME_EVENTFD2): Likewise.
24695         (__ASSUME_IN_NONBLOCK): Likewise.
24696         (__ASSUME_O_CLOEXEC): Likewise.
24697         (__ASSUME_PIPE2): Likewise.
24698         (__ASSUME_SIGNALFD4): Likewise.
24699         (__ASSUME_SOCK_CLOEXEC): Likewise.
24700         (__ASSUME_UTIMES): Undefine.
24701         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24702         (__ASSUME_UTIMES): Do not define.
24703         (__ASSUME_O_CLOEXEC): Likewise.
24704         (__ASSUME_SOCK_CLOEXEC): Likewise.
24705         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
24706         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
24707         0x020621].
24708         (__ASSUME_PIPE2): Likewise.
24709         (__ASSUME_EVENTFD2): Likewise.
24710         (__ASSUME_SIGNALFD4): Likewise.
24711         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
24712         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
24713         Do not define.
24714         (__ASSUME_EVENTFD2): Likewise.
24715         (__ASSUME_SIGNALFD4): Likewise.
24716         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24717         (__ASSUME_32BITUIDS): Likewise.
24718         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24719         (__ASSUME_IPC64): Likewise.
24720         (__ASSUME_ST_INO_64_BIT): Likewise.
24721         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
24722         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
24723         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24724         (__ASSUME_UTIMES): Do not define.
24725         (__ASSUME_PSELECT): Likewise.
24726         (__ASSUME_PPOLL): Likewise.
24727         (__ASSUME_O_CLOEXEC): Likewise.
24728         (__ASSUME_SOCK_CLOEXEC): Likewise.
24729         (__ASSUME_IN_NONBLOCK): Likewise.
24730         (__ASSUME_PIPE2): Likewise.
24731         (__ASSUME_EVENTFD2): Likewise.
24732         (__ASSUME_SIGNALFD4): Likewise.
24733         (__ASSUME_DUP3): Likewise.
24734         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24735         (__ASSUME_UTIMES): Likewise.
24736         (__ASSUME_O_CLOEXEC): Likewise.
24737         (__ASSUME_SOCK_CLOEXEC): Likewise.
24738         (__ASSUME_IN_NONBLOCK): Likewise.
24739         (__ASSUME_PIPE2): Likewise.
24740         (__ASSUME_EVENTFD2): Likewise.
24741         (__ASSUME_SIGNALFD4): Likewise.
24742         (__ASSUME_DUP3): Likewise.
24743         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24744         (__ASSUME_UTIMES): Likewise.
24745         (__ASSUME_O_CLOEXEC): Likewise.
24746         (__ASSUME_SOCK_CLOEXEC): Likewise.
24747         (__ASSUME_IN_NONBLOCK): Likewise.
24748         (__ASSUME_PIPE2): Likewise.
24749         (__ASSUME_EVENTFD2): Likewise.
24750         (__ASSUME_SIGNALFD4): Likewise.
24751         (__ASSUME_DUP3): Likewise.
24752         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
24753         Likewise.
24754         (__ASSUME_UTIMES): Likewise.
24755         (__ASSUME_EVENTFD2): Likewise.
24756         (__ASSUME_SIGNALFD4): Likewise.
24757         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24758         (__ASSUME_O_CLOEXEC): Likewise.
24759         (__ASSUME_SOCK_CLOEXEC): Likewise.
24760         (__ASSUME_IN_NONBLOCK): Likewise.
24761         (__ASSUME_PIPE2): Likewise.
24762         (__ASSUME_EVENTFD2): Likewise.
24763         (__ASSUME_SIGNALFD4): Likewise.
24764         (__ASSUME_DUP3): Likewise.
24765         (__ASSUME_UTIMES): Undefine.
24766
24767         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
24768         feclearexcept.  Remove symbol versioning code.
24769         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
24770         symbol versioning code.
24771         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
24772         symbol versioning code.
24773         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
24774         feupdateenv.  Remove symbol versioning code.
24775         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
24776         fegetexceptflag.  Remove symbol versioning code.
24777         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
24778         fesetexceptflag.  Remove symbol versioning code.
24779         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
24780         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
24781         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
24782         (__posix_fadvise64_l32): Remove prototype.
24783         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
24784         code.
24785
24786 2014-05-13  Roland McGrath  <roland@hack.frob.com>
24787
24788         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
24789         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
24790         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
24791         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
24792
24793 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
24794
24795         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
24796         current working directory
24797
24798 2014-05-13  Roland McGrath  <roland@hack.frob.com>
24799
24800         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
24801         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
24802         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
24803         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
24804         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
24805         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
24806         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
24807         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
24808         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
24809         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
24810         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
24811         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
24812         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
24813         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
24814         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
24815         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
24816         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
24817         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
24818         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
24819         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
24820         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
24821         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
24822         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
24823         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
24824         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
24825         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
24826         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
24827         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
24828         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
24829         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
24830         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
24831         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
24832         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
24833         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
24834         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
24835         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
24836         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
24837         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
24838         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
24839         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
24840         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
24841         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
24842
24843         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
24844         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
24845
24846         * sysdeps/unix/sysv/linux/arm/Makefile
24847         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24848         Add rt-aeabi_unwind_cpp_pr1.
24849         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
24850         Add nptl-aeabi_unwind_cpp_pr1.
24851         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
24852         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
24853         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
24854         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24855         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
24856         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24857
24858         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
24859         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
24860         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
24861         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
24862
24863         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
24864         Deconditionalize the code that was previously under [RESET_PID].
24865         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
24866
24867         * sysdeps/generic/exit-thread.h: New file.
24868         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
24869         * include/unistd.h (__exit_thread): Remove declaration.
24870         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
24871         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
24872         * csu/libc-start.c: Include <exit-thread.h>.
24873         (LIBC_START_MAIN): Pass no argument to __exit_thread.
24874         * nptl/pthread_create.c: Include <exit-thread.h>.
24875         (start_thread): Call __exit_thread in place of __exit_thread_inline.
24876         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
24877         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
24878         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
24879         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
24880         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
24881         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
24882         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
24883         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
24884         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
24885         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
24886         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
24887         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
24888         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
24889         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
24890         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
24891         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
24892
24893 2014-05-13  Andreas Schwab  <schwab@suse.de>
24894
24895         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
24896
24897 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
24898
24899         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24900         (__ASSUME_UTIMES): Do not condition on kernel version.
24901         (__ASSUME_PSELECT): Define unconditionally.
24902         (__ASSUME_PPOLL): Likewise.
24903         (__ASSUME_ATFCTS): Likewise.
24904         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
24905         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
24906         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
24907         (__ASSUME_UTIMENSAT): Define unconditionally.
24908         (__ASSUME_PRIVATE_FUTEX): Likewise.
24909         (__ASSUME_FALLOCATE): Likewise.
24910         (__ASSUME_O_CLOEXEC): Likewise.
24911         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
24912         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
24913         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
24914         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
24915         (__ASSUME_IN_NONBLOCK): Likewise.
24916         (__ASSUME_PIPE2): Likewise.
24917         (__ASSUME_EVENTFD2): Likewise.
24918         (__ASSUME_SIGNALFD4): Likewise.
24919         (__ASSUME_DUP3): Likewise.
24920         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24921         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
24922         (__ASSUME_AT_RANDOM): Likewise.
24923         (__ASSUME_PREADV): Likewise.
24924         (__ASSUME_PWRITEV): Likewise.
24925         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
24926         (__ASSUME_F_GETOWN_EX): Define unconditionally.
24927         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
24928         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24929         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
24930         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24931         (__ASSUME_O_CLOEXEC): Define unconditionally.
24932         (__ASSUME_PSELECT): Do not undefine conditionally.
24933         (__ASSUME_PPOLL): Likewise.
24934         (__ASSUME_ATFCTS): Likewise.
24935         (__ASSUME_SET_ROBUST_LIST): Likewise.
24936         (__ASSUME_UTIMENSAT): Likewise.
24937         (__ASSUME_FDATASYNC): Define unconditionally.
24938         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24939         (__ASSUME_SIGFRAME_V2): Likewise.
24940         )__ASSUME_EVENTFD2): Likewise.
24941         (__ASSUME_SIGNALFD4): Likewise.
24942         (__ASSUME_PSELECT): Do not undefine conditionally.
24943         (__ASSUME_PPOLL): Likewise.
24944         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24945         (__ASSUME_PSELECT): Define unconditionally.
24946         (__ASSUME_PPOLL): Likewise.
24947         (__ASSUME_O_CLOEXEC): Likewise.
24948         (__ASSUME_SOCK_CLOEXEC): Likewise.
24949         (__ASSUME_IN_NONBLOCK): Likewise.
24950         (__ASSUME_PIPE2): Likewise.
24951         (__ASSUME_EVENTFD2): Likewise.
24952         (__ASSUME_SIGNALFD4): Likewise.
24953         (__ASSUME_DUP3): Likewise.
24954         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24955         (__ASSUME_O_CLOEXEC): Likewise.
24956         (__ASSUME_SOCK_CLOEXEC): Likewise.
24957         (__ASSUME_IN_NONBLOCK): Likewise.
24958         (__ASSUME_PIPE2): Likewise.
24959         (__ASSUME_EVENTFD2): Likewise.
24960         (__ASSUME_SIGNALFD4): Likewise.
24961         (__ASSUME_DUP3): Likewise.
24962         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24963         (__ASSUME_EVENTFD2): Likewise.
24964         (__ASSUME_SIGNALFD4): Likewise.
24965         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24966
24967 2014-05-12  Andreas Schwab  <schwab@suse.de>
24968
24969         [BZ #16932]
24970         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
24971         (_nss_nis_gethostbyname4_r): Return error if item length is larger
24972         than maximum RPC packet size.
24973         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
24974         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
24975         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
24976         (_nss_nis_getservbyport_r): Likewise.
24977
24978 2014-05-12  Will Newton  <will.newton@linaro.org>
24979
24980         * malloc/Makefile (tests): Add tst-mallopt.
24981         * malloc/tst-mallopt.c: New file.
24982
24983 2014-05-09  Roland McGrath  <roland@hack.frob.com>
24984
24985         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
24986         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
24987
24988 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24989
24990         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
24991         (tst-tlsmod6.so): Likewise.
24992
24993 2014-05-09  Roland McGrath  <roland@hack.frob.com>
24994
24995         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
24996
24997 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
24998
24999         [BZ #16064]
25000         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25001         and <dl-procinfo.h>.
25002         (__fegetenv): Save SSE state in envp->__eip if supported.
25003         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25004         envp->__eip if supported.
25005         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25006         and <dl-procinfo.h>.
25007         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25008         __data_offset and __data_selector in environment to 0.  Set SSE
25009         state if supported.
25010         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25011         test-fenv-sse.
25012         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25013         -mfpmath=sse.
25014         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25015
25016 2014-05-09  Will Newton  <will.newton@linaro.org>
25017
25018         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25019         and libc_relro_required for ARM.
25020         * sysdeps/arm/preconfigure: Regenerate.
25021
25022 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25023             Stefan Liebler  <stli@linux.vnet.ibm.com>
25024
25025         * config.make.in (enable-lock-elision): New Makefile variable.
25026         * configure.ac: Likewise.
25027         * configure: Regenerate.
25028         * sysdeps/s390/configure.ac:
25029         Add check for gcc transactions support.
25030         * sysdeps/s390/configure: Regenerate.
25031         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25032         Build elision files if enabled.
25033         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25034         Add lock elision support for s390.
25035         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25036         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25037         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25038         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25039         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25040         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25041         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25042         Likewise.
25043         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25044         Likewise.
25045         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25046         Likewise.
25047         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25048         Likewise.
25049         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25050         (__lll_timedlock_elision, __lll_lock_elision)
25051         (__lll_unlock_elision, __lll_trylock_elision)
25052         (lll_timedlock_elision, lll_lock_elision)
25053         (lll_unlock_elision, lll_trylock_elision): Add.
25054         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25055         (pthread_mutex_t): Add lock elision support for s390.
25056
25057 2014-05-14  Wilco  <wdijkstr@arm.com>
25058
25059         * sysdeps/arm/fclrexcpt.c: Cleanup.
25060         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25061         * sysdeps/arm/feenablxcpt.c: Cleanup.
25062         * sysdeps/arm/fegetenv.c: Cleanup.
25063         * sysdeps/arm/fegetexcept.c: Cleanup.
25064         * sysdeps/arm/fegetround.c: Cleanup.
25065         * sysdeps/arm/feholdexcpt.c: Cleanup.
25066         * sysdeps/arm/fesetenv.c: Cleanup.
25067         * sysdeps/arm/fesetround.c: Cleanup.
25068         * sysdeps/arm/feupdateenv.c: Cleanup.
25069         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25070         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25071         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25072         * sysdeps/arm/ftestexcept.c: Cleanup.
25073         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25074         * sysdeps/arm/setfpucw.c: Cleanup.
25075
25076 2014-05-09  Will Newton  <will.newton@linaro.org>
25077
25078         * sysdeps/arm/armv7/strcmp.S: New file.
25079         * NEWS: Mention addition of ARMv7 optimized strcmp.
25080
25081 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25082
25083         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25084         look for %.ac rather than %.in.
25085
25086         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25087         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25088         * sysdeps/mach/hurd/configure: Regenerated.
25089         * sysdeps/unix/sysv/linux/configure: Regenerated.
25090
25091         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25092
25093 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25094
25095         [BZ# 16922]
25096         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25097         (LONG_SUB): Ditto.
25098         (PTR_SUB): Ditto.
25099
25100 2014-05-07  Andreas Schwab  <schwab@suse.de>
25101
25102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25103         when skipping over non-matching result from nscd.
25104
25105 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25106
25107         [BZ #16876]
25108         * nptl/sockperf.c (client): Check socket return value.
25109
25110         [BZ #16877]
25111         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25112         nscd security class.
25113
25114 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25115
25116         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25117         * sysdeps/arm/unwind.h: ... here.
25118
25119 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25120
25121         [BZ# 16916]
25122         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25123         Define.
25124
25125 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25126
25127         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25128         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25129         multiarch strncpy for PPC64.
25130         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25131         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25133         multiarch optimizations.
25134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25135         (__libc_ifunc_impl_list): Likewise.
25136         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25137         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25138         multiarch stpncpy for PPC64.
25139         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25140         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25141
25142 2014-05-06  Andreas Schwab  <schwab@suse.de>
25143
25144         [BZ #16912]
25145         * gmon/mcount.c (_MCOUNT_DECL): Use
25146         atomic_compare_and_exchange_bool_acq instead of
25147         catomic_compare_and_exchange_bool_acq.
25148
25149 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25150
25151         * elf/Makefile (others, install-bin): Remove pldd.
25152         (pldd-modules): Variable removed.
25153         ($(objpfx)pldd): Target removed.
25154         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25155         (others, install-bin): Append pldd here.
25156         ($(objpfx)pldd): New target.
25157
25158         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25159         to 0, so the first #if test emitted later doesn't see it undefined.
25160         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25161         * sysdeps/gnu/errlist.c: Regenerated.
25162
25163 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25164
25165         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25166         [libc_hidden_builtin_def]: Define to empty value.
25167         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25168         [libc_hidden_builtin_def]: Likewise.
25169         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25170         [libc_hidden_builtin_def]: Likewise.
25171         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25172         [libc_hidden_builtin_def]: Likewise.
25173         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25174         __redirect_memcpy and define ifunc as default hidden symbol.
25175         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25176         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25177
25178 2014-05-04  Adam Conrad  <adconrad@0c3.net>
25179
25180         * locale/iso-4217.def: Reintroduce XDR currency.
25181
25182 2014-05-04  Allan McRae  <allan@archlinux.org>
25183
25184         * po/eo.po: Update Esperanto translation from translation project.
25185
25186 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
25187
25188         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
25189         and FEATURE_INDEX_MAX to 1.
25190         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
25191
25192 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25193
25194         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
25195         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
25196         * iconvdata/big5.c (ONE_DIRECTION): Define.
25197         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
25198         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
25199         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
25200         * iconvdata/cp932.c (ONE_DIRECTION): Define.
25201         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
25202         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
25203         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
25204         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
25205         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
25206         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
25207         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
25208         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
25209         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
25210         * iconvdata/gbk.c (ONE_DIRECTION): Define.
25211         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
25212         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
25213         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
25214         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
25215         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25216         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
25217         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
25218         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
25219         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
25220         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
25221         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
25222         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
25223         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
25224         * iconvdata/iso646.c (ONE_DIRECTION): Define.
25225         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
25226         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
25227         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
25228         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
25229         * iconvdata/johab.c (ONE_DIRECTION): Define.
25230         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
25231         * iconvdata/sjis.c (ONE_DIRECTION): Define.
25232         * iconvdata/t.61.c (ONE_DIRECTION): Define.
25233         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
25234         * iconvdata/tscii.c (ONE_DIRECTION): Define.
25235         * iconvdata/uhc.c (ONE_DIRECTION): Define.
25236         * iconvdata/unicode.c (ONE_DIRECTION): Define.
25237         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
25238         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
25239         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
25240
25241 2014-05-01  Roland McGrath  <roland@hack.frob.com>
25242
25243         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
25244         (_IO_JUMPS_OFFSET): Define to 0.
25245
25246         * nptl/sysdeps/pthread/bits/libc-lock.h
25247         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25248         (__libc_lock_define_initialized_recursive): Always define using
25249         initializer.  Modern compilers treat uninitialized (implicit zero) and
25250         explicit zero initializers the same (i.e. put the datum in bss).
25251
25252 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25253
25254         * nscd/nscd-client.h: Include <string.h>.
25255
25256 2014-05-01  David S. Miller  <davem@davemloft.net>
25257
25258         [BZ #16885]
25259         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
25260         multiple zero bytes exist at the end of a string.
25261         Reported by Aurelien Jarno <aurelien@aurel32.net>
25262
25263         * string/test-strcmp.c (check): Add explicit test for situations where
25264         there are multiple zero bytes after the first.
25265
25266 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25267
25268         [BZ #16890]
25269         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
25270         when compiling wprintf.
25271         * stdio-common/tstdiomisc.c (t3): New function.
25272         (main): Call it.
25273
25274 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25275
25276         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
25277         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
25278         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
25279         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25280
25281 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25282
25283         * stdlib/longlong.h: Updated from GCC.
25284
25285 2014-05-01  Will Newton  <will.newton@linaro.org>
25286             Bernard Ogden  <bernie.ogden@linaro.org>
25287
25288         * NEWS: Update fixed bug list.
25289
25290         [BZ #15119]
25291         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
25292
25293 2014-04-30  David S. Miller  <davem@davemloft.net>
25294
25295         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
25296         (libc_feholdexcept_setround_sparc_ctx): New function.
25297         (libc_fesetenv_sparc_ctx): Likewise.
25298         (libc_feupdateenv_sparc_ctx): Likewise.
25299         (libc_feholdsetround_sparc_ctx): Likewise.
25300         (libc_feholdexcept_setround_ctx): Define.
25301         (libc_feholdexcept_setroundf_ctx): Likewise.
25302         (libc_feholdexcept_setroundl_ctx): Likewise.
25303         (libc_fesetenv_ctx): Likewise.
25304         (libc_fesetenvf_ctx): Likewise.
25305         (libc_fesetenvl_ctx): Likewise.
25306         (libc_feupdateenv_ctx): Likewise.
25307         (libc_feupdateenvf_ctx): Likewise.
25308         (libc_feupdateenvl_ctx): Likewise.
25309         (libc_feresetround_ctx): Likewise.
25310         (libc_feresetroundf_ctx): Likewise.
25311         (libc_feresetroundl_ctx): Likewise.
25312         (libc_feholdsetround_ctx): Likewise.
25313         (libc_feholdsetroundf_ctx): Likewise.
25314         (libc_feholdsetroundl_ctx): Likewise.
25315
25316         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25317         with __USE_GNU instead of XOPEN cpp guards.
25318
25319         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
25320         0.
25321
25322         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25323         with XOPEN cpp guards.
25324
25325 2014-04-30  Julian Brown  <julian@codesourcery.com>
25326
25327         [BZ #16888]
25328         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
25329         handling.
25330
25331 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
25332
25333         [BZ #9894]
25334         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
25335         Change to 2.6.32.
25336         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
25337         * sysdeps/unix/sysv/linux/configure: Regenerated.
25338         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
25339         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
25340         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25341         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
25342         * README: Update reference to required Linux kernel version.
25343         * manual/install.texi (Linux): Update reference to required Linux
25344         kernel headers version.
25345         * INSTALL: Regenerated.
25346
25347         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
25348         header inclusion.
25349         [POSIX] (limits.h): Likewise.
25350         [POSIX] (math.h): Likewise.
25351         [POSIX] (sys/wait.h): Likewise.
25352         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
25353         function.
25354         [POSIX] (stddef.h): Do not allow header inclusion.
25355
25356 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25357
25358         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
25359
25360 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
25361
25362         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25363         Return immediately after lll_futex_wake.
25364
25365 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25366
25367         [BZ #16791]
25368         * nscd/nscd-client.h (datahead_init_common): Initialize entire
25369         structure.
25370         (datahead_init_pos): Call datahead_init_common early.
25371         (datahead_init_neg): Likewise.
25372
25373         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
25374         datahead_init_neg): New functions.
25375         * nscd/aicache.c (addhstaiX): Use them.
25376         * nscd/grpcache.c (cache_addgr): Likewise.
25377         * nscd/hstcache.c (cache_addhst): Likewise.
25378         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25379         * nscd/netgroupcache.c (do_notfound): Likewise.
25380         (addgetnetgrentX): Likewise.
25381         (addinnetgrX): Likewise.
25382         * nscd/pwdcache.c (cache_addpw): Likewise.
25383         * nscd/servicescache.c (cache_addserv): Likewise.
25384
25385 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25386             Atsushi Onoe  <atsushi@onoe.org>
25387
25388         [BZ #14308]
25389         [BZ #12994]
25390         [BZ #13651]
25391         * resolv/res_query.c (__libc_res_nsearch): Return if at least
25392         one response is valid.
25393         * resolv/res_send.c (send_dg): Check for validity of other
25394         response if the current response is a referral.
25395
25396 2014-04-29  Steve Ellcey  <sellcey@mips.com>
25397
25398         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
25399
25400 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
25401
25402         [BZ #16823]
25403         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
25404         Always divide by positive zero when computing -Inf result.
25405         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25406         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25407
25408 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25409
25410         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
25411         FPSCR if value do not change.
25412         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25413         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25414         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25415         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25416         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
25417         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
25418         function.
25419
25420 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
25421
25422         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
25423         * sysdeps/unix/sysv/linux/hppa: Move directory from
25424         ports/systeps/unix/sysv/linux/hppa.
25425         * README: Update listing for hppa-*-linux-gnu.
25426
25427 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
25428
25429         [BZ #16754]
25430         * manual/stdio.texi (Hook functions): Fix types of stream hook
25431         functions.
25432         [BZ #16854]
25433         * socket/sys/socket.h: Fix typo in comment.
25434
25435 2014-04-28  Wilco  <wdijkstr@arm.com>
25436
25437         * sysdeps/arm/fenv_private.h: New file.
25438         * sysdeps/arm/math_private.h: New file.
25439         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
25440
25441 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
25442
25443         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
25444         with __int128_t.
25445         (La_x86_64_retval): Likewise.
25446
25447 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
25448
25449         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
25450         fpsr if value didn't change.
25451         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
25452         to fpcr if value didn't change.
25453         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
25454         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
25455         fpsr or fpcr if value didn't change.
25456         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25457         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
25458         fpcr if value didn't change.
25459         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
25460         to fpsr if value didn't change.
25461
25462 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25463
25464         * nptl/tst-sem3.c: Use test-skeleton.c
25465         (main): Rename to do_test.  Use return instead of
25466         exit.
25467         * nptl/tst-sem4.c: Use test-skeleton.c
25468         (main): Rename to do_test.
25469
25470 2014-04-22  David S. Miller  <davem@davemloft.net>
25471
25472         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
25473         (struct sigaction): New struct member __glibc_reserved0, change
25474         type of sa_flags to int.
25475
25476 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
25477
25478         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
25479         (COUNT_LEADING_ZEROS_0): Define for AArch64.
25480
25481 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25482
25483         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
25484         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
25485
25486 2014-04-22  Will Newton  <will.newton@linaro.org>
25487             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
25488
25489         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
25490         (__longjmp): Add longjmp and longjmp_target SystemTap
25491         probes.
25492         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
25493         (__sigsetjmp): Add setjmp SystemTap probe.
25494
25495 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
25496
25497         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
25498         match manual order.
25499
25500 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25501
25502         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
25503
25504         * sysdeps/powerpc/fpu/fenv_private.h
25505         (libc_feholdexcept_setroundl_ctx): Define to
25506         libc_feholdexcept_setround_ppc_ctx.
25507         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
25508         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
25509         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
25510         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
25511
25512 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25513
25514         * sysdeps/aarch64/math-tests.h: New file.
25515
25516 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
25517
25518         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
25519         New.
25520         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25521         Check and set bit_AVX2_Usable.
25522         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
25523         macro.
25524         (bit_AVX2): Likewise.
25525         (index_AVX2_Usable): Likewise.
25526         (CPUID_AVX2): Likewise.
25527         (HAS_AVX2): Likewise.
25528
25529 2014-04-17  Will Newton  <will.newton@linaro.org>
25530
25531         * manual/setjmp.texi (System V contexts): Add note that
25532         calling setcontext on a context created by a call to a
25533         signal handler is undefined.  Update text to note that
25534         setcontext from a signal handler is possible but not
25535         recommended.
25536
25537         [BZ #16629]
25538         * stdlib/tst-setcontext.c: Include signal.h.
25539         (main): Check that the signal stack before and
25540         after swapcontext is the same.
25541
25542         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
25543         Re-implement to restore registers in user code and avoid
25544         rt_sigreturn system call.
25545
25546 2014-04-17  Wilco  <wdijkstr@arm.com>
25547
25548         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
25549         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
25550         * math/test-fenv.c: Skip exception trap tests on targets which only
25551         support non-stop mode.
25552
25553 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25554             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25555
25556         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
25557         (libc_feholdsetround_aarch64_ctx)
25558         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
25559         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
25560         (libc_feresetround_ctx, libc_feresetroundf_ctx)
25561         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
25562         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
25563         (libc_feresetround_noexl_ctx): Define.
25564
25565 2014-04-16  Richard Henderson  <rth@redhat.com>
25566
25567         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
25568
25569         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
25570         unwind tables.
25571
25572         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
25573         const from the non-libc, non-ldso copy.
25574
25575         * sysdeps/alpha/libm-test-ulps: Regenerate.
25576
25577 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
25578             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25579
25580         * sysdeps/aarch64/fpu/math_private.h: New file.
25581
25582 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25583
25584         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25585
25586 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
25587
25588         [BZ #16275]
25589         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
25590         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
25591         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
25592         Intel MPX bound registers before _dl_profile_fixup.
25593         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
25594         registers after _dl_profile_fixup.  Save and restore bound
25595         registers bnd0/bnd1 when calling _dl_call_pltexit.
25596         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
25597         (LR_BND_OFFSET): Likewise.
25598         (LRV_BND0_OFFSET): Likewise.
25599         (LRV_BND1_OFFSET): Likewise.
25600
25601 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25602
25603         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
25604         to...
25605         * sysdeps/mach/hurd/i386/tls.h: ... here.
25606         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
25607         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
25608         fields.
25609
25610 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25611
25612         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
25613
25614 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25615
25616         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25617
25618 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25619
25620         [BZ #14770]
25621         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
25622         * sysdeps/s390/configure: Regenerate.
25623
25624         [BZ #16824]
25625         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
25626         Set round-to-nearest internally to reduce error accumulation.
25627
25628 2014-04-16  Alan Modra  <amodra@gmail.com>
25629
25630         [BZ #16740]
25631         [BZ #16619]
25632         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
25633         * math/libm-test.inc (frexp_test_data): Add tests.
25634         * NEWS: Update fixed bug list.
25635
25636 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25637
25638         * benchtests/Makefile: Depend on libraries in build directory.
25639         (bench-math): Separate out math tests.
25640         (bench-pthread): Separate out pthread tests.
25641         (bench): Include math and pthread tests.
25642
25643 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
25644
25645         [BZ #16831]
25646         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
25647         _dl_debug_initialize.
25648
25649         * configure.ac: Remove SELinux header check.
25650         * configure: Regenerate.
25651         * nscd/selinux.c (perms): Array of const char* to permission names.
25652         (nscd_request_avc_has_perm): Call security_deny_unknown to find
25653         default policy. Call string_to_security_class and string_to_av_perm to
25654         translate strings. Enforce default policy and call avs_has_perm with
25655         results of translated strings.
25656
25657 2014-04-13  David S. Miller  <davem@davemloft.net>
25658
25659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25660
25661 2014-04-12  Allan McRae  <allan@archlinux.org>
25662
25663         [BZ #16838]
25664         * manual/string.texi (Collation Functions): Fix qsort argument
25665         order in example.
25666         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25667
25668 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
25669
25670         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
25671         Make the test a no-op if there are no exceptions defined.
25672
25673 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25674
25675         * elf/Makefile (tests): make tst-dlopen-aout conditional on
25676         enable-hardcoded-path-in-tests
25677
25678 2014-04-11  Will Newton  <will.newton@linaro.org>
25679
25680         * benchtests/Makefile (extra-objs): Add json-lib.o.
25681         (bench-func): Tidy up JSON output.
25682         * benchtests/bench-skeleton.c: Include json-lib.h.
25683         (main): Use JSON library functions to do output of
25684         benchmark results.
25685         * benchtests/bench-timing-type.c (main): Output the
25686         timing type simply, leaving formatting to the user.
25687         * benchtests/json-lib.c: New file.
25688         * benchtests/json-lib.h: Likewise.
25689
25690 2014-04-11  Torvald Riegel  <triegel@redhat.com>
25691
25692         [BZ #15215]
25693         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
25694         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
25695         memory barriers.  Add comments.
25696         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
25697         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
25698         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
25699         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
25700         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
25701         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
25702
25703 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25704
25705         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
25706         * sysdeps/s390/s390-64/configure.ac: ... this ...
25707         * sysdeps/s390/configure.ac: ... to here.
25708         * sysdeps/s390/s390-32/configure: Delete file.
25709         * sysdeps/s390/s390-64/configure: Delete file.
25710         * sysdeps/s390/configure: Regenerate.
25711
25712 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
25713
25714         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
25715
25716 2014-04-11  Will Newton  <will.newton@linaro.org>
25717
25718         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
25719         to zero if it is not defined elsewhere.  (mtrim): Test
25720         the value of MALLOC_DEBUG with #if rather than #ifdef.
25721
25722 2014-04-10 Torvald Riegel  <triegel@redhat.com>
25723
25724         * benchtests/pthread_once-inputs: New file.
25725         * benchtests/pthread_once-source.c: New file.
25726         * benchtests/README: Update documentation.
25727
25728 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25729             H.J. Lu  <hongjiu.lu@intel.com>
25730
25731         [BZ #16275]
25732         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
25733         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
25734         * sysdeps/x86_64/configure: Regenerated.
25735         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
25736         macro.
25737         (REGISTER_SAVE_RAX): Likewise.
25738         (REGISTER_SAVE_RCX): Likewise.
25739         (REGISTER_SAVE_RDX): Likewise.
25740         (REGISTER_SAVE_RSI): Likewise.
25741         (REGISTER_SAVE_RDI): Likewise.
25742         (REGISTER_SAVE_R8): Likewise.
25743         (REGISTER_SAVE_R9): Likewise.
25744         (REGISTER_SAVE_BND0): Likewise.
25745         (REGISTER_SAVE_BND1): Likewise.
25746         (REGISTER_SAVE_BND2): Likewise.
25747         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
25748         bound registers when calling _dl_fixup.
25749
25750 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25751
25752         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
25753         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
25754         of its definition.
25755         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
25756         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
25757         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
25758         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
25759         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
25760         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
25761         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
25762
25763 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
25764
25765         [BZ #15514]
25766         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
25767         pathconf(_PC_NAME_MAX).
25768
25769 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25770
25771         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
25772         Remove macro usage.
25773         (__PTHREAD_SPINS): Move definition to ...
25774         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25775         (__PTHREAD_SPINS): ... here.
25776         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25777         (__PTHREAD_SPIN): Likewise.
25778         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
25779         (__PTHREAD_SPIN): Likewise.
25780         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
25781         (__PTHREAD_SPIN): Likewise.
25782         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
25783         (__PTHREAD_SPIN): Likewise.
25784         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25785         (__PTHREAD_SPIN): Likewise.
25786         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25787         (__PTHREAD_SPIN): Likewise.
25788         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
25789         (__PTHREAD_SPIN): Likewise.
25790         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25791         (__PTHREAD_SPIN): Likewise.
25792         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25793         (__PTHREAD_SPIN): Likewise.
25794         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25795         (__PTHREAD_SPIN): Likewise.
25796         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25797         (__PTHREAD_SPIN): Likewise.
25798         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
25799         (__PTHREAD_SPIN): Likewise.
25800
25801         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
25802         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
25803         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
25804         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
25805         imply folder.
25806         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
25807         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
25808         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
25809         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
25810         correct imply path.
25811         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
25812         strlen symbol for non multi-arch builds.
25813         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
25814         missing hidden_def and weak_alias.
25815
25816 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
25817
25818         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
25819
25820 2014-04-07  Will Newton  <will.newton@linaro.org>
25821
25822         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
25823         and contents.  [!_LIBC] Remove #ifndef and contents.
25824         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
25825         * string/memccpy.c (__memccpy): Use ANSI prototype.
25826         * string/memfrob.c (memfrob): Likewise.
25827         * string/strcoll.c (STRCOLL): Likewise.
25828         * string/strlen.c (strlen): Likewise.
25829         * string/strtok.c (STRTOK): Likewise.
25830         * string/strcat.c: Remove unused #include of memcopy.h.
25831         (strcat): Use ANSI prototype.
25832         * string/strchr.c: Remove unused #include of memcopy.h.
25833         (strchr): Use ANSI prototype.
25834         * string/strcmp.c: Remove unused #include of memcopy.h.
25835         (strcmp): Use ANSI prototype.
25836         * string/strcpy.c: Remove unused #include of memcopy.h.
25837         (strcpy): Use ANSI prototype.
25838
25839 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25840
25841         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
25842         * config.make.in (config-extra-cppflags): Set it from
25843         libc_extra_cppflags.
25844         * configure.ac (libc_extra_cflags): Make it accumulate over
25845         configure fragments.
25846         (libc_extra_cppflags): New flag.
25847         * configure. Regenerate.
25848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25849         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
25850         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
25851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25852
25853         [BZ #16815]
25854         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
25855         result for FE_DOWNWARD rounding mode.
25856         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25857         Likewise.
25858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25859
25860 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
25861
25862         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
25863         in function argument name.
25864
25865 2014-04-03  David Svoboda  <svoboda@cert.org>
25866
25867         [BZ #5666]
25868         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
25869         explicitly.
25870
25871 2014-04-03  Roland McGrath  <roland@hack.frob.com>
25872
25873         * elf/dl-unmap-segments.h: New file.
25874         * sysdeps/generic/ldsodefs.h
25875         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
25876         * elf/dl-close.c: Include <dl-unmap-segments.h>.
25877         * elf/dl-fptr.c: Likewise.
25878         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
25879         * sysdeps/aarch64/tlsdesc.c: Likewise.
25880         * sysdeps/arm/tlsdesc.c: Likewise.
25881         * sysdeps/i386/tlsdesc.c: Likewise.
25882         * sysdeps/tile/dl-runtime.c: Likewise.
25883         * sysdeps/x86_64/tlsdesc.c: Likewise.
25884         * elf/dl-load.h: New file.
25885         * elf/dl-load.c: Include it.
25886         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
25887         Macros moved to dl-load.h.
25888         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
25889         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
25890         Use _dl_unmap_segments in place of __munmap.
25891         Break out segment-mapping loop into ...
25892         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
25893
25894 2014-04-03  Will Newton  <will.newton@linaro.org>
25895
25896         * elf/dl-lookup.c (do_lookup_x): Remove comment
25897         referring to nested function and move variable
25898         declarations down to before first use.
25899
25900 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
25901
25902         [BZ #16799]
25903         [BZ #16800]
25904         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
25905         with 0 numerator.
25906         * math/s_catanf.c (__catanf): Likewise.
25907         * math/s_catanh.c (__catanh): Likewise.
25908         * math/s_catanhf.c (__catanhf): Likewise.
25909         * math/s_catanhl.c (__catanhl): Likewise.
25910         * math/s_catanl.c (__catanl): Likewise.
25911         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
25912         by positive zero when computing -Inf result.
25913         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
25914         (catanh_test): Likewise.
25915         * sysdeps/i386/fpu/libm-test-ulps: Update.
25916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25917
25918         [BZ #16789]
25919         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
25920         instead of using underflowing value in computing result.
25921         * math/s_clog10.c (__clog10): Likewise.
25922         * math/s_clog10f.c (__clog10f): Likewise.
25923         * math/s_clog10l.c (__clog10l): Likewise.
25924         * math/s_clogf.c (__clogf): Likewise.
25925         * math/s_clogl.c (__clogl): Likewise.
25926         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
25927         (clog10_test): Likewise.
25928         * sysdeps/i386/fpu/libm-test-ulps: Update.
25929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25930
25931 2014-04-02  Alan Modra  <amodra@gmail.com>
25932
25933         [BZ #16739]
25934         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
25935         output when value is near a power of two.  Use int64_t for lx and
25936         remove casts.  Use decimal rather than hex exponent constants.
25937         Don't use long double multiplication when double will suffice.
25938         * math/libm-test.inc (nextafter_test_data): Add tests.
25939         * NEWS: Add 16739 and 16786 to bug list.
25940
25941         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
25942
25943         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
25944
25945 2014-04-01  Will Newton  <will.newton@linaro.org>
25946
25947         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
25948         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
25949
25950 2014-04-01  Florian Weimer  <fweimer@redhat.com>
25951
25952         [BZ #13347]
25953         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
25954         * nptl/tst-setuid2.c: New file.
25955         * nptl/Makefile (xtests): Add tst-setuid2.
25956
25957 2014-04-01  Alan Modra  <amodra@gmail.com>
25958
25959         [BZ #16786]
25960         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
25961
25962 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
25963
25964         [BZ #6803]
25965         [BZ #6804]
25966         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
25967         set errno as appropriate.
25968         * math/w_scalbf.c (__scalbf): Likewise.
25969         * math/w_scalbl.c (__scalbl): Likewise.
25970         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
25971         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
25972         * math/libm-test.inc (scalb_test_data): Add errno expectations.
25973         Add more NaN tests.
25974
25975         [BZ #16349]
25976         * math/w_atan2.c: Include <errno.h>.
25977         (__atan2): Set errno for result underflowing to zero.
25978         * math/w_atan2f.c: Include <errno.h>.
25979         (__atan2f): Set errno for result underflowing to zero.
25980         * math/w_atan2l.c: Include <errno.h>.
25981         (__atan2l): Set errno for result underflowing to zero.
25982         * math/auto-libm-test-in: Don't allow missing errno for some atan2
25983         tests.
25984         * math/auto-libm-test-out: Regenerated.
25985
25986 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25987
25988         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25989         Encode instruction correctly in little endian.
25990         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25991         Likewise.
25992         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25993         Likewise.
25994         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25995         Likewise.
25996         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25997         Likewise.
25998
25999 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26000
26001         [BZ #9894]
26002         * sysdeps/unix/sysv/linux/kernel-features.h
26003         [__sparc__ && !__arch64__ && !__sparc_v9__]
26004         (__ASSUME_SET_ROBUST_LIST): Do not define.
26005         [__sparc__ && !__arch64__ && !__sparc_v9__]
26006         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26007         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26008         Likewise.
26009         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26010         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26011         (__ASSUME_REQUEUE_PI): Likewise.
26012         (__ASSUME_SET_ROBUST_LIST): Likewise.
26013         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26014         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26015         Undefine.
26016         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26017         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26018         Likewise.
26019         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26020         Likewise.
26021         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26022         Likewise.
26023         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26024         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26025         Undefine.
26026         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26027         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26028         Likewise.
26029
26030         [BZ #16648]
26031         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26032         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26033         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26034
26035 2014-03-31  Will Newton  <will.newton@linaro.org>
26036
26037         * benchtests/Makefile (bench): Add ffs and ffsll to list
26038         of tests.
26039         * benchtests/ffs-inputs: New file.
26040         * benchtests/ffsll-inputs: Likewise.
26041
26042 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26043
26044         [BZ #16770]
26045         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26046         too large before casting to int.
26047         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26048         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26049         * math/libm-test.inc (scalb_test_data): Add more tests.
26050
26051 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26052
26053         * benchtests/Makefile (DETAILED_OPT): New make option.
26054         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26055         set.
26056         * benchtests/bench-skeleton.c: Include stdbool.h.
26057         (main): Store and print timings per input.
26058         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26059         member to each argument value.
26060         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26061         (_print_arg_data): Initialize per-input timing to 0.
26062
26063         * benchtests/Makefile (timing-type): New binary.
26064         (bench-clean): Also remove bench-timing-type.
26065         (bench): New target for timing-type.
26066         (bench-func): Print output in JSON format.
26067         * benchtests/bench-skeleton.c (main): Print output in JSON
26068         format.
26069         * benchtests/bench-timing-type.c: New file.
26070         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26071         (TIMING_PRINT_STATS): Remove.
26072         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26073         name separately.
26074
26075         * benchtests/bench-modf.c: Remove.
26076         * benchtests/modf-inputs: New inputs file.
26077
26078 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26079
26080         [BZ #16362]
26081         * math/s_clog10.c (M_PI_LOG10E): New macro.
26082         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26083         imaginary parts are 0.
26084         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26085         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26086         imaginary parts are 0.
26087         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26088         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26089         imaginary parts are 0.
26090         * math/libm-test.inc (clog10_test_data): Update expected results
26091         for when real and imaginary parts are 0.
26092
26093 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26094
26095         * elf/dl-load.c: Finish conversion of __builtin_expect into
26096         __glibc_{un}likely.
26097
26098 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26099
26100         [BZ #16348]
26101         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26102         1+x for argument with exponent below -67.
26103         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26104         Likewise.
26105         * math/auto-libm-test-in: Add more tests of exp.
26106         * math/auto-libm-test-out: Regenerated.
26107
26108 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26109
26110         [BZ #16759]
26111         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26112         (nscd_getnetgrent): Use it.
26113
26114         [BZ #16760]
26115         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26116         of stpcpy.
26117
26118 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26119
26120         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26121         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26122         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26123         (lll_robust_unlock): Remove out of line section. Use cfi
26124         intrinsics.
26125         (LLL_STUB_UNWIND_INFO*): Remove.
26126         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
26127         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26128         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26129         (lll_robust_unlock): Remove out of line section. Use cfi
26130         intrinsics.
26131         (LLL_STUB_UNWIND_INFO*): Remove.
26132
26133 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26134
26135         [BZ #16758]
26136         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26137         blank values.
26138
26139 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26140
26141         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26142
26143 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26144
26145         [BZ #16198]
26146         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26147         fnstenv.
26148         * math/test-fenv-preserve.c: New file.
26149         * math/Makefile (tests): Add test-fenv-preserve.
26150
26151 2014-03-26  Will Newton <will.newton@linaro.org>
26152
26153         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26154
26155 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26156
26157         * scripts/versionlist.awk: Partition the version sets and emit all
26158         GLIBC_* (sorted) before all others (sorted).
26159
26160 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26161
26162         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26163         GLIBC_2.2.5 version.
26164
26165 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26166
26167         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26168         calls.
26169
26170         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26171         previous change.
26172
26173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26174
26175 2014-03-25  Andreas Schwab  <schwab@suse.de>
26176
26177         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26178         label to be used after in6ailist is initialized.
26179
26180 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26181
26182         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26183         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26184
26185 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26186
26187         [BZ #16357]
26188         [BZ #16599]
26189         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
26190         min_plus_half.
26191         (fp_formats): Update initializers.
26192         (init_fp_formats): Initialize new field.
26193         (output_for_one_input_case): Allow underflow for results up to
26194         min_plus_half.
26195         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26196         * math/auto-libm-test-in: Don't mark some underflows from asin and
26197         atanh as spurious.
26198         * math/auto-libm-test-out: Regenerated.
26199         * sysdeps/i386/fpu/libm-test-ulps: Update.
26200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26201
26202 2014-03-25  Andreas Schwab  <schwab@suse.de>
26203
26204         * libio/Makefile (tst-ftell-partial-wide-ENV)
26205         (tst-ftell-active-handler-ENV): Define.
26206
26207 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
26208
26209         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26210
26211 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26212
26213         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
26214
26215 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26216
26217         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
26218         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26219         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26220
26221 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26222
26223         [BZ #16634]
26224         * elf/dl-load.c (open_verify): Add mode parameter.
26225         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
26226         (open_path): Change from boolean 'secure' to complete flag 'mode'
26227         (_dl_map_object): Adjust.
26228         * elf/Makefile (tests): Add tst-dlopen-aout.
26229         * elf/tst-dlopen-aout.c: New test.
26230
26231 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
26232
26233         [BZ #16714]
26234         * sysdeps/unix/sysv/linux/s390/bits/stat.h
26235         (struct stat): Rename member pad0 to __glibc_reserved0.
26236
26237         [BZ #16712]
26238         * sysdeps/s390/s390-32/bits/wordsize.h
26239         (__WORDSIZE32_SIZE_ULONG): New define.
26240         * sysdeps/s390/s390-64/bits/wordsize.h
26241         (__WORDSIZE32_SIZE_ULONG): Likewise.
26242         * sysdeps/generic/stdint.h (SIZE_MAX):
26243         Define as UL if __WORDSIZE32_SIZE_ULONG.
26244
26245         [BZ #16713]
26246         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
26247         (__glibc_reserved0): New variable.
26248         (sa_flags): Change type to int.
26249
26250         * posix/Makefile (before-compile): Use += before-compile instead
26251         of a :=.
26252
26253         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26254         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26255
26256 2014-03-20  Andreas Schwab  <schwab@suse.de>
26257
26258         [BZ #16743]
26259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
26260         non-matching result from nscd.
26261
26262 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26263
26264         * scripts/bench.py: Moved to ...
26265         * benchtests/scripts/bench.py: ... here.
26266         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
26267
26268 2014-03-24  Andreas Schwab  <schwab@suse.de>
26269
26270         [BZ #16002]
26271         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
26272         alloca_account and account alloca use for struct in6ailist.
26273
26274 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26275
26276         [BZ #16284]
26277         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
26278         rounding mode to recompute results that overflow to infinity or
26279         underflow to zero.
26280         * math/auto-libm-test-in: Don't mark tests as expected to fail for
26281         bug 16284.
26282         * math/auto-libm-test-out: Regenerated.
26283         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
26284         (ccosh_test): Likewise.
26285         (csin_test_data): Use plus_oflow.
26286         (csin_test): Use ALL_RM_TEST.
26287         (csinh_test_data): Use plus_oflow.
26288         (csinh_test): Use ALL_RM_TEST.
26289         * sysdeps/i386/fpu/libm-test-ulps: Update.
26290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26291
26292 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
26293
26294         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
26295         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
26296         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
26297
26298         [BZ #16731]
26299         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
26300         when x - 1 is zero.
26301         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
26302         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
26303         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26304         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
26305         argument is 1.
26306         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
26307         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
26308         zero.
26309         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
26310         * sysdeps/i386/fpu/libm-test-ulps: Update.
26311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26312
26313 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26314
26315         * scripts/bench.pl: Remove file.
26316         * scripts/bench.py: New benchmark script.
26317         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
26318         * benchtests/README: Mention python dependency.
26319         * scripts/pylintrc: New file.
26320         * scripts/pylint: New file.
26321
26322         * bits/mathdef.h: Use #ifdef instead of #if.
26323         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
26324         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26325         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
26326         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26327         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
26328         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26329
26330 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26331             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26332
26333         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
26334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
26335         and strpbrk-ppc64 objects.
26336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26337         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26338         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
26339         multiarch strpbrk for POWER7.
26340         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
26341         multiarch strpbrk for PPC64.
26342         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
26343         ifunc selector.
26344         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
26345         strpbrk for POWER7.
26346
26347 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26348
26349         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
26350         (atan_test): Likewise.
26351         (atanh_test_data): Use NO_TEST_INLINE for two tests.
26352         (atanh_test): Use ALL_RM_TEST.
26353         (atan2_test_data): Likewise.
26354         (cabs_test): Likewise.
26355         (cacosh_test): Likewise.
26356         (carg_test): Likewise.
26357         (casin_test): Likewise.
26358         (casinh_test): Likewise.
26359         (cbrt_test): Likewise.
26360         (csqrt_test): Likewise.
26361         (erf_test): Likewise.
26362         (erfc_test): Likewise.
26363         (pow10_test): Likewise.
26364         (exp2_test): Likewise.
26365         (hypot_test): Likewise.
26366         (j0_test): Likewise.
26367         (j1_test): Likewise.
26368         (lgamma_test): Likewise.
26369         (gamma_test): Likewise.
26370         (sincos_test): Likewise.
26371         (tanh_test): Likewise.
26372         (y0_test): Likewise.
26373         (y1_test): Likewise.
26374         * sysdeps/i386/fpu/libm-test-ulps: Update.
26375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26376
26377 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26378
26379         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
26380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
26381         and strcspn-ppc64 objects.
26382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26383         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
26384         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
26385         multiarch strcspn for POWER7.
26386         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
26387         multiarch strcspn for PPC64.
26388         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
26389         ifunc selector.
26390         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
26391         strcspn for POWER7.
26392
26393 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26394
26395         * math/gen-libm-test.pl (generate_testfile): Expect only function
26396         name as argument to AUTO_TESTS_* and pass results for all rounding
26397         modes to parse_args.
26398         (parse_auto_input): Separate inputs of automatic tests from
26399         outputs before storing in %auto_tests.
26400         * math/libm-test.inc (acos_test_data): Update call to
26401         AUTO_TESTS_f_f.
26402         (acos_test): Use ALL_RM_TEST.
26403         (acos_tonearest_test_data): Remove.
26404         (acos_test_tonearest): Likewise.
26405         (acos_towardzero_test_data): Likewise.
26406         (acos_test_towardzero): Likewise.
26407         (acos_downward_test_data): Likewise.
26408         (acos_test_downward): Likewise.
26409         (acos_upward_test_data): Likewise.
26410         (acos_test_upward): Likewise.
26411         (acosh_test_data): Update call to AUTO_TESTS_f_f.
26412         (asin_test_data): Likewise.
26413         (asin_test): Use ALL_RM_TEST.
26414         (asin_tonearest_test_data): Remove.
26415         (asin_test_tonearest): Likewise.
26416         (asin_towardzero_test_data): Likewise.
26417         (asin_test_towardzero): Likewise.
26418         (asin_downward_test_data): Likewise.
26419         (asin_test_downward): Likewise.
26420         (asin_upward_test_data): Likewise.
26421         (asin_test_upward): Likewise.
26422         (asinh_test_data): Update call to AUTO_TESTS_f_f.
26423         (atan_test_data): Likewise.
26424         (atanh_test_data): Likewise.
26425         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
26426         (cabs_test_data): Update call to AUTO_TESTS_c_f.
26427         (carg_test_data): Likewise.
26428         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
26429         (ccos_test_data): Update call to AUTO_TESTS_c_c.
26430         (ccosh_test_data): Likewise.
26431         (cexp_test_data): Likewise.
26432         (clog_test_data): Likewise.
26433         (clog10_test_data): Likewise.
26434         (cos_test_data): Update call to AUTO_TESTS_f_f.
26435         (cos_test): Use ALL_RM_TEST.
26436         (cos_tonearest_test_data): Remove.
26437         (cos_test_tonearest): Likewise.
26438         (cos_towardzero_test_data): Likewise.
26439         (cos_test_towardzero): Likewise.
26440         (cos_downward_test_data): Likewise.
26441         (cos_test_downward): Likewise.
26442         (cos_upward_test_data): Likewise.
26443         (cos_test_upward): Likewise.
26444         (cosh_test_data): Update call to AUTO_TESTS_f_f.
26445         (cosh_test): Use ALL_RM_TEST.
26446         (cosh_tonearest_test_data): Remove.
26447         (cosh_test_tonearest): Likewise.
26448         (cosh_towardzero_test_data): Likewise.
26449         (cosh_test_towardzero): Likewise.
26450         (cosh_downward_test_data): Likewise.
26451         (cosh_test_downward): Likewise.
26452         (cosh_upward_test_data): Likewise.
26453         (cosh_test_upward): Likewise.
26454         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
26455         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
26456         (ctan_test_data): Likewise.
26457         (ctan_test): Use ALL_RM_TEST.
26458         (ctan_tonearest_test_data): Remove.
26459         (ctan_test_tonearest): Likewise.
26460         (ctan_towardzero_test_data): Likewise.
26461         (ctan_test_towardzero): Likewise.
26462         (ctan_downward_test_data): Likewise.
26463         (ctan_test_downward): Likewise.
26464         (ctan_upward_test_data): Likewise.
26465         (ctan_test_upward): Likewise.
26466         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
26467         (ctanh_test): Use ALL_RM_TEST.
26468         (ctanh_tonearest_test_data): Remove.
26469         (ctanh_test_tonearest): Likewise.
26470         (ctanh_towardzero_test_data): Likewise.
26471         (ctanh_test_towardzero): Likewise.
26472         (ctanh_downward_test_data): Likewise.
26473         (ctanh_test_downward): Likewise.
26474         (ctanh_upward_test_data): Likewise.
26475         (ctanh_test_upward): Likewise.
26476         (erf_test_data): Update call to AUTO_TESTS_f_f.
26477         (erfc_test_data): Likewise.
26478         (exp_test_data): Likewise.
26479         (exp_test): Use ALL_RM_TEST.
26480         (exp_tonearest_test_data): Remove.
26481         (exp_test_tonearest): Likewise.
26482         (exp_towardzero_test_data): Likewise.
26483         (exp_test_towardzero): Likewise.
26484         (exp_downward_test_data): Likewise.
26485         (exp_test_downward): Likewise.
26486         (exp_upward_test_data): Likewise.
26487         (exp_test_upward): Likewise.
26488         (exp10_test_data): Update call to AUTO_TESTS_f_f.
26489         (exp10_test): Use ALL_RM_TEST.
26490         (exp10_tonearest_test_data): Remove.
26491         (exp10_test_tonearest): Likewise.
26492         (exp10_towardzero_test_data): Likewise.
26493         (exp10_test_towardzero): Likewise.
26494         (exp10_downward_test_data): Likewise.
26495         (exp10_test_downward): Likewise.
26496         (exp10_upward_test_data): Likewise.
26497         (exp10_test_upward): Likewise.
26498         (exp2_test_data): Update call to AUTO_TESTS_f_f.
26499         (expm1_test_data): Likewise.
26500         (expm1_test): Use ALL_RM_TEST.
26501         (expm1_tonearest_test_data): Remove.
26502         (expm1_test_tonearest): Likewise.
26503         (expm1_towardzero_test_data): Likewise.
26504         (expm1_test_towardzero): Likewise.
26505         (expm1_downward_test_data): Likewise.
26506         (expm1_test_downward): Likewise.
26507         (expm1_upward_test_data): Likewise.
26508         (expm1_test_upward): Likewise.
26509         (fma_test_data): Update call to AUTO_TESTS_fff_f.
26510         (fma_test): Use ALL_RM_TEST.
26511         (fma_towardzero_test_data): Remove.
26512         (fma_test_towardzero): Likewise.
26513         (fma_downward_test_data): Likewise.
26514         (fma_test_downward): Likewise.
26515         (fma_upward_test_data): Likewise.
26516         (fma_test_upward): Likewise.
26517         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
26518         (j0_test_data): Update call to AUTO_TESTS_f_f.
26519         (j1_test_data): Likewise.
26520         (jn_test_data): Update call to AUTO_TESTS_if_f.
26521         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
26522         (log_test_data): Update call to AUTO_TESTS_f_f.
26523         (log10_test_data): Likewise.
26524         (log1p_test_data): Likewise.
26525         (log2_test_data): Likewise.
26526         (pow_test_data): Update call to AUTO_TESTS_ff_f.
26527         (pow_tonearest_test_data): Likewise.
26528         (sin_test_data): Update call to AUTO_TESTS_f_f.
26529         (sin_test): Use ALL_RM_TEST.
26530         (sin_tonearest_test_data): Remove.
26531         (sin_test_tonearest): Likewise.
26532         (sin_towardzero_test_data): Likewise.
26533         (sin_test_towardzero): Likewise.
26534         (sin_downward_test_data): Likewise.
26535         (sin_test_downward): Likewise.
26536         (sin_upward_test_data): Likewise.
26537         (sin_test_upward): Likewise.
26538         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
26539         (sinh_test_data): Update call to AUTO_TESTS_f_f.
26540         (sinh_test): Use ALL_RM_TEST.
26541         (sinh_tonearest_test_data): Remove.
26542         (sinh_test_tonearest): Likewise.
26543         (sinh_towardzero_test_data): Likewise.
26544         (sinh_test_towardzero): Likewise.
26545         (sinh_downward_test_data): Likewise.
26546         (sinh_test_downward): Likewise.
26547         (sinh_upward_test_data): Likewise.
26548         (sinh_test_upward): Likewise.
26549         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
26550         (sqrt_test): Use ALL_RM_TEST.
26551         (sqrt_tonearest_test_data): Remove.
26552         (sqrt_test_tonearest): Likewise.
26553         (sqrt_towardzero_test_data): Likewise.
26554         (sqrt_test_towardzero): Likewise.
26555         (sqrt_downward_test_data): Likewise.
26556         (sqrt_test_downward): Likewise.
26557         (sqrt_upward_test_data): Likewise.
26558         (sqrt_test_upward): Likewise.
26559         (tan_test_data): Update call to AUTO_TESTS_f_f.
26560         (tan_test): Use ALL_RM_TEST.
26561         (tan_tonearest_test_data): Remove.
26562         (tan_test_tonearest): Likewise.
26563         (tan_towardzero_test_data): Likewise.
26564         (tan_test_towardzero): Likewise.
26565         (tan_downward_test_data): Likewise.
26566         (tan_test_downward): Likewise.
26567         (tan_upward_test_data): Likewise.
26568         (tan_test_upward): Likewise.
26569         (tanh_test_data): Update call to AUTO_TESTS_f_f.
26570         (tgamma_test_data): Likewise.
26571         (y0_test_data): Likewise.
26572         (y1_test_data): Likewise.
26573         (yn_test_data): Update call to AUTO_TESTS_if_f.
26574         (main): Do not call removed functions.
26575
26576 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26577
26578         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
26579         (ldexp_test_data): Remove.
26580         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
26581         scalbn_test_data.
26582         (scalb_test): Use ALL_RM_TEST.
26583
26584 2014-03-19  Andreas Schwab  <schwab@suse.de>
26585
26586         * nscd/nscd.service: Also invalidate netgroup cache on reload.
26587
26588 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26589
26590         [BZ #16649]
26591         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26592         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
26593         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
26594         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26595         (__ASSUME_PREADV): Undefine.
26596         (__ASSUME_PWRITEV): Likewise.
26597
26598 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26599
26600         * bits/mman-linux.h: Add comment about non-Linux use.
26601         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
26602         bits/mman-linux.h resting place.
26603
26604         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
26605         * bits/mman-linux.h: ... here.
26606
26607 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26608
26609         * conform/conformtest.pl: Add standard definition when calling C
26610         preprocessor on data files.
26611         (checknamespace): Remove unused variable.
26612
26613 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26614
26615         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
26616         minus_oflow, plus_uflow and minus_uflow in expected results.
26617         * math/libm-test.inc (scalbn_test_data): Add more tests of
26618         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
26619         minus_uflow.
26620         (scalbn_test): Use ALL_RM_TEST.
26621         (scalbln_test_data): Add more tests of negative arguments.  Use
26622         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
26623         (scalbln_test): Use ALL_RM_TEST.
26624
26625 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26626
26627         * scripts/abilist.awk: Ignore symbols marked with .hidden.
26628
26629 2014-03-18  Will Newton  <will.newton@linaro.org>
26630
26631         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
26632         inaccurate comment.
26633
26634 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26635
26636         * Makerules [!subdir] (check-abi): Exit with error status if a
26637         test failed.
26638
26639 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26640
26641         * math/libm-test.inc (nearbyint_test_data): Include all tests used
26642         for rint.  Include results for all rounding modes.
26643         (nearbyint_test): Use ALL_RM_TEST.
26644         (rint_test_data): Include all tests used for nearbyint.
26645
26646 2014-03-17  Will Newton  <will.newton@linaro.org>
26647
26648         * nptl/sysdeps/pthread/pthread.h: Revert previous
26649         change.
26650
26651         * sysdeps/generic/ldsodefs.h: Revert previous
26652         change.
26653
26654         * libio/genops.c: Revert previous change.
26655         * libio/libioP.h: Likewise.
26656         * stdio-common/vfprintf.c: Likewise.
26657
26658         * sysdeps/generic/math_private.h: Revert previous
26659         change.
26660
26661         * sysdeps/generic/math_private.h: Check whether
26662         HAVE_RM_CTX is defined with #ifdef rather
26663         than #if.
26664
26665         * argp/argp-fmtstream.h: Check whether
26666         __STRICT_ANSI__ is defined with #ifdef rather
26667         than #if.
26668         * argp/argp.h: Likewise.
26669
26670         * libio/genops.c: Check whether
26671         _IO_JUMPS_OFFSET is defined with #ifdef rather
26672         than #if.
26673         * libio/libioP.h: Likewise.
26674         * stdio-common/vfprintf.c: Likewise.
26675
26676         * sysdeps/generic/ldsodefs.h: Check whether
26677         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
26678         than #if.
26679
26680         * nptl/sysdeps/pthread/pthread.h: Check
26681         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
26682         its value.
26683
26684 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26685
26686         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
26687         setting O_APPEND.
26688         * libio/tst-ftell-active-handler.c (do_append_test): Add a
26689         test case.
26690
26691         [BZ #16680]
26692         * libio/fileops.c (_IO_file_open): Seek to end of file but
26693         don't cache the offset.
26694         (get_file_offset): Remove function.
26695         (do_ftell): Use cached offset when available.
26696         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
26697         don't cache the offset.
26698         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
26699         case.
26700         (do_one_test): Call it.
26701         (do_ftell_test): Fix up expected old offset for a+ mode.
26702         * libio/wfileops.c (do_ftell_wide): Used cached offset when
26703         available.
26704
26705         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
26706         up test status with function return status.
26707         (do_write_test): Likewise.
26708         (do_append_test): Likewise.
26709
26710         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
26711         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
26712         Remove.
26713
26714 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26715
26716         * math/gen-libm-test.pl (parse_args): Handle results specified for
26717         each rounding mode separately.
26718         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
26719         tests and results from lrint_tonearest_test_data,
26720         lrint_towardzero_test_data, lrint_downward_test_data and
26721         lrint_upward_test_data.
26722         (lrint_test): Use ALL_RM_TEST.
26723         (lrint_tonearest_test_data): Remove.
26724         (lrint_test_tonearest): Likewise.
26725         (lrint_towardzero_test_data): Likewise.
26726         (lrint_test_towardzero): Likewise.
26727         (lrint_downward_test_data): Likewise.
26728         (lrint_test_downward): Likewise.
26729         (lrint_upward_test_data): Likewise.
26730         (lrint_test_upward): Likewise.
26731         (llrint_test_data): Merge in per-rounding-mode tests and results
26732         from llrint_tonearest_test_data, llrint_towardzero_test_data,
26733         llrint_downward_test_data and llrint_upward_test_data.
26734         (llrint_test): Use ALL_RM_TEST.
26735         (llrint_tonearest_test_data): Remove.
26736         (llrint_test_tonearest): Likewise.
26737         (llrint_towardzero_test_data): Likewise.
26738         (llrint_test_towardzero): Likewise.
26739         (llrint_downward_test_data): Likewise.
26740         (llrint_test_downward): Likewise.
26741         (llrint_upward_test_data): Likewise.
26742         (llrint_test_upward): Likewise.
26743         (rint_test_data): Merge in per-rounding-mode tests and results
26744         from rint_tonearest_test_data, rint_towardzero_test_data,
26745         rint_downward_test_data and rint_upward_test_data.  Add
26746         per-rounding-mode results for tests not in those arrays.
26747         (rint_test): Use ALL_RM_TEST.
26748         (rint_tonearest_test_data): Remove.
26749         (rint_test_tonearest): Likewise.
26750         (rint_towardzero_test_data): Likewise.
26751         (rint_test_towardzero): Likewise.
26752         (rint_downward_test_data): Likewise.
26753         (rint_test_downward): Likewise.
26754         (rint_upward_test_data): Likewise.
26755         (rint_test_upward): Likewise.
26756         (main): Don't call removed functions.
26757
26758 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26759
26760         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
26761         "Compiled on ..." crapola.  It is anti-useful.
26762
26763 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
26764
26765         * scripts/evaluate-test.sh: Handle fourth argument to determine
26766         whether test run should stop on failure.
26767         * Makeconfig (stop-on-test-failure): New variable.
26768         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
26769         $(stop-on-test-failure).
26770         * Makefile (tests): Give a summary of results from testing and
26771         exit with failure status if they include an ERROR or FAIL.
26772         (xtests): Likewise.
26773         * manual/install.texi (Configuring and compiling): Mention
26774         stop-on-test-failure=y.
26775         * INSTALL: Regenerated.
26776
26777 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26778
26779         * scripts/versionlist.awk: New file.
26780         * Makerules [$(build-shared) = yes]
26781         (postclean-generated): Add Versions.def, not Versions.def.v and
26782         Versions.def.v.i.
26783         ($(common-objpfx)Versions.def.v.i): Target removed.
26784         ($(common-objpfx)Versions.def): New target.
26785         ($(common-objpfx)Versions.all): Depend on that rather that
26786         $(common-objpfx)Versions.def.v.
26787         * Versions.def: File removed.
26788
26789         * Makeconfig (+gccwarn): Add -Wundef.
26790         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
26791         a dl-sysdep.h breaking its contract.
26792         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
26793         * include/stackinfo.h: New file.
26794         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
26795         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
26796         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
26797         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
26798         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
26799         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
26800         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26801         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26802         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26803         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26804         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26805         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
26806         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26807         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26808         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26809
26810 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26811
26812         [BZ #16707]
26813         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
26814         implementation.
26815         * math/libm-test.inc (round_test_data): Add more tests.
26816
26817         [BZ #16706]
26818         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
26819         implementation.
26820         * math/libm-test.inc (nearbyint_test_data): Add more tests.
26821
26822         [BZ #16701]
26823         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
26824         implementation.
26825         * math/libm-test.inc (ceil_test_data): Add more tests.
26826
26827         * math/libm-test.inc (trunc_test_data): Add more tests related to
26828         BZ#16414.
26829
26830 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26831
26832         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
26833         with #if rather than #ifdef.
26834         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
26835
26836 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
26837
26838         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
26839         first.  Disable AVX-512 GCC support if assembler doesn't support
26840         it.
26841         * sysdeps/x86_64/configure: Regenerated.
26842
26843 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
26844
26845         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
26846         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
26847         (__old_pthread_attr_setstack): Likewise.
26848         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
26849         [!_STACK_GROWS_DOWN]: Likewise.
26850
26851 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
26852
26853         * config.make.in (have-bash2): Delete.
26854         * configure.ac (libc_cv_have_bash2): Delete.
26855         * configure: Regenerate.
26856         * elf/Makefile (common-ldd-rewrite): Rename to ...
26857         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
26858         (sh-ldd-rewrite): Delete.
26859         (bash-ldd-rewrite): Delete.
26860         (have-bash2): Delete checks.
26861         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
26862         ldd-rewrite.
26863
26864         * config.make.in (have-ksh): Delete.
26865         (KSH): Delete.
26866         * configure.ac (libc_cv_have_ksh): Delete.
26867         * configure: Regenerate.
26868
26869         * elf/Makefile: Delete $(have-ksh) check.
26870         ($(objpfx)sotruss): Change KSH to BASH.
26871         * elf/sotruss.ksh: Rename to ...
26872         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
26873         function style to match POSIX.  Drop ksh vim mode setting.
26874
26875         * manual/time.texi (Specifying the Time Zone with TZ): Change
26876         Tuesday to Thursday.
26877
26878         * debug/tst-longjmp_chk2.c: Update header comment.
26879         (stackoverflow_handler): Add comment.  Call assert on pass value.
26880
26881 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
26882
26883         [BZ #16194]
26884         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
26885         (HAVE_AVX512_ASM_SUPPORT): Likewise.
26886         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
26887         (La_x86_64_vector): Add zmm.
26888         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
26889         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
26890         ($(objpfx)tst-audit10): New target.
26891         ($(objpfx)tst-audit10.out): Likewise.
26892         (tst-audit10-ENV): New.
26893         (AVX512-CFLAGS): Likewise.
26894         (CFLAGS-tst-audit10.c): Likewise.
26895         (CFLAGS-tst-auditmod10a.c): Likewise.
26896         (CFLAGS-tst-auditmod10b.c): Likewise.
26897         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
26898         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
26899         * sysdeps/x86_64/configure: Regenerated.
26900         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
26901         AVX-512 zmm register support.
26902         (_dl_x86_64_save_sse): Likewise.
26903         (_dl_x86_64_restore_sse): Likewise.
26904         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
26905         size vector registers.
26906         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
26907         (ZMM_SIZE): Likewise.
26908         * sysdeps/x86_64/tst-audit10.c: New file.
26909         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
26910         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
26911
26912 2014-03-13  Roland McGrath  <roland@hack.frob.com>
26913
26914         * configure.ac (HAVE_EHDR_START): New check.
26915         * configure: Regenerated.
26916         * config.h.in (HAVE_EHDR_START): New #undef.
26917         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
26918         assuming the lowest-addressed segment maps the start of the file.
26919
26920 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
26921
26922         * INSTALL: Regenerated.
26923
26924 2014-03-13  Will Newton  <will.newton@linaro.org>
26925
26926         * manual/setjmp.texi (System V contexts): Improve
26927         clarity and grammar of documentation.
26928
26929 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26930
26931         [BZ #16381]
26932         * elf/Makefile (tests): Add tst-pie2.
26933         (tests-pie): Add tst-pie2.
26934         * elf/tst-pie2.c: New file.
26935         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
26936         for ET_EXEC.
26937         * elf/rtld.c (map_doit): Load executable as lt_executable.
26938         (dl_main): Likewise.
26939
26940 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
26941
26942         [BZ #16642]
26943         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26944         (__ASSUME_PSELECT): Undefine.
26945
26946 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26947
26948         [BZ #16689]
26949         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
26950         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
26951         static build.
26952         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
26953         selector for static builds.
26954
26955 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26956
26957         [BZ #16695]
26958         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
26959         key in the buffer.
26960
26961 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26962
26963         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
26964         IFUNC selector for static builds.
26965
26966 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
26967
26968         * sysdeps/mips/math_private.h [__mips_hard_float]
26969         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
26970         libc_feresetround_mips_ctx.
26971         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
26972         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
26973         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
26974
26975         [BZ #16677]
26976         * math/s_nextafter.c (__nextafter): Do not return value from
26977         overflowing computation.
26978         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
26979         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
26980         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
26981         Likewise.
26982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
26983         Likewise.
26984         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
26985         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
26986
26987 2014-03-11  Roland McGrath  <roland@hack.frob.com>
26988
26989         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
26990         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
26991         Move sfi_sp use from the load-multiple (that no longer sets sp) to
26992         the new mov targetting sp.
26993
26994 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26995
26996         [BZ #16683]
26997         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
26998         Define it for static builds as well.
26999         (NO_BZERO_IMPL): Likewise.
27000
27001 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27002
27003         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27004         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27005         multiarch strspn for PPC64.
27006         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27007         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27009         (__libc_ifunc_impl_list): Likewise.
27010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27011         multiarch optimizations
27012         * string/strspn.c (strspn): Using macro to redefine symbol name.
27013
27014 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27015             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27016
27017         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27018         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27019         multiarch strncat for PPC64.
27020         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27021         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27023         (__libc_ifunc_impl_list): Likewise.
27024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27025         multiarch optimizations
27026
27027 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27028
27029         [BZ #16639]
27030         * nscd/nscd.service: Make service type forking.
27031
27032 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27033
27034         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27035         sign in non default rounding modes.
27036         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27037
27038 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27039
27040         * math/libm-test.inc (ALL_RM_TEST): New macro.
27041         (ceil_test): Use ALL_RM_TEST.
27042         (cimag_test): Likewise.
27043         (conj_test): Likewise.
27044         (copysign_test): Likewise.
27045         (cproj_test): Likewise.
27046         (creal_test): Likewise.
27047         (fabs_test): Likewise.
27048         (floor_test): Likewise.
27049         (fmax_test): Likewise.
27050         (fmin_test): Likewise.
27051         (fmod_test): Likewise.
27052         (fpclassify_test): Likewise.
27053         (frexp_test): Likewise.
27054         (ilogb_test): Likewise.
27055         (isfinite_test): Likewise.
27056         (finite_test): Likewise.
27057         (isgreater_test): Likewise.
27058         (isgreaterequal_test): Likewise.
27059         (isinf_test): Likewise.
27060         (isless_test): Likewise.
27061         (islessequal_test): Likewise.
27062         (islessgreater_test): Likewise.
27063         (isnan_test): Likewise.
27064         (isnormal_test): Likewise.
27065         (issignaling_test): Likewise.
27066         (isunordered_test): Likewise.
27067         (logb_test): Likewise.
27068         (logb_downward_test_data): Remove.
27069         (logb_test_downward): Likewise.
27070         (lround_test): Use ALL_RM_TEST.
27071         (llround_test): Likewise.
27072         (modf_test): Likewise.
27073         (nexttoward_test): Likewise.
27074         (remainder_test): Likewise.
27075         (drem_test): Likewise.
27076         (remainder_tonearest_test_data): Likewise.
27077         (remainder_test_tonearest): Likewise.
27078         (drem_test_tonearest): Likewise.
27079         (remainder_towardzero_test_data): Likewise.
27080         (remainder_test_towardzero): Likewise.
27081         (drem_test_towardzero): Likewise.
27082         (remainder_downward_test_data): Likewise.
27083         (remainder_test_downward): Likewise.
27084         (drem_test_downward): Likewise.
27085         (remainder_upward_test_data): Likewise.
27086         (remainder_test_upward): Likewise.
27087         (drem_test_upward): Likewise.
27088         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27089         (round_test): Use ALL_RM_TEST.
27090         (signbit_test): Likewise.
27091         (trunc_test): Likewise.
27092         (significand_test): Likewise.
27093         (main): Don't call removed functions.
27094
27095 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27096
27097         [BZ #16674]
27098         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27099         || __USE_XOPEN2K8].
27100         (ILL_ILLOPN): Likewise.
27101         (ILL_ILLADR): Likewise.
27102         (ILL_ILLTRP): Likewise.
27103         (ILL_PRVOPC): Likewise.
27104         (ILL_PRVREG): Likewise.
27105         (ILL_COPROC): Likewise.
27106         (ILL_BADSTK): Likewise.
27107         (FPE_INTDIV): Likewise.
27108         (FPE_INTOVF): Likewise.
27109         (FPE_FLTDIV): Likewise.
27110         (FPE_FLTOVF): Likewise.
27111         (FPE_FLTUND): Likewise.
27112         (FPE_FLTRES): Likewise.
27113         (FPE_FLTINV): Likewise.
27114         (FPE_FLTSUB): Likewise.
27115         (SEGV_MAPERR): Likewise.
27116         (SEGV_ACCERR): Likewise.
27117         (BUS_ADRALN): Likewise.
27118         (BUS_ADRERR): Likewise.
27119         (BUS_OBJERR): Likewise.
27120         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27121         (TRAP_TRACE): Likewise.
27122         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27123         __USE_XOPEN2K8].
27124         (CLD_KILLED): Likewise.
27125         (CLD_DUMPED): Likewise.
27126         (CLD_TRAPPED): Likewise.
27127         (CLD_STOPPED): Likewise.
27128         (CLD_CONTINUED): Likewise.
27129         (POLL_IN): Likewise.
27130         (POLL_OUT): Likewise.
27131         (POLL_MSG): Likewise.
27132         (POLL_ERR): Likewise.
27133         (POLL_PRI): Likewise.
27134         (POLL_HUP): Likewise.
27135         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27136         Likewise.
27137         (ILL_ILLOPN): Likewise.
27138         (ILL_ILLADR): Likewise.
27139         (ILL_ILLTRP): Likewise.
27140         (ILL_PRVOPC): Likewise.
27141         (ILL_PRVREG): Likewise.
27142         (ILL_COPROC): Likewise.
27143         (ILL_BADSTK): Likewise.
27144         (FPE_INTDIV): Likewise.
27145         (FPE_INTOVF): Likewise.
27146         (FPE_FLTDIV): Likewise.
27147         (FPE_FLTOVF): Likewise.
27148         (FPE_FLTUND): Likewise.
27149         (FPE_FLTRES): Likewise.
27150         (FPE_FLTINV): Likewise.
27151         (FPE_FLTSUB): Likewise.
27152         (SEGV_MAPERR): Likewise.
27153         (SEGV_ACCERR): Likewise.
27154         (BUS_ADRALN): Likewise.
27155         (BUS_ADRERR): Likewise.
27156         (BUS_OBJERR): Likewise.
27157         (BUS_MCEERR_AR): Likewise.
27158         (BUS_MCEERR_AO): Likewise.
27159         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27160         (TRAP_TRACE): Likewise.
27161         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27162         __USE_XOPEN2K8].
27163         (CLD_KILLED): Likewise.
27164         (CLD_DUMPED): Likewise.
27165         (CLD_TRAPPED): Likewise.
27166         (CLD_STOPPED): Likewise.
27167         (CLD_CONTINUED): Likewise.
27168         (POLL_IN): Likewise.
27169         (POLL_OUT): Likewise.
27170         (POLL_MSG): Likewise.
27171         (POLL_ERR): Likewise.
27172         (POLL_PRI): Likewise.
27173         (POLL_HUP): Likewise.
27174         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27175         (ILL_ILLOPN): Likewise.
27176         (ILL_ILLADR): Likewise.
27177         (ILL_ILLTRP): Likewise.
27178         (ILL_PRVOPC): Likewise.
27179         (ILL_PRVREG): Likewise.
27180         (ILL_COPROC): Likewise.
27181         (ILL_BADSTK): Likewise.
27182         (FPE_INTDIV): Likewise.
27183         (FPE_INTOVF): Likewise.
27184         (FPE_FLTDIV): Likewise.
27185         (FPE_FLTOVF): Likewise.
27186         (FPE_FLTUND): Likewise.
27187         (FPE_FLTRES): Likewise.
27188         (FPE_FLTINV): Likewise.
27189         (FPE_FLTSUB): Likewise.
27190         (SEGV_MAPERR): Likewise.
27191         (SEGV_ACCERR): Likewise.
27192         (BUS_ADRALN): Likewise.
27193         (BUS_ADRERR): Likewise.
27194         (BUS_OBJERR): Likewise.
27195         (BUS_MCEERR_AR): Likewise.
27196         (BUS_MCEERR_AO): Likewise.
27197         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27198         (TRAP_TRACE): Likewise.
27199         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27200         __USE_XOPEN2K8].
27201         (CLD_KILLED): Likewise.
27202         (CLD_DUMPED): Likewise.
27203         (CLD_TRAPPED): Likewise.
27204         (CLD_STOPPED): Likewise.
27205         (CLD_CONTINUED): Likewise.
27206         (POLL_IN): Likewise.
27207         (POLL_OUT): Likewise.
27208         (POLL_MSG): Likewise.
27209         (POLL_ERR): Likewise.
27210         (POLL_PRI): Likewise.
27211         (POLL_HUP): Likewise.
27212         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
27213         Likewise.
27214         (ILL_ILLOPN): Likewise.
27215         (ILL_ILLADR): Likewise.
27216         (ILL_ILLTRP): Likewise.
27217         (ILL_PRVOPC): Likewise.
27218         (ILL_PRVREG): Likewise.
27219         (ILL_COPROC): Likewise.
27220         (ILL_BADSTK): Likewise.
27221         (ILL_BADIADDR): Likewise.
27222         (ILL_BREAK): Likewise.
27223         (FPE_INTDIV): Likewise.
27224         (FPE_INTOVF): Likewise.
27225         (FPE_FLTDIV): Likewise.
27226         (FPE_FLTOVF): Likewise.
27227         (FPE_FLTUND): Likewise.
27228         (FPE_FLTRES): Likewise.
27229         (FPE_FLTINV): Likewise.
27230         (FPE_FLTSUB): Likewise.
27231         (FPE_DECOVF): Likewise.
27232         (FPE_DECDIV): Likewise.
27233         (FPE_DECERR): Likewise.
27234         (FPE_INVASC): Likewise.
27235         (FPE_INVDEC): Likewise.
27236         (SEGV_MAPERR): Likewise.
27237         (SEGV_ACCERR): Likewise.
27238         (SEGV_PSTKOVF): Likewise.
27239         (BUS_ADRALN): Likewise.
27240         (BUS_ADRERR): Likewise.
27241         (BUS_OBJERR): Likewise.
27242         (BUS_MCEERR_AR): Likewise.
27243         (BUS_MCEERR_AO): Likewise.
27244         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27245         (TRAP_TRACE): Likewise.
27246         (TRAP_BRANCH): Likewise.
27247         (TRAP_HWBKPT): Likewise.
27248         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27249         __USE_XOPEN2K8].
27250         (CLD_KILLED): Likewise.
27251         (CLD_DUMPED): Likewise.
27252         (CLD_TRAPPED): Likewise.
27253         (CLD_STOPPED): Likewise.
27254         (CLD_CONTINUED): Likewise.
27255         (POLL_IN): Likewise.
27256         (POLL_OUT): Likewise.
27257         (POLL_MSG): Likewise.
27258         (POLL_ERR): Likewise.
27259         (POLL_PRI): Likewise.
27260         (POLL_HUP): Likewise.
27261         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
27262         (ILL_ILLOPN): Likewise.
27263         (ILL_ILLADR): Likewise.
27264         (ILL_ILLTRP): Likewise.
27265         (ILL_PRVOPC): Likewise.
27266         (ILL_PRVREG): Likewise.
27267         (ILL_COPROC): Likewise.
27268         (ILL_BADSTK): Likewise.
27269         (FPE_INTDIV): Likewise.
27270         (FPE_INTOVF): Likewise.
27271         (FPE_FLTDIV): Likewise.
27272         (FPE_FLTOVF): Likewise.
27273         (FPE_FLTUND): Likewise.
27274         (FPE_FLTRES): Likewise.
27275         (FPE_FLTINV): Likewise.
27276         (FPE_FLTSUB): Likewise.
27277         (SEGV_MAPERR): Likewise.
27278         (SEGV_ACCERR): Likewise.
27279         (BUS_ADRALN): Likewise.
27280         (BUS_ADRERR): Likewise.
27281         (BUS_OBJERR): Likewise.
27282         (BUS_MCEERR_AR): Likewise.
27283         (BUS_MCEERR_AO): Likewise.
27284         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27285         (TRAP_TRACE): Likewise.
27286         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27287         __USE_XOPEN2K8].
27288         (CLD_KILLED): Likewise.
27289         (CLD_DUMPED): Likewise.
27290         (CLD_TRAPPED): Likewise.
27291         (CLD_STOPPED): Likewise.
27292         (CLD_CONTINUED): Likewise.
27293         (POLL_IN): Likewise.
27294         (POLL_OUT): Likewise.
27295         (POLL_MSG): Likewise.
27296         (POLL_ERR): Likewise.
27297         (POLL_PRI): Likewise.
27298         (POLL_HUP): Likewise.
27299         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
27300         (ILL_ILLOPN): Likewise.
27301         (ILL_ILLADR): Likewise.
27302         (ILL_ILLTRP): Likewise.
27303         (ILL_PRVOPC): Likewise.
27304         (ILL_PRVREG): Likewise.
27305         (ILL_COPROC): Likewise.
27306         (ILL_BADSTK): Likewise.
27307         (FPE_INTDIV): Likewise.
27308         (FPE_INTOVF): Likewise.
27309         (FPE_FLTDIV): Likewise.
27310         (FPE_FLTOVF): Likewise.
27311         (FPE_FLTUND): Likewise.
27312         (FPE_FLTRES): Likewise.
27313         (FPE_FLTINV): Likewise.
27314         (FPE_FLTSUB): Likewise.
27315         (SEGV_MAPERR): Likewise.
27316         (SEGV_ACCERR): Likewise.
27317         (BUS_ADRALN): Likewise.
27318         (BUS_ADRERR): Likewise.
27319         (BUS_OBJERR): Likewise.
27320         (BUS_MCEERR_AR): Likewise.
27321         (BUS_MCEERR_AO): Likewise.
27322         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27323         (TRAP_TRACE): Likewise.
27324         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27325         __USE_XOPEN2K8].
27326         (CLD_KILLED): Likewise.
27327         (CLD_DUMPED): Likewise.
27328         (CLD_TRAPPED): Likewise.
27329         (CLD_STOPPED): Likewise.
27330         (CLD_CONTINUED): Likewise.
27331         (POLL_IN): Likewise.
27332         (POLL_OUT): Likewise.
27333         (POLL_MSG): Likewise.
27334         (POLL_ERR): Likewise.
27335         (POLL_PRI): Likewise.
27336         (POLL_HUP): Likewise.
27337         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
27338         (ILL_ILLOPN): Likewise.
27339         (ILL_ILLADR): Likewise.
27340         (ILL_ILLTRP): Likewise.
27341         (ILL_PRVOPC): Likewise.
27342         (ILL_PRVREG): Likewise.
27343         (ILL_COPROC): Likewise.
27344         (ILL_BADSTK): Likewise.
27345         (FPE_INTDIV): Likewise.
27346         (FPE_INTOVF): Likewise.
27347         (FPE_FLTDIV): Likewise.
27348         (FPE_FLTOVF): Likewise.
27349         (FPE_FLTUND): Likewise.
27350         (FPE_FLTRES): Likewise.
27351         (FPE_FLTINV): Likewise.
27352         (FPE_FLTSUB): Likewise.
27353         (SEGV_MAPERR): Likewise.
27354         (SEGV_ACCERR): Likewise.
27355         (BUS_ADRALN): Likewise.
27356         (BUS_ADRERR): Likewise.
27357         (BUS_OBJERR): Likewise.
27358         (BUS_MCEERR_AR): Likewise.
27359         (BUS_MCEERR_AO): Likewise.
27360         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27361         (TRAP_TRACE): Likewise.
27362         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27363         __USE_XOPEN2K8].
27364         (CLD_KILLED): Likewise.
27365         (CLD_DUMPED): Likewise.
27366         (CLD_TRAPPED): Likewise.
27367         (CLD_STOPPED): Likewise.
27368         (CLD_CONTINUED): Likewise.
27369         (POLL_IN): Likewise.
27370         (POLL_OUT): Likewise.
27371         (POLL_MSG): Likewise.
27372         (POLL_ERR): Likewise.
27373         (POLL_PRI): Likewise.
27374         (POLL_HUP): Likewise.
27375         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
27376         (ILL_ILLOPN): Likewise.
27377         (ILL_ILLADR): Likewise.
27378         (ILL_ILLTRP): Likewise.
27379         (ILL_PRVOPC): Likewise.
27380         (ILL_PRVREG): Likewise.
27381         (ILL_COPROC): Likewise.
27382         (ILL_BADSTK): Likewise.
27383         (ILL_DBLFLT): Likewise.
27384         (ILL_HARDWALL): Likewise.
27385         (FPE_INTDIV): Likewise.
27386         (FPE_INTOVF): Likewise.
27387         (FPE_FLTDIV): Likewise.
27388         (FPE_FLTOVF): Likewise.
27389         (FPE_FLTUND): Likewise.
27390         (FPE_FLTRES): Likewise.
27391         (FPE_FLTINV): Likewise.
27392         (FPE_FLTSUB): Likewise.
27393         (SEGV_MAPERR): Likewise.
27394         (SEGV_ACCERR): Likewise.
27395         (BUS_ADRALN): Likewise.
27396         (BUS_ADRERR): Likewise.
27397         (BUS_OBJERR): Likewise.
27398         (BUS_MCEERR_AR): Likewise.
27399         (BUS_MCEERR_AO): Likewise.
27400         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27401         (TRAP_TRACE): Likewise.
27402         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27403         __USE_XOPEN2K8].
27404         (CLD_KILLED): Likewise.
27405         (CLD_DUMPED): Likewise.
27406         (CLD_TRAPPED): Likewise.
27407         (CLD_STOPPED): Likewise.
27408         (CLD_CONTINUED): Likewise.
27409         (POLL_IN): Likewise.
27410         (POLL_OUT): Likewise.
27411         (POLL_MSG): Likewise.
27412         (POLL_ERR): Likewise.
27413         (POLL_PRI): Likewise.
27414         (POLL_HUP): Likewise.
27415         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
27416         (ILL_ILLOPN): Likewise.
27417         (ILL_ILLADR): Likewise.
27418         (ILL_ILLTRP): Likewise.
27419         (ILL_PRVOPC): Likewise.
27420         (ILL_PRVREG): Likewise.
27421         (ILL_COPROC): Likewise.
27422         (ILL_BADSTK): Likewise.
27423         (FPE_INTDIV): Likewise.
27424         (FPE_INTOVF): Likewise.
27425         (FPE_FLTDIV): Likewise.
27426         (FPE_FLTOVF): Likewise.
27427         (FPE_FLTUND): Likewise.
27428         (FPE_FLTRES): Likewise.
27429         (FPE_FLTINV): Likewise.
27430         (FPE_FLTSUB): Likewise.
27431         (SEGV_MAPERR): Likewise.
27432         (SEGV_ACCERR): Likewise.
27433         (BUS_ADRALN): Likewise.
27434         (BUS_ADRERR): Likewise.
27435         (BUS_OBJERR): Likewise.
27436         (BUS_MCEERR_AR): Likewise.
27437         (BUS_MCEERR_AO): Likewise.
27438         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27439         (TRAP_TRACE): Likewise.
27440         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27441         __USE_XOPEN2K8].
27442         (CLD_KILLED): Likewise.
27443         (CLD_DUMPED): Likewise.
27444         (CLD_TRAPPED): Likewise.
27445         (CLD_STOPPED): Likewise.
27446         (CLD_CONTINUED): Likewise.
27447         (POLL_IN): Likewise.
27448         (POLL_OUT): Likewise.
27449         (POLL_MSG): Likewise.
27450         (POLL_ERR): Likewise.
27451         (POLL_PRI): Likewise.
27452         (POLL_HUP): Likewise.
27453         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
27454         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27455
27456         [BZ #16670]
27457         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
27458         before #include of <time.h>.
27459         [!__USE_XOPEN2K] (__need_timespec): Likewise.
27460         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
27461         (test-xfail-UNIX98/sched.h/conform): Likewise.
27462
27463 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27464
27465         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
27466         error absence of trapping exception support.
27467         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27468
27469 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27470
27471         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
27472         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
27473         * timezone/Makefile (testdata): Move definition above include of
27474         Rules.
27475         (test-zones): New variable.
27476         (tests-special): Add zone files.
27477         (build-testdata): Use $(evaluate-test).
27478
27479         * elf/Makefile (tests-special): Rename tests to end with .out.
27480         ($(objpfx)noload-mem): Likewise.
27481         ($(objpfx)tst-leaks1-mem): Likewise.
27482         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
27483         * iconv/Makefile (xtests-special): Change test-iconvconfig to
27484         $(objpfx)test-iconvconfig.out.
27485         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
27486         set -e inside subshell and redirect output to file.
27487         * iconvdata/Makefile (generated): Rename tests to end with .out.
27488         Correct type.
27489         (tests-special): Rename tests to end with .out.
27490         ($(objpfx)mtrace-tst-loading): Likewise.
27491         * intl/Makefile (generated): Likewise.
27492         (tests-special): Likewise.
27493         ($(objpfx)mtrace-tst-gettext): Likewise.
27494         * misc/Makefile (generated): Likewise.
27495         (tests-special): Likewise.
27496         ($(objpfx)tst-error1-mem): Likewise.
27497         * nptl/Makefile (tests-special): Likewise.
27498         ($(objpfx)tst-stack3-mem): Likewise.
27499         (generated): Likewise.
27500         * posix/Makefile (generated): Likewise.
27501         (tests-special): Likewise.
27502         (xtests-special): Likewise.
27503         ($(objpfx)tst-fnmatch-mem): Likewise.
27504         ($(objpfx)bug-regex2-mem): Likewise.
27505         ($(objpfx)bug-regex14-mem): Likewise.
27506         ($(objpfx)bug-regex21-mem): Likewise.
27507         ($(objpfx)bug-regex31-mem): Likewise.
27508         ($(objpfx)tst-vfork3-mem): Likewise.
27509         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
27510         ($(objpfx)tst-pcre-mem): Likewise.
27511         ($(objpfx)tst-boost-mem): Likewise.
27512         ($(objpfx)bug-ga2-mem): Likewise.
27513         ($(objpfx)bug-glob2-mem): Likewise.
27514         * resolv/Makefile (generate): Likewise.
27515         (tests-special): Likewise.
27516         (xtests-special): Likewise.
27517         (generated): Likewise.
27518         ($(objpfx)mtrace-tst-leaks): Likewise.
27519         ($(objpfx)mtrace-tst-leaks2): Likewise.
27520
27521         * scripts/merge-test-results.sh: New file.
27522         * Makefile (tests-special-notdir): New variable.
27523         (tests): Run merge-test-results.sh.
27524         (xtests): Likewise.
27525         * Rules (tests-special-notdir): New variable.
27526         (xtests-special-notdir): Likewise.
27527         (tests): Run merge-test-results.sh
27528         (xtests): Likewise.
27529
27530         * Makeconfig (test-xfail-name): New variable.
27531         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
27532         compute variable name for expected failures.
27533         * conform/Makefile (conformtest-headers-data): New variable.
27534         (conformtest-standards): Likewise.
27535         (conformtest-headers-ISO): Likewise.
27536         (conformtest-headers-ISO99): Likewise.
27537         (conformtest-headers-ISO11): Likewise.
27538         (conformtest-headers-POSIX): Likewise.
27539         (conformtest-headers-XPG3): Likewise.
27540         (conformtest-headers-XPG4): Likewise.
27541         (conformtest-headers-UNIX98): Likewise.
27542         (conformtest-headers-XOPEN2K): Likewise.
27543         (conformtest-headers-POSIX2008): Likewise.
27544         (conformtest-headers-XOPEN2K8): Likewise.
27545         (conformtest-header-list-base): Likewise.
27546         (conformtest-header-list-tests): Likewise.
27547         (conformtest-header-base): Likewise.
27548         (conformtest-header-tests): Likewise.
27549         (tests-special): Add $(conformtest-header-list-tests).  If
27550         [$(fast-check) && !$(cross-compiling)], add
27551         $(conformtest-header-tests) instead of
27552         $(objpfx)run-conformtest.out.
27553         (generated): Add $(conformtest-header-list-base).  If
27554         [$(fast-check) && !$(cross-compiling)], add
27555         $(conformtest-header-base).  Remove previous setting.
27556         ($(conformtest-header-list-tests)): New target.
27557         (test-xfail-run-conformtest): Remove variable.
27558         ($(objpfx)run-conformtest.out): Remove target.
27559         (test-xfail-ISO11/complex.h/conform): New variable.
27560         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27561         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27562         (test-xfail-XPG3/varargs.h/conform): Likewise.
27563         (test-xfail-XPG4/varargs.h/conform): Likewise.
27564         (test-xfail-UNIX98/varargs.h/conform): Likewise.
27565         (test-xfail-XPG4/ndbm.h/conform): Likewise.
27566         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
27567         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
27568         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
27569         (test-xfail-XPG3/fcntl.h/conform): Likewise.
27570         (test-xfail-XPG3/ftw.h/conform): Likewise.
27571         (test-xfail-XPG3/grp.h/conform): Likewise.
27572         (test-xfail-XPG3/langinfo.h/conform): Likewise.
27573         (test-xfail-XPG3/limits.h/conform): Likewise.
27574         (test-xfail-XPG3/pwd.h/conform): Likewise.
27575         (test-xfail-XPG3/search.h/conform): Likewise.
27576         (test-xfail-XPG3/signal.h/conform): Likewise.
27577         (test-xfail-XPG3/stdio.h/conform): Likewise.
27578         (test-xfail-XPG3/stdlib.h/conform): Likewise.
27579         (test-xfail-XPG3/string.h/conform): Likewise.
27580         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
27581         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
27582         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27583         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27584         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
27585         (test-xfail-XPG3/sys/types.h/conform): Likewise.
27586         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
27587         (test-xfail-XPG3/termios.h/conform): Likewise.
27588         (test-xfail-XPG3/time.h/conform): Likewise.
27589         (test-xfail-XPG3/unistd.h/conform): Likewise.
27590         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
27591         (test-xfail-XPG4/fcntl.h/conform): Likewise.
27592         (test-xfail-XPG4/langinfo.h/conform): Likewise.
27593         (test-xfail-XPG4/netdb.h/conform): Likewise.
27594         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
27595         (test-xfail-XPG4/signal.h/conform): Likewise.
27596         (test-xfail-XPG4/stdio.h/conform): Likewise.
27597         (test-xfail-XPG4/stdlib.h/conform): Likewise.
27598         (test-xfail-XPG4/stropts.h/conform): Likewise.
27599         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27600         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27601         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27602         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27603         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27604         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
27605         (test-xfail-XPG4/sys/time.h/conform): Likewise.
27606         (test-xfail-XPG4/sys/types.h/conform): Likewise.
27607         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
27608         (test-xfail-XPG4/termios.h/conform): Likewise.
27609         (test-xfail-XPG4/ucontext.h/conform): Likewise.
27610         (test-xfail-XPG4/unistd.h/conform): Likewise.
27611         (test-xfail-XPG4/utmpx.h/conform): Likewise.
27612         (test-xfail-POSIX/sched.h/conform): Likewise.
27613         (test-xfail-POSIX/signal.h/conform): Likewise.
27614         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27615         (test-xfail-POSIX/tar.h/conform): Likewise.
27616         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
27617         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
27618         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
27619         (test-xfail-UNIX98/netdb.h/conform): Likewise.
27620         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
27621         (test-xfail-UNIX98/sched.h/conform): Likewise.
27622         (test-xfail-UNIX98/signal.h/conform): Likewise.
27623         (test-xfail-UNIX98/stdio.h/conform): Likewise.
27624         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
27625         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27626         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27627         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27628         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27629         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27630         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27631         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
27632         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27633         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27634         (test-xfail-UNIX98/unistd.h/conform): Likewise.
27635         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
27636         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
27637         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
27638         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
27639         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
27640         (test-xfail-XOPEN2K/math.h/conform): Likewise.
27641         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
27642         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27643         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27644         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
27645         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27646         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
27647         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
27648         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27649         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27650         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27651         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27652         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27653         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27654         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27655         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
27656         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27657         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27658         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27659         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
27660         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27661         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
27662         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
27663         (test-xfail-POSIX2008/signal.h/conform): Likewise.
27664         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27665         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
27666         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27667         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27668         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27669         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
27670         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27671         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27672         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27673         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27674         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
27675         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27676         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27677         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27678         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
27679         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27680         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27681         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27682         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27683         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27684         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
27685         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27686         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
27687         (conformtest-cc-flags): Likewise.
27688         ($(conformtest-header-tests): New target.
27689         * conform/check-header-lists.sh: New file.
27690         * conform/run-conformtest.sh: Remove.
27691
27692         * conform/conformtest.pl: Allow ' and \ in values given for
27693         constants.
27694         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
27695         inclusion.
27696         [POSIX] (sys/types.h): Likewise.
27697         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
27698         inclusion.
27699         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
27700         inclusion.
27701         * conform/data/signal.h-data (SIGIO): Remove expectation.
27702         [XPG3] (SIGBUS): Do not expect.
27703         [POSIX || XPG3] (SIGPOLL): Likewise.
27704         [POSIX || XPG3] (SIGPROF): Likewise.
27705         [POSIX || XPG3] (SIGSYS): Likewise.
27706         [XPG3] (SIGTRAP): Likewise.
27707         [POSIX || XPG3] (SIGURG): Likewise.
27708         [POSIX || XPG3] (SIGVTALRM): Likewise.
27709         [POSIX || XPG3] (SIGXCPU): Likewise.
27710         [POSIX || XPG3] (SIGXFSZ): Likewise.
27711         [POSIX] (SA_SIGINFO): Expect.
27712         [XPG3] (siginfo_t): Do not expect type or contents.
27713         [POSIX] (si_pid): Do not expect element.
27714         [POSIX] (si_uid): Likewise.
27715         [POSIX] (si_addr): Likewise.
27716         [POSIX] (si_status): Likewise.
27717         [POSIX] (si_band): Likewise.
27718         [XPG4] (si_value): Likewise.
27719         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
27720         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
27721         [POSIX || XPG3] (ILL_ILLADR): Likewise.
27722         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
27723         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
27724         [POSIX || XPG3] (ILL_PRVREG): Likewise.
27725         [POSIX || XPG3] (ILL_COPROC): Likewise.
27726         [POSIX || XPG3] (ILL_BADSTK): Likewise.
27727         [POSIX || XPG3] (FPE_INTDIV): Likewise.
27728         [POSIX || XPG3] (FPE_INTOVF): Likewise.
27729         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
27730         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
27731         [POSIX || XPG3] (FPE_FLTUND): Likewise.
27732         [POSIX || XPG3] (FPE_FLTRES): Likewise.
27733         [POSIX || XPG3] (FPE_FLTINV): Likewise.
27734         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
27735         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
27736         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
27737         [POSIX || XPG3] (BUS_ADRALN): Likewise.
27738         [POSIX || XPG3] (BUS_ADRERR): Likewise.
27739         [POSIX || XPG3] (BUS_OBJERR): Likewise.
27740         [POSIX || XPG3] (CLD_EXITED): Likewise.
27741         [POSIX || XPG3] (CLD_KILLED): Likewise.
27742         [POSIX || XPG3] (CLD_DUMPED): Likewise.
27743         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
27744         [POSIX || XPG3] (CLD_STOPPED): Likewise.
27745         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
27746         [POSIX || XPG3] (POLL_IN): Likewise.
27747         [POSIX || XPG3] (POLL_OUT): Likewise.
27748         [POSIX || XPG3] (POLL_MSG): Likewise.
27749         [POSIX || XPG3] (POLL_ERR): Likewise.
27750         [POSIX || XPG3] (POLL_PRI): Likewise.
27751         [POSIX || XPG3] (POLL_HUP): Likewise.
27752         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
27753         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
27754         (SIG*): Do not allow.
27755         [XPG3] (si_*): Likewise.
27756         [XPG3] (SI_*): Likewise.
27757         [XPG3 || XPG4] (sigev_*): Likewise.
27758         [XPG3 || XPG4] (SIGEV_*): Likewise.
27759         [XPG3 || XPG4] (sival_*): Likewise.
27760         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
27761         [POSIX || XPG3] (BUS_*): Likewise.
27762         [POSIX || XPG3] (CLD_*): Likewise.
27763         [POSIX || XPG3] (FPE_*): Likewise.
27764         [POSIX || XPG3] (ILL_*): Likewise.
27765         [POSIX || XPG3] (POLL_*): Likewise.
27766         [POSIX || XPG3] (SEGV_*): Likewise.
27767         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
27768         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
27769         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
27770         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
27771         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
27772         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
27773         Specify type and value.
27774         (TVERSLEN): Likewise.
27775         (REGTYPE): Likewise.
27776         (AREGTYPE): Likewise.
27777         (LNKTYPE): Likewise.
27778         (SYMTYPE): Likewise.
27779         (CHRTYPE): Likewise.
27780         (BLKTYPE): Likewise.
27781         (DIRTYPE): Likewise.
27782         (FIFOTYPE): Likewise.
27783         (CONTTYPE): Likewise.
27784         (TSUID): Likewise.
27785         (TSGID): Likewise.
27786         (TSVTX): Likewise.
27787         (TUREAD): Likewise.
27788         (TUWRITE): Likewise.
27789         (TUEXEC): Likewise.
27790         (TGREAD): Likewise.
27791         (TGWRITE): Likewise.
27792         (TGEXEC): Likewise.
27793         (TOREAD): Likewise.
27794         (TOWRITE): Likewise.
27795         (TOEXEC): Likewise.
27796         [POSIX] (TSVTX): Expect constant.
27797
27798 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
27799
27800         * Makefile (tests): Change dependencies to ....
27801         (tests-special): ... additions to this variable.
27802         (tests): Depend on $(tests-special).
27803         * Makerules (check-abi-list): New variable.
27804         (check-abi): Depend on $(check-abi-list).
27805         [$(subdir) = elf] (tests-special): Add
27806         $(objpfx)check-abi-libc.out.
27807         [$(build-shared) = yes && subdir] (tests-special): Add
27808         $(check-abi-list).
27809         [$(build-shared) = yes && subdir] (tests): Do not depend on
27810         check-abi.
27811         * Rules (tests): Depend on $(tests-special).
27812         (xtests): Depend on $(xtests-special).
27813         * catgets/Makefile (tests): Change dependencies to ....
27814         (tests-special): ... additions to this variable.
27815         * conform/Makefile (tests): Change dependencies to ....
27816         (tests-special): ... additions to this variable.
27817         * elf/Makefile (tests): Change dependencies to ....
27818         (tests-special): ... additions to this variable.
27819         * grp/Makefile (tests): Change dependencies to ....
27820         (tests-special): ... additions to this variable.
27821         * iconv/Makefile (xtests): Change dependencies to ....
27822         (xtests-special): ... additions to this variable.
27823         * iconvdata/Makefile (tests): Change dependencies to ....
27824         (tests-special): ... additions to this variable.
27825         * intl/Makefile (tests): Change dependencies to ....
27826         (tests-special): ... additions to this variable.  Also add
27827         $(objpfx)tst-gettext.out.
27828         * io/Makefile (tests): Change dependencies to ....
27829         (tests-special): ... additions to this variable.
27830         * libio/Makefile (tests): Change dependencies to ....
27831         (tests-special): ... additions to this variable.
27832         * malloc/Makefile (tests): Change dependencies to ....
27833         (tests-special): ... additions to this variable.
27834         * misc/Makefile (tests): Change dependencies to ....
27835         (tests-special): ... additions to this variable.
27836         * nptl/Makefile (tests): Change dependencies to ....
27837         (tests-special): ... additions to this variable.
27838         * nptl_db/Makefile (tests): Change dependencies to ....
27839         (tests-special): ... additions to this variable.
27840         * posix/Makefile (tests): Change dependencies to ....
27841         (tests-special): ... additions to this variable.
27842         (xtests): Change dependencies to ....
27843         (xtests-special): ... additions to this variable.
27844         * resolv/Makefile (tests): Change dependencies to ....
27845         (tests-special): ... additions to this variable.
27846         (xtests): Change dependencies to ....
27847         (xtests-special): ... additions to this variable.
27848         * stdio-common/Makefile (tests): Change dependencies to ....
27849         (tests-special): ... additions to this variable.
27850         (do-tst-unbputc): Remove target.
27851         (do-tst-printf): Likewise.
27852         * stdlib/Makefile (tests): Change dependencies to ....
27853         (tests-special): ... additions to this variable.
27854         * string/Makefile (tests): Change dependencies to ....
27855         (tests-special): ... additions to this variable.
27856         * sysdeps/x86/Makefile (tests): Change dependencies to ....
27857         (tests-special): ... additions to this variable.
27858
27859         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
27860         whole file.
27861         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
27862         whole file.
27863         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
27864         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
27865
27866         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
27867         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
27868         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
27869         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
27870         * conform/data/libgen.h-data [XPG3]: Likewise.
27871         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
27872         * conform/data/ndbm.h-data [XPG3]: Likewise.
27873         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27874         * conform/data/netdb.h-data [XPG3]: Likewise.
27875         * conform/data/netinet/in.h-data [XPG3]: Likewise.
27876         * conform/data/poll.h-data [XPG3]: Likewise.
27877         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27878         * conform/data/strings.h-data [XPG3]: Likewise.
27879         * conform/data/stropts.h-data [XPG3]: Likewise.
27880         * conform/data/sys/mman.h-data [XPG3]: Likewise.
27881         * conform/data/sys/resource.h-data [XPG3]: Likewise.
27882         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
27883         Likewise.
27884         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
27885         * conform/data/sys/time.h-data [XPG3]: Likewise.
27886         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
27887         * conform/data/sys/uio.h-data [XPG3]: Likewise.
27888         * conform/data/sys/un.h-data [XPG3]: Likewise.
27889         * conform/data/syslog.h-data [XPG3]: Likewise.
27890         * conform/data/ucontext.h-data [XPG3]: Likewise.
27891         * conform/data/utmpx.h-data [XPG3]: Likewise.
27892         * conform/data/varargs.h-data [UNIX98]: Enable file.
27893
27894         * manual/Makefile (INSTALL_INFO): Remove variable setting.
27895
27896         * math/libm-test.inc (struct test_f_f_data): Move expected results
27897         into structure for each rounding mode.
27898         (struct test_ff_f_data): Likewise.
27899         (struct test_ff_f_data_nexttoward): Likewise.
27900         (struct test_fi_f_data): Likewise.
27901         (struct test_fl_f_data): Likewise.
27902         (struct test_if_f_data): Likewise.
27903         (struct test_fff_f_data): Likewise.
27904         (struct test_c_f_data): Likewise.
27905         (struct test_f_f1_data): Likewise.
27906         (struct test_fF_f1_data): Likewise.
27907         (struct test_ffI_f1_data): Likewise.
27908         (struct test_c_c_data): Likewise.
27909         (struct test_cc_c_data): Likewise.
27910         (struct test_f_i_data): Likewise.
27911         (struct test_ff_i_data): Likewise.
27912         (struct test_f_l_data): Likewise.
27913         (struct test_f_L_data): Likewise.
27914         (struct test_fFF_11_data): Likewise.
27915         (RM_): New macro.
27916         (RM_FE_DOWNWARD): Likewise.
27917         (RM_FE_TONEAREST): Likewise.
27918         (RM_FE_TOWARDZERO): Likewise.
27919         (RM_FE_UPWARD): Likewise.
27920         (RUN_TEST_LOOP_f_f): Update references to expected results.
27921         (RUN_TEST_LOOP_2_f): Likewise.
27922         (RUN_TEST_LOOP_fff_f): Likewise.
27923         (RUN_TEST_LOOP_c_f): Likewise.
27924         (RUN_TEST_LOOP_f_f1): Likewise.
27925         (RUN_TEST_LOOP_fF_f1): Likewise.
27926         (RUN_TEST_LOOP_fI_f1): Likewise.
27927         (RUN_TEST_LOOP_ffI_f1): Likewise.
27928         (RUN_TEST_LOOP_c_c): Likewise.
27929         (RUN_TEST_LOOP_cc_c): Likewise.
27930         (RUN_TEST_LOOP_f_i): Likewise.
27931         (RUN_TEST_LOOP_f_i_tg): Likewise.
27932         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27933         (RUN_TEST_LOOP_f_b): Likewise.
27934         (RUN_TEST_LOOP_f_b_tg): Likewise.
27935         (RUN_TEST_LOOP_f_l): Likewise.
27936         (RUN_TEST_LOOP_f_L): Likewise.
27937         (RUN_TEST_LOOP_fFF_11): Likewise.
27938         * math/gen-libm-test.pl (parse_args): Output four copies of
27939         expected results for each test.
27940
27941         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27942         (__ASSUME_UTIMES): Remove.
27943         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27944         (__ASSUME_UTIMES): Likewise.
27945
27946         * math/gen-auto-libm-tests.c: Update comment on output format.
27947         (output_for_one_input_case): Generate before-rounding and
27948         after-rounding information as conditions on output flags not
27949         floating-point format.
27950         * math/auto-libm-test-out: Regenerated.
27951         * math/gen-libm-test.pl (cond_value): New function.
27952         (or_cond_value): Use cond_value.
27953         (generate_testfile): Handle conditional exceptions.
27954
27955 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
27956
27957         * math/libm-test.inc (max_valid_error): New variable.
27958         (init_max_error): Take new argument specifying whether function
27959         results are exactly determined.  Set max_valid_error and bound
27960         other variables for errors based on this argument.
27961         (set_max_error): Do not record results above max_valid_error.
27962         (check_float_internal): Only accept errors of up to 0.5ulps if
27963         also at most max_valid_error.
27964         (START): Take new argument EXACT and pass it to init_max_error.
27965         (acos_test): Update call to START.
27966         (acos_test_tonearest): Likewise.
27967         (acos_test_towardzero): Likewise.
27968         (acos_test_downward): Likewise.
27969         (acos_test_upward): Likewise.
27970         (acosh_test): Likewise.
27971         (asin_test): Likewise.
27972         (asin_test_tonearest): Likewise.
27973         (asin_test_towardzero): Likewise.
27974         (asin_test_downward): Likewise.
27975         (asin_test_upward): Likewise.
27976         (asinh_test): Likewise.
27977         (atan_test): Likewise.
27978         (atanh_test): Likewise.
27979         (atan2_test): Likewise.
27980         (cabs_test): Likewise.
27981         (cacos_test): Likewise.
27982         (cacosh_test): Likewise.
27983         (carg_test): Likewise.
27984         (casin_test): Likewise.
27985         (casinh_test): Likewise.
27986         (catan_test): Likewise.
27987         (catanh_test): Likewise.
27988         (cbrt_test): Likewise.
27989         (ccos_test): Likewise.
27990         (ccosh_test): Likewise.
27991         (ceil_test): Likewise.
27992         (cexp_test): Likewise.
27993         (cimag_test): Likewise.
27994         (clog_test): Likewise.
27995         (clog10_test): Likewise.
27996         (conj_test): Likewise.
27997         (copysign_test): Likewise.
27998         (cos_test): Likewise.
27999         (cos_test_tonearest): Likewise.
28000         (cos_test_towardzero): Likewise.
28001         (cos_test_downward): Likewise.
28002         (cos_test_upward): Likewise.
28003         (cosh_test): Likewise.
28004         (cosh_test_tonearest): Likewise.
28005         (cosh_test_towardzero): Likewise.
28006         (cosh_test_downward): Likewise.
28007         (cosh_test_upward): Likewise.
28008         (cpow_test): Likewise.
28009         (cproj_test): Likewise.
28010         (creal_test): Likewise.
28011         (csin_test): Likewise.
28012         (csinh_test): Likewise.
28013         (csqrt_test): Likewise.
28014         (ctan_test): Likewise.
28015         (ctan_test_tonearest): Likewise.
28016         (ctan_test_towardzero): Likewise.
28017         (ctan_test_downward): Likewise.
28018         (ctan_test_upward): Likewise.
28019         (ctanh_test): Likewise.
28020         (ctanh_test_tonearest): Likewise.
28021         (ctanh_test_towardzero): Likewise.
28022         (ctanh_test_downward): Likewise.
28023         (ctanh_test_upward): Likewise.
28024         (erf_test): Likewise.
28025         (erfc_test): Likewise.
28026         (exp_test): Likewise.
28027         (exp_test_tonearest): Likewise.
28028         (exp_test_towardzero): Likewise.
28029         (exp_test_downward): Likewise.
28030         (exp_test_upward): Likewise.
28031         (exp10_test): Likewise.
28032         (exp10_test_tonearest): Likewise.
28033         (exp10_test_towardzero): Likewise.
28034         (exp10_test_downward): Likewise.
28035         (exp10_test_upward): Likewise.
28036         (pow10_test): Likewise.
28037         (exp2_test): Likewise.
28038         (expm1_test): Likewise.
28039         (expm1_test_tonearest): Likewise.
28040         (expm1_test_towardzero): Likewise.
28041         (expm1_test_downward): Likewise.
28042         (expm1_test_upward): Likewise.
28043         (fabs_test): Likewise.
28044         (fdim_test): Likewise.
28045         (floor_test): Likewise.
28046         (fma_test): Likewise.
28047         (fma_test_towardzero): Likewise.
28048         (fma_test_downward): Likewise.
28049         (fma_test_upward): Likewise.
28050         (fmax_test): Likewise.
28051         (fmin_test): Likewise.
28052         (fmod_test): Likewise.
28053         (fpclassify_test): Likewise.
28054         (frexp_test): Likewise.
28055         (hypot_test): Likewise.
28056         (ilogb_test): Likewise.
28057         (isfinite_test): Likewise.
28058         (finite_test): Likewise.
28059         (isgreater_test): Likewise.
28060         (isgreaterequal_test): Likewise.
28061         (isinf_test): Likewise.
28062         (isless_test): Likewise.
28063         (islessequal_test): Likewise.
28064         (islessgreater_test): Likewise.
28065         (isnan_test): Likewise.
28066         (isnormal_test): Likewise.
28067         (issignaling_test): Likewise.
28068         (isunordered_test): Likewise.
28069         (j0_test): Likewise.
28070         (j1_test): Likewise.
28071         (jn_test): Likewise.
28072         (ldexp_test): Likewise.
28073         (lgamma_test): Likewise.
28074         (gamma_test): Likewise.
28075         (lrint_test): Likewise.
28076         (lrint_test_tonearest): Likewise.
28077         (lrint_test_towardzero): Likewise.
28078         (lrint_test_downward): Likewise.
28079         (lrint_test_upward): Likewise.
28080         (llrint_test): Likewise.
28081         (llrint_test_tonearest): Likewise.
28082         (llrint_test_towardzero): Likewise.
28083         (llrint_test_downward): Likewise.
28084         (llrint_test_upward): Likewise.
28085         (log_test): Likewise.
28086         (log10_test): Likewise.
28087         (log1p_test): Likewise.
28088         (log2_test): Likewise.
28089         (logb_test): Likewise.
28090         (logb_test_downward): Likewise.
28091         (lround_test): Likewise.
28092         (llround_test): Likewise.
28093         (modf_test): Likewise.
28094         (nearbyint_test): Likewise.
28095         (nextafter_test): Likewise.
28096         (nexttoward_test): Likewise.
28097         (pow_test): Likewise.
28098         (pow_test_tonearest): Likewise.
28099         (pow_test_towardzero): Likewise.
28100         (pow_test_downward): Likewise.
28101         (pow_test_upward): Likewise.
28102         (remainder_test): Likewise.
28103         (drem_test): Likewise.
28104         (remainder_test_tonearest): Likewise.
28105         (drem_test_tonearest): Likewise.
28106         (remainder_test_towardzero): Likewise.
28107         (drem_test_towardzero): Likewise.
28108         (remainder_test_downward): Likewise.
28109         (drem_test_downward): Likewise.
28110         (remainder_test_upward): Likewise.
28111         (drem_test_upward): Likewise.
28112         (remquo_test): Likewise.
28113         (rint_test): Likewise.
28114         (rint_test_tonearest): Likewise.
28115         (rint_test_towardzero): Likewise.
28116         (rint_test_downward): Likewise.
28117         (rint_test_upward): Likewise.
28118         (round_test): Likewise.
28119         (scalb_test): Likewise.
28120         (scalbn_test): Likewise.
28121         (scalbln_test): Likewise.
28122         (signbit_test): Likewise.
28123         (sin_test): Likewise.
28124         (sin_test_tonearest): Likewise.
28125         (sin_test_towardzero): Likewise.
28126         (sin_test_downward): Likewise.
28127         (sin_test_upward): Likewise.
28128         (sincos_test): Likewise.
28129         (sinh_test): Likewise.
28130         (sinh_test_tonearest): Likewise.
28131         (sinh_test_towardzero): Likewise.
28132         (sinh_test_downward): Likewise.
28133         (sinh_test_upward): Likewise.
28134         (sqrt_test): Likewise.
28135         (sqrt_test_tonearest): Likewise.
28136         (sqrt_test_towardzero): Likewise.
28137         (sqrt_test_downward): Likewise.
28138         (sqrt_test_upward): Likewise.
28139         (tan_test): Likewise.
28140         (tan_test_tonearest): Likewise.
28141         (tan_test_towardzero): Likewise.
28142         (tan_test_downward): Likewise.
28143         (tan_test_upward): Likewise.
28144         (tanh_test): Likewise.
28145         (tgamma_test): Likewise.
28146         (trunc_test): Likewise.
28147         (y0_test): Likewise.
28148         (y1_test): Likewise.
28149         (yn_test): Likewise.
28150         (significand_test): Likewise.
28151
28152         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28153         individual tests in comment.
28154         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28155         (prev_max_error): New variable.
28156         (prev_real_max_error): Likewise.
28157         (prev_imag_max_error): Likewise.
28158         (compare_ulp_data): Don't refer to test names in comment.
28159         (find_test_ulps): Remove function.
28160         (find_function_ulps): Likewise.
28161         (find_complex_function_ulps): Likewise.
28162         (init_max_error): Take function name as argument.  Look up ulps
28163         for that function.
28164         (print_ulps): Remove function.
28165         (print_max_error): Use prev_max_error instead of calling
28166         find_function_ulps.
28167         (print_complex_max_error): Use prev_real_max_error and
28168         prev_imag_max_error instead of calling find_complex_function_ulps.
28169         (check_float_internal): Take max_ulp parameter instead of calling
28170         find_test_ulps.  Don't call print_ulps.
28171         (check_float): Update call to check_float_internal.
28172         (check_complex): Update calls to check_float_internal.
28173         (START): Pass argument to init_max_error.
28174         * math/gen-libm-test.pl (%results): Don't include "kind"
28175         information.
28176         (parse_ulps): Don't handle ulps of individual tests.
28177         (print_ulps_file): Likewise.
28178         (output_ulps): Likewise.
28179         * math/README.libm-test: Update.
28180         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
28181         individual tests.
28182         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
28183         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28184         * sysdeps/arm/libm-test-ulps: Likewise.
28185         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28186         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
28187         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
28188         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
28189         * sysdeps/microblaze/libm-test-ulps: Likewise.
28190         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28191         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28192         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28193         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28194         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28195         * sysdeps/sh/libm-test-ulps: Likewise.
28196         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28197         * sysdeps/tile/libm-test-ulps: Likewise.
28198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28199
28200 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
28201
28202         * math/libm-test.inc (print_complex_max_error): Check separately
28203         whether real and imaginary errors are within allowed range and
28204         pass 0 to print_complex_function_ulps instead of value within
28205         allowed range.
28206
28207 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28208
28209         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
28210         formatting.
28211         (get_handles_fopen): Likewise.
28212         (do_write_test): Likewise.
28213
28214         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
28215
28216         * libio/fileops.c (do_ftell): Use cached offset when
28217         available.
28218         * libio/iofwide.c (do_ftell_wide): Likewise.
28219         * libio/iofdopen.c (_IO_new_fdopen): Don't use
28220         _IO_file_attach.
28221         * libio/wfileops.c (_IO_fwide): Don't cache offset.
28222
28223         [BZ #16532]
28224         * libio/libioP.h (get_file_offset): New function.
28225         * libio/fileops.c (get_file_offset): Likewise.
28226         (do_ftell): Likewise.
28227         (_IO_new_file_seekoff): Split out ftell logic.
28228         * libio/wfileops.c (do_ftell_wide): Likewise.
28229         (_IO_wfile_seekoff): Split out ftell logic.
28230         * libio/tst-ftell-active-handler.c: New test case.
28231         * libio/Makefile (tests): Add it.
28232
28233 2014-03-03  Roland McGrath  <roland@hack.frob.com>
28234
28235         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
28236         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
28237
28238 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28239
28240         [BZ #16639]
28241         * nscd/connections.c (nscd_init): Call do_exit.
28242         (start_threads): Call do_exit and notify_parent.
28243         (begin_drop_privileges): Call do_exit.
28244         (finish_drop_privileges): Likewise.
28245         * nscd/selinux.c (preserve_capabilities): Likewise.
28246         (install_real_capabilities): Likewise.
28247         (nscd_selinux_enabled): Likewise.
28248         (avc_create_thread): Likewise.
28249         (avc_alloc_lock): Likewise.
28250         (nscd_avc_init): Likewise.
28251         * nscd/nscd.c (parent_fd): New static variable.
28252         (main): Create a pipe between parent and child processes.
28253         Skip closing parent_fd.
28254         (monitor_child): New function.
28255         (do_exit): Likewise.
28256         (notify_parent): Likewise.
28257         * nscd/nscd.h (notify_parent): Likewise.
28258         (do_exit): Likewise.
28259
28260 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
28261
28262         * malloc/malloc.c (__libc_calloc): Revert last change.
28263
28264 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28265
28266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28267
28268 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28269
28270         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
28271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
28272         implementation.
28273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28274         (__libc_ifunc_impl_list): Likewise.
28275         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
28276         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
28277         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
28278         * string/strrchr.c: Define STRRCHR.
28279
28280 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
28281
28282         * benchtest/bench-strtok.c (simple_strtok): Delete.
28283         (strtok_string): Use as benchmark.
28284         * string/strtok (STRTOK): New macro.
28285
28286 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
28287
28288         * manual/threads.texi: Add header and standard comments to all
28289         functions.
28290
28291         * elf/dl-lookup.c (check_match): New function.
28292         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
28293         (do_lookup_x): Remove nested function check_match. Use non-nested
28294         function check_match.
28295
28296 2014-02-28  Roland McGrath  <roland@hack.frob.com>
28297
28298         * csu/Makefile (generated, before-compile): Use += rather than =.
28299         * catgets/Makefile (generated, generated-dirs): Likewise.
28300         * debug/Makefile (generated): Likewise.
28301         * dlfcn/Makefile (generated): Likewise.
28302         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
28303         * iconvdata/Makefile (before-compile, generated): Likewise.
28304         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
28305         * libio/Makefile (generated): Likewise.
28306         * malloc/Makefile (generated): Likewise.
28307         * manual/Makefile (generated, generated-dirs): Likewise.
28308         * misc/Makefile (generated): Likewise.
28309         * posix/Makefile (generated): Likewise.
28310         * resolv/Makefile (generated): Likewise.
28311         * sunrpc/Makefile (generated, generated-dirs): Likewise.
28312         * timezone/Makefile (generated, generated-dirs): Likewise.
28313
28314         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28315
28316 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28317
28318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28319         power8 implementation.
28320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
28321         file: POWER8 llround ifunc implementation.
28322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
28323         (__lllround): Add POWER8 implementation.
28324         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
28325         POWER8 llround implementation.
28326
28327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
28328         power8 implementation.
28329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
28330         file: POWER8 llrint ifunc implementation.
28331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
28332         Add POWER8 implementation.
28333         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
28334         POWER8 llrint implementation.
28335
28336         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
28337         power8 implementation.
28338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
28339         file: POWER8 finite ifunc implementation.
28340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
28341         Add POWER8 implementation.
28342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
28343         Likewise.
28344         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
28345         POWER8 finite implementation.
28346         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
28347
28348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
28349         power8 implementation.
28350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
28351         file: POWER8 isinf ifunc implementation.
28352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
28353         POWER8 implementation.
28354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
28355         Likewise.
28356         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
28357         isinf implementation.
28358         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
28359
28360         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
28361         (INIT_ARCH): Add hwcap2 initialization.
28362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28363         power8 implementation.
28364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
28365         file: POWER8 isnan ifunc implementation.
28366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
28367         POWER8 implementation.
28368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
28369         Likewise.
28370         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
28371         isnan implementation.
28372         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
28373
28374 2014-02-27  Joey Ye  <joey.ye@arm.com>
28375
28376         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28377         (_FP_NANFRAC_Q): Set to zero.
28378
28379 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28380
28381         [BZ #16623]
28382         * math/auto-libm-test-in: New test inputs.
28383         * math/auto-libm-test-out: Regenerate.
28384         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
28385         and DA.
28386         (__cos): Likewise.
28387         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28388
28389 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
28390
28391         * scripts/evaluate-test.sh: Take new argument indicating whether
28392         failure is expected.
28393         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
28394         indicating whether failure is expected.
28395         * conform/Makefile (test-xfail-run-conformtest): New variable.
28396         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
28397         level.
28398         * posix/Makefile (test-xfail-annexc): New variable.
28399         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
28400
28401 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
28402
28403         * argp/Makefile: Include Makeconfig immediately after defining
28404         subdir.
28405         * assert/Makefile: Likewise.
28406         * benchtests/Makefile: Likewise.
28407         * catgets/Makefile: Likewise.
28408         * conform/Makefile: Likewise.
28409         * crypt/Makefile: Likewise.
28410         * csu/Makefile: Likewise.
28411         (all): Remove target.
28412         * ctype/Makefile: Include Makeconfig immediately after defining
28413         subdir.
28414         * debug/Makefile: Likewise.
28415         * dirent/Makefile: Likewise.
28416         * dlfcn/Makefile: Likewise.
28417         * gmon/Makefile: Likewise.
28418         * gnulib/Makefile: Likewise.
28419         * grp/Makefile: Likewise.
28420         * gshadow/Makefile: Likewise.
28421         * hesiod/Makefile: Likewise.
28422         * hurd/Makefile: Likewise.
28423         (all): Remove target.
28424         * iconvdata/Makefile: Include Makeconfig immediately after
28425         defining subdir.
28426         * inet/Makefile: Likewise.
28427         * intl/Makefile: Likewise.
28428         * io/Makefile: Likewise.
28429         * libio/Makefile: Likewise.
28430         (all): Remove target.
28431         * locale/Makefile: Include Makeconfig immediately after defining
28432         subdir.
28433         * login/Makefile: Likewise.
28434         * mach/Makefile: Likewise.
28435         (all): Remove target.
28436         * malloc/Makefile: Include Makeconfig immediately after defining
28437         subdir.
28438         (all): Remove target.
28439         * manual/Makefile: Include Makeconfig immediately after defining
28440         subdir.
28441         * math/Makefile: Likewise.
28442         * misc/Makefile: Likewise.
28443         * nis/Makefile: Likewise.
28444         * nss/Makefile: Likewise.
28445         * po/Makefile: Likewise.
28446         (all): Remove target.
28447         * posix/Makefile: Include Makeconfig immediately after defining
28448         subdir.
28449         * pwd/Makefile: Likewise.
28450         * resolv/Makefile: Likewise.
28451         * resource/Makefile: Likewise.
28452         * rt/Makefile: Likewise.
28453         * setjmp/Makefile: Likewise.
28454         * shadow/Makefile: Likewise.
28455         * signal/Makefile: Likewise.
28456         * socket/Makefile: Likewise.
28457         * soft-fp/Makefile: Likewise.
28458         * stdio-common/Makefile: Likewise.
28459         * stdlib/Makefile: Likewise.
28460         * streams/Makefile: Likewise.
28461         * string/Makefile: Likewise.
28462         * sunrpc/Makefile: Likewise.
28463         (all): Remove target.
28464         * sysvipc/Makefile: Include Makeconfig immediately after defining
28465         subdir.
28466         * termios/Makefile: Likewise.
28467         * time/Makefile: Likewise.
28468         * timezone/Makefile: Likewise.
28469         (all): Remove target.
28470         * wcsmbs/Makefile: Include Makeconfig immediately after defining
28471         subdir.
28472         * wctype/Makefile: Likewise.
28473
28474 2014-02-26  Steve Ellcey  <sellcey@mips.com>
28475
28476         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
28477         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
28478         (libc_feholdexcept_setround_mips): Ditto.
28479         (libc_feholdsetround): New.
28480         (libc_feholdsetroundf): New.
28481         (libc_feholdsetroundl): New.
28482         (libc_feupdateenv_test_mips): New.
28483         (libc_feupdateenv_test): New.
28484         (libc_feupdateenv_testf): New.
28485         (libc_feupdateenv_testl): New.
28486         (libc_feresetround): New.
28487         (libc_feresetroundf): New.
28488         (libc_feresetroundl): New.
28489         (libc_fetestexcept_mips): New.
28490         (libc_fetestexcept): New.
28491         (libc_fetestexceptf): New.
28492         (libc_fetestexceptl): New.
28493         (HAVE_RM_CTX): New.
28494         (libc_feholdexcept_setround_mips_ctx): New.
28495         (libc_feholdexcept_setround_ctx): New.
28496         (libc_feholdexcept_setroundf_ctx): New.
28497         (libc_feholdexcept_setroundl_ctx): New.
28498         (libc_fesetenv_mips_ctx): New.
28499         (libc_fesetenv_ctx): New.
28500         (libc_fesetenv_ctxf): New.
28501         (libc_fesetenv_ctxl): New.
28502         (libc_feupdateenv_mips_ctx): New.
28503         (libc_feupdateenv_ctx): New.
28504         (libc_feupdateenvf_ctx): New.
28505         (libc_feupdateenvl_ctx): New.
28506         (libc_feholdsetround_mips_ctx): New.
28507         (libc_feholdsetround_ctx): New.
28508         (libc_feholdsetroundf_ctx): New.
28509         (libc_feholdsetroundl_ctx): New.
28510         (libc_feresetround_mips_ctx): New.
28511         (libc_feresetround_ctx): New.
28512         (libc_feresetroundf_ctx): New.
28513         (libc_feresetroundl_ctx): New.
28514
28515 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
28516
28517         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
28518
28519         * manual/ipc.texi: New file.
28520         * manual/Makefile (chapters): Add ipc.
28521         * manual/job.texi: Add "Inter-Process Communication" to next.
28522         * manual/process.texi: Add "Inter-Process Communication" to prev.
28523
28524 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28525
28526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28527
28528 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
28529
28530         * malloc/malloc.c (__libc_calloc): Simplify implementation.
28531
28532         * manual/arith.texi: Fix spaces after sentences.
28533         * manual/charset.texi: Likewise.
28534         * manual/errno.texi: Likewise.
28535         * manual/install.texi: Likewise.
28536         * manual/llio.texi: Likewise.
28537         * manual/locale.texi: Likewise.
28538         * manual/maint.texi: Likewise.
28539         * manual/math.texi: Likewise.
28540         * manual/memory.texi: Likewise.
28541         * manual/message.texi: Likewise.
28542         * manual/probes.texi: Likewise.
28543         * manual/resource.texi: Likewise.
28544         * manual/signal.texi: Likewise.
28545         * manual/socket.texi: Likewise.
28546         * manual/stdio.texi: Likewise.
28547         * manual/string.texi: Likewise.
28548         * manual/time.texi: Likewise.
28549         * manual/users.texi: Likewise.
28550
28551 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
28552
28553         [BZ #16632]
28554         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
28555         _DEFAULT_SOURCE is defined.
28556
28557 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
28558             Carlos O'Donell  <carlos@redhat.com>
28559
28560         [BZ #16613]
28561         * elf/dl-tls.c (_dl_count_modids): New function.
28562         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
28563         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
28564         audit library and increment generation counter.
28565         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
28566         * elf/tst-audit9.c: New file.
28567         * elf/tst-auditmod9a.c: New file.
28568         * elf/tst-auditmod9b.c: New file.
28569         * elf/Makefile: Add rules to build and run tst-audit9.
28570
28571 2014-02-25  Florian Weimer  <fweimer@redhat.com>
28572
28573         [BZ #15347]
28574         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
28575
28576 2014-02-25  Will Newton  <will.newton@linaro.org>
28577
28578         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
28579         (__longjmp): Restore sp and lr before restoring callee
28580         saved registers.  Add longjmp and longjmp_target
28581         SystemTap probe point.
28582         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
28583         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
28584         Define to zero to match jmpbuf layout.
28585         * sysdeps/arm/setjmp.S: Include stap-probe.h.
28586         (__sigsetjmp): Save sp and lr before saving callee
28587         saved registers.  Add setjmp SystemTap probe point.
28588
28589 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28590
28591         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28592
28593 2014-02-24  Andreas Schwab  <schwab@suse.de>
28594
28595         [BZ #15804]
28596         * elf/pldd.c (wait_for_ptrace_stop): New function.
28597         (main): Call it after attaching.
28598
28599 2014-02-22  Roland McGrath  <roland@hack.frob.com>
28600
28601         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
28602         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
28603         Versions files is now verboten.
28604         * hurd/Versions (libc: GLIBC_2.0):
28605         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
28606         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
28607         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
28608         * mach/Versions: Likewise.
28609
28610         * csu/Versions: Remove unused %include.
28611         * resolv/Versions: Likewise.
28612
28613 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
28614
28615         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
28616         ($(objpfx)check-local-headers.out): Likewise.
28617         ($(objpfx)begin-end-check.out): Likewise.
28618         * Makerules (check-abi-%.out): Likewise.
28619         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
28620         ($(objpfx)test2.cat): Likewise.
28621         ($(objpfx)de/libc.cat): Likewise.
28622         ($(objpfx)test-gencat.out): Likewise.
28623         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
28624         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
28625         ($(objpfx)noload-mem): Likewise.
28626         ($(objpfx)tst-pathopt.out): Likewise.
28627         ($(objpfx)tst-rtld-load-self.out): Likewise.
28628         ($(objpfx)tst-array1-cmp.out): Likewise.
28629         ($(objpfx)tst-array1-static-cmp.out): Likewise.
28630         ($(objpfx)tst-array2-cmp.out): Likewise.
28631         ($(objpfx)tst-array3-cmp.out): Likewise.
28632         ($(objpfx)tst-array4-cmp.out): Likewise.
28633         ($(objpfx)tst-array5-cmp.out): Likewise.
28634         ($(objpfx)tst-array5-static-cmp.out): Likewise.
28635         ($(objpfx)check-textrel.out): Likewise.
28636         ($(objpfx)check-execstack.out): Likewise.
28637         ($(objpfx)check-localplt.out): Likewise.
28638         ($(objpfx)order2-cmp.out): Likewise.
28639         ($(objpfx)tst-leaks1-mem): Likewise.
28640         ($(objpfx)tst-leaks1-static-mem): Likewise.
28641         ($(objpfx)tst-initorder-cmp.out): Likewise.
28642         ($(objpfx)tst-initorder2-cmp.out): Likewise.
28643         ($(objpfx)tst-unused-dep.out): Likewise.
28644         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
28645         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28646         * iconv/Makefile (test-iconvconfig): Likewise.
28647         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
28648         ($(objpfx)iconv-test.out): Likewise.
28649         ($(objpfx)tst-tables.out): Likewise.
28650         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
28651         ($(objpfx)tst-gettext.out): Likewise.
28652         ($(objpfx)tst-translit.out): Likewise.
28653         ($(objpfx)tst-gettext2.out): Likewise.
28654         ($(objpfx)tst-gettext4.out): Likewise.
28655         ($(objpfx)tst-gettext6.out): Likewise.
28656         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
28657         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28658         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
28659         ($(objpfx)tst-fopenloc-mem.out): Likewise.
28660         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28661         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
28662         * posix/Makefile ($(objpfx)globtest.out): Likewise.
28663         ($(objpfx)wordexp-tst.out): Likewise.
28664         ($(objpfx)annexc.out): Likewise.
28665         ($(objpfx)tst-fnmatch-mem): Likewise.
28666         ($(objpfx)bug-regex2-mem): Likewise.
28667         ($(objpfx)bug-regex14-mem): Likewise.
28668         ($(objpfx)bug-regex21-mem): Likewise.
28669         ($(objpfx)bug-regex31-mem): Likewise.
28670         ($(objpfx)tst-vfork3-mem): Likewise.
28671         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28672         ($(objpfx)tst-pcre-mem): Likewise.
28673         ($(objpfx)tst-boost-mem): Likewise.
28674         ($(objpfx)tst-getconf.out): Likewise.
28675         ($(objpfx)bug-ga2-mem): Likewise.
28676         ($(objpfx)bug-glob2-mem): Likewise.
28677         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
28678         ($(objpfx)mtrace-tst-leaks2): Likewise.
28679         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
28680         ($(objpfx)tst-printf.out): Likewise.
28681         ($(objpfx)tst-setvbuf1.out): Likewise.
28682         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
28683         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
28684         ($(objpfx)tst-fmtmsg.out): Likewise.
28685         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
28686         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
28687
28688         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
28689         * bits/sigaction.h [__USE_MISC]: Likewise.
28690         * bits/waitstatus.h: Update #endif comments.
28691         * ctype/ctype.h: Likewise.
28692         * dirent/dirent.h: Likewise.
28693         [__USE_MISC]: Remove redundant conditionals.
28694         * grp/grp.h: Update #endif comments.
28695         [__USE_GNU]: Remove redundant conditionals.
28696         [__USE_MISC]: Likewise.
28697         * inet/netinet/in.h [__USE_GNU]: Likewise.
28698         * io/sys/stat.h [__USE_MISC]: Likewise.
28699         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
28700         * libio/bits/stdio.h: Update #endif comments.
28701         [__USE_MISC]: Remove redundant conditionals.
28702         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
28703         * libio/stdio.h: Update #endif comments.
28704         [__USE_MISC]: Remove redundant conditionals.
28705         * math/bits/math-finite.h [__USE_MISC]: Likewise.
28706         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
28707         * math/math.h: Update #else and #endif comments.
28708         [__USE_MISC]: Remove redundant conditionals.
28709         * misc/sys/uio.h: Update #endif comments.
28710         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
28711         * posix/glob.h [__USE_MISC]: Likewise.
28712         * posix/sys/types.h: Update #endif comments.
28713         [__USE_MISC]: Remove redundant conditionals.
28714         * posix/sys/wait.h: Update #endif comments.
28715         [__USE_MISC]: Remove redundant conditionals.
28716         * posix/unistd.h: Update #endif comments.
28717         [__USE_MISC]: Remove redundant conditionals.
28718         * pwd/pwd.h [__USE_GNU]: Likewise.
28719         [__USE_MISC]: Likewise.
28720         * resolv/netdb.h [__USE_GNU]: Likewise.
28721         * signal/signal.h: Update #endif comments.
28722         [__USE_MISC]: Remove redundant conditionals.
28723         * stdlib/stdlib.h: Update #else and #endif comments.
28724         [__USE_MISC]: Remove redundant conditionals.
28725         [__USE_GNU]: Likewise.
28726         * string/bits/string2.h [__USE_MISC]: Likewise.
28727         * string/string.h: Update #endif comments.
28728         [__USE_MISC]: Remove redundant conditionals.
28729         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
28730         Likewise.
28731         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
28732         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
28733         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
28734         Likewise.
28735         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
28736         Likewise.
28737         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
28738         comments.
28739         [__USE_MISC]: Remove redundant conditionals.
28740         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
28741         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
28742         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
28743         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
28744         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
28745         Likewise.
28746         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
28747         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
28748         Likewise.
28749         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
28750         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
28751         Likewise.
28752         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
28753         Likewise.
28754         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
28755         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
28756         Likewise.
28757         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
28758         Likewise.
28759         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
28760         * sysdeps/x86/bits/string.h: Update #endif comments.
28761         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
28762         conditionals.
28763         * time/sys/time.h: Update #endif comments.
28764         * time/time.h: Likewise.
28765         [__USE_MISC]: Remove redundant conditionals.
28766
28767 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
28768
28769         [BZ #16600]
28770         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
28771
28772 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
28773
28774         * Versions.def (librt): Add GLIBC_2.17.
28775
28776 2014-02-21  Adam Conrad  <adconrad@0c3.net>
28777
28778         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
28779         synonym for _SYS_AUXV_H to allow direct inclusion.
28780         * sysdeps/sparc/bits/hwcap.h: Likewise.
28781         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
28782         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
28783         * sysdeps/sparc/sysdep.h: Likewise.
28784
28785 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28786
28787         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
28788
28789 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28790
28791         * benchtests/bench-strrchr.c: Print length instead of position.
28792
28793 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
28794
28795         [BZ #16611]
28796         * sysdeps/unix/sysv/linux/kernel-features.h
28797         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
28798         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
28799         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
28800         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
28801         Likewise.
28802         [__i386__ || __powerpc__ || __sh__ || __sparc__]
28803         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28804         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
28805         (__ASSUME_SENDMMSG): Define instead of using previous
28806         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
28807         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28808         (__ASSUME_SENDMMSG_SYSCALL): Define.
28809         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28810         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
28811         Likewise.
28812         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28813         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28814         Likewise.
28815         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28816         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28817         Likewise.
28818         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
28819         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28820         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28821         [__ASSUME_SENDMMSG]: Change conditionals to
28822         [__ASSUME_SENDMMSG_SOCKETCALL].
28823         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28824         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
28825         Define.
28826         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28827         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
28828         Likewise.
28829         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
28830         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28831         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28832         [!__ASSUME_SENDMMSG]: Change conditional to
28833         [!__ASSUME_SENDMMSG_SOCKETCALL].
28834         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28835         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28836         Define.
28837
28838         [BZ #16610]
28839         * sysdeps/unix/sysv/linux/kernel-features.h
28840         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
28841         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
28842         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
28843         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
28844         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28845         [__i386__ || __sparc__]
28846         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28847         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
28848         (__ASSUME_RECVMMSG): Define instead of using previous
28849         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
28850         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28851         (__ASSUME_RECVMMSG_SYSCALL): Define.
28852         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28853         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28854         Likewise.
28855         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28856         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28857         Likewise.
28858         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28859         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28860         Likewise.
28861         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
28862         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28863         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28864         [__ASSUME_RECVMMSG]: Change condition to
28865         [__ASSUME_RECVMMSG_SOCKETCALL].
28866         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28867         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28868         Define.
28869         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28870         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28871         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28872         Likewise.
28873         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
28874         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28875         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28876         [!__ASSUME_RECVMMSG]: Change condition to
28877         [!__ASSUME_RECVMMSG_SOCKETCALL].
28878         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28879         (__ASSUME_RECVMMSG_SYSCALL): Define.
28880
28881         [BZ #16609]
28882         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
28883         __powerpc__ || __s390__ || __sh__ || __sparc__]
28884         (__ASSUME_SOCKETCALL): Define.
28885         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
28886         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
28887         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
28888         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
28889         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28890         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28891         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
28892         (__ASSUME_ACCEPT4): Define instead of using previous
28893         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
28894         __powerpc__ || __sparc__ || __s390__)] condition.
28895         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28896         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28897         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
28898         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28899         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28900         [!__ASSUME_ACCEPT4]: Change condition to
28901         [!__ASSUME_ACCEPT4_SOCKETCALL].
28902         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28903         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
28904         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
28905         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28906         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
28907         __ASSUME_ACCEPT4_SYSCALL.
28908         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
28909         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
28910         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28911         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
28912         __ASSUME_ACCEPT4_SYSCALL.
28913         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
28914         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28915         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28916         [__ASSUME_ACCEPT4]: Change condition to
28917         [__ASSUME_ACCEPT4_SOCKETCALL].
28918         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28919         (__ASSUME_SOCKETCALL): Define.
28920         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
28921         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28922         (__ASSUME_SOCKETCALL): Define.
28923         (__ASSUME_ACCEPT4): Remove.
28924         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
28925         Define.
28926         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28927         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
28928         Likewise.
28929         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28930         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28931
28932         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
28933         macro.
28934         (HWCAP_ARM_LPAE): Likewise.
28935         (HWCAP_ARM_EVTSTRM): Likewise.
28936         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
28937         Add vpfd32, lpae and evtstrm.
28938         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
28939         Increase to 22.
28940
28941 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
28942
28943         * math/auto-libm-test-in: Add tests of clog10.
28944         * math/auto-libm-test-out: Regenerated.
28945         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
28946         * sysdeps/i386/fpu/libm-test-ulps: Update.
28947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28948
28949 2014-02-18  Andreas Schwab  <schwab@suse.de>
28950
28951         [BZ #16574]
28952         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
28953         Store non-zero if the second buffer was newly allocated.
28954         (send_dg): Likewise.
28955         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
28956         to send_vc and send_dg.
28957         (res_nsend): Pass NULL for ansp2_malloced.
28958         * resolv/res_query.c (__libc_res_nquery): Add parameter
28959         answerp2_malloced and pass it down to __libc_res_nsend.
28960         (res_nquery): Pass additional NULL to __libc_res_nquery.
28961         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
28962         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
28963         second answer buffer if answerp2_malloced was set.
28964         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
28965         (__libc_res_nquerydomain): Add parameter
28966         answerp2_malloced and pass it down to __libc_res_nquery.
28967         (res_nquerydomain): Pass additional NULL to
28968         __libc_res_nquerydomain.
28969         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
28970         additional NULL to __libc_res_nsend and __libc_res_nquery.
28971         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
28972         additional NULL to __libc_res_nsearch.
28973         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
28974         parameter of __libc_res_nsearch to check for separately allocated
28975         second buffer.
28976         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
28977         __libc_res_nquery.
28978         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
28979         additional NULL to __libc_res_nquery.
28980         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
28981         __libc_res_nsearch.
28982         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
28983         * include/resolv.h: Update prototypes of __libc_res_nquery,
28984         __libc_res_nsearch, __libc_res_nsend.
28985
28986 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
28987
28988         * math/auto-libm-test-in: Add tests of fma.
28989         * math/auto-libm-test-out: Regenerated.
28990         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
28991         (fma_towardzero_test_data): Likewise.
28992         (fma_downward_test_data): Likewise.
28993         (fma_upward_test_data): Likewise.
28994         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
28995         mpc_mode.
28996         (rounding_modes): Add values for new field.
28997         (func_calc_method): Add value mpfr_fff_f.
28998         (func_calc_desc): Add mpfr_fff_f union field.
28999         (test_function): Add field exact_args.
29000         (FUNC): Add macro argument EXACT_ARGS.
29001         (FUNC_mpfr_f_f): Update call to FUNC.
29002         (FUNC_mpfr_f_f): Likewise.
29003         (FUNC_mpfr_ff_f): Likewise.
29004         (FUNC_mpfr_if_f): Likewise.
29005         (FUNC_mpc_c_f): Likewise.
29006         (FUNC_mpc_c_c): Likewise.
29007         (test_functions): Add fma.  Update calls to FUNC.
29008         (handle_input_arg): Add argument exact_args.
29009         (add_test): Update call to handle_input_arg.
29010         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29011         (output_for_one_input_case): Update call to calc_generic_results.
29012         Recalculate exact zero results in each rounding mode.
29013
29014         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29015         non-negative before setting low bit.
29016         * math/auto-libm-test-in: Mark one asin test possibly having
29017         spurious underflow.
29018         * math/auto-libm-test-out: Regenerated.
29019         * sysdeps/i386/fpu/libm-test-ulps: Update.
29020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29021
29022 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29023
29024         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29025         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29026         ports/sysdeps/unix/sysv/linux/microblaze.
29027         * README: Add missing listing for microblaze*-*-linux-gnu.
29028
29029 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29030
29031         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29032         duplicate code
29033
29034 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29035
29036         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29037         * sysdeps/unix/sysv/linux/ia64: Move directory from
29038         ports/sysdeps/unix/sysv/linux/ia64.
29039         * README: Update listing for ia64-*-linux-gnu.
29040
29041 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29042             Joseph Myers  <joseph@codesourcery.com>
29043
29044         * Makeconfig (test-name): New variable.
29045         (evaluate-test): Likewise.
29046         * Makerules (do-test-clean): Remove .test-result files.
29047         (common-mostlyclean): Likewise.
29048         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29049         * scripts/evaluate-test.sh: New file.
29050
29051 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29052
29053         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29054         separate $(objpfx)tst-fopenloc-cmp.out and
29055         $(objpfx)tst-fopenloc-mem.out targets.
29056         (tests): Update dependencies.
29057         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29058         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29059         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29060         (tst-rxspencer-no-utf8-ARGS): New variable.
29061         (tst-rxspencer-no-utf8-ENV): Likewise.
29062         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29063         instead of $(objpfx)tst-rxspencer-mem.
29064         ($(objpfx)tst-rxspencer-mem): Change target to
29065         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29066         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29067         * posix/tst-rxspencer-no-utf8.c: New file.
29068
29069         * elf/Makefile ($(objpfx)order.out): Remove rule.
29070         [$(run-built-tests) = yes] (tests): Depend on
29071         $(objpfx)order-cmp.out.
29072         ($(objpfx)order-cmp.out): New rule.
29073         [$(run-built-tests) = yes] (tests): Depend on
29074         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29075         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29076         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29077         $(objpfx)tst-array5-static-cmp.out.
29078         ($(objpfx)tst-array1.out): Remove rule.
29079         ($(objpfx)tst-array1-cmp.out): New rule.
29080         ($(objpfx)tst-array1-static.out): Remove rule.
29081         ($(objpfx)tst-array1-static-cmp.out): New rule.
29082         ($(objpfx)tst-array2.out): Remove rule.
29083         ($(objpfx)tst-array2-cmp.out): New rule.
29084         ($(objpfx)tst-array3.out): Remove rule.
29085         ($(objpfx)tst-array3-cmp.out): New rule.
29086         ($(objpfx)tst-array4.out): Remove rule.
29087         ($(objpfx)tst-array4-cmp.out): New rule.
29088         ($(objpfx)tst-array5.out): Remove rule.
29089         ($(objpfx)tst-array5-cmp.out): New rule.
29090         ($(objpfx)tst-array5-static.out): Remove rule.
29091         ($(objpfx)tst-array5-static-cmp.out): New rule.
29092         [$(run-built-tests) = yes] (tests): Depend on
29093         $(objpfx)order2-cmp.out.
29094         ($(objpfx)order2.out): Remove rule.
29095         ($(objpfx)order2-cmp.out): New rule.
29096         ($(objpfx)tst-initorder.out): Remove rule.
29097         [$(run-built-tests) = yes] (tests): Depend on
29098         $(objpfx)tst-initorder-cmp.out.
29099         ($(objpfx)tst-initorder-cmp.out): New rule.
29100         ($(objpfx)tst-initorder2.out): Remove rule.
29101         [$(run-built-tests) = yes] (tests): Depend on
29102         $(objpfx)tst-initorder2-cmp.out.
29103         ($(objpfx)tst-initorder2-cmp.out): New rule.
29104         [$(run-built-tests) = yes] (tests): Depend on
29105         $(objpfx)tst-unused-dep-cmp.out.
29106         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29107         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29108         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29109         on $(objpfx)tst-setvbuf1-cmp.out.
29110         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29111         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29112         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29113         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29114         ($(objpfx)tst-svc.out): Remove rule.
29115         ($(objpfx)tst-svc-cmp.out): New rule.
29116
29117 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29118
29119         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29120         * ctype/ctype.h [__USE_MISC]: Likewise.
29121         * dirent/dirent.h [__USE_MISC]: Likewise.
29122         * grp/grp.h [__USE_MISC]: Likewise.
29123         * io/fcntl.h [__USE_MISC]: Likewise.
29124         * io/sys/stat.h [__USE_MISC]: Likewise.
29125         * libio/stdio.h [__USE_MISC]: Likewise.
29126         * posix/unistd.h [__USE_MISC]: Likewise.
29127         * pwd/pwd.h [__USE_MISC]: Likewise.
29128         * stdlib.h [__USE_MISC]: Likewise.
29129         * string/bits/string2.h [__USE_MISC]: Likewise.
29130         * string/string.h [__USE_MISC]: Likewise.
29131         * time/time.h [__USE_MISC]: Likewise.
29132
29133 2014-02-13  Andreas Schwab  <schwab@suse.de>
29134
29135         [BZ #16574]
29136         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29137         second answer buffer if it was separately allocated.
29138
29139 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29140
29141         * sysdeps/mips/math-tests.h: Include <features.h>.
29142         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29143         (ROUNDING_TESTS_long_double): Do not define.
29144         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29145         (EXCEPTION_TESTS_long_double): Likewise.
29146         * sysdeps/mips/mips64/libm-test-ulps: Update.
29147
29148         * include/features.h (__USE_BSD): Remove macro definitions.
29149         (__USE_SVID): Likewise.
29150         (_BSD_SOURCE): Likewise.
29151         (_SVID_SOURCE): Likewise.
29152         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29153         from definition of _DEFAULT_SOURCE.
29154         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29155         [_DEFAULT_SOURCE].
29156         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29157         * bits/mman.h [__USE_BSD]: Likewise.
29158         * bits/termios.h [__USE_BSD]: Likewise.
29159         * bits/waitstatus.h [__USE_BSD]: Likewise.
29160         * ctype/ctype.h [__USE_SVID]: Likewise.
29161         * dirent/dirent.h [__USE_BSD]: Likewise.
29162         * grp/grp.h [__USE_SVID]: Likewise.
29163         [__USE_BSD]: Likewise.
29164         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29165         * io/fcntl.h [__USE_BSD]: Likewise.
29166         * io/ftw.h [__USE_BSD]: Likewise.
29167         * io/sys/stat.h [__USE_BSD]: Likewise.
29168         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29169         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29170         * libio/stdio.h [__USE_SVID]: Likewise.
29171         [__USE_BSD]: Likewise.
29172         * math/math.h [__USE_SVID]: Likewise.
29173         [__USE_BSD]: Likewise.
29174         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29175         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29176         * misc/search.h [__USE_SVID]: Likewise.
29177         * misc/sys/mman.h [__USE_BSD]: Likewise.
29178         * misc/sys/syslog.h [__USE_BSD]: Likewise.
29179         * misc/sys/uio.h [__USE_BSD]: Likewise.
29180         * posix/bits/unistd.h [__USE_BSD]: Likewise.
29181         * posix/glob.h [__USE_BSD]: Likewise.
29182         * posix/regex.h [__USE_BSD]: Likewise.
29183         * posix/sys/types.h [__USE_BSD]: Likewise.
29184         [__USE_SVID]: Likewise.
29185         * posix/sys/utsname.h [__USE_SVID]: Likewise.
29186         * posix/sys/wait.h [__USE_BSD]: Likewise.
29187         [__USE_SVID]: Likewise.
29188         * posix/unistd.h [__USE_BSD]: Likewise.
29189         [__USE_SVID]: Likewise.
29190         * pwd/pwd.h [__USE_SVID]: Likewise.
29191         * resolv/netdb.h [__USE_BSD]: Likewise.
29192         * setjmp/setjmp.h [__USE_BSD]: Likewise.
29193         * signal/signal.h [__USE_BSD]: Likewise.
29194         [__USE_SVID]: Likewise.
29195         * socket/sys/socket.h [__USE_BSD]: Likewise.
29196         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
29197         * stdlib/stdlib.h [__USE_BSD]: Likewise.
29198         [__USE_SVID]: Likewise.
29199         * string/bits/string2.h [__USE_BSD]: Likewise.
29200         [__USE_SVID]: Likewise.
29201         * string/bits/string3.h [__USE_BSD]: Likewise.
29202         * string/endian.h [__USE_BSD]: Likewise.
29203         * string/string.h [__USE_SVID]: Likewise.
29204         [__USE_BSD]: Likewise.
29205         * string/strings.h [__USE_BSD]: Likewise.
29206         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
29207         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
29208         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
29209         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
29210         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
29211         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
29212         Likewise.
29213         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
29214         Likewise.
29215         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
29216         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
29217         Likewise.
29218         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
29219         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
29220         Likewise.
29221         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
29222         Likewise.
29223         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
29224         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
29225         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
29226         Likewise.
29227         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
29228         Likewise.
29229         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
29230         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
29231         * termios/termios.h [__USE_BSD]: Likewise.
29232         * time/sys/time.h [__USE_BSD]: Likewise.
29233         * time/time.h [__USE_BSD]: Likewise.
29234         [__USE_SVID]: Likewise.
29235
29236         * Makefile (subdir_targets): Remove subdir_lint.out.
29237
29238         * stdio-common/Makefile (do-tst-unbputc): Remove target.
29239         (do-tst-printf): Likewise.
29240         (tests): Depend directly on $(objpfx)tst-unbputc.out and
29241         $(objpfx)tst-printf.out.
29242
29243         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
29244
29245         * Makerules (check-abi-%): Change target to
29246         $(objpfx)check-abi-%.out.
29247         (check-abi target): Update dependencies.
29248         (check-abi-pattern variable): Redirect output of diff to $@.
29249         (check-abi variable): Likewise.
29250         * elf/Makefile (check-abi): Update dependencies.
29251
29252         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
29253         unused.
29254         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
29255         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
29256         subnormal range.
29257         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
29258         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
29259         value has largest subnormal exponent.
29260         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
29261         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
29262         * sysdeps/aarch64/soft-fp/sfp-machine.h
29263         (_FP_TININESS_AFTER_ROUNDING): New macro.
29264         * sysdeps/alpha/soft-fp/sfp-machine.h
29265         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29266         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29267         Likewise.
29268         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29269         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29270         * sysdeps/mips/soft-fp/sfp-machine.h
29271         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29272         * sysdeps/powerpc/soft-fp/sfp-machine.h
29273         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29274         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29275         Likewise.
29276         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29277         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29278         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29279         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29280         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29281         Likewise.
29282
29283 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
29284
29285         [BZ #16545]
29286         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
29287         model 1.
29288
29289 2014-02-12  Richard Henderson  <rth@redhat.com>
29290
29291         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
29292         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
29293         * sysdeps/unix/sysv/linux/alpha: Move directory from
29294         ports/sysdeps/unix/sysv/linux/alpha.
29295         * README: Update listing for alpha-*-linux-gnu.
29296
29297 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
29298
29299         * include/features.h: Update comment documenting feature test
29300         macros.
29301         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
29302         _DEFAULT_SOURCE.
29303         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
29304         (_SVID_SOURCE): Likewise.
29305         (_DEFAULT_SOURCE): Update description of default features.
29306         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
29307         with _GNU_SOURCE.
29308         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
29309         (S_ISVTX): Likewise.
29310         * manual/math.texi (Mathematical Constants): Likewise.
29311         * manual/signal.texi (Interrupted Primitives): Likewise.
29312         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
29313         * math/test-matherr.c (_SVID_SOURCE): Do not define.
29314         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
29315         Don't refer to _SVID_SOURCE in warning text.
29316
29317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29318
29319         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
29320         already defined.
29321         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
29322         * sysdeps/mips/dl-lookup.c: Remove.
29323         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29324
29325 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29326
29327         [BZ #16447]
29328         * math/auto-libm-test-in: Add testcase for expl.
29329         * math/auto-libm-test-out: Regenerate.
29330         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
29331         calculation of unsafe.
29332         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
29333
29334 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29335
29336         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
29337         * sysdeps/unix/sysv/linux/aarch64: Move directory from
29338         ports/sysdeps/unix/sysv/linux/aarch64.
29339         * README: Update listing for aarch64*-*-linux-gnu.
29340
29341 2014-02-11  Will Newton  <will.newton@linaro.org>
29342
29343         * manual/probes.texi (Mathematical Function Probes): Use
29344         "triggered" instead of "hit".
29345
29346         * manual/probes.texi (Internal Probes): Add documentation
29347         of setjmp, longjmp and longjmp_target probes.
29348
29349         * include/stap-probe.h: Add comment about probe argument
29350         format.
29351
29352         * malloc/mtrace.c (attribute_hidden): Remove unused macro
29353         definition.  (tr_where, tr_freehook, tr_mallochook,
29354         tr_reallochook, tr_memalignhook): Use ANSI protoype.
29355
29356 2014-02-11  David S. Miller  <davem@davemloft.net>
29357
29358         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
29359         processing int_tests.
29360
29361 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
29362
29363         * sysdeps/mips: Move directory from ports/sysdeps/mips.
29364         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
29365         * sysdeps/unix/sysv/linux/mips: Move directory from
29366         ports/sysdeps/unix/sysv/linux/mips.
29367         * README: Update listing for mips-*-linux-gnu and
29368         mips64-*-linux-gnu.
29369
29370 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
29371
29372         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29373         * sysdeps/unix/sysv/linux/m68k: Move directory from
29374         ports/sysdeps/unix/sysv/linux/m68k.
29375         * README: Update listing for m68k-*-linux-gnu.
29376
29377 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
29378
29379         * sysdeps/tile: Move directory from ports/sysdeps/tile.
29380         * sysdeps/unix/sysv/linux/generic: Move directory from
29381         ports/sysdeps/unix/sysv/linux/generic.
29382         * sysdeps/unix/sysv/linux/tile: Move directory from
29383         ports/sysdeps/unix/sysv/linux/tile.
29384         * README: Update listing for tile*-*-linux-gnu.
29385
29386 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
29387
29388         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
29389         __builtin_expect.
29390         * benchtests/bench-memmem.c (simple_memmem): Likewise.
29391         * catgets/open_catalog.c (__open_catalog): Likewise.
29392         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
29393         * debug/confstr_chk.c: Likewise.
29394         * debug/fread_chk.c (__fread_chk): Likewise.
29395         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
29396         * debug/getgroups_chk.c: Likewise.
29397         * debug/mbsnrtowcs_chk.c: Likewise.
29398         * debug/mbsrtowcs_chk.c: Likewise.
29399         * debug/mbstowcs_chk.c: Likewise.
29400         * debug/memcpy_chk.c: Likewise.
29401         * debug/memmove_chk.c: Likewise.
29402         * debug/mempcpy_chk.c: Likewise.
29403         * debug/memset_chk.c: Likewise.
29404         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29405         * debug/strcat_chk.c (__strcat_chk): Likewise.
29406         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
29407         * debug/strncat_chk.c (__strncat_chk): Likewise.
29408         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
29409         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
29410         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
29411         * debug/wcpncpy_chk.c: Likewise.
29412         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29413         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
29414         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
29415         * debug/wcsncpy_chk.c: Likewise.
29416         * debug/wcsnrtombs_chk.c: Likewise.
29417         * debug/wcsrtombs_chk.c: Likewise.
29418         * debug/wcstombs_chk.c: Likewise.
29419         * debug/wmemcpy_chk.c: Likewise.
29420         * debug/wmemmove_chk.c: Likewise.
29421         * debug/wmempcpy_chk.c: Likewise.
29422         * debug/wmemset_chk.c: Likewise.
29423         * dirent/scandirat.c (SCANDIRAT): Likewise.
29424         * dlfcn/dladdr1.c (dladdr1): Likewise.
29425         * dlfcn/dladdr.c (dladdr): Likewise.
29426         * dlfcn/dlclose.c (dlclose_doit): Likewise.
29427         * dlfcn/dlerror.c (__dlerror): Likewise.
29428         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
29429         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
29430         * dlfcn/dlopen.c (dlopen_doit): Likewise.
29431         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
29432         * dlfcn/dlsym.c (dlsym_doit): Likewise.
29433         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
29434         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
29435         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
29436         Likewise.
29437         * elf/dl-conflict.c: Likewise.
29438         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29439         * elf/dl-dst.h: Likewise.
29440         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
29441         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
29442         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29443         * elf/dl-init.c (call_init, _dl_init): Likewise.
29444         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
29445         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
29446         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
29447         Likewise.
29448         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
29449         Likewise.
29450         * elf/dl-minimal.c (__libc_memalign): Likewise.
29451         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
29452         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29453         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
29454         * elf/dl-sym.c (do_sym): Likewise.
29455         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
29456         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
29457         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
29458         * elf/dl-writev.h (_dl_writev): Likewise.
29459         * elf/ldconfig.c (search_dir): Likewise.
29460         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
29461         (dl_main): Likewise.
29462         * elf/setup-vdso.h (setup_vdso): Likewise.
29463         * grp/compat-initgroups.c (compat_call): Likewise.
29464         * grp/fgetgrent.c (fgetgrent): Likewise.
29465         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
29466         * grp/putgrent.c (putgrent): Likewise.
29467         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29468         Likewise.
29469         * hurd/hurdinit.c: Likewise.
29470         * iconvdata/8bit-gap.c (struct): Likewise.
29471         * iconvdata/ansi_x3.110.c : Likewise.
29472         * iconvdata/big5.c : Likewise.
29473         * iconvdata/big5hkscs.c : Likewise.
29474         * iconvdata/cp1255.c: Likewise.
29475         * iconvdata/cp1258.c : Likewise.
29476         * iconvdata/cp932.c : Likewise.
29477         * iconvdata/euc-cn.c: Likewise.
29478         * iconvdata/euc-jisx0213.c : Likewise.
29479         * iconvdata/euc-jp.c: Likewise.
29480         * iconvdata/euc-jp-ms.c : Likewise.
29481         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
29482         * iconvdata/gb18030.c : Likewise.
29483         * iconvdata/gbbig5.c (const): Likewise.
29484         * iconvdata/gbgbk.c: Likewise.
29485         * iconvdata/gbk.c : Likewise.
29486         * iconvdata/ibm1364.c : Likewise.
29487         * iconvdata/ibm930.c : Likewise.
29488         * iconvdata/ibm932.c: Likewise.
29489         * iconvdata/ibm933.c : Likewise.
29490         * iconvdata/ibm935.c : Likewise.
29491         * iconvdata/ibm937.c : Likewise.
29492         * iconvdata/ibm939.c : Likewise.
29493         * iconvdata/ibm943.c: Likewise.
29494         * iconvdata/iso_11548-1.c: Likewise.
29495         * iconvdata/iso-2022-cn.c : Likewise.
29496         * iconvdata/iso-2022-cn-ext.c : Likewise.
29497         * iconvdata/iso-2022-jp-3.c: Likewise.
29498         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
29499         * iconvdata/iso-2022-kr.c : Likewise.
29500         * iconvdata/iso646.c (gconv_end): Likewise.
29501         * iconvdata/iso_6937-2.c : Likewise.
29502         * iconvdata/iso_6937.c : Likewise.
29503         * iconvdata/iso8859-1.c: Likewise.
29504         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
29505         * iconvdata/shift_jisx0213.c : Likewise.
29506         * iconvdata/sjis.c : Likewise.
29507         * iconvdata/t.61.c : Likewise.
29508         * iconvdata/tcvn5712-1.c : Likewise.
29509         * iconvdata/tscii.c: Likewise.
29510         * iconvdata/uhc.c : Likewise.
29511         * iconvdata/unicode.c (gconv_end): Likewise.
29512         * iconvdata/utf-16.c (gconv_end): Likewise.
29513         * iconvdata/utf-32.c (gconv_end): Likewise.
29514         * iconvdata/utf-7.c (base64): Likewise.
29515         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29516         * iconv/gconv_close.c (__gconv_close): Likewise.
29517         * iconv/gconv_open.c (__gconv_open): Likewise.
29518         * iconv/gconv_simple.c (internal_ucs4_loop_single)
29519         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
29520         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
29521         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
29522         (ucs4le_internal_loop_single): Likewise.
29523         * iconv/iconv.c (iconv): Likewise.
29524         * iconv/iconv_close.c: Likewise.
29525         * iconv/loop.c (SINGLE): Likewise.
29526         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
29527         * include/atomic.h: Likewise.
29528         * inet/inet6_option.c (option_alloc): Likewise.
29529         * intl/bindtextdom.c (set_binding_values): Likewise.
29530         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
29531         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
29532         * intl/localealias.c (read_alias_file): Likewise.
29533         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29534         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
29535         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
29536         * libio/fmemopen.c (fmemopen): Likewise.
29537         * libio/iofgets.c (_IO_fgets): Likewise.
29538         * libio/iofgets_u.c (fgets_unlocked): Likewise.
29539         * libio/iofgetws.c (fgetws): Likewise.
29540         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
29541         * libio/iogetdelim.c (_IO_getdelim): Likewise.
29542         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
29543         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
29544         * locale/findlocale.c (_nl_find_locale): Likewise.
29545         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29546         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
29547         Likewise.
29548         * locale/setlocale.c (setlocale): Likewise.
29549         * login/programs/pt_chown.c (main): Likewise.
29550         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
29551         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
29552         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
29553         (mmap, mmap64, mremap, munmap): Likewise.
29554         * math/e_exp2l.c: Likewise.
29555         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
29556         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
29557         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
29558         * math/s_catan.c (__catan): Likewise.
29559         * math/s_catanf.c (__catanf): Likewise.
29560         * math/s_catanh.c (__catanh): Likewise.
29561         * math/s_catanhf.c (__catanhf): Likewise.
29562         * math/s_catanhl.c (__catanhl): Likewise.
29563         * math/s_catanl.c (__catanl): Likewise.
29564         * math/s_ccosh.c (__ccosh): Likewise.
29565         * math/s_ccoshf.c (__ccoshf): Likewise.
29566         * math/s_ccoshl.c (__ccoshl): Likewise.
29567         * math/s_cexp.c (__cexp): Likewise.
29568         * math/s_cexpf.c (__cexpf): Likewise.
29569         * math/s_cexpl.c (__cexpl): Likewise.
29570         * math/s_clog10.c (__clog10): Likewise.
29571         * math/s_clog10f.c (__clog10f): Likewise.
29572         * math/s_clog10l.c (__clog10l): Likewise.
29573         * math/s_clog.c (__clog): Likewise.
29574         * math/s_clogf.c (__clogf): Likewise.
29575         * math/s_clogl.c (__clogl): Likewise.
29576         * math/s_csin.c (__csin): Likewise.
29577         * math/s_csinf.c (__csinf): Likewise.
29578         * math/s_csinh.c (__csinh): Likewise.
29579         * math/s_csinhf.c (__csinhf): Likewise.
29580         * math/s_csinhl.c (__csinhl): Likewise.
29581         * math/s_csinl.c (__csinl): Likewise.
29582         * math/s_csqrt.c (__csqrt): Likewise.
29583         * math/s_csqrtf.c (__csqrtf): Likewise.
29584         * math/s_csqrtl.c (__csqrtl): Likewise.
29585         * math/s_ctan.c (__ctan): Likewise.
29586         * math/s_ctanf.c (__ctanf): Likewise.
29587         * math/s_ctanh.c (__ctanh): Likewise.
29588         * math/s_ctanhf.c (__ctanhf): Likewise.
29589         * math/s_ctanhl.c (__ctanhl): Likewise.
29590         * math/s_ctanl.c (__ctanl): Likewise.
29591         * math/w_pow.c: Likewise.
29592         * math/w_powf.c: Likewise.
29593         * math/w_powl.c: Likewise.
29594         * math/w_scalb.c (sysv_scalb): Likewise.
29595         * math/w_scalbf.c (sysv_scalbf): Likewise.
29596         * math/w_scalbl.c (sysv_scalbl): Likewise.
29597         * misc/error.c (error_tail): Likewise.
29598         * misc/pselect.c (__pselect): Likewise.
29599         * nis/nis_callback.c (__nis_create_callback): Likewise.
29600         * nis/nis_call.c (__nisfind_server): Likewise.
29601         * nis/nis_creategroup.c (nis_creategroup): Likewise.
29602         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
29603         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
29604         * nis/nis_getservlist.c (nis_getservlist): Likewise.
29605         * nis/nis_lookup.c (nis_lookup): Likewise.
29606         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
29607         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
29608         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
29609         * nis/nis_xdr.c (xdr_endpoint): Likewise.
29610         * nis/nss_compat/compat-grp.c (getgrent_next_file)
29611         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
29612         * nis/nss_compat/compat-initgroups.c (add_group)
29613         (internal_getgrent_r): Likewise.
29614         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
29615         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
29616         * nis/nss_compat/compat-spwd.c (getspent_next_file)
29617         (internal_getspnam_r): Likewise.
29618         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
29619         (_nss_nis_getaliasbyname_r): Likewise.
29620         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
29621         (_nss_nis_getntohost_r): Likewise.
29622         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
29623         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
29624         (_nss_nis_getgrgid_r): Likewise.
29625         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
29626         (internal_nis_gethostent_r, internal_gethostbyname2_r)
29627         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
29628         (_nss_nis_gethostbyname4_r): Likewise.
29629         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
29630         (initgroups_netid): Likewise.
29631         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
29632         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
29633         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
29634         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
29635         (_nss_nis_getprotobynumber_r): Likewise.
29636         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
29637         (_nss_nis_getsecretkey): Likewise.
29638         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
29639         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
29640         (_nss_nis_getpwuid_r): Likewise.
29641         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
29642         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
29643         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
29644         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
29645         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
29646         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
29647         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
29648         Likewise.
29649         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
29650         (_nss_nisplus_getntohost_r): Likewise.
29651         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
29652         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
29653         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
29654         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
29655         Likewise.
29656         * nis/nss_nisplus/nisplus-initgroups.c
29657         (_nss_nisplus_initgroups_dyn): Likewise.
29658         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
29659         (_nss_nisplus_getnetbyaddr_r): Likewise.
29660         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
29661         (_nss_nisplus_getprotobynumber_r): Likewise.
29662         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
29663         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
29664         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
29665         Likewise.
29666         * nis/nss_nisplus/nisplus-service.c
29667         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
29668         (_nss_nisplus_getservbyport_r): Likewise.
29669         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
29670         (_nss_nisplus_getspnam_r): Likewise.
29671         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
29672         Likewise.
29673         * nscd/aicache.c (addhstaiX): Likewise.
29674         * nscd/cache.c (cache_search, prune_cache): Likewise.
29675         * nscd/connections.c (register_traced_file, send_ro_fd)
29676         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
29677         (main_loop_epoll): Likewise.
29678         * nscd/grpcache.c (addgrbyX): Likewise.
29679         * nscd/hstcache.c (addhstbyX): Likewise.
29680         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29681         * nscd/mem.c (gc, mempool_alloc): Likewise.
29682         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
29683         (addinnetgrX): Likewise.
29684         * nscd/nscd-client.h (__nscd_acquire_maplock)
29685         (__nscd_drop_map_ref): Likewise.
29686         * nscd/nscd_getai.c (__nscd_getai): Likewise.
29687         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29688         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
29689         Likewise.
29690         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29691         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29692         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
29693         (__nscd_get_map_ref): Likewise.
29694         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29695         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
29696         Likewise.
29697         * nscd/pwdcache.c (addpwbyX): Likewise.
29698         * nscd/selinux.c (preserve_capabilities): Likewise.
29699         * nscd/servicescache.c (addservbyX): Likewise.
29700         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
29701         * posix/fnmatch.c (fnmatch): Likewise.
29702         * posix/getopt.c (_getopt_internal_r): Likewise.
29703         * posix/glob.c (glob, glob_in_dir): Likewise.
29704         * posix/wordexp.c (exec_comm_child): Likewise.
29705         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
29706         (getanswer_r, gaih_getanswer_slice): Likewise.
29707         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
29708         * resolv/res_init.c: Likewise.
29709         * resolv/res_mkquery.c (res_nmkquery): Likewise.
29710         * resolv/res_query.c (__libc_res_nquery): Likewise.
29711         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
29712         Likewise.
29713         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
29714         * stdio-common/perror.c (perror): Likewise.
29715         * stdio-common/printf_fp.c (___printf_fp): Likewise.
29716         * stdio-common/tmpnam.c (tmpnam): Likewise.
29717         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29718         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29719         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29720         Likewise.
29721         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
29722         * stdlib/putenv.c (putenv): Likewise.
29723         * stdlib/setenv.c (__add_to_environ): Likewise.
29724         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29725         * stdlib/strtol_l.c (INTERNAL): Likewise.
29726         * string/memmem.c (memmem): Likewise.
29727         * string/strerror.c (strerror): Likewise.
29728         * string/strnlen.c (__strnlen): Likewise.
29729         * string/test-memmem.c (simple_memmem): Likewise.
29730         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
29731         * sunrpc/pm_getport.c (__get_socket): Likewise.
29732         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
29733         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
29734         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
29735         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
29736         Likewise.
29737         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29738         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29739         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
29740         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
29741         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
29742         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
29743         Likewise.
29744         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
29745         Likewise.
29746         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29747         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29748         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29749         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29750         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29751         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
29752         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29753         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
29754         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
29755         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
29756         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29757         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
29758         Likewise.
29759         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
29760         Likewise.
29761         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
29762         Likewise.
29763         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
29764         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29765         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
29766         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
29767         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29768         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
29769         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29770         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
29771         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
29772         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
29773         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
29774         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29775         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29776         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
29777         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29778         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29779         Likewise.
29780         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
29781         Likewise.
29782         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
29783         Likewise.
29784         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
29785         Likewise.
29786         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29787         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29788         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
29789         Likewise.
29790         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
29791         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
29792         * sysdeps/posix/opendir.c (__opendirat): Likewise.
29793         * sysdeps/posix/sleep.c: Likewise.
29794         * sysdeps/posix/tempname.c: Likewise.
29795         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
29796         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29797         Likewise.
29798         * sysdeps/powerpc/powerpc32/dl-machine.h
29799         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
29800         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29801         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29802         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
29803         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
29804         Likewise.
29805         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
29806         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
29807         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29808         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
29809         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29810         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
29811         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
29812         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
29813         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29814         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
29815         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
29816         (elf_machine_lazy_rel): Likewise.
29817         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29818         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
29819         (elf_machine_lazy_rel): Likewise.
29820         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
29821         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
29822         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
29823         * sysdeps/unix/grantpt.c (grantpt): Likewise.
29824         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
29825         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
29826         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29827         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29828         Likewise.
29829         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29830         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29831         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
29832         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
29833         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29834         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29835         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
29836         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
29837         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
29838         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29839         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29840         Likewise.
29841         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
29842         (__posix_fallocate64_l64): Likewise.
29843         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
29844         (posix_fallocate): Likewise.
29845         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
29846         Likewise.
29847         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29848         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
29849         (getifaddrs_internal): Likewise.
29850         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
29851         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
29852         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29853         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29854         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29855         (__posix_fallocate64_l64): Likewise.
29856         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29857         Likewise.
29858         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
29859         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
29860         (__get_clockfreq): Likewise.
29861         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
29862         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29863         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
29864         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29865         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29866         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
29867         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
29868         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
29869         Likewise.
29870         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
29871         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
29872         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29873         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
29874         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29875         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
29876         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
29877         Likewise.
29878         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29879         (posix_fallocate): Likewise.
29880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29881         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29882         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
29883         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
29884         (elf_machine_rela, elf_machine_rela_relative)
29885         (elf_machine_lazy_rel): Likewise.
29886         * time/asctime.c (asctime_internal): Likewise.
29887         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
29888         * time/tzset.c (__tzset_parse_tz): Likewise.
29889         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29890         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29891         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
29892         * wcsmbs/wcsmbsload.h: Likewise.
29893
29894         [BZ #15894]
29895         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
29896
29897         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
29898         (arena_get2): Remove THREAD_STATS conditionals.
29899         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
29900         (__malloc_stats, int): Likewise.
29901
29902 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
29903
29904         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
29905         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
29906
29907         * manual/setjmp.texi: Fix typos/grammar errors.
29908
29909         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
29910         Only return early when n is <= 0.  Delete unused return statement.
29911
29912         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
29913         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
29914         * debug/tst-longjmp_chk3.c: New file.
29915
29916         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
29917         (test_main): Replace code with set_fortify_handler call.
29918         * debug/test-strcpy_chk.c: Likewise.
29919         * debug/tst-chk1.c: Likewise.
29920         * debug/tst-longjmp_chk.c: Likewise.
29921         * test-skeleton.c: Include fcntl.h & paths.h
29922         (set_fortify_handler): Define.
29923
29924         * debug/tst-longjmp_chk.c: Add header comment and include
29925         ../test-skeleton.c.
29926         (do_test): Mark static.
29927         (TEST_FUNCTION): Define.
29928
29929         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
29930         (IP_PMTUDISC_INTERFACE): Likewise.
29931         (IP_MULTICAST_IF): Likewise.
29932         (IP_MULTICAST_TTL): Likewise.
29933         (IP_MULTICAST_LOOP): Likewise.
29934         (IP_ADD_MEMBERSHIP): Likewise.
29935         (IP_DROP_MEMBERSHIP): Likewise.
29936         (IP_UNBLOCK_SOURCE): Likewise.
29937         (IP_BLOCK_SOURCE): Likewise.
29938         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
29939         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
29940         (IP_MSFILTER): Likewise.
29941         (MCAST_JOIN_GROUP): Likewise.
29942         (MCAST_BLOCK_SOURCE): Likewise.
29943         (MCAST_UNBLOCK_SOURCE): Likewise.
29944         (MCAST_LEAVE_GROUP): Likewise.
29945         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29946         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29947         (MCAST_MSFILTER): Likewise.
29948         (IP_MULTICAST_ALL): Likewise.
29949         (IP_UNICAST_IF): Likewise.
29950
29951         * timezone/Makefile: Delete $(have-ksh) check.
29952         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
29953         * timezone/tzselect.ksh: Add +x mode bits.
29954
29955         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
29956         (ANON_INODE_FS_MAGIC): Likewise.
29957         (BDEVFS_MAGIC): Likewise.
29958         (BINFMTFS_MAGIC): Likewise.
29959         (BTRFS_TEST_MAGIC): Likewise.
29960         (CRAMFS_MAGIC_WEND): Likewise.
29961         (DEBUGFS_MAGIC): Likewise.
29962         (ECRYPTFS_SUPER_MAGIC): Likewise.
29963         (EXT3_SUPER_MAGIC): Likewise.
29964         (EXT4_SUPER_MAGIC): Likewise.
29965         (FUTEXFS_SUPER_MAGIC): Likewise.
29966         (HOSTFS_SUPER_MAGIC): Likewise.
29967         (HUGETLBFS_MAGIC): Likewise.
29968         (MINIX3_SUPER_MAGIC): Likewise.
29969         (MTD_INODE_FS_MAGIC): Likewise.
29970         (NILFS_SUPER_MAGIC): Likewise.
29971         (OPENPROM_SUPER_MAGIC): Likewise.
29972         (PIPEFS_MAGIC): Likewise.
29973         (PSTOREFS_MAGIC): Likewise.
29974         (QNX6_SUPER_MAGIC): Likewise.
29975         (RAMFS_MAGIC): Likewise.
29976         (REISERFS_SUPER_MAGIC_STRING): Likewise.
29977         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
29978         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
29979         (SECURITYFS_MAGIC): Likewise.
29980         (SELINUX_MAGIC): Likewise.
29981         (SMACK_MAGIC): Likewise.
29982         (SOCKFS_MAGIC): Likewise.
29983         (SQUASHFS_MAGIC): Likewise.
29984         (STACK_END_MAGIC): Likewise.
29985         (TMPFS_MAGIC): Likewise.
29986         (USBDEVICE_SUPER_MAGIC): Likewise.
29987         (V9FS_MAGIC): Likewise.
29988         (XENFS_SUPER_MAGIC): Likewise.
29989         (CRAMFS_MAGIC): Fix typo in comment.
29990         (EXT2_SUPER_MAGIC): Update comment.
29991         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
29992
29993 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
29994
29995         * sysdeps/arm: Move directory from ports/sysdeps/arm.
29996         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
29997         * sysdeps/unix/sysv/linux/arm: Move directory from
29998         ports/sysdeps/unix/sysv/linux/arm.
29999         * README: Update listing for arm-*-linux-gnueabi.
30000
30001         * README: Remove mention of am33.
30002
30003 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30004
30005         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30006         than the comma operator, to avoid "rhs of comma has no effect"
30007         compiler warnings.
30008         (__sigfillset, __sigandset, __sigorset): Likewise.
30009         * include/signal.h (__sigemptyset): Likewise.
30010         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30011
30012 2014-02-07  Allan McRae  <allan@archlinux.org>
30013
30014         * version.h (RELEASE): Set to "development".
30015         (VERSION): Set to "2.19.90"
30016         * NEWS: Add 2.20 section.
30017
30018 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30019
30020         [BZ #16529]
30021         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30022
30023 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30024
30025         * manual/contrib.texi: Update entry for Carlos O'Donell,
30026         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30027
30028 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30029
30030         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30031
30032         * sysdeps/unix/sysv/linux/kernel-features.h
30033         [__LINUX_KERNEL_VERSION >= 0x020621]
30034         (__ASSUME_PROC_PID_TASK_COMM): Define.
30035
30036 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30037
30038         [BZ #16398]
30039         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30040         conversion when destination buffer does not have enough space.
30041         * libio/tst-ftell-partial-wide.c: New test case.
30042         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30043
30044         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30045         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30046         Leonard and Allan McRae.
30047
30048 2014-02-04  David S. Miller  <davem@davemloft.net>
30049
30050         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30051         32-bit.
30052
30053 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30054
30055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30056         New file
30057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30058         New file
30059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30060         New file.
30061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30062         New file.
30063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30064         New file.
30065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30066         New file.
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30068         New file.
30069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30070         New file.
30071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30072         New file.
30073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30074         New file.
30075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30076         New file.
30077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30078         New file.
30079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30080         New file.
30081
30082 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30083
30084         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30085         * shlib-versions: Likewise.
30086
30087 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30088             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30089
30090         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30091         (abilist-pattern): New variable, set to %-le.abilist.
30092
30093         * Makerules (abilist-pattern): New variable.
30094         (vpath): Use $(abilist-pattern) in place of %.abilist.
30095         (check-abi-% pattern rule): Likewise.
30096         (check-abi, update-abi): Likewise.
30097
30098 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30099
30100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30101
30102 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30103
30104         * manual/startup.texi: Add next, previous, and top entries for
30105         the `Program Arguments' and `Environment Variables' nodes.
30106
30107 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30108
30109         * manual/macros.texi: Add comments before MTASC-safety macros.
30110
30111         * manual/users.texi: Document MTASC-safety properties.
30112
30113         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30114         (pthread_getspecific, pthread_setspecific): Format with
30115         @deftypefun, and add @safety note.
30116         * manual/signal.texi: Move comments that analyze the above
30117         functions to their home place.
30118
30119 2014-02-03  Allan McRae  <allan@archlinux.org>
30120
30121         * po/sl.po: Update Slovenian translation from translation project.
30122
30123 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30124
30125         * manual/time.texi (timegm): Add missing blank after @c.
30126         Reported by Joseph Myers <joseph@codesourcery.com>.
30127
30128 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30129
30130         * manual/check-safety.sh: New.
30131         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30132
30133         * manual/terminal.texi: Document MTASC-safety properties.
30134
30135         * manual/filesys.texi: Document MTASC-safety properties.
30136
30137         * manual/errno.texi: Document MTASC-safety properties.
30138
30139         * manual/intro.texi: Document safety identifiers and
30140         conditionals.
30141
30142         * manual/string.texi (wcstok): Fix prototype.
30143         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30144
30145         * manual/time.texi: Document MTASC-safety properties.
30146
30147         * manual/string.texi: Document MTASC-safety properties.
30148
30149         * manual/threads.texi: Document MTASC-safety properties.
30150
30151         * manual/stdio.texi: Document MTASC-safety properties.
30152
30153         * manual/syslog.texi: Document MTASC-safety properties.
30154
30155         * manual/sysinfo.texi: Document MTASC-safety properties.
30156
30157         * manual/startup.texi: Document MTASC-safety properties.
30158
30159         * manual/socket.texi: Document MTASC-safety properties.
30160
30161         * manual/signal.texi: Document MTASC-safety properties.
30162
30163 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30164
30165         * manual/setjmp.texi: Document MTASC-safety properties.
30166
30167         * manual/search.texi: Document MTASC-safety properties.
30168
30169         * manual/resource.texi: Document MTASC-safety properties.
30170
30171         * manual/process.texi: Document MTASC-safety properties.
30172
30173         * manual/platform.texi: Document MTASC-safety properties.
30174
30175         * manual/pipe.texi: Document MTASC-safety properties.
30176
30177         * manual/pattern.texi: Document MTASC-safety properties.
30178
30179         * manual/message.texi: Document MTASC-safety properties.
30180
30181         [BZ #12751]
30182         * manual/memory.texi: Document MTASC-safety properties.
30183
30184         * manual/math.texi: Document MTASC-safety properties.
30185
30186         * manual/locale.texi: Document MTASC-safety properties.
30187
30188         * manual/llio.texi: Document MTASC-safety properties.
30189
30190         * manual/libdl.texi: New.
30191
30192         * manual/lang.texi: Document MTASC-safety properties.
30193
30194         * manual/job.texi: Document MTASC-safety properties.
30195
30196         * manual/getopt.texi: Document MTASC-safety properties.
30197
30198         * manual/ctype.texi: Document MTASC-safety properties.
30199
30200 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30201
30202         [BZ #16046]
30203         * csu/libc-tls.c (static_map): Remove variable.
30204         (__libc_setup_tls): Use main executable's link map for TLS data.
30205         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
30206         casing for LM_ID_BASE and GL(dl_nns).
30207         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
30208         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
30209         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
30210         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
30211         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
30212         member.
30213         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
30214         l_phnum members.
30215
30216 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
30217
30218         * manual/debug.texi: Document MTASC-safety properties.
30219
30220 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
30221
30222         [BZ #16510]
30223         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
30224         of __x86_64__ when disabling x87 inline functions.
30225
30226 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
30227
30228         * manual/charset.texi: Document MTASC-safety properties.
30229
30230         * manual/crypt.texi: Document MTASC-safety properties.
30231
30232         * manual/conf.texi: Document MTASC-safety properties.
30233
30234         * manual/arith.texi: Document MTASC-safety properties.
30235
30236         * manual/argp.texi: Document MTASC-safety properties.
30237
30238         * manual/macros.texi: Introduce macros to document multi
30239         thread, asynchronous signal and asynchronous cancellation
30240         safety properties.
30241         * manual/intro.texi: Introduce the properties themselves.
30242
30243 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30244
30245         * sysdeps/sh/sh4/Makefile: New file.
30246
30247 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
30248
30249         * math/gen-libm-test.pl ($srcdir): New variable.
30250         ($auto_input): Use it.
30251
30252 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30253
30254         [BZ #16506]
30255         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
30256         access beyond array bounds when parsing netgroups file.
30257
30258         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
30259         the old buffer before realloc.
30260
30261 2014-01-27  Allan McRae  <allan@archlinux.org>
30262
30263         * po/fr.po: Update French translation from translation project.
30264
30265 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30266
30267         * sysdeps/sh/libm-test-ulps: Regenerate.
30268
30269 2014-01-24  David S. Miller  <davem@davemloft.net>
30270
30271         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
30272
30273 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30274
30275         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
30276         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
30277
30278 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30279
30280         [BZ #16474]
30281         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
30282         string pointers after reallocation.
30283
30284 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30285
30286         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
30287         __SH4A__ instead of __SH_FPU_ANY__.
30288
30289 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30290
30291         * sysdeps/sh/fpu_control.h: New file.
30292         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
30293         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
30294         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
30295         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
30296         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
30297         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
30298         * sysdeps/sh/sys/ucontext.h: Remove.
30299         * sysdeps/sh/sys: Remove directory.
30300
30301 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30302
30303         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
30304         s390/sys/ucontext.h.
30305         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
30306         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
30307
30308 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
30309
30310         [BZ #15605]
30311         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
30312
30313 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30314
30315         [BZ#16431]
30316         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30317         Adjust the vDSO correctly for internal calls.
30318         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
30319
30320 2014-01-20  Allan McRae  <allan@archlinux.org>
30321
30322         * po/ca.po: Update Catalan translation from translation project.
30323
30324 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
30325
30326         * sysdeps/s390/sotruss-lib.c: New file.
30327
30328 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30329
30330         [BZ#16430]
30331         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
30332         (__GI___gettimeofday): Alias for a different internal symbol to avoid
30333         local calls issues by not having a PLT stub required for IFUNC calls.
30334         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
30335
30336 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
30337
30338         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
30339         * math/test-fpucw-static.c: Likewise.
30340
30341 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30342
30343         [BZ #16453]
30344         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
30345
30346 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30347
30348         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30349         implementation for powerpc.
30350
30351 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
30352
30353         [BZ #14782]
30354         * sysdeps/posix/system.c (__libc_system): Do not enable
30355         asynchronous cancellation.
30356
30357 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30358
30359         [BZ #16427]
30360         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
30361         handling only for numbers special also in the IEEE case.
30362
30363 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30364
30365         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30366
30367 2014-01-11  Allan McRae  <allan@archlinux.org>
30368
30369         * po/bg.po: Update Bulgarian translation from translation project.
30370
30371         * po/de.po: Update German translation from translation project.
30372
30373 2014-01-10  Roland McGrath  <roland@hack.frob.com>
30374
30375         * sysdeps/generic/gcc-compat.h: New file.
30376
30377 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30378
30379         * benchtests/asin-inputs: Correct slow inputs.
30380         * benchtests/acos-inputs: Likewise.
30381
30382 2014-01-10  Allan McRae  <allan@archlinux.org>
30383
30384         * po:sv.po: Update Swedish translation from translation project.
30385
30386         * po/vi.po: Update Vietnamese translation from translation project.
30387
30388         * po/eo.po: Update Esperanto translation from translation project.
30389
30390         * po/cs.po: Update Czech translation from translation project.
30391
30392         * po/nl.po: Update Dutch translation from translation project.
30393
30394         * po/pl.po: Update Polish translation from translation project.
30395
30396         * po/ru.po: Update Russian translation from translation project.
30397
30398         * po/uk.po: Update Ukrainian translation from translation project.
30399
30400 2014-01-08  Brooks Moses  <bmoses@google.com>
30401
30402         * elf/dl-load.c: Fix comment typo.
30403
30404 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
30405
30406         * po/header.pot: Rename to...
30407         * po/pot.header: ... this.
30408         * po/Makefile: Use pot.header.
30409
30410 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
30411             Maxim Kuvyrkov  <maxim@kugelworks.com>
30412
30413         [BZ #16394]
30414         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
30415         SRC and DEST against LEN.
30416
30417 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30418
30419         [BZ #16414]
30420         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
30421         implementation.
30422         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
30423
30424 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30425
30426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30427
30428 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
30429
30430         [BZ #16408]
30431         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
30432         for large positive arguments.
30433
30434 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
30435
30436         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30437
30438         * math/auto-libm-test-in: Mark various tests with
30439         xfail-rounding:ldbl-128ibm.
30440         * math/auto-libm-test-out: Regenerated.
30441
30442         [BZ #16407]
30443         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30444         Increase overflow threshold.
30445
30446 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
30447
30448         [BZ #14286]
30449         * stdio-common/vfprintf.c: Check for integer overflow.
30450
30451 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30452
30453         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
30454         the first argument and return value of __tls_get_addr_internal.
30455
30456 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30457
30458         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
30459         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
30460
30461 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30462
30463         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
30464         * sysdeps/s390/rtld-global-offsets.sym: New file.
30465         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
30466         GLIBC_2.19 symbol.
30467         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
30468         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
30469         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30470         ... this.
30471         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
30472         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30473         ... this.
30474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30475         Regenerate.
30476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30477         Regenerate.
30478         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
30479         halfs of GPRs for high_gprs contexts.
30480         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
30481         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
30482         field.
30483         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
30484         uc_flags field.
30485         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
30486         64 bit versions:
30487         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
30488         for high GPRs (uc_high_gprs) and for future extensions
30489         (__reserved).
30490         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
30491         for future extensions (__reserved).
30492         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
30493         64 bit versions:
30494         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
30495         SC_HIGHGPRS offset definition.
30496         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
30497         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
30498
30499         * Versions.def: Add GLIBC_2.19 for libpthread.
30500         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
30501         siglongjmp for libpthread with GLIBC_2.19 symver.
30502         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
30503         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
30504         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
30505         * sysdeps/s390/__longjmp.c: New file.
30506         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
30507         * sysdeps/s390/longjmp.c: New file.
30508         * sysdeps/s390/setjmp.S: New file.
30509         * sysdeps/s390/sigjmp.S: New file.
30510         * sysdeps/s390/v1-longjmp.c: New file.
30511         * sysdeps/s390/v1-setjmp.h: New file.
30512         * sysdeps/s390/v1-sigjmp.c: New file.
30513         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
30514         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
30515         GLIBC_2.19 version.
30516         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
30517         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
30518         versioned symbols for ____longjmp_chk.
30519         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30520         Likewise.
30521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30522         Regenerate.
30523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30524         Regenerate.
30525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30526         Regenerate.
30527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30528         Regenerate.
30529         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
30530         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
30531         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
30532         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
30533         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
30534         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
30535         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
30536         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
30537         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
30538         * sysdeps/s390/rtld-__longjmp.c: New file.
30539         * sysdeps/s390/rtld-setjmp.S: New file.
30540
30541 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
30542
30543         [BZ #16400]
30544         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30545         Return -__logl (x) for small positive arguments without evaluating
30546         a polynomial.
30547
30548 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
30549
30550         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
30551         Rename to ...
30552         (__ptrace_peeksiginfo_args): ... this.
30553         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30554         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30555         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30556
30557 2014-01-06  Allan McRae  <allan@archlinux.org>
30558
30559         * inet/netinet/in.h: Fix typo in comment.
30560
30561 2014-01-05  Andreas Jaeger  <aj@suse.de>
30562
30563         * sysdeps/i386/fpu/libm-test-ulps: Update.
30564
30565 2014-01-05  Allan McRae  <allan@archlinux.org>
30566
30567         * po/libc.pot: Regenerated.
30568
30569         * malloc/memusagestat.c: Fix gettext call formatting.
30570
30571 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
30572
30573         * nscd/nscd.c: Improve usage() output.
30574
30575 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
30576
30577         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
30578         * sysdeps/unix/sysv/linux/configure: Regenerated.
30579         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
30580         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
30581
30582 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30583
30584         [BZ #16390]
30585         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30586         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
30587
30588 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30589
30590         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
30591         extra tokens at end of #undef directive.
30592         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
30593         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
30594         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30595
30596 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30597
30598         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30599
30600         * math/auto-libm-test-in: Mark various tests with
30601         xfail-rounding:ldbl-128ibm.
30602         * math/auto-libm-test-out: Regenerated.
30603
30604 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
30605
30606         [BZ #16386]
30607         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
30608         numbers with subnormal high part when calculating exponent.
30609
30610         [BZ #16385]
30611         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
30612         fabs.
30613
30614         [BZ #16384]
30615         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
30616         M_LN2l.
30617         (__ieee754_acoshl): Use __log1pl not __log1p.
30618
30619 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
30620
30621         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
30622         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
30623         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
30624         (grow_heap, heap_trim, _int_new_arena, get_free_list)
30625         (reused_arena, arena_get2): Convert to GNU style.
30626         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
30627         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
30628         (memalign_check, __malloc_set_state): Likewise.
30629         * malloc/mallocbug.c (main): Likewise.
30630         * malloc/malloc.c (__malloc_assert, malloc_init_state)
30631         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
30632         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
30633         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
30634         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
30635         (__posix_memalign, malloc_info): Likewise.
30636         * malloc/malloc.h: Likewise.
30637         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
30638         (mallochook, memalignhook, reallochook, mabort): Likewise.
30639         * malloc/mcheck.h: Likewise.
30640         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
30641         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
30642         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
30643         * malloc/morecore.c (__default_morecore): Likewise.
30644         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
30645         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
30646         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
30647         (print_and_abort): Likewise.
30648         * malloc/obstack.h: Likewise.
30649         * malloc/set-freeres.c (__libc_freeres): Likewise.
30650         * malloc/tst-mallocstate.c (main): Likewise.
30651         * malloc/tst-mtrace.c (main): Likewise.
30652         * malloc/tst-realloc.c (do_test): Likewise.
30653
30654 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30655
30656         [BZ #16366]
30657         * nscd/netgroupcache.c (do_notfound): New function.
30658         (addgetnetgrentX): Use it.
30659
30660         [BZ # 16365]
30661         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
30662         NSS_STATUS_NOTFOUND.
30663
30664 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
30665
30666         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30668
30669 2014-01-01  Allan McRae  <allan@archlinux.org>
30670
30671         * scripts/update-copyrights: Update configure input file suffix.
30672
30673         * NEWS: Update copyright year.
30674         * catgets/gencat.c: Likewise.
30675         * csu/version.c: Likewise.
30676         * debug/catchsegv.sh: Likewise.
30677         * debug/pcprofiledump.c: Likewise.
30678         * debug/xtrace.sh: Likewise.
30679         * elf/ldconfig.c: Likewise.
30680         * elf/ldd.bash.in: Likewise.
30681         * elf/pldd.c: Likewise.
30682         * elf/sotruss.ksh: Likewise.
30683         * elf/sprof.c: Likewise.
30684         * iconv/iconv_prog.c: Likewise.
30685         * iconv/iconvconfig.c: Likewise.
30686         * locale/programs/locale.c: Likewise.
30687         * locale/programs/localedef.c: Likewise.
30688         * login/programs/pt_chown.c: Likewise.
30689         * malloc/memusage.sh: Likewise.
30690         * malloc/memusagestat.c: Likewise.
30691         * malloc/mtrace.pl: Likewise.
30692         * manual/libc.texinfo: Likewise.
30693         * nscd/nscd.c: Likewise.
30694         * nss/getent.c: Likewise.
30695         * nss/makedb.c: Likewise.
30696         * posix/getconf.c: Likewise.
30697         * scripts/test-installation.pl: Likewise.
30698
30699         * All files with FSF copyright notices: Update copyright dates
30700         using scripts/update-copyrights.
30701         * intl/plural.c: Regenerated.
30702         * locale/programs/charmap-kw.h: Likewise.
30703         * locale/programs/locfile-kw.h: Likewise.
30704
30705 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
30706
30707         * sysdeps/unix/sysv/linux/configure: Regenerated.
30708         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
30709         the linux/fanotify.h header.
30710         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
30711         HAVE_LINUX_FANOTIFY_H is defined.
30712
30713 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30714
30715         * benchtests/cos-inputs: New inputs.
30716         * benchtests/sin-inputs: Likewise.
30717
30718         * benchtests/atan-inputs: New inputs. Fix name of multiple
30719         precision fallback inputs.
30720
30721         * benchtests/atanh-inputs: New inputs.
30722         * benchtests/tanh-inputs: Likewise.
30723
30724         * benchtests/acosh-inputs: New inputs.
30725         * benchtests/asinh-inputs: Likewise.
30726
30727         * benchtests/cosh-inputs: New inputs.
30728         * benchtests/sinh-inputs: Likewise.
30729
30730         * benchtests/acos-inputs: Add more inputs.
30731         * benchtests/asin-inputs: Likewise.
30732
30733 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
30734
30735         [BZ #16375]
30736         * manual/arith.texi: Fix spelling.
30737         * manual/charset.texi: Likewise.
30738         * manual/errno.texi: Likewise.
30739         * manual/filesys.texi: Likewise.
30740         * manual/lang.texi: Likewise.
30741         * manual/llio.texi: Likewise.
30742         * manual/locale.texi: Likewise.
30743         * manual/message.texi: Likewise.
30744         * manual/resource.texi: Likewise.
30745         * manual/search.texi: Likewise.
30746         * manual/setjmp.texi: Likewise.
30747         * manual/stdio.texi: Likewise.
30748         * manual/string.texi: Likewise.
30749         * manual/sysinfo.texi: Likewise.
30750         * manual/time.texi: Likewise.
30751
30752 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
30753
30754         * po/sl.po: New file.
30755
30756 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
30757
30758         * .gitignore: Add core/.gdbinit/.gdb_history.
30759
30760 2013-12-27  Allan McRae  <allan@archlinux.org>
30761
30762         [BZ #16369]
30763         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
30764         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
30765
30766 2013-12-24  Brooks Moses  <bmoses@google.com>
30767
30768         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
30769         all compilers that claim C++98 compliance, not just GCC.
30770         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30771         Likewise.
30772
30773 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30774
30775         * NEWS: Restore accidentally deleted bug-fix entries.
30776
30777 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30778             Ondřej Bílka  <neleai@seznam.cz>
30779
30780         [BZ #15073]
30781         * malloc/malloc.c (_int_free): Perform sanity check only if we
30782         have_lock.
30783
30784 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
30785
30786         [BZ #12986]
30787         * manual/stdio.texi (String Input Conversions): Clarify that character
30788         classes are not supported.
30789
30790 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30791
30792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30793
30794 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
30795
30796         [BZ #16337]
30797         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30798         Calculate results for small negative arguments directly rather
30799         than using reflection formula with special underflow handling.
30800
30801         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
30802         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
30803         sysdeps/unix/bsd/bsd4.4/syscalls.list.
30804         (fchflags): Likewise.
30805         (revoke): Likewise.
30806         (setlogin): Likewise.
30807         (sigaltstack): Likewise.
30808         (wait4): Likewise.
30809         (sigblock): Remove.
30810         (sigsetmask): Likewise.
30811         (wait3): Likewise.
30812         (waitpid): Likewise.
30813         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
30814         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
30815         file.
30816         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
30817         * sysdeps/unix/bsd/Makefile: ... here.
30818         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
30819         * sysdeps/unix/bsd/Versions: ... here.
30820         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
30821         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
30822         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
30823         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
30824         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
30825         * sysdeps/unix/bsd/sigblock.c: ... here.
30826         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
30827         * sysdeps/unix/bsd/sigsetmask.c: ... here.
30828         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
30829         * sysdeps/unix/bsd/sigvec.c: ... here.
30830         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
30831         * sysdeps/unix/bsd/tcdrain.c: ... here.
30832         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
30833         * sysdeps/unix/bsd/tcgetattr.c: ... here.
30834         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
30835         * sysdeps/unix/bsd/tcsetattr.c: ... here.
30836         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
30837         * sysdeps/unix/bsd/wait.c: ... here.
30838         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
30839         * sysdeps/unix/bsd/wait3.c: ... here.
30840         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
30841         * sysdeps/unix/bsd/waitpid.c: ... here.
30842
30843 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
30844
30845         [BZ #16356]
30846         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
30847         round-to-nearest for [!USE_AS_EXPM1L].
30848         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
30849         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
30850         more tests of exp and exp10.  Expect some exp10 tests to miss
30851         exceptions or fail in directed rounding modes.
30852         * math/auto-libm-test-out: Regenerated.
30853         * math/libm-test.inc (exp10_tonearest_test_data): New array.
30854         (exp10_test_tonearest): New function.
30855         (exp10_towardzero_test_data): New array.
30856         (exp10_test_towardzero): New function.
30857         (exp10_downward_test_data): New array.
30858         (exp10_test_downward): New function.
30859         (exp10_upward_test_data): New array.
30860         (exp10_test_upward): New function.
30861         (main): Call the new functions.
30862         * sysdeps/i386/fpu/libm-test-ulps: Update.
30863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30864
30865 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
30866
30867         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30868         asinh, atan, atan2, atanh, cbrt, cos and cosh.
30869         * math/auto-libm-test-out: Regenerated.
30870         * math/libm-test.inc (acosh_test_data): Add more tests.
30871         (atanh_test_data): Likewise.
30872         (ceil_test_data): Likewise.
30873         (copysign_test_data): Likewise.
30874         * sysdeps/i386/fpu/libm-test-ulps: Update.
30875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30876
30877         * timezone/checktab.awk: Update from tzcode 2013i.
30878         * timezone/private.h: Likewise.
30879         * timezone/scheck.c: Likewise.
30880         * timezone/tzfile.h: Likewise.
30881         * timezone/tzselect.ksh: Likewise.
30882         * timezone/zdump.c: Likewise.
30883         * timezone/zic.c: Likewise.
30884
30885         * math/auto-libm-test-in: Add tests of cpow.
30886         * math/auto-libm-test-out: Regenerated.
30887         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
30888         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30889         mpc_cc_c.
30890         (func_calc_desc): Add mpc_cc_c union field.
30891         (test_functions): Add cpow.
30892         (special_fill_2pi): New function.
30893         (special_real_inputs): Add 2pi.
30894         (calc_generic_results): Handle mpc_cc_c.
30895         * sysdeps/i386/fpu/libm-test-ulps: Update.
30896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30897
30898         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
30899         csqrt, ctan and ctanh.
30900         * math/auto-libm-test-out: Regenerated.
30901         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30902         (TEST_COND_x86): Likewise.
30903         (ccos_test_data): Use AUTO_TESTS_c_c.
30904         (ccosh_test_data): Likewise.
30905         (cexp_test_data): Likewise.
30906         (clog_test_data): Likewise.
30907         (csqrt_test_data): Likewise.
30908         (ctan_test_data): Likewise.
30909         (ctan_tonearest_test_data): Likewise.
30910         (ctan_towardzero_test_data): Likewise.
30911         (ctan_downward_test_data): Likewise.
30912         (ctan_upward_test_data): Likewise.
30913         (ctanh_test_data): Likewise.
30914         (ctanh_tonearest_test_data): Likewise.
30915         (ctanh_towardzero_test_data): Likewise.
30916         (ctanh_downward_test_data): Likewise.
30917         (ctanh_upward_test_data): Likewise.
30918         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30919         mpc_c_c.
30920         (func_calc_desc): Add mpc_c_c union field.
30921         (FUNC_mpc_c_c): New macro.
30922         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
30923         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
30924         ctanh.
30925         (special_fill_min_subnorm_p120): New function.
30926         (special_real_inputs): Add min_subnorm_p120.
30927         (calc_generic_results): Handle mpc_c_c.
30928         * sysdeps/i386/fpu/libm-test-ulps: Update.
30929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30930
30931 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30932
30933         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
30934         (do_sin_slow): New functions.
30935         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
30936         (cslow2, csloww1, csloww2): Use the new functions.
30937
30938         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
30939         Use M to change sign of result instead of X.  Assume X is
30940         positive.
30941         (csloww1): Likewise.
30942         (__sin): Adjust.
30943         (__cos): Adjust.
30944
30945         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
30946         arguments A and DA.
30947         (__sin): Adjust.
30948         (__cos): Likewise.
30949
30950         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
30951         (__cos): Likewise.
30952         (sloww1): Don't adjust sign of DX.
30953         (csloww1): Likewise.
30954         (sloww2): Use X directly and don't adjust sign of DX.
30955         (csloww2): Likewise.
30956
30957 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
30958
30959         * math/auto-libm-test-in: Add tests of cabs and carg.
30960         * math/auto-libm-test-out: Regenerated.
30961         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
30962         (carg_test_data): Likewise.
30963         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30964         mpc_c_f.
30965         (func_calc_desc): Add mpc_c_f union field.
30966         (test_functions): Add cabs and carg.
30967         (calc_generic_results): Handle mpc_c_f.
30968
30969         * sysdeps/powerpc/powerpc32/libgcc-compat.S
30970         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
30971         as a macro and a compat symbol.
30972         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30973         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30974         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30975         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30976         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
30977         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
30978         not use .hidden.
30979         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
30980         Likewise.
30981         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
30982         Likewise.
30983         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
30984         Likewise.
30985         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
30986         Likewise.
30987         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
30988         Likewise.
30989         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
30990         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
30991         from GLIBC_2.3.2.
30992
30993 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30994
30995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30996
30997 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
30998
30999         * manual/texinfo.tex: Update to version 2013-11-26.10 with
31000         trailing whitespace removed.
31001         * scripts/config.guess: Update to version 2013-11-29.
31002         * scripts/config.sub: Update to version 2013-10-01.
31003
31004         * math/auto-libm-test-in: Add tests of sincos.
31005         * math/auto-libm-test-out: Regenerated.
31006         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31007         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31008         mpfr_f_11.
31009         (func_calc_desc): Add mpfr_f_11 union field.
31010         (test_functions): Add sincos.
31011         (calc_generic_results): Handle mpfr_f_11.
31012         * sysdeps/i386/fpu/libm-test-ulps: Update.
31013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31014
31015 2013-12-19  Andreas Schwab  <schwab@suse.de>
31016
31017         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31018         CALL_MCOUNT.
31019         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31020         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31021         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31022
31023 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31024
31025         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31026         * sysdeps/i386/fpu/libm-test-ulps: Update.
31027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31028
31029         [BZ #16293]
31030         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31031         round-to-nearest mode when using frndint.
31032         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31033         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31034         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31035         Likewise.
31036         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31037         sinh test to fail.
31038         * math/auto-libm-test-out: Regenerated.
31039         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31040         (TEST_COND_x86): Likewise.
31041         (expm1_tonearest_test_data): New array.
31042         (expm1_test_tonearest): New function.
31043         (expm1_towardzero_test_data): New array.
31044         (expm1_test_towardzero): New function.
31045         (expm1_downward_test_data): New array.
31046         (expm1_test_downward): New function.
31047         (expm1_upward_test_data): New array.
31048         (expm1_test_upward): New function.
31049         (main): Run the new test functions.
31050         * sysdeps/i386/fpu/libm-test-ulps: Update.
31051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31052
31053         * include/features.h: Update comment documenting feature test
31054         macros.  Mention _DEFAULT_SOURCE in comment.
31055         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31056         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31057         _BSD_SOURCE and _SVID_SOURCE.
31058         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31059         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31060         !_SVID_SOURCE]: Likewise.
31061         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31062         (__USE_POSIX_IMPLICITLY): Define.
31063         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31064         (_POSIX_SOURCE): Undefine and redefine.
31065         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31066         (_POSIX_C_SOURCE): Likewise.
31067         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31068         (Feature Test Macros): Update documentation of default features.
31069
31070 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31071
31072         * benchtests/Makefile: Add bench-strtok.
31073         * benchtests/bench-strtok.c: New file: strtok benchtest.
31074
31075 2013-12-19  Allan McRae  <allan@archlinux.org>
31076
31077         * manual/install.texi: Suppress menu for plain text output.
31078         * INSTALL: Regenerated.
31079
31080 2013-12-18  Brooks Moses  <bmoses@google.com>
31081
31082         [BZ #15846]
31083         * misc/getauxval.c: Include errno.h.
31084         (__getauxval): Set errno to ENOENT if the requested type is not
31085         found.
31086         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31087         don't declare with __attribute_const__.
31088         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31089         * manual/startup.texi: Document that getauxval sets errno.
31090
31091 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31092
31093         * math/auto-libm-test-in: Add tests of jn and yn.
31094         * math/auto-libm-test-out: Regenerated.
31095         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31096         (yn_test_data): Likewise.
31097         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31098         mpfr_if_f.
31099         (func_calc_desc): Add mpfr_if_f union field.
31100         (FUNC_mpfr_if_f): New macro.
31101         (test_functions): Add jn and yn.
31102         (calc_generic_results): Assert type of second input for
31103         mpfr_ff_f.  Handle mpfr_if_f.
31104         (output_for_one_input_case): Disable all checking for arguments
31105         fitting floating-point types in case of an integer argument.
31106         * sysdeps/i386/fpu/libm-test-ulps: Update.
31107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31108
31109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31110         Don't expect fegetround reference in libm.so.
31111
31112 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31113
31114         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31115         $(config-cflags-nofma).
31116
31117 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31118
31119         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31120         * math/auto-libm-test-out: Regenerated.
31121
31122         [BZ #16338]
31123         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31124         to determine exponent and adjust argument to have exponent of -1.
31125         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31126         log2.
31127         * math/auto-libm-test-out: Regenerated.
31128         * sysdeps/i386/fpu/libm-test-ulps: Update.
31129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31130
31131 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31132
31133         * manual/probes.texi: Remove cases when per-thread arenas are
31134         disabled.
31135
31136 2013-12-18  Andreas Schwab  <schwab@suse.de>
31137
31138         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31139         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31140         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31141         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31142         * sysdeps/i386/i686/multiarch/Makefile: Update.
31143         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31144
31145 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31146
31147         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31148         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31149
31150 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31151
31152         [BZ #15968]
31153         Support TZ transition times < 00:00:00.
31154         This is needed for version-3 tz-format files; it supports time
31155         stamps past 2037 for America/Godthab (the only entry in the tz
31156         database for which this change is relevant).
31157         * manual/time.texi (TZ Variable): Document transition times
31158         from -167:59:59 through -00:00:01.
31159         * time/tzset.c (tz_rule): Time of day is now signed.
31160         (__tzset_parse_tz): Parse negative time of day.
31161
31162         Document TZ transition times >= 25:00:00.
31163         * manual/time.texi (TZ Variable): Document transition times from
31164         25:00:00 through 167:59:59.  These are already supported, and this
31165         support will help with version-3 tz-format files.
31166
31167         * manual/time.texi (TZ Variable): Modernize North America example
31168         to reflect current (i.e., 2007-and-later) daylight saving rules.
31169
31170         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31171
31172 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31173
31174         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31175         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31176         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31178         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
31179         * sysdeps/unix/bsd/bsdstat.h: Likewise.
31180         * sysdeps/unix/bsd/clock.c: Likewise.
31181         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
31182         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
31183         * sysdeps/unix/bsd/init-posix.c: Likewise.
31184         * sysdeps/unix/bsd/poll.c: Likewise.
31185         * sysdeps/unix/bsd/ptsname.c: Likewise.
31186         * sysdeps/unix/bsd/seekdir.c: Likewise.
31187         * sysdeps/unix/bsd/setegid.c: Likewise.
31188         * sysdeps/unix/bsd/seteuid.c: Likewise.
31189         * sysdeps/unix/bsd/setgid.c: Likewise.
31190         * sysdeps/unix/bsd/setrgid.c: Likewise.
31191         * sysdeps/unix/bsd/setruid.c: Likewise.
31192         * sysdeps/unix/bsd/setsid.c: Likewise.
31193         * sysdeps/unix/bsd/setuid.c: Likewise.
31194         * sysdeps/unix/bsd/sigaction.c: Likewise.
31195         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
31196         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
31197         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
31198         * sysdeps/unix/bsd/telldir.c: Likewise.
31199         * sysdeps/unix/bsd/times.c: Likewise.
31200         * sysdeps/unix/bsd/usleep.c: Likewise.
31201
31202         * misc/Makefile (install-lib): Remove libbsd-compat.a.
31203         ($(objpfx)libbsd-compat.a): Remove rule.
31204
31205         * include/features.h (__FAVOR_BSD): Do not define.
31206         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
31207         features conflicting with POSIX.
31208         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
31209         (_BSD_SOURCE): Remove description of not being a subset of other
31210         feature test macros.
31211         * manual/job.texi (getpgrp): Do not document BSD version.
31212         (getpgid): Do not document by reference to BSD getpgrp.
31213         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
31214         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
31215         * signal/signal.h [__FAVOR_BSD]: Likewise.
31216         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
31217         instead of making contents conditional on [__FAVOR_BSD].
31218         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
31219
31220 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31221
31222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31223
31224 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31225
31226         [BZ #16314]
31227         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
31228         values below 2**-450, not 2**-500.
31229         * math/auto-libm-test-in: Don't allow spurious underflow from
31230         hypot.
31231         * math/auto-libm-test-out: Regenerated.
31232
31233         [BZ #16316]
31234         [BZ #16330]
31235         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
31236         values of ha and hb and sort them after adjusting subnormal
31237         arguments.
31238         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31239         Likewise.
31240         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
31241         values of ea and eb and sort them after adjusting subnormal
31242         arguments.
31243         * math/auto-libm-test-in: Do not expect some hypot tests of
31244         subnormals to fail.  Add more hypot tests.
31245         * math/auto-libm-test-out: Regenerated.
31246
31247 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31248
31249         [BZ #13304]
31250         * sysdeps/sh/s_fma.c: New file.
31251         * sysdeps/sh/s_fmaf.c: New file.
31252         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
31253         version.
31254         * sysdeps/sh/Implies: Add sh/soft-fp.
31255
31256 2013-12-16  Roland McGrath  <roland@hack.frob.com>
31257
31258         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
31259         level of indirection to members `objname', `errstring', `malloced'.
31260         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31261         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
31262         it as the __longjmp argument (just pass 1 instead).
31263         (_dl_catch_error): Initialize C with argument pointers and address of
31264         volatile local ERRCODE rather than copying values out of C at return.
31265
31266 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
31267
31268         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
31269         * math/auto-libm-test-out: Regenerated.
31270         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
31271         (hypot_test_data): Likewise.
31272         (pow_test_data): Likewise.
31273         (pow_tonearest_test_data): Likewise.
31274         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31275         mpfr_ff_f.
31276         (func_calc_desc): Add mpfr_ff_f union field.
31277         (FUNC_mpfr_ff_f): New macro.
31278         (test_functions): Add atan2, hypot and pow.
31279         (special_fill_min): New function.
31280         (special_fill_minus_min): Likewise.
31281         (special_fill_min_subnorm): Likewise.
31282         (special_fill_minus_min_subnorm): Likewise.
31283         (special_real_inputs): Add min, -min, min_subnorm and
31284         -min_subnorm.
31285         (calc_generic_results): Handle mpfr_ff_f.
31286         * sysdeps/i386/fpu/libm-test-ulps: Update.
31287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31288
31289 2013-12-16  Will Newton  <will.newton@linaro.org>
31290
31291         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
31292         (Aligned Memory Blocks): Add documentation for aligned_alloc
31293         and suggest it as an alternative to posix_memalign.
31294         (Hooks for Malloc): Document __memalign_hook is also called
31295         for aligned_alloc.  (Summary of Malloc): Add summary for
31296         aligned alloc.  Document __memalign_hook is also called
31297         for aligned_alloc.
31298
31299 2013-12-16  Will Newton  <will.newton@linaro.org>
31300
31301         * manual/memory.texi (Malloc Examples): Clarify default
31302         alignment documentation.  Suggest posix_memalign rather
31303         than memalign or valloc.
31304         (Aligned Memory Blocks): Remove suggestion to use memalign
31305         or valloc.  Remove obsolete comment about BSD.
31306         Document memalign errno values and mark the function obsolete.
31307         Document posix_memalign returned error codes.  Mark valloc
31308         as obsolete.  (Hooks for Malloc): __memalign_hook is also
31309         called for posix_memalign and valloc.
31310         (Summary of Malloc): Add posix_memalign to function summary.
31311         __memalign_hook is also called for posix_memalign and valloc.
31312
31313 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31314
31315         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
31316         TAYLOR_SIN.
31317         (__sin): Adjust.
31318         (__cos): Likewise.
31319         (sloww): Use mynumber union.  Expand ternary operator into
31320         if-else statements.
31321         (cslow): use mynumber union.
31322
31323 2013-12-16  Allan McRae  <allan@archlinux.org>
31324
31325         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
31326         * configure: Regenerated.
31327
31328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31329
31330         [BZ #14120]
31331         * configure.ac: Added --enable-maintainer-mode. Check for
31332         autoconf when enabled.
31333         * configure: Regenerated.
31334
31335         * nscd/nscd.service: New file.
31336         * nscd/nscd.tmpfiles: New file.
31337
31338 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
31339
31340         [BZ #12100]
31341         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
31342         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
31343         * sysdeps/x86_64/multiarch/strstr.c: ... here.
31344         (strstr): Add __strstr_sse2_unaligned ifunc.
31345         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
31346         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
31347         (strcasestr): Remove __strcasestr_sse42 ifunc.
31348         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
31349         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31351
31352 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31353
31354         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
31355         * sysdeps/sh/bits/fenv.h: ... here.
31356         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31357
31358 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31359
31360         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
31361
31362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
31363         hypotf multiarch implementations.
31364         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
31365         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
31366         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
31367         multiarch hypot for PPC64.
31368         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
31369         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
31370         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
31371         multiarch hypotf for PPC64.
31372
31373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
31374         modff multiarch implementations.
31375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
31376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
31377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
31378         multiarch modf for PPC64.
31379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
31380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
31381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
31382         multiarch modff for PPC64.
31383
31384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
31385         and logl multiarch implementations.
31386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
31387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
31388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
31389         multiarch logb for PPC64.
31390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
31391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
31392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
31393         multiarch logb for PPC64.
31394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
31395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
31396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
31397         multiarch logb for PPC64.
31398
31399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
31400         isinff multiarch implementation.
31401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
31402         file.
31403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
31404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
31405         multiarch isinf for PPC64.
31406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
31407         file.
31408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
31409         multiarch isinff for PPC64.
31410
31411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
31412         finitef multiarch implementation.
31413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
31414         file.
31415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
31416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
31417         multiarch finite for PPC64.
31418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
31419         file.
31420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
31421         multiarch finitef for PPC64.
31422
31423         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
31424         lrint multiarch implementation.
31425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
31426         file.
31427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
31428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
31429         multiarch llrint for PPC64.
31430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
31431         multiarch lrint for PPC64.
31432
31433         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
31434         copysignf multiarch implementation.
31435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
31436         file.
31437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
31438         file.
31439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
31440         multiarch copysign for PPC64.
31441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
31442         multiarch copysignf for PPC64.
31443
31444         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
31445         multiarch implementation.
31446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
31447         file.
31448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
31449         file.
31450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
31451         file.
31452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
31453         file.
31454         multiarch llround for PPC64.
31455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
31456         multiarch trunc for PPC64.
31457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
31458         multiarch truncf for PPC64.
31459
31460         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
31461         multiarch implementation.
31462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
31463         file.
31464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
31465         file.
31466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
31467         file.
31468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
31469         file.
31470         multiarch llround for PPC64.
31471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
31472         multiarch round for PPC64.
31473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
31474         multiarch roundf for PPC64.
31475
31476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
31477         multiarch implementation.
31478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
31479         file.
31480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
31481         file.
31482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
31483         file.
31484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
31485         file.
31486         multiarch llround for PPC64.
31487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
31488         multiarch floor for PPC64.
31489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
31490         multiarch floorf for PPC64.
31491
31492         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
31493         multiarch implementation.
31494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
31495         file.
31496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
31497         file.
31498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
31499         file.
31500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
31501         file.
31502         multiarch llround for PPC64.
31503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
31504         multiarch ceil for PPC64.
31505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
31506         multiarch ceilf for PPC64.
31507
31508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31509         multiarch implementation.
31510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
31511         file.
31512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
31513         file.
31514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
31515         file.
31516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
31517         multiarch llround for PPC64.
31518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
31519         multiarch lround for PPC64.
31520
31521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31522         multiarch implementation.
31523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
31524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
31525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
31526         file.
31527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
31528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
31529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
31530         multiarch isnan for PPC64.
31531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
31532         multiarch isnanf for PPC64.
31533
31534         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
31535         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
31536         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
31537         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
31538         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
31539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
31540
31541         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
31542         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31543         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31544         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31545
31546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
31547         multiarch implementations.
31548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31549         (__libc_ifunc_impl_list): Likewise.
31550         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31551         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
31552         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
31553         multiarch stpcpy for PPC64.
31554
31555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
31556         multiarch implementations.
31557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31558         (__libc_ifunc_impl_list): Likewise.
31559         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
31560         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
31561         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
31562         multiarch strcpy for PPC64.
31563
31564         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
31565         redefine function name.
31566         (_wordcopy_fwd_dest_aligned): Likewise.
31567         (_wordcopy_bwd_aligned): Likewise.
31568         (_wordcopy_bwd_dest_aligned): Likewise.
31569         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
31570         multiarch implementations.
31571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31572         (__libc_ifunc_impl_list): Likewise.
31573         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
31574         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
31575         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
31576         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
31577         multiarch wcscpy for PPC64.
31578
31579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
31580         multiarch implementations.
31581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31582         (__libc_ifunc_impl_list): Likewise.
31583         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
31584         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
31585         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
31586         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
31587         multiarch wcscpy for PPC64.
31588
31589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
31590         multiarch implementations.
31591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31592         (__libc_ifunc_impl_list): Likewise.
31593         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
31594         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
31595         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
31596         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
31597         multiarch wcsrchr for PPC64.
31598
31599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
31600         multiarch implementations.
31601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31602         (__libc_ifunc_impl_list): Likewise.
31603         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
31604         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
31605         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
31606         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
31607         multiarch wcschr for PPC64.
31608
31609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
31610         multiarch implementations.
31611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31612         (__libc_ifunc_impl_list): Likewise.
31613         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
31614         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
31615         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
31616         multiarch strchrnul for PPC64.
31617
31618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
31619         implementations.
31620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31621         (__libc_ifunc_impl_list): Likewise.
31622         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
31623         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
31624         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
31625         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
31626         strchr for PPC64.
31627
31628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
31629         implementations.
31630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31631         (__libc_ifunc_impl_list): Likewise.
31632         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
31633         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
31634         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
31635         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
31636         strncmp for PPC64.
31637
31638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
31639         multiarch implementations.
31640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31641         (__libc_ifunc_impl_list): Likewise.
31642         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
31643         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
31644         strncasecmp for PPC64.
31645         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
31646         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
31647         multiarch strncasecmp_l for PPC64.
31648
31649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
31650         multiarch implementations.
31651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31652         (__libc_ifunc_impl_list): Likewise.
31653         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
31654         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
31655         multiarch strcasecmp for PPC64.
31656         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
31657         file.
31658         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
31659         multiarch strcasecmp_l for PPC64.
31660
31661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
31662         implementations.
31663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31664         (__libc_ifunc_impl_list): Likewise.
31665         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
31666         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
31667         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
31668         strnlen for PPC64.
31669
31670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
31671         implementations.
31672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31673         (__libc_ifunc_impl_list): Likewise.
31674         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
31675         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
31676         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
31677         strlen for PPC64.
31678
31679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
31680         implementations.
31681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31682         (__libc_ifunc_impl_list): Likewise.
31683         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
31684         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
31685         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
31686         rawmemrchr for PPC64.
31687
31688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
31689         implementation.
31690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31691         (__libc_ifunc_impl_list): Likewise.
31692         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
31693         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
31694         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
31695         memrchr for PPC64.
31696
31697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
31698         implementation.
31699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31700         (__libc_ifunc_impl_list): Likewise.
31701         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
31702         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
31703         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
31704         memchr for PPC64.
31705
31706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
31707         implementation.
31708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31709         (__libc_ifunc_impl_list): Likewise.
31710         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
31711         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
31712         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
31713         mempcpy for PPC64.
31714
31715         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
31716         avoid cretion of __bzero symbol.
31717         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
31718         Likewise.
31719         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
31720         Likewise.
31721         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
31722         Likewise.
31723         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
31724         multiarch implementations.
31725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31726         (__libc_ifunc_impl_list): Likewise.
31727         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
31728         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
31729         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
31730         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
31731         bzero for PPC32.
31732         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
31733         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
31734         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
31735         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
31736         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
31737         memset for PPC64.
31738         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
31739
31740         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
31741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
31742         implementations.
31743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31744         (__libc_ifunc_impl_list): Likewise.
31745         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
31746         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
31747         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
31748         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
31749         memcmp for PPC64.
31750
31751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
31752         multiarch for POWER/PPC64.
31753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31754         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
31755         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
31756         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
31757         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
31758         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
31759         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
31760         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
31761         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
31762         memcpy for PPC64.
31763
31764         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
31765         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
31766         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
31767         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
31768         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
31769         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
31770         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
31771         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
31772         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
31773         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
31774         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
31775         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
31776         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
31777         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
31778         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
31779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
31780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
31781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
31782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
31783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
31784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
31785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
31786
31787 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31788
31789         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
31790
31791 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31792
31793         * benchtests/Makefile (bench): Add exp2 and log2.
31794         (LDLIBS-bench-exp2): Add -lm.
31795         (LDLIBS-bench-log2): Likewise.
31796         * benchtests/exp2-inputs: New inputs file.
31797         * benchtests/log2-inputs: New inputs file.
31798         * benchtests/log-inputs: Add new inputs.
31799         * benchtests/tan-inputs: Likewise.
31800
31801 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31802
31803         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
31804         definition...
31805         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
31806         (csloww2): ... from here.
31807
31808         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
31809         instead of structures.
31810         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
31811         (POLYNOMIAL): Likewise.
31812         (TAYLOR_SLOW): Likewise.
31813         (__sin): Likewise.
31814         (__cos): Likewise.
31815         (slow1): Likewise.
31816         (slow2): Likewise.
31817         (sloww): Likewise.
31818         (sloww1); Likewise.
31819         (sloww2): Likewise.
31820         (bsloww1): Likewise.
31821         (bsloww2): Likewise.
31822         (cslow2): Likewise.
31823         (csloww): Likewise.
31824         (csloww1): Likewise.
31825         (csloww2): Likewise.
31826
31827 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
31828
31829         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
31830         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
31831         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
31832         * malloc/hooks.c (realloc_check): Likewise.
31833
31834         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
31835         * malloc/arena.c: Remove PER_THREAD conditional.
31836         [!PER_THREAD]: Remove code.
31837         (ptmalloc_unlock_all2): Likewise.
31838         (ptmalloc_init): Likewise.
31839         (_int_new_arena): Likewise.
31840         (arena_get2): Likewise.
31841         * malloc/hooks.c (__malloc_get_state): Likewise.
31842         (__malloc_set_state): Likewise.
31843         * malloc/malloc.c: Likewise.
31844         (struct malloc_state): Likewise.
31845         (struct malloc_par): Likewise.
31846         (__libc_realloc): Likewise.
31847         (__libc_mallopt): Likewise.
31848
31849 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31850
31851         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
31852
31853 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
31854
31855         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
31856         macro to a function.  Check for zero perturb_byte.
31857         (_int_malloc, _int_free): Remove zero perturb_byte checks.
31858
31859         * malloc/malloc.c: (force_reg): Remove.
31860         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
31861         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
31862         force_reg by atomic_forced_read.
31863         * malloc/arena.c (ptmalloc_init): Likewise.
31864         * malloc/hooks.c (top_check): Likewise.
31865
31866 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31867
31868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31869
31870 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
31871
31872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31873
31874 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
31875
31876         * math/auto-libm-test-in: Add tests of lgamma.
31877         * math/auto-libm-test-out: Regenerated.
31878         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
31879         (M_LOG_2_SQRT_PIl): Likewise.
31880         (lgamma_test_data): Use AUTO_TESTS_f_f1.
31881         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31882         mpfr_f_f1.
31883         (func_calc_desc): Add mpfr_f_f1 union field.
31884         (ARGS1): New macro.
31885         (ARGS2): Likewise.
31886         (ARGS3): Likewise.
31887         (ARGS4): Likewise.
31888         (RET1): Likewise.
31889         (RET2): Likewise.
31890         (CALC): Likewise.
31891         (FUNC): Likewise.
31892         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
31893         (test_functions): Add lgamma.
31894         (calc_generic_results): Handle mpfr_f_f1.
31895         * sysdeps/i386/fpu/libm-test-ulps: Update.
31896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31897
31898 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31899
31900         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
31901         __mpn_add_n for PowerPC64/POWER7.
31902         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
31903         __mpn_sub_n for PowerPC64/POWER7.
31904
31905         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
31906         __mpn_addmul_1 for PowerPC64.
31907         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
31908         __mpn_submul_1 for PowerPC64.
31909         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
31910         for PowerPC64.
31911         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
31912         for PowerPC64.
31913
31914 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
31915
31916         [BZ #15089]
31917         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
31918
31919 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31920
31921         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
31922
31923         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
31924         add multiarch folders.
31925         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
31926         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
31927         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
31928         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
31929         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
31930         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
31931         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
31932         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
31933         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
31934         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
31935         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
31936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
31937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
31938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
31939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
31941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
31942
31943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
31944         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
31945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
31946         New file.
31947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
31948         New file.
31949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
31950         multiarch __ieee754_hypot for PowerPC32.
31951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
31952         New file.
31953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
31954         New file.
31955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
31956         multiarch __ieee754_hypotf for PowerPC32.
31957
31958         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
31959         long_double_symbol only if __logbl is defined.
31960         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
31961         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
31962         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
31963         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
31964         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
31965         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
31966         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
31967         path for implementation.
31968         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
31969         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
31970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
31971         logb, and logbl multiarch implementations for PowerPC32.
31972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
31973         file.
31974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
31975         file.
31976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
31977         multiarch logb for PowerPC32.
31978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
31979         file.
31980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
31981         file.
31982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
31983         multiarch logbf for PowerPC32.
31984         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
31985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
31986         file.
31987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
31988         multiarch logbl implementation for PowerPC32.
31989
31990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
31991         and modff multiarch implementations.
31992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
31993         New file.
31994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
31995         New file.
31996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
31997         multiarch modf for PowerPC32.
31998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
31999         New file.
32000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
32001         New file.
32002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32003         multiarch modff for PowerPC32.
32004
32005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32006         and lrintf multiarch implementations.
32007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32008         New file.
32009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32010         New file.
32011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32012         multiarch lrint for PowerPC32.
32013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32014         file: multiarch lrintf for PowerPC32.
32015
32016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32017         and lroundf multiarch implementations.
32018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32019         New file.
32020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32021         New file.
32022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32023         New file.
32024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32025         multiarch lround for PowerPC32.
32026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32027         file: multiarch lroundf for PowerPC32.
32028
32029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32030         copysign and copysignf multiarch implementations.
32031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32032         New file.
32033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32034         New file.
32035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32036         file: multiarch copysign for PowerPC32.
32037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32038         file: multiarch copysignf for PowerPC32.
32039
32040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32041         and truncf multiarch implementations.
32042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32043         New file.
32044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32045         file.
32046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32047         multiarch trunc for PowerPC32.
32048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32049         New file.
32050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32051         New file.
32052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32053         multiarch truncf for PowerPC32.
32054
32055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32056         and roundf multiarch implementations.
32057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32058         New file.
32059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32060         file.
32061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32062         multiarch round for PowerPC32.
32063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32064         New file.
32065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32066         New file.
32067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32068         multiarch roundf for PowerPC32.
32069
32070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32071         and floorf multiarch implementations.
32072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32073         New file.
32074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32075         file.
32076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32077         multiarch floor for PowerPC32.
32078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32079         New file.
32080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32081         New file.
32082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32083         multiarch floorf for PowerPC32.
32084
32085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32086         and ceilf multiarch implementations.
32087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32088         New file.
32089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32090         file.
32091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32092         multiarch ceil for PowerPC32.
32093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32094         New file.
32095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32096         file.
32097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32098         multiarch ceilf for PowerPC32.
32099
32100         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32101         is defined.
32102         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32103         FINITEF is defined.
32104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32105         and finitef multiarch implementations.
32106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32107         New file.
32108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32109         file.
32110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32111         multiarch finite for PowerPC32.
32112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32113         New file.
32114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32115         file: multiarch finitef for PowerPC32.
32116
32117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32118         and isinff multiarch implementations.
32119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32120         file.
32121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32122         file.
32123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32124         multiarch isinf for PowerPC32.
32125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32126         New file.
32127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32128         multiarch isinff for PowerPC32.
32129
32130         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32131         alias when __isnan is defined.
32132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32133         and isnanf multiarch implementations.
32134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32135         file.
32136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32137         file.
32138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32139         file.
32140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32141         file.
32142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32143         multiarch isnan for PowerPC32.
32144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32145         New file.
32146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32147         New file.
32148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32149         multiarch isnanf for PowerPC32.
32150
32151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32152         and sqrtf multiarch implementations.
32153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32154         file.
32155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32156         file.
32157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32158         multiarch sqrt for PowerPC32.
32159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32160         file.
32161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32162         file.
32163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32164         multiarch sqrtf for PowerPC32.
32165
32166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32167         and llroundf multiarch implementations.
32168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32169         New file.
32170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32171         New file.
32172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32173         New file.
32174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32175         file: multiarch llround for PowerPC32.
32176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32177         file: multiarch llroundf for PowerPC32.
32178
32179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
32180         multiarch PowerPC32 fpu implementations.
32181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
32182         New file.
32183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
32184         New file.
32185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
32186         multiarch llrint for PowerPC32.
32187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
32188         New file.
32189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
32190         New file.
32191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
32192         file.
32193
32194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
32195
32196         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
32197         file.
32198         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
32199         file.
32200         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
32201         file.
32202         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
32203         multiarch wordcopy for PPC32.
32204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32205         wordcopy objects.
32206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32207         (__libc_ifunc_impl_list): Likewise.
32208         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
32209         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
32210         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
32211         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
32212         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
32213         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
32214
32215         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
32216         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
32217         file.
32218         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
32219         file.
32220         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
32221         file.
32222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
32223         multiarch wcscpy for PPC32.
32224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32225         multiarch objects.
32226         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32227         (__libc_ifunc_impl_list): Likewise.
32228         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32229         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32230         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
32231         sysdeps/powerpc/power6/wcscpy.c.
32232
32233         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
32234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
32235         file.
32236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
32237         file.
32238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
32239         file.
32240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
32241         multiarch wcsrchr for PPC32.
32242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32243         multiarch objects.
32244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32245         (__libc_ifunc_impl_list): Likewise.
32246         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32247         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32248         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
32249         sysdeps/powerpc/power6/wcsrchr.c.
32250
32251         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
32252         file.
32253         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
32254         file.
32255         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
32256         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
32257         multiarch wcschr for PPc32.
32258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32259         multiarch objects.
32260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32261         (__libc_ifunc_impl_list): Likewise.
32262         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
32263         * sysdeps/powerpc/power6/wcschr.c: ... to here.
32264         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
32265         sysdeps/powerpc/power6/wcschr.c.
32266
32267         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
32268         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
32269         file.
32270         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
32271         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
32272         file: multiarch strchr for PPC32.
32273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
32274         multiarch objects.
32275         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32276         (__libc_ifunc_impl_list): Likewise.
32277
32278         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
32279         name.
32280         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
32281         file.
32282         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
32283         file.
32284         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
32285         multiarch strchrnul for PPC32.
32286         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
32287         multiarch objects.
32288         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32289         (__libc_ifunc_impl_list): Likewise.
32290
32291         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32292         file.
32293         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
32294         multiarch strncasecmp for PPC32.
32295         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
32296         file.
32297         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
32298         multiarch strncasecmp_l for PPC32.
32299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
32300         strncasecmp multiarch objects.
32301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32302         (__libc_ifunc_impl_list): Likewise.
32303
32304         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
32305         file.
32306         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
32307         multiarch strncasecmp for PPC32.
32308         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32309         New file.
32310         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
32311         multiarch strcasecmp_l for PPC32.
32312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
32313         multiarch objects.
32314         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32315         (__libc_ifunc_impl_list): Likewise.
32316
32317         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
32318         file.
32319         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
32320         file.
32321         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
32322         multiarch strncmp for PPC32.
32323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
32324         multiarch objects.
32325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32326         (__libc_ifunc_impl_list): Likewise.
32327
32328         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
32329         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
32330         file.
32331         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
32332         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
32333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
32334         multiarch objects.
32335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32336         (__libc_ifunc_impl_list): Likewise.
32337
32338         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
32339         file.
32340         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
32341         file.
32342         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
32343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
32344         multiarch objects.
32345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32346         (__libc_ifunc_impl_list): Likewise.
32347
32348         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
32349         file.
32350         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
32351         file.
32352         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
32353         multiarch rawmemchr for PPC32.
32354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
32355         multiarch objects.
32356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32357         (__libc_ifunc_impl_list): Likewise.
32358
32359         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
32360         file.
32361         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
32362         file.
32363         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
32364         file: memrchr multiarch for PPC32.
32365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
32366         multiarch objects.
32367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32368         (__libc_ifunc_impl_list): Likewise.
32369
32370         * string/memchr.c (__memchr): Using macro to redefine symbol name.
32371         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
32372         file.
32373         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
32374         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
32375         multiarch memchr for PPC32.
32376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
32377         multiarch objects.
32378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32379         (__libc_ifunc_impl_list): Likewise.
32380
32381         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
32382         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
32383         file.
32384         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
32385         file.
32386         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
32387         file: multiarch mempcpy for PPC32.
32388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
32389         multiarch objects.
32390         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32391         (__libc_ifunc_impl_list): Likewise.
32392
32393         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
32394         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32395         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
32396         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
32397         multiarch bzero for PPC32.
32398         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
32399         file.
32400         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
32401         file.
32402         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
32403         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
32404         file: multiarch memset for PPC32.
32405         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
32406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
32407         memset multiarch objects.
32408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32409         (__libc_ifunc_impl_list): Likewise.
32410
32411         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
32412         file.
32413         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
32414         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
32415         memcmp for PPC32.
32416         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
32417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
32418         multiarch objects.
32419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32420         (__libc_ifunc_impl_list): Likewise.
32421
32422         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
32423         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
32424         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
32425         file.
32426         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
32427         file.
32428         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
32429         file.
32430         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
32431         multiarch memcpy for PPC32.
32432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
32433         multiarch objects.
32434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32435         (__libc_ifunc_impl_list): Likewise.
32436
32437         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
32438         support multiarch for POWER/PPC32.
32439         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
32440         Likewise.
32441         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
32443         Implies file to make multiarch folder appers before the fpu and
32444         default folder for power4 configuration.
32445
32446 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32447
32448         * scripts/bench.pl: Append volatile keyword to type.
32449
32450 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32451
32452         * sysdeps/sh/sotruss-lib.c: New file.
32453         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
32454
32455 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32456
32457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32458
32459 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
32460
32461         [BZ #6810]
32462         * math/w_tgamma.c: Include <errno.h>.
32463         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
32464         * math/w_tgammaf.c: Include <errno.h>.
32465         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
32466         * math/w_tgammal.c: Include <errno.h>.
32467         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
32468         * math/auto-libm-test-in: Do not allow missing errno on tgamma
32469         underflow.  Add more tgamma tests.
32470         * math/auto-libm-test-out: Regenerated.
32471         * sysdeps/i386/fpu/libm-test-ulps: Update.
32472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32473
32474         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
32475         sin, sinh, tan, tanh, tgamma, y0 and y1.
32476         * math/auto-libm-test-out: Regenerated.
32477         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32478         (TEST_COND_x86): Likewise.
32479         (M_E2l): Remove macro.
32480         (M_E3l): Likewise.
32481         (M_2_SQRT_PIl): Likewise.
32482         (M_SQRT_PIl): Likewise.
32483         (M_1_DIV_El): Likewise.
32484         (log_test_data): Use AUTO_TESTS_f_f.
32485         (log10_test_data): Likewise.
32486         (log1p_test_data): Likewise.
32487         (log2_test_data): Likewise.
32488         (sin_test_data): Likewise.
32489         (sin_tonearest_test_data): Likewise.
32490         (sin_towardzero_test_data): Likewise.
32491         (sin_downward_test_data): Likewise.
32492         (sin_upward_test_data): Likewise.
32493         (sinh_test_data): Likewise.
32494         (sinh_tonearest_test_data): Likewise.
32495         (sinh_towardzero_test_data): Likewise.
32496         (sinh_downward_test_data): Likewise.
32497         (sinh_upward_test_data): Likewise.
32498         (tan_test_data): Likewise.
32499         (tan_tonearest_test_data): Likewise.
32500         (tan_towardzero_test_data): Likewise.
32501         (tan_downward_test_data): Likewise.
32502         (tan_upward_test_data): Likewise.
32503         (tanh_test_data): Likewise.
32504         (tgamma_test_data): Likewise.
32505         (y0_test_data): Likewise.
32506         (y1_test_data): Likewise.
32507         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
32508         (special_real_inputs): Add pi/4.
32509         * sysdeps/i386/fpu/libm-test-ulps: Update.
32510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32511
32512 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32513
32514         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
32515         "longjmp_target" static probes.
32516         (__longjmp): Rename to __longjmp_symbol.
32517         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32518         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
32519         on which longjmp to generate.
32520         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32521         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
32522         probe.
32523         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32524         (__sigjmp_save): Rename to __sigjmp_save_symbol.
32525         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32526         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
32527         and __sigjmp_save_symbol based on which sigsetjmp to generated.
32528         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
32529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
32530         __longjmp_symbol based on which __longjmp to generate.
32531         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
32532         probe.
32533         (setjmp): Rename to setjmp_symbol.
32534         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32535         (_setjmp): Rename to _setjmp_symbol.
32536         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32537         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
32538         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
32539         which setjmp to generate.
32540         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
32541         "longjmp_target" static probes.
32542
32543 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32544
32545         * benchtests/README: Add note about output arguments.
32546         * benchtests/bench-sincos.c: Remove file.
32547         * benchtests/sincos-inputs: New file.
32548         * scripts/bench.pl: Identify output arguments and define
32549         static variables for them.
32550
32551         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
32552
32553         [BZ #15941]
32554         * Makefile (INSTALL): Add install-plain.texi as the primary
32555         dependency.
32556         * manual/install-plain.texi: New file.
32557         * manual/install.texi: Include node directive only for
32558         non-plaintext output.
32559
32560 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
32561
32562         * stdlib/longlong.h: Update from GCC.
32563
32564         [BZ #6807]
32565         [BZ #15901]
32566         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
32567         * math/w_j0f.c (y0f): Likewise.
32568         * math/w_j0l.c (__y0l): Likewise.
32569         * math/w_j1.c (y1): Likewise.
32570         * math/w_j1f.c (y1f): Likewise.
32571         * math/w_j1l.c (__y1l): Likewise
32572         * math/w_jn.c (yn): Likewise.
32573         * math/w_jnf.c (ynf): Likewise.
32574         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
32575         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
32576         value for Bessel function domain errors outside _SVID_ mode.
32577         Adjust sign of return value for yn (negative integer, 0).
32578         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
32579         by zero in return for negative x and set sign appropriately for
32580         negative n.
32581         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
32582         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32583         * math/libm-test.inc (y0_test_data): Add more tests and adjust
32584         expectations in error cases.
32585         (y1_test_data): Likewise.
32586         (yn_test_data): Likewise.
32587         * sysdeps/i386/fpu/libm-test-ulps: Update.
32588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32589
32590 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32591
32592         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
32593         "64" to "64-v1".  Add "64-v2".
32594         (abi-64-options): Rename to ...
32595         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
32596         (abi-64-condition): Rename to ...
32597         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
32598         (abi-64-ld-soname): Rename to ...
32599         (abi-64-v1-ld-soname): ... this.
32600         (abi-64-v2-options): Define.
32601         (abi-64-v2-condition): Likewise.
32602         (abi-64-v2-ld-soname): Likewise.
32603         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
32604         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
32605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
32606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
32607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
32608
32609 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32610             Alan Modra  <amodra@gmail.com>
32611
32612         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
32613         New versions for use with the ELFv2 ABI.
32614         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
32615         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
32616         declaration.
32617         (struct La_ppc64v2_retval): Likewise.
32618         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
32619         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
32620         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
32621         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
32622         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
32623         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32624         Do not save or restore CR.
32625         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
32626         (_dl_profile_resolve): Do no save or restore CR.  Support extended
32627         return values for ELFv2 ABI.  Fix location of FPR return registers.
32628         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
32629         updated values for _CALL_ELF == 2.
32630         (La_regs, La_retval, int_retval): Likewise.
32631
32632 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32633
32634         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
32635         (FRAME_MIN_SIZE_PARM): Likewise.
32636         (FRAME_BACKCHAIN): Likewise.
32637         (FRAME_CR_SAVE): Likewise.
32638         (FRAME_LR_SAVE): Likewise.
32639         (FRAME_TOC_SAVE): Likewise.
32640         (FRAME_PARM_SAVE): Likewise.
32641         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
32642         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
32643         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32644         (call_mcount_parm_offset): New macro.
32645         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
32646         (PROF): Use symbolic stack frame offsets.
32647         (TAIL_CALL_SYSCALL_ERROR): Likewise.
32648         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
32649         Redefine in terms of FRAME_MIN_SIZE.
32650         (_dl_runtime_resolve): Use symbolic stack frame offsets.
32651         (_dl_profile_resolve): Likewise.  Update comment.
32652         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
32653         symbols stack frame offsets.
32654         (__sigsetjmp): Likewise.
32655         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
32656         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
32657         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
32658         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
32659
32660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
32661         (FRAME_BACKCHAIN): Remove.
32662         (FRAME_CR_SAVE): Likewise.
32663         (FRAME_LR_SAVE): Likewise.
32664         (FRAME_COMPILER_DW): Likewise.
32665         (FRAME_LINKER_DW): Likewise.
32666         (FRAME_TOC_SAVE): Likewise.
32667         (FRAME_PARM_SAVE): Likewise.
32668         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
32669         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
32670         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
32672         (CHECK_SP): Use symbolic stack frame offsets.
32673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
32674         zone" instead of caller's parameter save area for temp storage.
32675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32676         Likewise.  Also, use symbolic stack frame offsets.
32677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
32678         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
32679         our own stack frame instead of the caller's.
32680         (__socket): Use symbolic stack frame offsets.
32681
32682 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32683             Alan Modra  <amodra@gmail.com>
32684
32685         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
32686         Define.
32687         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
32688         (PPC64_LOCAL_ENTRY_OFFSET): Define.
32689         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
32690         New function.
32691         (elf_machine_fixup_plt): Call it.
32692         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
32693         reloc arguments.
32694         (elf_machine_rela): Update call to elf_machine_plt_conflict.
32695         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32696         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
32697         r2 before calling target.
32698
32699 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32700             Alan Modra  <amodra@gmail.com>
32701
32702         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
32703         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
32704         versions of macros to support ELFv2 ABI.
32705         (LOCALENTRY): New macro.
32706         (ENTRY, EALIGN): Use it.
32707         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
32708         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
32709         fall through into ENTRY entry point.
32710         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
32711         Only define if _CALL_ELF != 2.
32712
32713         (elf_machine_matches_host): Verify ABI version matches.
32714         (RTLD_START): Use LOCALENTRY.
32715         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
32716         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
32717         (PLT_ENTRY_WORDS): New macro.
32718         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
32719         (elf_machine_runtime_setup): Support ELFv2 ABI.
32720         (elf_machine_fixup_plt): Likewise.
32721         (elf_machine_plt_conflict): Likewise.
32722         (resolve_ifunc): Likewise.
32723         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32724         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
32725         Likewise.
32726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
32727         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
32728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32729         (makecontext): Support ELFv2 ABI.
32730         * elf/elf.h (EF_PPC64_ABI): Define.
32731
32732 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32733
32734         * sysdeps/powerpc/powerpc64/sysdep.h
32735         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
32736         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
32737         (ENTRY) [ASSEMBLER]: ... but instead here ...
32738         (EALIGN) [ASSEMBLER]: ... and here.
32739         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
32740         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
32741         (ENTRY_2) [!ASSEMBLER]: Use it.
32742         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
32743         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
32744         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32745         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
32746         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
32747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
32748         Use PPC64_LOAD_FUNCPTR.
32749
32750         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
32751
32752 2013-12-04  Alan Modra  <amodra@gmail.com>
32753
32754         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
32755         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
32756         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
32757         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
32758
32759         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
32760         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
32761         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
32762         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
32763         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
32764         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
32765
32766 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32767
32768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32769         (__makecontext): Fix incorrect CFI when backtracing out of
32770         context created via makecontext.
32771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
32772         (__setcontext): Fix incorrect CFI during switch to new context.
32773         (__novec_setcontext): Likewise.
32774
32775 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
32776
32777         [BZ #4772]
32778         * time/strptime_l.c (__strptime_internal): Allow modifiers
32779         in strptime.
32780         * time/tst-strptime.c (day_tests): Add testcase.
32781
32782 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32783
32784         * scripts/bench.pl: Skip over blank lines.
32785
32786 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
32787
32788         [BZ #926]
32789         * manual/time.texi (Calendar Time): Clarify what timezone functions
32790         use.
32791
32792 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32793
32794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32795
32796 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
32797
32798         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
32799         implementation.
32800         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
32801         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
32802         * debug/memset_chk.c (__memset_chk): Likewise.
32803         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
32804         * debug/strncpy_chk.c: Likewise.
32805
32806 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
32807
32808         [BZ #15268]
32809         [BZ #15425]
32810         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
32811         (__ieee754_exp): For possibly underflowing results, check size of
32812         result and force underflow exception if required.
32813         * math/auto-libm-test-in: Add more tests of exp.
32814         * math/auto-libm-test-out: Regenerated.
32815         * sysdeps/i386/fpu/libm-test-ulps: Update.
32816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32817
32818         [BZ #16283]
32819         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
32820         * math/w_exp2f.c (__exp2f): Likewise.
32821         * math/w_exp2l.c (__exp2l): Likewise.
32822         * math/auto-libm-test-in: Do not allow missing errno on exp2
32823         underflow.
32824         * math/auto-libm-test-out: Regenerated.
32825
32826 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
32827
32828         [BZ #16274]
32829         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
32830         handle filename validation.
32831         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
32832         (do_open): Delete.
32833
32834 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
32835
32836         [BZ #6786]
32837         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
32838         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
32839         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
32840         <float.h>.
32841         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
32842         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
32843         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32844         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
32845         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32846         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
32847         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32848         * math/auto-libm-test-in: Don't allow missing errno from erfc.
32849         Add more erfc tests.
32850         * math/auto-libm-test-out: Regenerated.
32851         * sysdeps/i386/fpu/libm-test-ulps: Update.
32852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32853
32854         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
32855         exp2, expm1, j0 and j1.
32856         * math/auto-libm-test-out: Regenerated.
32857         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
32858         (erfc_test_data): Likewise.
32859         (exp_test_data): Likewise.
32860         (exp_tonearest_test_data): Likewise.
32861         (exp_towardzero_test_data): Likewise.
32862         (exp_downward_test_data): Likewise.
32863         (exp_upward_test_data): Likewise.
32864         (exp10_test_data): Likewise.
32865         (exp2_test_data): Likewise.
32866         (expm1_test_data): Likewise.
32867         (j0_test_data): Likewise.
32868         (j1_test_data): Likewise.
32869         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
32870         (input_flag_type): Add flag_xfail_rounding.
32871         (input_flags): Add xfail-rounding.
32872         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
32873         (output_for_one_input_case): Handle flag_xfail_rounding.
32874         * sysdeps/i386/fpu/libm-test-ulps: Update.
32875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32876
32877 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
32878
32879         [BZ #16289]
32880         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
32881         division by 0.
32882
32883 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32884
32885         [BZ #16195]
32886         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
32887         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
32888         (STAP_PROBE0): New macro.
32889         (STAP_PROBE1): Likewise.
32890         (STAP_PROBE2): Likewise.
32891         (STAP_PROBE3): Likewise.
32892         (STAP_PROBE4): Likewise.
32893
32894 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
32895
32896         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
32897
32898 2013-12-02  Steve Ellcey  <sellcey@mips.com>
32899
32900         * benchtests/Makefile (bench): Add sqrt.
32901         (LDLIBS-bench-sqrt): New.
32902         * benchtests/sqrt-input: New.
32903
32904 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
32905
32906         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
32907         (GAIH_EAI): Likewise.
32908         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
32909         (gaih_inet): Likewise.
32910         (getaddrinfo): Don't use GAIH_EAI.
32911
32912         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
32913         (struct gaih): Remove definition.
32914
32915 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32916
32917         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
32918         Use HERRNOP directly.
32919
32920 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32921
32922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32923
32924 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
32925
32926         * math/gen-auto-libm-tests.c (test_functions): Add more
32927         single-argument functions.
32928         (special_fill_pi_2): New function.
32929         (special_fill_minus_pi_2): Likewise.
32930         (special_fill_pi_6): Likewise.
32931         (special_fill_minus_pi_6): Likewise.
32932         (special_fill_pi_3): Likewise.
32933         (special_fill_2pi_3): Likewise.
32934         (special_fill_e): Likewise.
32935         (special_fill_1_e): Likewise.
32936         (special_fill_e_minus_1): Likewise.
32937         (special_real_inputs): Add more special inputs.
32938         (output_for_one_input_case): Do not require ERANGE on underflow to
32939         zero if round-to-nearest result does not underflow to zero, unless
32940         exact results required.
32941         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
32942         atan, atanh, cbrt, cos and cosh.
32943         * math/auto-libm-test-out: Regenerated.
32944         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
32945         (acos_tonearest_test_data): Likewise.
32946         (acos_towardzero_test_data): Likewise.
32947         (acos_downward_test_data): Likewise.
32948         (acos_upward_test_data): Likewise.
32949         (acosh_test_data): Likewise.
32950         (asin_test_data): Likewise.
32951         (asin_tonearest_test_data): Likewise.
32952         (asin_towardzero_test_data): Likewise.
32953         (asin_upward_test_data): Likewise.
32954         (asinh_test_data): Likewise.
32955         (atan_test_data): Likewise.
32956         (atanh_test_data): Likewise.
32957         (cbrt_test_data): Likewise.
32958         (cos_test_data): Likewise.
32959         (cos_tonearest_test_data): Likewise.
32960         (cos_towardzero_test_data): Likewise.
32961         (cos_downward_test_data): Likewise.
32962         (cos_upward_test_data): Likewise.
32963         (cosh_test_data): Likewise.
32964         (cosh_tonearest_test_data): Likewise.
32965         (cosh_towardzero_test_data): Likewise.
32966         (cosh_downward_test_data): Likewise.
32967         (cosh_upward_test_data): Likewise.
32968         * sysdeps/i386/fpu/libm-test-ulps: Update.
32969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32970
32971 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
32972
32973         [BZ #6787]
32974         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
32975         * math/w_exp10f.c (__exp10f): Likewise.
32976         * math/w_exp10l.c (__exp10l): Likewise.
32977         * math/libm-test.inc (exp10_test_data): Add more tests and expect
32978         errno settings in existing tests.
32979
32980         [BZ #14032]
32981         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
32982         precision control set to double precision.
32983         * sysdeps/i386/fpu/w_sqrt.c: New file.
32984         * math/auto-libm-test-in: Add more tests.
32985         * math/auto-libm-test-out: Update.
32986
32987         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
32988         (sqrt_test_tonearest): New function.
32989         (sqrt_towardzero_test_data): New variable.
32990         (sqrt_test_towardzero): New function.
32991         (sqrt_downward_test_data): New variable.
32992         (sqrt_test_downward): New function.
32993         (sqrt_upward_test_data): New variable.
32994         (sqrt_test_upward): New function.
32995         (main): Call the new functions.
32996
32997         * math/gen-auto-libm-tests.c: New file.
32998         * math/auto-libm-test-in: Likewise.
32999         * math/auto-libm-test-out: New generated file.
33000         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
33001         variables.
33002         (%beautify): Add generated representations of zero.
33003         (top level): Set $auto_input and call parse_auto_input.
33004         (beautify): Remove trailing "f" from hex float constants.
33005         (parse_args): Handle XFAIL_TEST.
33006         (convert_condition): New function.
33007         (or_value): Likewise.
33008         (or_cond_value): Likewise.
33009         (generate_testfile): Handle AUTO_TESTS_* lines.
33010         (parse_auto_input): New function.
33011         * math/libm-test.inc (XFAIL_TEST): New macro.
33012         (ERRNO_UNCHANGED): Update value.
33013         (ERRNO_EDOM): Likewise.
33014         (ERRNO_ERANGE): Likewise.
33015         (IGNORE_RESULT): Likewise.
33016         (TEST_COND_flt_32): New macro.
33017         (TEST_COND_dbl_64): Likewise.
33018         (TEST_COND_ldbl_96_intel): Likewise.
33019         (TEST_COND_ldbl_96_m68k): Likewise.
33020         (TEST_COND_ldbl_128): Likewise.
33021         (TEST_COND_ldbl_128ibm): Likewise.
33022         (TEST_COND_long32): Likewise.
33023         (TEST_COND_long64): Likewise.
33024         (TEST_COND_before_rounding): Likewise.
33025         (TEST_COND_after_rounding): Likewise.
33026         (enable_test): Handle XFAIL_TEST flag.
33027         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33028         with finite results.
33029         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33030         auto-libm-test-out.
33031
33032 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33033             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33034
33035         [BZ #16214]
33036         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33037         __tls_get_addr_internal instead of __tls_get_offset in order to
33038         avoid GOT pointer dependency.  Make rtld export
33039         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33040         __tls_get_addr since we are a __tls_get_offset platform.
33041         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33042         GOT pointer being set up before.
33043         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33044
33045 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33046
33047         * manual/math.texi (Errors in Math Functions): Document accuracy
33048         goals.
33049
33050         [BZ #15004]
33051         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33052         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33053         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33054         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33055         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33056         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33057         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33058         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33059         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33060         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33061         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33062         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33063         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33064         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33065         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33066         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33067
33068         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33069         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33070         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33071         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33072         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33073         Likewise.
33074         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33075         Likewise.
33076         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33077         Likewise.
33078         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33079         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33080         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33081         atomic-feupdateenv and flt-rounds.
33082         * sysdeps/powerpc/nofpu/Versions (libc): Add
33083         __atomic_feholdexcept, __atomic_feclearexcept,
33084         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33085         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33086         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33087         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33088         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33089         here.
33090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33091         Update.
33092
33093         * manual/arith.texi (FP Exceptions): Document that exceptions may
33094         not be raised when matherr is used.
33095         (Math Error Reporting): Document overflow in directed rounding
33096         modes.  Document that errno may not be set when finite values are
33097         returned on overflow.  Document intent to set errno on underflow
33098         only for underflow to zero.
33099
33100         [BZ #16271]
33101         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33102         round-to-nearest then adjust result for other rounding modes.
33103         * include/fenv.h (fegetround): Use libm_hidden_proto.
33104         * math/fegetround.c (fegetround): Use libm_hidden_def.
33105         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33106         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33107         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33108         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33109         Likewise.
33110         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33111         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33112         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33113         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33114
33115 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33116
33117         [BZ #16077]
33118         * nss/Versions (libnss_files): Add
33119         _nss_files_gethostbyname3_r.
33120         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33121         New function.
33122         (HOST_DB_LOOKUP): Remove macro.
33123         (_nss_files_gethostbyname_r): Implement function without the
33124         HOST_DB_LOOKUP macro.
33125         (_nss_files_gethostbyname2_r): Likewise.
33126
33127 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33128
33129         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33130
33131 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33132
33133         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33134         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33135         warning.
33136
33137 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33138
33139         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33140         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33141         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33142         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33143         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33144         __fe_nomask_env_priv and attribute_hidden.
33145         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33146         (libc_feupdateenv_test_ppc): Likewise.
33147         (libc_feresetround_ppc): Likewise.
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33149         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33150         compat_symbol macro.
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33152         (__fe_nomask_env): Likewise.
33153         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33154
33155 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33156
33157         * string/Makefile: Remove ifunc tests.
33158         * string/test-string.h: Define TEST_IFUNC.
33159         * string/test-bcopy-ifunc.c: Remove.
33160         * string/test-bzero-ifunc.c: Likewise.
33161         * string/test-memccpy-ifunc.c: Likewise.
33162         * string/test-memchr-ifunc.c: Likewise.
33163         * string/test-memcmp-ifunc.c: Likewise.
33164         * string/test-memcpy-ifunc.c: Likewise.
33165         * string/test-memmem-ifunc.c: Likewise.
33166         * string/test-memmove-ifunc.c: Likewise.
33167         * string/test-mempcpy-ifunc.c: Likewise.
33168         * string/test-memrchr-ifunc.c: Likewise.
33169         * string/test-memset-ifunc.c: Likewise.
33170         * string/test-rawmemchr-ifunc.c: Likewise.
33171         * string/test-stpcpy-ifunc.c: Likewise.
33172         * string/test-stpncpy-ifunc.c: Likewise.
33173         * string/test-strcasecmp-ifunc.c: Likewise.
33174         * string/test-strcasestr-ifunc.c: Likewise.
33175         * string/test-strcat-ifunc.c: Likewise.
33176         * string/test-strchr-ifunc.c: Likewise.
33177         * string/test-strchrnul-ifunc.c: Likewise.
33178         * string/test-strcmp-ifunc.c: Likewise.
33179         * string/test-strcpy-ifunc.c: Likewise.
33180         * string/test-strcspn-ifunc.c: Likewise.
33181         * string/test-strlen-ifunc.c: Likewise.
33182         * string/test-strncasecmp-ifunc.c: Likewise.
33183         * string/test-strncat-ifunc.c: Likewise.
33184         * string/test-strncmp-ifunc.c: Likewise.
33185         * string/test-strncpy-ifunc.c: Likewise.
33186         * string/test-strnlen-ifunc.c: Likewise.
33187         * string/test-strpbrk-ifunc.c: Likewise.
33188         * string/test-strrchr-ifunc.c: Likewise.
33189         * string/test-strspn-ifunc.c: Likewise.
33190         * string/test-strstr-ifunc.c: Likewise.
33191
33192 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33193
33194         * benchtests/Makefile: Remove ifunc tests.
33195         * benchtests/bench-string.h: Define TEST_IFUNC.
33196         * benchtests/bench-bcopy-ifunc.c: Remove.
33197         * benchtests/bench-bzero-ifunc.c: Likewise.
33198         * benchtests/bench-memccpy-ifunc.c: Likewise.
33199         * benchtests/bench-memchr-ifunc.c: Likewise.
33200         * benchtests/bench-memcmp-ifunc.c: Likewise.
33201         * benchtests/bench-memcpy-ifunc.c: Likewise.
33202         * benchtests/bench-memmem-ifunc.c: Likewise.
33203         * benchtests/bench-memmove-ifunc.c: Likewise.
33204         * benchtests/bench-mempcpy-ifunc.c: Likewise.
33205         * benchtests/bench-memrchr-ifunc.c: Likewise.
33206         * benchtests/bench-memset-ifunc.c: Likewise.
33207         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
33208         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
33209         * benchtests/bench-stpcpy-ifunc.c: Likewise.
33210         * benchtests/bench-stpncpy-ifunc.c: Likewise.
33211         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
33212         * benchtests/bench-strcasestr-ifunc.c: Likewise.
33213         * benchtests/bench-strcat-ifunc.c: Likewise.
33214         * benchtests/bench-strchr-ifunc.c: Likewise.
33215         * benchtests/bench-strchrnul-ifunc.c: Likewise.
33216         * benchtests/bench-strcmp-ifunc.c: Likewise.
33217         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
33218         * benchtests/bench-strcpy-ifunc.c: Likewise.
33219         * benchtests/bench-strcspn-ifunc.c: Likewise.
33220         * benchtests/bench-strlen-ifunc.c: Likewise.
33221         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
33222         * benchtests/bench-strncat-ifunc.c: Likewise.
33223         * benchtests/bench-strncmp-ifunc.c: Likewise.
33224         * benchtests/bench-strncpy-ifunc.c: Likewise.
33225         * benchtests/bench-strnlen-ifunc.c: Likewise.
33226         * benchtests/bench-strpbrk-ifunc.c: Likewise.
33227         * benchtests/bench-strrchr-ifunc.c: Likewise.
33228         * benchtests/bench-strsep-ifunc.c: Likewise.
33229         * benchtests/bench-strspn-ifunc.c: Likewise.
33230         * benchtests/bench-strstr-ifunc.c: Likewise.
33231
33232 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33233
33234         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
33235
33236 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33237
33238         * resolv/netdb.h: Use __glibc_reserved instead __unused.
33239         * rt/aio.h: Likewise.
33240         * sysdeps/gnu/bits/utmp.h: Likewise.
33241         * sysdeps/gnu/bits/utmpx.h: Likewise.
33242         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33243         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
33244         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
33245         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
33246         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
33247         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
33248         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
33249         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
33250         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
33251         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
33252         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
33253         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
33254         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
33255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
33256         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33257         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
33258         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
33259         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
33260         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
33261         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
33262         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
33263         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
33264         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
33265         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33266         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
33267         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33268         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33269         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
33270         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
33271         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
33272         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
33273         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
33274         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
33275         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33276         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
33277         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
33278         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
33279         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
33280         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
33281         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
33282         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
33283         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33284
33285 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
33286
33287         [BZ #16245]
33288         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
33289         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
33290
33291 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
33292
33293         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
33294         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33295         Likewise.
33296
33297 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33298
33299         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
33300         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
33301         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
33302         (__fesetround): Remove define.
33303         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
33304         rounding and exceptions handling.
33305         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
33306         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
33307         (__fe_nomask_env): Likewise.
33308         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
33309         __fegetround instead of fegetround.
33310         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33311         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
33312
33313 2013-11-21  Roland McGrath  <roland@hack.frob.com>
33314
33315         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
33316         it's there.
33317
33318         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
33319
33320 2013-11-21  Meador Inge  <meadori@codesourcery.com>
33321
33322         [BZ #11157]
33323         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
33324         (encrypt_r): Likewise.
33325         * malloc/obstack.h (obstack_free): Likewise.
33326         * posix/unistd.h (encrypt): Likewise.
33327
33328 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
33329
33330         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
33331         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
33332         DL_CALL_DT_FINI() that call the functions directly.
33333         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
33334         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
33335         * elf/dl-fini.c: Likewise.
33336
33337 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
33338
33339         * malloc/hooks.c (memalign_check): Add alignment rounding.
33340         * malloc/malloc.c (_mid_memalign): New function.
33341         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
33342         Implement by calling _mid_memalign.
33343         * manual/probes.texi (Memory Allocation Probes): Remove
33344         memory_valloc_retry and memory_pvalloc_retry.
33345
33346 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33347
33348         * locale/programs/locarchive.c (open_archive): Add const
33349         qualifier to ARCHIVEFNAME and copy default fname to
33350         DEFAULT_FNAME.
33351
33352         [BZ #15601]
33353         * libio/tst-widetext.input: Rename Oriya to Odia.
33354         * locale/iso-639.def: Likewise.
33355
33356         * manual/probes.texi (Mathematical Function Probes): Add
33357         documentation for sin, cos, asin and acos probes.
33358         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
33359         (__sin32): Add slowasin probe.
33360         (__cos32): Add slowacos probe.
33361         (__mpsin): Add slowsin probe.
33362         (__mpcos): Add slowcos probe.
33363
33364 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
33365
33366         [BZ #15483]
33367         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
33368         thread-local __sim_exceptions_thread and global
33369         __sim_exceptions_global.
33370         (__sim_disabled_exceptions): Change to thread-local
33371         __sim_disabled_exceptions_thread and global
33372         __sim_disabled_exceptions_global.
33373         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33374         and global __sim_round_mode_global.
33375         (__simulate_exceptions): Use thread-local floating-point state and
33376         set global state from it as needed.
33377         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33378         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
33379         __sim_round_mode_thread.
33380         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
33381         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
33382         and global __sim_exceptions_global.
33383         (__sim_disabled_exceptions): Change to thread-local
33384         __sim_disabled_exceptions_thread and global
33385         __sim_disabled_exceptions_global.
33386         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33387         and global __sim_round_mode_global.
33388         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
33389         (SIM_SET_GLOBAL): Likewise.
33390         * sysdeps/powerpc/soft-fp/sfp-machine.h
33391         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
33392         __sim_round_mode_thread.
33393         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
33394         __sim_disabled_exceptions_thread.
33395         (__sim_exceptions): Change to __sim_exceptions_thread.
33396         (__sim_disabled_exceptions): Change to
33397         __sim_disabled_exceptions_thread.
33398         (__sim_round_mode): Change to __sim_round_mode_thread.
33399         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
33400         thread-local floating-point state and set global state from it as
33401         needed.
33402         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
33403         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
33404         (__sim_disabled_exceptions): Remove extern declaration.
33405         (feenableexcept): Use thread-local floating-point state and set
33406         global state from it as needed.
33407         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
33408         extern declaration.
33409         (__sim_disabled_exceptions): Likewise.
33410         (__sim_round_mode): Likewise.
33411         (__fegetenv): Use thread-local floating-point state.
33412         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
33413         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33414         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
33415         floating-point state and set global state from it as needed.
33416         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
33417         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33418         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
33419         Likewise.
33420         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33421         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
33422         Likewise.
33423         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
33424         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
33425         Use __sim_round_mode_thread.
33426         * math/test-fenv-tls.c: New file.
33427         * math/Makefile (tests): Add test-fenv-tls.
33428         ($(objpfx)test-fenv-tls): Depend on
33429         $(common-objpfx)nptl/libpthread.so.
33430
33431 2013-11-19  Andreas Schwab  <schwab@suse.de>
33432
33433         * locale/programs/locale.c (show_info): Decode wordarray elements.
33434         * locale/categories.def (LC_MONETARY): Add element for
33435         _NL_MONETARY_CRNCYSTR.
33436         * locale/C-monetary.c (conversion_rate): New variable.
33437         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
33438         element.
33439
33440 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
33441
33442         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
33443         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
33444
33445 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33446
33447         * elf/Makefile (tst-auxv): New test.
33448         * elf/tst-auxv.c: New
33449         * elf/rtld.c (dl_main): Adjust AT_EXECFN
33450
33451 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
33452
33453         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
33454         (hidden_proto): Caller changed.
33455         (hidden_tls_proto): New macro.
33456         (libc_hidden_tls_proto): Likewise.
33457         (rtld_hidden_tls_proto): Likewise.
33458         (libm_hidden_tls_proto): Likewise.
33459         (libresolv_hidden_tls_proto): Likewise.
33460         (librt_hidden_tls_proto): Likewise.
33461         (libdl_hidden_tls_proto): Likewise.
33462         (libnss_files_hidden_tls_proto): Likewise.
33463         (libnsl_hidden_tls_proto): Likewise.
33464         (libnss_nisplus_hidden_tls_proto): Likewise.
33465         (libutil_hidden_tls_proto): Likewise.
33466
33467 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
33468
33469         [BZ #10253]
33470         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
33471         (decompose_rpath): Defer expansion to fillin_rpath.
33472         (_dl_init_paths): Pass linkmap to fillin_rpath.
33473
33474 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33475
33476         * benchtests/Makefile: Add strsep.
33477         * benchtests/bench-strsep.c: New file: strsep benchtest.
33478         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
33479
33480 2013-11-18  Andreas Schwab  <schwab@suse.de>
33481
33482         * locale/programs/locale.c (show_info) [case byte]: Check for
33483         '\377' instead of '\177'.
33484         * locale/C-monetary.c (not_available): Always use "\377".
33485         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
33486         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
33487         detect unavailable sign_posn locale elements.
33488         * locale/localeconv.c (__localeconv): For grouping and
33489         mon_grouping handle "\177" and "\377" like no grouping.
33490         (INT_ELEM): New macro.  Use it to set all numeric members.
33491         * locale/programs/ld-monetary.c (monetary_read)
33492         <tok_mon_grouping>: Normalize single -1 to the empty string.
33493         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
33494         Likewise.
33495
33496 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33497
33498         [BZ #16055]
33499         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
33500         when we match (nil).
33501         * stdio-common/tst-sscanf.c (struct test): Add testcase.
33502
33503 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
33504
33505         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
33506         (NO_TEST_INLINE): Update value.
33507         (ERRNO_UNCHANGED): Likewise.
33508         (ERRNO_EDOM): Likewise.
33509         (ERRNO_ERANGE): Likewise.
33510         (IGNORE_RESULT): Likewise.
33511         (check_float_internal): Check signs of NaN results if
33512         TEST_NAN_SIGN used.
33513         (check_complex): Pass TEST_NAN_SIGN flag through to second
33514         check_float_internal call.
33515         (copysign_test_data): Add tests with quiet NaNs as second
33516         argument.  Use TEST_NAN_SIGN.
33517         (fabs_test_data): Add test of negative quiet NaN argument.  Use
33518         TEST_NAN_SIGN.
33519         (signbit_test_data): Add tests of quiet NaN argument.
33520         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
33521
33522         * math/gen-libm-test.pl (show_exceptions): Take extra argument
33523         $ignore_result.
33524         (parse_args): Handle function results specified as IGNORE.
33525         * math/libm-test.inc (IGNORE_RESULT): New macro.
33526         (check_float_internal): Do not check numerical result if flag
33527         IGNORE_RESULT set.
33528         (check_complex): Pass through IGNORE_RESULT to second
33529         check_float_internal call.
33530         (check_int): Do not check numerical result if flag IGNORE_RESULT
33531         set.
33532         (check_long): Likewise.
33533         (check_bool): Likewise.
33534         (check_longlong): Likewise.
33535         (lrint_test_data): Add tests of infinite and NaN arguments.
33536         (lrint_tonearest_test_data): Likewise.
33537         (lrint_towardzero_test_data): Likewise.
33538         (lrint_downward_test_data): Likewise.
33539         (lrint_upward_test_data): Likewise.
33540         (llrint_test_data): Likewise.
33541         (llrint_tonearest_test_data): Likewise.
33542         (llrint_towardzero_test_data): Likewise.
33543         (llrint_downward_test_data): Likewise.
33544         (llrint_upward_test_data): Likewise.
33545         (lround_test_data): Likewise.
33546         (llround_test_data): Likewise.
33547
33548         * math/libm-test.inc (NO_TEST_INLINE): New macro.
33549         (ERRNO_UNCHANGED): Update value.
33550         (ERRNO_EDOM): Likewise.
33551         (ERRNO_ERANGE): Likewise.
33552         (NO_TEST_INLINE_FLOAT): New macro.
33553         (NO_TEST_INLINE_DOUBLE): Likewise.
33554         (enable_test): New function.
33555         (RUN_TEST_f_f): Check enable_test before running test.
33556         (RUN_TEST_2_f): Likewise.
33557         (RUN_TEST_fff_f): Likewise.
33558         (RUN_TEST_c_f): Likewise.
33559         (RUN_TEST_f_f1): Likewise.
33560         (RUN_TEST_fF_f1): Likewise.
33561         (RUN_TEST_fI_f1): Likewise.
33562         (RUN_TEST_ffI_f1): Likewise.
33563         (RUN_TEST_c_c): Likewise.
33564         (RUN_TEST_cc_c): Likewise.
33565         (RUN_TEST_f_i): Likewise.
33566         (RUN_TEST_f_i_tg): Likewise.
33567         (RUN_TEST_ff_i_tg): Likewise.
33568         (RUN_TEST_f_b): Likewise.
33569         (RUN_TEST_f_b_tg): Likewise.
33570         (RUN_TEST_f_l): Likewise.
33571         (RUN_TEST_f_L): Likewise.
33572         (RUN_TEST_fFF_11): Likewise.
33573         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
33574         conditionals.
33575         (cosh_test_data): Likewise.
33576         (exp_test_data): Likewise.
33577         (expm1_test_data): Likewise.
33578         (hypot_test_data): Likewise.
33579         (pow_test_data): Likewise.
33580         (sinh_test_data): Likewise.
33581         (tanh_test_data): Likewise.
33582         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
33583         flags argument.
33584
33585         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
33586         tests with quiet NaN input and output.
33587         (acosh_test_data): Likewise.
33588         (asin_test_data): Likewise.
33589         (asinh_test_data): Likewise.
33590         (atan_test_data): Likewise.
33591         (atanh_test_data): Likewise.
33592         (atan2_test_data): Likewise.
33593         (cbrt_test_data): Likewise.
33594         (cos_test_data): Likewise.
33595         (cosh_test_data): Likewise.
33596         (erf_test_data): Likewise.
33597         (erfc_test_data): Likewise.
33598         (exp_test_data): Likewise.
33599         (exp10_test_data): Likewise.
33600         (exp2_test_data): Likewise.
33601         (expm1_test_data): Likewise.
33602         (hypot_test_data): Likewise.
33603         (j0_test_data): Likewise.
33604         (j1_test_data): Likewise.
33605         (jn_test_data): Likewise.
33606         (lgamma_test_data): Likewise.
33607         (log_test_data): Likewise.
33608         (log10_test_data): Likewise.
33609         (log1p_test_data): Likewise.
33610         (log2_test_data): Likewise.
33611         (pow_test_data): Likewise.
33612         (scalb_test_data): Likewise.
33613         (sin_test_data): Likewise.
33614         (sincos_test_data): Likewise.
33615         (sinh_test_data): Likewise.
33616         (tan_test_data): Likewise.
33617         (tanh_test_data): Likewise.
33618         (tgamma_test_data): Likewise.
33619         (y0_test_data): Likewise.
33620         (y1_test_data): Likewise.
33621         (yn_test_data): Likewise.
33622
33623         [BZ #16167]
33624         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
33625         argument being NaN and avoid computations with second argument in
33626         that case.
33627         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33628         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33629         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33630
33631 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
33632
33633         * locale/iso-639.def: Add Chitwani Tharu (the).
33634
33635 2013-11-14  Andreas Schwab  <schwab@suse.de>
33636
33637         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
33638         word instead of empty string.
33639
33640 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33641
33642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33643         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
33644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33645         (__fe_nomask_env): Likewise.
33646
33647 2013-11-13  Steve Ellcey  <sellcey@mips.com>
33648
33649         * benchtests/bench-timing.h: Include time.h.
33650
33651 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
33652
33653         [BZ #15997]
33654         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
33655         to 3.4.0 for x32.
33656         * sysdeps/unix/sysv/linux/configure: Regenerated.
33657
33658 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
33659
33660         [BZ #16151]
33661         * stdlib/strtod_l.c (round_and_return): Do not consider
33662         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
33663         exponent one less than half the least subnormal exponent.
33664         * stdlib/test-strtod-round-data: Add more tests.
33665         * stdlib/tst-strtod-round.c (tests): Regenerated.
33666
33667 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33668
33669         [BZ #14143]
33670         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
33671         (__fe_mask_env): Likewise.
33672         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
33673         libm_hidden_proto and add function prototype.
33674         (__fe_mask_env): Add function prototype.
33675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33676         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
33677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33678         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
33679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33680         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
33681
33682 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33683
33684         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
33685         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
33686
33687 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33688
33689         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
33690         of htab_find_slot().
33691
33692 2013-11-11  David S. Miller  <davem@davemloft.net>
33693
33694         [BZ #16150]
33695         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
33696         symbol in the non-vis3 case in static builds.
33697         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
33698         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
33699         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
33700         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
33701
33702 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
33703
33704         [BZ #387]
33705         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
33706         it is empty.
33707
33708 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33709
33710         * benchtests/Makefile: Add bench-strtod.
33711         * benchtests/bench-strtod.c: New file: strtod benchtest
33712
33713 2013-11-11  Andreas Schwab  <schwab@suse.de>
33714
33715         [BZ #16153]
33716         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
33717         terminating NUL in key length.
33718
33719 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33720
33721         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33722         Add artificial ODP entry for vDSO symbol for PPC64.
33723         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
33724         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33725
33726 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33727
33728         [BZ #15374]
33729         * nss/getent.c (services_keys): Recognize services starting with digit.
33730
33731 2013-11-06  David S. Miller  <davem@davemloft.net>
33732
33733         [BZ #15985]
33734         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
33735         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
33736
33737 2013-11-06  Will Newton  <will.newton@linaro.org>
33738
33739         * manual/memory.texi (Malloc Examples): Remove register
33740         keyword from examples.
33741
33742 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
33743
33744         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
33745
33746 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
33747
33748         [BZ #6981]
33749         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
33750         depending on [__GCC_IEC_559 > 0].
33751         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
33752         depending on [__GCC_IEC_559_COMPLEX > 0].
33753
33754 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
33755
33756         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
33757         to iso-639.def.
33758
33759 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
33760
33761         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
33762
33763 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
33764
33765         [BZ #16112]
33766         * malloc/malloc (malloc_info): Do not handle first bin as
33767         special case.
33768
33769 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
33770
33771         * locale/iso-639.def: Add Central Nahuatl (nhn).
33772
33773 2013-11-01  Bruno Haible  <bruno@clisp.org>
33774
33775         [BZ #7003]
33776         * manual/math.texi (BSD Random): Specify range upper bound as
33777         in POSIX.
33778
33779 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
33780
33781         * locale/iso-639.def: Add Meadow Mari (mhr).
33782
33783 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
33784
33785         [BZ #14752], [BZ #15763]
33786         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
33787         Validate name.
33788         * rt/tst_shm.c: Add test for escaping directory.
33789
33790 2013-10-31  Andreas Schwab  <schwab@suse.de>
33791
33792         [BZ #15917]
33793         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
33794         followed by 'x' as part of digit sequence.
33795         * stdio-common/tst-sscanf.c (double_tests2): New tests.
33796
33797 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
33798
33799         [BZ #16037]
33800         * configure.ac: allow GNU Make 4.0 and greater.
33801         * configure: Regenerated.
33802
33803 2013-10-30  Will Newton  <will.newton@linaro.org>
33804
33805         [BZ #16038]
33806         * malloc/hooks.c (memalign_check): Limit alignment to the
33807         maximum representable power of two.
33808         * malloc/malloc.c (__libc_memalign): Likewise.
33809         * malloc/tst-memalign.c (do_test): Add test for very
33810         large alignment values.
33811         * malloc/tst-posix_memalign.c (do_test): Likewise.
33812
33813 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
33814
33815         [BZ #11087]
33816         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
33817         (munmap_chunk): Likewise.
33818         (mremap_chunk): Likewise.
33819
33820 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
33821
33822         [BZ #15799]
33823         * stdlib/div.c (div): Remove obsolete code.
33824         * stdlib/ldiv.c (ldiv): Likewise.
33825         * stdlib/lldiv.c (lldiv): Likewise.
33826
33827 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33828
33829         [BZ #16071]
33830         * nss/nss_files/files-XXX.c (get_contents_ret): New
33831         enumerator.
33832         (get_contents): New function.
33833         (internal_getent): Use it.  Expand size of LINEBUFLEN.
33834
33835 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
33836
33837         * configure.in: Moved to ...
33838         * configure.ac: ... here. Change reference to configure.in
33839         to configure.ac.
33840         * sysdeps/arm/preconfigure.ac: ... here.
33841         configure.in to configure.ac.
33842         * sysdeps/gnu/configure.in: Moved to ...
33843         * sysdeps/gnu/configure.ac: ... here.
33844         * sysdeps/i386/configure.in: Moved to ...
33845         * sysdeps/i386/configure.ac: ... here.
33846         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
33847         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
33848         * sysdeps/mach/configure.in: Moved to ...
33849         * sysdeps/mach/configure.ac: ... here.
33850         * sysdeps/mach/hurd/configure.in: Moved to ...
33851         * sysdeps/mach/hurd/configure.ac: ... here.
33852         * sysdeps/powerpc/configure.in: Moved to ...
33853         * sysdeps/powerpc/configure.ac: ... here.
33854         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
33855         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
33856         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
33857         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
33858         * sysdeps/s390/s390-32/configure.in: Moved to ...
33859         * sysdeps/s390/s390-32/configure.ac: ... here.
33860         * sysdeps/s390/s390-64/configure.in: Moved to ...
33861         * sysdeps/s390/s390-64/configure.ac: ... here.
33862         * sysdeps/sh/configure.in: Moved to ...
33863         * sysdeps/sh/configure.ac: ... here.
33864         * sysdeps/sparc/configure.in: Moved to ...
33865         * sysdeps/sparc/configure.ac: ... here.
33866         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
33867         * sysdeps/unix/sysv/linux/configure.ac: ... here.
33868         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
33869         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
33870         * sysdeps/x86_64/configure.in: Moved to ...
33871         * sysdeps/x86_64/configure.ac: ... here.
33872         * sysdeps/x86_64/preconfigure.in: Moved to ...
33873         * sysdeps/x86_64/preconfigure.ac: ... here.
33874         * aclocal.m4: Change reference to configure.in to configure.ac.
33875         * config.h.in: Likewise.
33876         * manual/install.texi: Likewise.
33877         * manual/maint.texi: Likewise.
33878         * Makefile: Likewise.
33879         * malloc/Makefile: Likewise.
33880         * nscd/Makefile: Likewise.
33881         * Makeconfig: Change reference to configure.in and
33882         preconfigure.in to configure.ac and preconfigure.ac
33883         respectively.
33884         * INSTALL: Regenerated.
33885         * configure: Likewise.
33886         * sysdeps/gnu/configure: Likewise.
33887         * sysdeps/i386/configure: Likewise.
33888         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
33889         * sysdeps/mach/configure: Likewise.
33890         * sysdeps/mach/hurd/configure: Likewise.
33891         * sysdeps/powerpc/configure: Likewise.
33892         * sysdeps/powerpc/powerpc32/configure: Likewise.
33893         * sysdeps/powerpc/powerpc64/configure: Likewise.
33894         * sysdeps/s390/s390-32/configure: Likewise.
33895         * sysdeps/s390/s390-64/configure: Likewise.
33896         * sysdeps/sh/configure: Likewise.
33897         * sysdeps/sparc/configure: Likewise.
33898         * sysdeps/unix/sysv/linux/configure: Likewise.
33899         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
33900         * sysdeps/x86_64/configure: Likewise.
33901         * sysdeps/x86_64/preconfigure: Likewise.
33902
33903 2013-10-29  Andreas Schwab  <schwab@suse.de>
33904
33905         * stdio-common/Makefile (tst-swscanf-ENV): Define.
33906
33907 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33908
33909         * benchtests/pow-inputs: Add new inputs.
33910
33911         * benchtests/exp-inputs: Add new inputs.
33912
33913         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
33914         conditional check for return value.
33915         (__cos32): Likewise.
33916
33917 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33918
33919         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
33920         to provide a boost for large inputs with word alignment.
33921         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
33922         implementation based on optimized PPC64 strcpy.
33923         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
33924         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
33925         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
33926         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
33927
33928 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33929
33930         [BZ #2801]
33931         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
33932
33933 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33934
33935         [BZ #14876]
33936         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
33937         * time/tst-strptime.c (day_tests): Add testcase.
33938
33939 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33940
33941         [BZ #14029]
33942         * manual/pattern.texi: Acknowledge that fnmatch can fail.
33943
33944 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
33945
33946         [BZ #16074]
33947         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
33948         MAP_FAILED on error.
33949
33950 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33951
33952         [BZ #16072]
33953         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
33954         heap for large requests.
33955
33956 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
33957
33958         [BZ #9954]
33959         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
33960         result if the result has no associated interface.
33961         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
33962         interface for all 127.X.Y.Z addresses.
33963
33964 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
33965
33966         * locale/iso-639.def: Add Ligurian (lij)
33967
33968 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
33969
33970         [BZ #15825]
33971         * sunrpc/rpc_main.c: Document rpcgen -5.
33972
33973 2013-10-19  Michael Stahl  <mstahl@redhat.com>
33974
33975         * elf/rtld.c (do_preload): Print the reason why preloading failed.
33976
33977 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
33978
33979         [BZ #10278]
33980         * posix/glob.c: Match only directories when trailing slash is present.
33981         * posix/tst-gnuglob.c (my_opendir): Do not open files.
33982         (main): Add testcase.
33983
33984 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
33985
33986         [BZ #15670]
33987         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
33988
33989 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
33990
33991         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
33992         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
33993         AUTH_DES and cindex for FIPS 140-2.
33994         (DES Encryption): Add cindex FIPS 46-3.
33995
33996         * locale/locarchive.h (struct locarhandle): Add fname.
33997         * locale/programs/localedef.c (main): Pass ARGV[remaining]
33998         if an optional argument was specified to --list-archive,
33999         otherwise NULL.
34000         * locale/programs/locarchive.c (show_archive_content): Take new
34001         argument fname and pass it via ah.fname to open_archive.
34002         * locale/programs/localedef.h: Update decl.
34003         (open_archive): If AH->fname is non-null, open that file
34004         rather than the default file name, and don't ignore ENOENT.
34005         (create_archive): Set AH.fname to NULL.
34006         (delete_locales_from_archive): Likewise.
34007         (add_locales_to_archive): Likewise.
34008         * locale/programs/locfile.c (write_all_categories): Likewise.
34009
34010 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34011             Aldy Hernandez  <aldyh@redhat.com>
34012
34013         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34014         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34015         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34016         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34017         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34018         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34019         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34020         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34021         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34022         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34023         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34024         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34025         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34026         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34027         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34028         Likewise.
34029         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34030         Likewise.
34031         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34032         Likewise.
34033         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34034         Likewise.
34035         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34036         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34037         Likewise.
34038         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34039         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34040         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34041         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34042         Likewise.
34043         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34044         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34045         * sysdeps/powerpc/preconfigure: Likewise.
34046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34047         Likewise.
34048         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34049         Replace contents of file by #include of <fenv_libc.h>.
34050         * sysdeps/powerpc/soft-fp/sfp-machine.h
34051         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34052         and <sys/prctl.h>.
34053         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34054         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34055         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34056         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34057         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34058         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34060         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34061         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34062         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34063         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34064         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34066         Allow copysignl PLT reference to be missing.
34067
34068 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34069             Joseph Myers  <joseph@codesourcery.com
34070
34071         [BZ #15948]
34072         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34073         single character.
34074         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34075
34076 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34077
34078         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34079         * elf/tst-tls1.c: Likewise.
34080         * elf/tst-tls10.h: Likewise.
34081         * elf/tst-tls14.c: Likewise.
34082         * elf/tst-tls2.c: Likewise.
34083         * elf/tst-tls3.c: Likewise.
34084         * elf/tst-tls4.c: Likewise.
34085         * elf/tst-tls5.c: Likewise.
34086         * elf/tst-tls6.c: Likewise.
34087         * elf/tst-tls7.c: Likewise.
34088         * elf/tst-tls8.c: Likewise.
34089         * elf/tst-tls9.c: Likewise.
34090         * elf/tst-tlsmod1.c: Likewise.
34091         * elf/tst-tlsmod13.c: Likewise.
34092         * elf/tst-tlsmod13a.c: Likewise.
34093         * elf/tst-tlsmod14a.c: Likewise.
34094         * elf/tst-tlsmod16a.c: Likewise.
34095         * elf/tst-tlsmod16b.c: Likewise.
34096         * elf/tst-tlsmod2.c: Likewise.
34097         * elf/tst-tlsmod3.c: Likewise.
34098         * elf/tst-tlsmod4.c: Likewise.
34099         * elf/tst-tlsmod5.c: Likewise.
34100         * elf/tst-tlsmod6.c: Likewise.
34101
34102 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34103
34104         [BZ #12486]
34105         * malloc/malloc.c: remove checks for statistics.
34106
34107 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34108
34109         [BZ #15277]
34110         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34111         * inet/tst-network.c: Add testcase.
34112
34113 2013-10-17  Andreas Schwab  <schwab@suse.de>
34114
34115         [BZ #15218]
34116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34117         to determine canonical name.
34118
34119 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34120
34121         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34122         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34123         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34124         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34125         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34126         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34127         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34128         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34129         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34130         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34131         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34132         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34133         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34134         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34135         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34136         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34137         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34138         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34139         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34140         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34141         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34142         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34143         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34144         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34145         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34146         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34147         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34148         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34149         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34150         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34151         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34152         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34153         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34154         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34155         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34156         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34157         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34158         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34159         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34160         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34161         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34162         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34163         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34164         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34165         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34166         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34167         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34168         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34169         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34170         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34171         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34172         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34173         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34174         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34175         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34176         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34177         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34178         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34179
34180 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
34181
34182         [BZ #16041]
34183         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
34184         make result into a quiet NaN.
34185
34186 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
34187
34188         * soft-fp/adddf3.c: Fix horizontal whitespace.
34189         * soft-fp/addsf3.c: Likewise.
34190         * soft-fp/addtf3.c: Likewise.
34191         * soft-fp/divdf3.c: Likewise.
34192         * soft-fp/divsf3.c: Likewise.
34193         * soft-fp/divtf3.c: Likewise.
34194         * soft-fp/double.h: Likewise.
34195         * soft-fp/eqdf2.c: Likewise.
34196         * soft-fp/eqsf2.c: Likewise.
34197         * soft-fp/eqtf2.c: Likewise.
34198         * soft-fp/extenddftf2.c: Likewise.
34199         * soft-fp/extended.h: Likewise.
34200         * soft-fp/extendsfdf2.c: Likewise.
34201         * soft-fp/extendsftf2.c: Likewise.
34202         * soft-fp/extendxftf2.c: Likewise.
34203         * soft-fp/fixdfdi.c: Likewise.
34204         * soft-fp/fixdfsi.c: Likewise.
34205         * soft-fp/fixdfti.c: Likewise.
34206         * soft-fp/fixsfdi.c: Likewise.
34207         * soft-fp/fixsfsi.c: Likewise.
34208         * soft-fp/fixsfti.c: Likewise.
34209         * soft-fp/fixtfdi.c: Likewise.
34210         * soft-fp/fixtfsi.c: Likewise.
34211         * soft-fp/fixtfti.c: Likewise.
34212         * soft-fp/fixunsdfdi.c: Likewise.
34213         * soft-fp/fixunsdfsi.c: Likewise.
34214         * soft-fp/fixunsdfti.c: Likewise.
34215         * soft-fp/fixunssfdi.c: Likewise.
34216         * soft-fp/fixunssfsi.c: Likewise.
34217         * soft-fp/fixunssfti.c: Likewise.
34218         * soft-fp/fixunstfdi.c: Likewise.
34219         * soft-fp/fixunstfsi.c: Likewise.
34220         * soft-fp/fixunstfti.c: Likewise.
34221         * soft-fp/floatdidf.c: Likewise.
34222         * soft-fp/floatdisf.c: Likewise.
34223         * soft-fp/floatditf.c: Likewise.
34224         * soft-fp/floatsidf.c: Likewise.
34225         * soft-fp/floatsisf.c: Likewise.
34226         * soft-fp/floatsitf.c: Likewise.
34227         * soft-fp/floattidf.c: Likewise.
34228         * soft-fp/floattisf.c: Likewise.
34229         * soft-fp/floattitf.c: Likewise.
34230         * soft-fp/floatundidf.c: Likewise.
34231         * soft-fp/floatundisf.c: Likewise.
34232         * soft-fp/floatunditf.c: Likewise.
34233         * soft-fp/floatunsidf.c: Likewise.
34234         * soft-fp/floatunsisf.c: Likewise.
34235         * soft-fp/floatunsitf.c: Likewise.
34236         * soft-fp/floatuntidf.c: Likewise.
34237         * soft-fp/floatuntisf.c: Likewise.
34238         * soft-fp/floatuntitf.c: Likewise.
34239         * soft-fp/fmadf4.c: Likewise.
34240         * soft-fp/fmasf4.c: Likewise.
34241         * soft-fp/fmatf4.c: Likewise.
34242         * soft-fp/gedf2.c: Likewise.
34243         * soft-fp/gesf2.c: Likewise.
34244         * soft-fp/getf2.c: Likewise.
34245         * soft-fp/ledf2.c: Likewise.
34246         * soft-fp/lesf2.c: Likewise.
34247         * soft-fp/letf2.c: Likewise.
34248         * soft-fp/muldf3.c: Likewise.
34249         * soft-fp/mulsf3.c: Likewise.
34250         * soft-fp/multf3.c: Likewise.
34251         * soft-fp/negdf2.c: Likewise.
34252         * soft-fp/negsf2.c: Likewise.
34253         * soft-fp/negtf2.c: Likewise.
34254         * soft-fp/op-1.h: Likewise.
34255         * soft-fp/op-2.h: Likewise.
34256         * soft-fp/op-4.h: Likewise.
34257         * soft-fp/op-8.h: Likewise.
34258         * soft-fp/op-common.h: Likewise.
34259         * soft-fp/quad.h: Likewise.
34260         * soft-fp/single.h: Likewise.
34261         * soft-fp/soft-fp.h: Likewise.
34262         * soft-fp/sqrtdf2.c: Likewise.
34263         * soft-fp/sqrtsf2.c: Likewise.
34264         * soft-fp/sqrttf2.c: Likewise.
34265         * soft-fp/subdf3.c: Likewise.
34266         * soft-fp/subsf3.c: Likewise.
34267         * soft-fp/subtf3.c: Likewise.
34268         * soft-fp/truncdfsf2.c: Likewise.
34269         * soft-fp/trunctfdf2.c: Likewise.
34270         * soft-fp/trunctfsf2.c: Likewise.
34271         * soft-fp/trunctfxf2.c: Likewise.
34272         * soft-fp/unorddf2.c: Likewise.
34273         * soft-fp/unordsf2.c: Likewise.
34274         * soft-fp/unordtf2.c: Likewise.
34275
34276 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
34277
34278         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
34279         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
34280
34281 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
34282
34283         * elf/dl-libc.c: Clear initfini list after freeing.
34284
34285 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
34286
34287         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
34288         * soft-fp/addsf3.c: Likewise.
34289         * soft-fp/addtf3.c: Likewise.
34290         * soft-fp/divdf3.c: Likewise.
34291         * soft-fp/divsf3.c: Likewise.
34292         * soft-fp/divtf3.c: Likewise.
34293         * soft-fp/double.h: Likewise.
34294         * soft-fp/eqdf2.c: Likewise.
34295         * soft-fp/eqsf2.c: Likewise.
34296         * soft-fp/eqtf2.c: Likewise.
34297         * soft-fp/extenddftf2.c: Likewise.
34298         * soft-fp/extended.h: Likewise.
34299         * soft-fp/extendsfdf2.c: Likewise.
34300         * soft-fp/extendsftf2.c: Likewise.
34301         * soft-fp/extendxftf2.c: Likewise.
34302         * soft-fp/fixdfdi.c: Likewise.
34303         * soft-fp/fixdfsi.c: Likewise.
34304         * soft-fp/fixdfti.c: Likewise.
34305         * soft-fp/fixsfdi.c: Likewise.
34306         * soft-fp/fixsfsi.c: Likewise.
34307         * soft-fp/fixsfti.c: Likewise.
34308         * soft-fp/fixtfdi.c: Likewise.
34309         * soft-fp/fixtfsi.c: Likewise.
34310         * soft-fp/fixtfti.c: Likewise.
34311         * soft-fp/fixunsdfdi.c: Likewise.
34312         * soft-fp/fixunsdfsi.c: Likewise.
34313         * soft-fp/fixunsdfti.c: Likewise.
34314         * soft-fp/fixunssfdi.c: Likewise.
34315         * soft-fp/fixunssfsi.c: Likewise.
34316         * soft-fp/fixunssfti.c: Likewise.
34317         * soft-fp/fixunstfdi.c: Likewise.
34318         * soft-fp/fixunstfsi.c: Likewise.
34319         * soft-fp/fixunstfti.c: Likewise.
34320         * soft-fp/floatdidf.c: Likewise.
34321         * soft-fp/floatdisf.c: Likewise.
34322         * soft-fp/floatditf.c: Likewise.
34323         * soft-fp/floatsidf.c: Likewise.
34324         * soft-fp/floatsisf.c: Likewise.
34325         * soft-fp/floatsitf.c: Likewise.
34326         * soft-fp/floattidf.c: Likewise.
34327         * soft-fp/floattisf.c: Likewise.
34328         * soft-fp/floattitf.c: Likewise.
34329         * soft-fp/floatundidf.c: Likewise.
34330         * soft-fp/floatundisf.c: Likewise.
34331         * soft-fp/floatunsidf.c: Likewise.
34332         * soft-fp/floatunsisf.c: Likewise.
34333         * soft-fp/floatuntidf.c: Likewise.
34334         * soft-fp/floatuntisf.c: Likewise.
34335         * soft-fp/floatuntitf.c: Likewise.
34336         * soft-fp/fmadf4.c: Likewise.
34337         * soft-fp/fmasf4.c: Likewise.
34338         * soft-fp/fmatf4.c: Likewise.
34339         * soft-fp/gedf2.c: Likewise.
34340         * soft-fp/gesf2.c: Likewise.
34341         * soft-fp/getf2.c: Likewise.
34342         * soft-fp/ledf2.c: Likewise.
34343         * soft-fp/lesf2.c: Likewise.
34344         * soft-fp/letf2.c: Likewise.
34345         * soft-fp/muldf3.c: Likewise.
34346         * soft-fp/mulsf3.c: Likewise.
34347         * soft-fp/multf3.c: Likewise.
34348         * soft-fp/negdf2.c: Likewise.
34349         * soft-fp/negsf2.c: Likewise.
34350         * soft-fp/negtf2.c: Likewise.
34351         * soft-fp/op-1.h: Likewise.
34352         * soft-fp/op-2.h: Likewise.
34353         * soft-fp/op-4.h: Likewise.
34354         * soft-fp/op-8.h: Likewise.
34355         * soft-fp/op-common.h: Likewise.
34356         * soft-fp/quad.h: Likewise.
34357         * soft-fp/single.h: Likewise.
34358         * soft-fp/soft-fp.h: Likewise.
34359         * soft-fp/sqrtdf2.c: Likewise.
34360         * soft-fp/sqrtsf2.c: Likewise.
34361         * soft-fp/sqrttf2.c: Likewise.
34362         * soft-fp/subdf3.c: Likewise.
34363         * soft-fp/subsf3.c: Likewise.
34364         * soft-fp/subtf3.c: Likewise.
34365         * soft-fp/truncdfsf2.c: Likewise.
34366         * soft-fp/trunctfdf2.c: Likewise.
34367         * soft-fp/trunctfsf2.c: Likewise.
34368         * soft-fp/trunctfxf2.c: Likewise.
34369         * soft-fp/unorddf2.c: Likewise.
34370         * soft-fp/unordsf2.c: Likewise.
34371         * soft-fp/unordtf2.c: Likewise.
34372
34373 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
34374
34375         [BZ #15672]
34376         * misc/error.c (error_tail): Fix possible buffer overflow.
34377
34378 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
34379
34380         [BZ #13028]
34381         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
34382         address.
34383
34384 2013-10-14  P. J. McDermott  <pj@pehjota.net>
34385
34386         [BZ #832]
34387         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
34388         testing pipefail option.
34389
34390 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34391
34392         * soft-fp/double.h: Indent preprocessor directives inside #if.
34393         * soft-fp/extended.h: Likewise.
34394         * soft-fp/op-2.h: Likewise.
34395         * soft-fp/op-4.h: Likewise.
34396         * soft-fp/op-common.h: Likewise.
34397         * soft-fp/quad.h: Likewise.
34398         * soft-fp/single.h: Likewise.
34399         * soft-fp/soft-fp.h: Likewise.
34400
34401 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
34402
34403         * iconv/iconv_prog.c: Fix typos.
34404         * stdio-common/psiginfo-data.h: Likewise.
34405
34406 2013-10-12   Reuben Thomas <rrt@sc3d.org>
34407
34408         [BZ #15764]
34409         * locale/setlocale.c: Fix typo.
34410
34411 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34412
34413         [BZ #16036]
34414         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
34415         signaling NaN arguments.
34416         * soft-fp/unordsf2.c (__unordsf2): Likewise.
34417         * soft-fp/unordtf2.c (__unordtf2): Likewise.
34418
34419         [BZ #14910]
34420         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
34421         unordered operands.
34422         * soft-fp/gesf2.c (__gesf2): Likewise.
34423         * soft-fp/getf2.c (__getf2): Likewise.
34424         * soft-fp/ledf2.c (__ledf2): Likewise.
34425         * soft-fp/lesf2.c (__lesf2): Likewise.
34426         * soft-fp/letf2.c (__letf2): Likewise.
34427
34428         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
34429         * soft-fp/eqsf2.c (__eqsf2): Likewise.
34430         * soft-fp/eqtf2.c (__eqtf2): Likewise.
34431         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
34432         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
34433         * soft-fp/fixdfti.c (__fixdfti): Likewise.
34434         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
34435         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
34436         * soft-fp/fixsfti.c (__fixsfti): Likewise.
34437         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
34438         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
34439         * soft-fp/fixtfti.c (__fixtfti): Likewise.
34440         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
34441         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
34442         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
34443         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
34444         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
34445         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
34446         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
34447         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
34448         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
34449         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
34450         * soft-fp/floatdisf.c (__floatdisf): Likewise.
34451         * soft-fp/floatsisf.c (__floatsisf): Likewise.
34452         * soft-fp/floattidf.c (__floattidf): Likewise.
34453         * soft-fp/floattisf.c (__floattisf): Likewise.
34454         * soft-fp/floattitf.c (__floattitf): Likewise.
34455         * soft-fp/floatundidf.c (__floatundidf): Likewise.
34456         * soft-fp/floatundisf.c (__floatundisf): Likewise.
34457         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
34458         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
34459         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
34460         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
34461         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
34462         * soft-fp/gesf2.c (__gesf2): Likewise.
34463         * soft-fp/getf2.c (__getf2): Likewise.
34464         * soft-fp/ledf2.c (__ledf2): Likewise.
34465         * soft-fp/lesf2.c (__lesf2): Likewise.
34466         * soft-fp/letf2.c (__letf2): Likewise.
34467
34468         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
34469         Undefine and redefine.
34470         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
34471         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
34472         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
34473         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
34474         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34475         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
34476         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34477         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
34478         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34479         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
34480         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34481         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
34482         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34483         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
34484         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34485
34486         [BZ #16032]
34487         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
34488         without decrementing exponent if mantissa >= that for the
34489         denominator, not >.
34490         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
34491         denominator, not >.  Decrement exponent in < case instead of
34492         incrementing in >= case.
34493         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
34494         without decrementing exponent if mantissa >= that for the
34495         denominator, not >.
34496
34497         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
34498         computing saturated result for unsigned overflow.
34499
34500 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34501             Jeff Law  <law@redhat.com>
34502
34503         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
34504         (atan2Mp): Add systemtap probe marker.
34505         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
34506         (__ieee754_log): Add systemtap probe marker.
34507         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
34508         (atanMp): Add systemtap probe marker.
34509         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
34510         (tanMp): Add systemtap probe marker.
34511         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
34512         (__slowexp): Add systemtap probe marker.
34513         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
34514         (__slowpow): Add systemtap probe marker.
34515         * manual/probes.texi: Document probes.
34516
34517 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
34518
34519         [BZ #15362]
34520         * libio/fileops.c (_IO_new_file_write): Return count of bytes
34521         written.
34522         (_IO_new_file_xsputn): Don't return EOF if nothing has been
34523         written.
34524         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
34525         written to buffer but not flushed.
34526         * libio/iofwrite_u.c:  Likewise.
34527         * libio/iopadn.c:  Return bytes returned even if EOF was
34528         encountered.
34529         * libio/iowpadn.c:  Likewise.
34530         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
34531         if _IO_padn does not write the whole buffer.
34532         [!COMPILE_WPRINTF] (PAD): Likewise.
34533
34534 2013-10-10  David S. Miller  <davem@davemloft.net>
34535
34536         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
34537         directory block.
34538
34539 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34540
34541         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
34542         instead of FSF address.
34543         * soft-fp/fixdfti.c: Likewise.
34544         * soft-fp/fixsfti.c: Likewise.
34545         * soft-fp/fixtfti.c: Likewise.
34546         * soft-fp/fixunsdfti.c: Likewise.
34547         * soft-fp/fixunssfti.c: Likewise.
34548         * soft-fp/fixunstfti.c: Likewise.
34549         * soft-fp/floattidf.c: Likewise.
34550         * soft-fp/floattisf.c: Likewise.
34551         * soft-fp/floattitf.c: Likewise.
34552         * soft-fp/floatuntidf.c: Likewise.
34553         * soft-fp/floatuntisf.c: Likewise.
34554         * soft-fp/floatuntitf.c: Likewise.
34555         * soft-fp/trunctfxf2.c: Likewise.
34556
34557         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
34558         * soft-fp/fixdfti.c: Likewise.
34559         * soft-fp/fixsfti.c: Likewise.
34560         * soft-fp/fixtfti.c: Likewise.
34561         * soft-fp/fixunsdfti.c: Likewise.
34562         * soft-fp/fixunssfti.c: Likewise.
34563         * soft-fp/fixunstfti.c: Likewise.
34564         * soft-fp/floattidf.c: Likewise.
34565         * soft-fp/floattisf.c: Likewise.
34566         * soft-fp/floattitf.c: Likewise.
34567         * soft-fp/floatuntidf.c: Likewise.
34568         * soft-fp/floatuntisf.c: Likewise.
34569         * soft-fp/floatuntitf.c: Likewise.
34570         * soft-fp/trunctfxf2.c: Likewise.
34571
34572 2013-10-10  David S. Miller  <davem@davemloft.net>
34573
34574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34575
34576 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
34577
34578         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34579         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
34580         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
34581         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
34582         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
34583         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
34584         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
34585
34586         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
34587         for NaNs before doing comparisons on argument.
34588         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34589         Likewise.
34590
34591 2013-10-10  Will Newton  <will.newton@linaro.org>
34592
34593         * malloc/hooks.c (memalign_check): Ensure the value of bytes
34594         passed to _int_memalign does not overflow.
34595
34596 2013-10-10  Torvald Riegel  <triegel@redhat.com>
34597
34598         * scripts/bench.pl: Add include-sources directive.
34599         * benchtests/README: Update documentation.
34600
34601 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34602
34603         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
34604         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
34605         instead of FP_INIT_ROUNDMODE.
34606         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
34607         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
34608
34609         [BZ #16034]
34610         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
34611         copy class of input value.
34612         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
34613         not handle exceptions.
34614         * soft-fp/negsf2.c (__negsf2): Likewise.
34615         * soft-fp/negtf2.c (__negtf2): Likewise.
34616         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
34617
34618 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
34619
34620         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
34621         semicolon.  From Linux kernel.
34622
34623 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
34624
34625         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
34626
34627 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
34628
34629         [BZ #156]
34630         * manual/socket.texi: Added statement about buffer
34631         for gethostbyname2_r.
34632
34633 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
34634
34635         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
34636         Use .p2align directive instead, throughout.
34637         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34638         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34639         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
34640         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34641         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34642         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
34643         * sysdeps/x86_64/strchr.S: Likewise.
34644         * sysdeps/x86_64/strrchr.S: Likewise.
34645
34646 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34647
34648         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
34649
34650         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
34651
34652         * sysdeps/generic/math_private.h (__mpsin1): Remove
34653         declaration.
34654         (__mpcos1): Likewise.
34655         (__mpsin): New argument __range_reduce.
34656         (__mpcos): Likewise.
34657         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34658         (slow): Use __mpsin and __mpcos.
34659         (slow1): Likewise.
34660         (slow2): Likewise.
34661         (sloww): Likewise.
34662         (sloww1): Likewise.
34663         (sloww2): Likewise.
34664         (bsloww): Likewise.
34665         (bsloww1): Likewise.
34666         (bsloww2): Likewise.
34667         (cslow2): Likewise.
34668         (csloww): Likewise.
34669         (csloww1): Likewise.
34670         (csloww2): Likewise.
34671         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
34672         range_reduce.  Merge in __mpsin1.
34673         (__mpcos): Likewise.
34674         (__mpsin1): Remove.
34675         (__mpcos1): Likewise.
34676
34677 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
34678
34679         * locale/loadlocale.c (_nl_intern_locale_data): Use
34680         LOCFILE_ALIGNED_P.
34681         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
34682         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
34683         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
34684         obstack data is appropriately aligned.
34685         (obstack_int32_grow_fast): Likewise.
34686         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
34687         * locale/programs/locfile.c (add_locale_uint32): Likewise.
34688         (add_locale_uint32_array): Likewise.
34689
34690 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34691
34692         * benchtests/Makefile: Remove ARGLIST and RET variables.
34693         ($(objpfx)bench-%.c): Pass only function name to the script.
34694         * benchtests/README: Update documentation.
34695         * benchtests/acos-inputs: Add new directives.
34696         * benchtests/acosh-inputs: Likewise.
34697         * benchtests/asin-inputs: Likewise.
34698         * benchtests/asinh-inputs: Likewise.
34699         * benchtests/atan-inputs: Likewise.
34700         * benchtests/atanh-inputs: Likewise.
34701         * benchtests/cos-inputs: Likewise.
34702         * benchtests/cosh-inputs: Likewise.
34703         * benchtests/exp-inputs: Likewise.
34704         * benchtests/log-inputs: Likewise.
34705         * benchtests/pow-inputs: Likewise.
34706         * benchtests/rint-inputs: Likewise.
34707         * benchtests/sin-inputs: Likewise.
34708         * benchtests/sinh-inputs: Likewise.
34709         * benchtests/tan-inputs: Likewise.
34710         * benchtests/tanh-inputs: Likewise.
34711         * scripts/bench.pl: Add support for new directives.
34712
34713 2013-10-07  Alan Modra  <amodra@gmail.com>
34714
34715         * README: Fix careless merge.
34716
34717 2013-10-05  Alan Modra  <amodra@gmail.com>
34718
34719         * NEWS: Mention powerpc64le support and bugs fixed.
34720         * README: Both big-endian and little-endian powerpc64 supported.
34721
34722 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34723
34724         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
34725         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
34726         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
34727         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
34728
34729 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
34730
34731         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
34732         match prototype.
34733
34734 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
34735
34736         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
34737         Move -mhard-float appending from
34738         ports/sysdeps/powerpc/powerpc32/Makefile.
34739         [$(with-fp) = yes] (ASFLAGS): Likewise.
34740         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
34741         * sysdeps/powerpc/nofpu: Move directory from
34742         ports/sysdeps/powerpc/nofpu.
34743         * sysdeps/powerpc/soft-fp: Move directory from
34744         ports/sysdeps/powerpc/soft-fp.
34745         * sysdeps/powerpc/powerpc32/405: Move directory from
34746         ports/sysdeps/powerpc/powerpc32/405.
34747         * sysdeps/powerpc/powerpc32/440: Move directory from
34748         ports/sysdeps/powerpc/powerpc32/440.
34749         * sysdeps/powerpc/powerpc32/464: Move directory from
34750         ports/sysdeps/powerpc/powerpc32/464.
34751         * sysdeps/powerpc/powerpc32/476: Move directory from
34752         ports/sysdeps/powerpc/powerpc32/476.
34753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
34754         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
34755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
34756         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
34757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
34758         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
34759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
34760         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
34761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
34762         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
34763         * README: Update for powerpc-*-linux-gnu software floating point
34764         support in libc.
34765
34766         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
34767         case to powerpc/powerpc32*.
34768         * sysdeps/unix/sysv/linux/configure: Regenerated.
34769
34770         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
34771         (_FPU_MASK_OM): Define as 0x04.
34772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
34773         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
34774         0x00c10080.
34775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
34776         0x0000003c.
34777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
34778
34779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
34780         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34781         getcontext_e500.
34782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
34783         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34784         setcontext_e500.
34785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
34786         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
34787         and setcontext_e500.
34788
34789 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
34790
34791         * locale/iso-3166.def: Update iso-1366.def and related occurrences
34792
34793 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34794
34795         * manual/threads.texi (Default Thread Attributes): Fix typo.
34796
34797 2013-10-04  Will Newton  <will.newton@linaro.org>
34798
34799         * malloc/Makefile: Add tst-memalign.
34800         * malloc/tst-memalign.c: New file.
34801
34802         * malloc/tst-posix_memalign.c: Add comments.
34803         (do_test): Add comments and call free on all potentially
34804         allocated pointers. Add space after cast.
34805
34806         * malloc/tst-pvalloc.c: Add comments.
34807         (do_test): Add comments and call free on all potentially
34808         allocated pointers. Remove duplicate check for NULL pointer.
34809         Add space after cast.
34810
34811         * malloc/tst-valloc.c: Add comments.
34812         (do_test): Add comments and call free on all potentially
34813         allocated pointers. Remove duplicate check for NULL pointer.
34814         Add space after cast.
34815
34816 2013-10-04  Alan Modra  <amodra@gmail.com>
34817
34818         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34819         Use stdint types in rather than __attribute__((mode())).
34820         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34821
34822 2013-10-04  Alan Modra  <amodra@gmail.com>
34823
34824         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34825         Correct handling of unaligned relocs for little-endian.
34826         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34827
34828 2013-10-04  Alan Modra  <amodra@gmail.com>
34829
34830         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
34831         * configure: Regenerate.
34832         * nptl/shlib-versions: Powerpc*le starts at 2.18.
34833         * shlib-versions: Likewise.
34834
34835 2013-10-04  Alan Modra  <amodra@gmail.com>
34836
34837         * string/tester.c (test_memrchr): Increment reported test cycle.
34838
34839 2013-10-04  Alan Modra  <amodra@gmail.com>
34840
34841         * string/test-memcpy.c (do_one_test): When reporting errors, print
34842         string address and don't overrun end of string.
34843
34844 2013-10-04  Alan Modra  <amodra@gmail.com>
34845
34846         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
34847         insrdi.  Make better use of reg selection to speed exit slightly.
34848         Schedule entry path a little better.  Remove useless "are we done"
34849         checks on entry to main loop.  Handle wrapping around zero address.
34850         Correct main loop count.  Handle single left-over word from main
34851         loop inline rather than by using loop_small.  Remove extra word
34852         case in loop_small caused by wrong loop count.  Add little-endian
34853         support.
34854         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34855         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
34856         cache hint.
34857         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34858         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
34859         support.  Avoid rlwimi.
34860         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
34861
34862 2013-10-04  Alan Modra  <amodra@gmail.com>
34863
34864         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
34865         insrdi.  Formatting.
34866         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
34867         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34868         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
34869         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34870         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34871         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
34872
34873 2013-10-04  Alan Modra  <amodra@gmail.com>
34874
34875         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
34876         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34877         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34878         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
34879         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34880         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34881         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34882         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34883         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
34884         use of regs.  Use power7 mtocrf.  Tidy function tails.
34885
34886 2013-10-04  Alan Modra  <amodra@gmail.com>
34887
34888         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
34889         Formatting.  Consistently use rXXX register defines or rN defines.
34890         Use early exit labels that avoid restoring unused non-volatile regs.
34891         Make cr field use more consistent with rWORDn compares.  Rename
34892         regs used as shift registers for unaligned loop, using rN defines
34893         for short lifetime/multiple use regs.
34894         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34895         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
34896         addi 1,1,64 to pop stack frame.  Simplify return value code.
34897         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34898
34899 2013-10-04  Alan Modra  <amodra@gmail.com>
34900
34901         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
34902         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
34903         rather than rlwimi.
34904         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
34905         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
34906         little-endian support.  Correct typos.
34907         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
34908         rather than rlwimi.
34909         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
34910         in loop and entry code to keep "and." results.
34911         (strchr): Add little-endian support.  Comment.  Move cntlzd
34912         earlier in tail.
34913         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
34914
34915 2013-10-04  Alan Modra  <amodra@gmail.com>
34916
34917         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
34918         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
34919         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
34920         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
34921
34922 2013-10-04  Alan Modra  <amodra@gmail.com>
34923
34924         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
34925         (rTMP): Define as r11.
34926         (strcmp): Add little-endian support.  Optimise tail.
34927         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
34928         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34929         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34930         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34931         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34932         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34933         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34934
34935 2013-10-04  Alan Modra  <amodra@gmail.com>
34936
34937         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
34938         little-endian support.  Remove unnecessary "are we done" tests.
34939         Handle "s" wrapping around zero and extremely large "size".
34940         Correct main loop count.  Handle single left-over word from main
34941         loop inline rather than by using small_loop.  Correct comments.
34942         Delete "zero" tail, use "end_max" instead.
34943         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
34944
34945 2013-10-04  Alan Modra  <amodra@gmail.com>
34946
34947         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
34948         support.  Don't branch over align.
34949         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
34950         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
34951         support.  Rearrange tmp reg use to suit.  Comment.
34952         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
34953
34954 2013-10-04  Alan Modra  <amodra@gmail.com>
34955
34956         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
34957
34958 2013-10-04  Alan Modra  <amodra@gmail.com>
34959
34960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
34961         conditional form of branch and link when obtaining pc.
34962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34963
34964 2013-10-04  Alan Modra  <amodra@gmail.com>
34965
34966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
34967         HIWORD/LOWORD.
34968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
34969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
34970
34971 2013-10-04  Alan Modra  <amodra@gmail.com>
34972
34973         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
34974         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
34975         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34976         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
34977         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34978         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34979         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
34980         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34981         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34982         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
34983
34984 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
34985             Alistair Popple <alistair@ozlabs.au.ibm.com>
34986             Alan Modra <amodra@gmail.com>
34987
34988         [BZ #15723]
34989         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
34990         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
34991         _dl_hwcap access for little-endian.
34992         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
34993         destroy vmx regs when saving unaligned.
34994         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
34995         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
34996         destroy vmx regs when saving unaligned.
34997
34998 2013-10-04  Alan Modra  <amodra@gmail.com>
34999
35000         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
35001         Don't use a union to pack hi/low value.
35002
35003 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35004
35005         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35006         for little-endian.
35007         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35008         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35009         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35010         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35011         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35012
35013 2013-10-04  Alan Modra  <amodra@gmail.com>
35014
35015         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35016         constants to usual value for .cst8 section, and remove redundant
35017         high address load.
35018         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35019         constant for 0x1p52.  Load little-endian words of double from
35020         correct stack offsets.
35021
35022 2013-10-04  Alan Modra  <amodra@gmail.com>
35023
35024         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35025         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35026         words of double from correct stack offsets.
35027         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35028         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35029         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35030         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35031         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35032         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35033         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35034         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35035         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35036         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35037         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35038         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35039         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35040         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35041         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35042         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35043         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35044
35045 2013-10-04  Alan Modra  <amodra@gmail.com>
35046
35047         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35048         64-bit int/double union.
35049         (_FPU_SETCW): Likewise.
35050         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35051         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35052
35053 2013-10-04  Alan Modra  <amodra@gmail.com>
35054
35055         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35056         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35057
35058 2013-10-04  Alan Modra  <amodra@gmail.com>
35059
35060         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35061         use vector int constants.
35062         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35063
35064 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35065
35066         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35067         array with long long.
35068         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35069         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35070         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35071         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35072         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35073         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35074         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35075         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35076         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35077         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35078         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35079         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35080         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35081
35082 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35083
35084         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35085         (__signbit): Likewise.  Correct for little-endian.
35086         (__signbitl): Call __signbit.
35087         (lrint): Correct for little-endian.
35088         (lrintf): Call lrint.
35089
35090 2013-10-04  Alan Modra  <amodra@gmail.com>
35091
35092         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35093         union 32-bit int array member with 64-bit int array.
35094         (t515, tm256): Double rather than long double.
35095         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35096
35097 2013-10-04  Alan Modra  <amodra@gmail.com>
35098
35099         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35100         Delete.
35101         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35102         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35103         version of math_ldbl.h.
35104
35105 2013-10-04  Alan Modra  <amodra@gmail.com>
35106
35107         [BZ #15734], [BZ #15735]
35108         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35109         all uses of ieee875 long double macros and unions.  Simplify test
35110         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35111         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35112         normalize after ldbl_extract_mantissa, and don't add hidden bit
35113         already handled.  Don't treat low word of ieee854 mantissa like
35114         low word of IBM long double and mask off bit when testing for
35115         zero.
35116         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35117         all uses of ieee875 long double macros and unions.  Simplify tests
35118         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35119         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35120         two1022, instead use their values.  Recognise that tests for large
35121         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35122         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35123         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35124         test for 0.0L and nan.  Correct negation.
35125         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35126         ieee875 long double macros and unions.  Correct output for large
35127         magnitude x.  Correct absolute value calculation.
35128         (__erfcl): Likewise.
35129         * math/libm-test.inc: Add tests for errors discovered in IBM long
35130         double versions of fmodl, remainderl, erfl and erfcl.
35131
35132 2013-10-04  Alan Modra  <amodra@gmail.com>
35133
35134         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35135         all uses of ieee854 long double macros and unions.  Simplify tests
35136         for long doubles that are fully specified by the high double.
35137         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35138         Likewise.
35139         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35140         Remove dead code too.
35141         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35142         (__ieee754_ynl): Likewise.
35143         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35144         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35145         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35146         Remove dead code too.
35147         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35148         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35149         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35150         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35151         Simplify.
35152         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35153         Simplify.
35154         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35155         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35156         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35157         Comment on variable precision.
35158         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35159         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35160         Likewise.
35161         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35162         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35163         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35164         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35165         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35166
35167 2013-10-04  Alan Modra  <amodra@gmail.com>
35168
35169         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35170         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35171         all uses of ieee854 long double macros and unions.
35172         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35173         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35174         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35175         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35176         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35177         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35178         Likewise.
35179         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
35180         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35181         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
35182         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35183         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
35184         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
35185         Simplify sign and nan test too.
35186         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
35187         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35188         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
35189         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35190         Likewise.
35191         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35192         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
35193         Likewise.
35194         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35195         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
35196         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
35197         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
35198         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
35199         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
35200
35201 2013-10-04  Alan Modra  <amodra@gmail.com>
35202
35203         * stdio-common/printf_size.c (__printf_size): Don't use
35204         union ieee854_long_double in fpnum union.
35205         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
35206         signbit macro to retrieve sign from long double.
35207         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
35208         retrieve sign from long double.
35209         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
35210         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
35211         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
35212         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35213         * math/test-misc.c (main): Don't use union ieee854_long_double.
35214
35215 2013-10-04  Alan Modra  <amodra@gmail.com>
35216
35217         [BZ #15680]
35218         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
35219         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
35220         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
35221         calculation.  Remove unnecessary test for denormal exponent.
35222         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
35223         Correct handling of denormals.  Avoid undefined shift behaviour.
35224         Correct normalisation of low mantissa when low double is denormal.
35225         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
35226         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
35227         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
35228         Correct normalisation of low mantissa.  Test for overflow of high
35229         mantissa and normalise.
35230         (ldbl_nearbyint): Use more readable constant for two52.
35231         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
35232         (__mpn_construct_long_double): Fix test for overflow of high
35233         mantissa and correct normalisation.  Avoid undefined shift.
35234
35235 2013-10-04  Alan Modra  <amodra@gmail.com>
35236
35237         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35238         (union ibm_extended_long_double): Define as an array of ieee754_double.
35239         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
35240         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
35241         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
35242         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35243         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35244         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
35245         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35246         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35247         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35248         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
35249         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35250
35251 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
35252
35253         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
35254         page size instead of calling getpagesize.
35255
35256         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
35257         (LOCFILE_ALIGN_MASK): Likewise.
35258         (LOCFILE_ALIGN_UP): Likewise.
35259         (LOCFILE_ALIGNED_P): Likewise.
35260         * locale/programs/ld-collate.c (collate_output): Use the new
35261         macros instead of __alignof__ (int32_t).
35262         * locale/weight.h (findidx): Likewise.
35263
35264 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
35265
35266         [BZ #431]
35267         * manual/string.texi: Fix strncat and wcsncat.
35268
35269 2013-10-03  Brooks Moses  <bmoses@google.com>
35270
35271         [BZ #15915]
35272         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
35273         * Makerules: ...here, and adjust associated comments.
35274
35275 2013-10-02  Will Newton  <will.newton@linaro.org>
35276
35277         * malloc/Makefile: Add tst-pvalloc.
35278         * malloc/tst-pvalloc.c: New file.
35279
35280 2013-10-02  Will Newton  <will.newton@linaro.org>
35281
35282         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
35283         improve test coverage.
35284
35285 2013-10-02  Will Newton  <will.newton@linaro.org>
35286
35287         * malloc/Makefile: Add tst-posix_memalign.
35288         * malloc/tst-posix_memalign.c: New file.
35289
35290 2013-10-01  Eric Blake  <eblake@redhat.com>
35291
35292         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
35293         Use __THROWNL rather than __THROW on static functions.
35294
35295 2013-09-30  Petr Machata  <pmachata@redhat.com>
35296
35297         * elf/elf.h (R_AARCH64_ABS16): New macro.
35298         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
35299         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
35300         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
35301         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
35302         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35303         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
35304         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
35305         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
35306         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
35307         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
35308         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35309         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
35310         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
35311         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
35312         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
35313         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
35314         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
35315         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
35316         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
35317         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
35318         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35319         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
35320         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
35321         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
35322         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
35323         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
35324         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
35325         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
35326         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
35327         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
35328         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35329         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
35330         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
35331         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
35332         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
35333         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
35334         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
35335         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
35336         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
35337         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
35338         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
35339         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
35340         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
35341         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
35342         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
35343         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
35344         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
35345         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
35346         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
35347         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
35348         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
35349         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
35350         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
35351         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
35352         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
35353         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
35354         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
35355         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
35356         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
35357         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
35358         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
35359         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
35360         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
35361         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
35362         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
35363         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
35364         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
35365         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
35366         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
35367         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
35368         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
35369         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
35370         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
35371         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
35372         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
35373         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
35374         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
35375         (R_AARCH64_TLSDESC_LDR): Likewise.
35376         (R_AARCH64_TLSDESC_ADD): Likewise.
35377         (R_AARCH64_TLSDESC_CALL): Likewise.
35378
35379 2013-09-30  Andreas Schwab  <schwab@suse.de>
35380
35381         [BZ #15048]
35382         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
35383         the nss database lookup.
35384         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35386
35387 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
35388
35389         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
35390
35391 2013-09-28  P. J. McDermott  <pj@pehjota.net>
35392
35393         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
35394         ${Bash-specific parameter/pattern/string} parameter expansion.
35395         * sysdeps/unix/make-syscalls.sh: Likewise.
35396
35397 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35398
35399         * sysdeps/sh/stackguard-macros.h: New file.
35400
35401 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
35402
35403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35404         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
35405         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
35406         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
35407         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35408         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
35409
35410 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35411
35412         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
35413         Fix thread ID register.
35414
35415 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
35416
35417         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
35418         [POSIX || UNIX98]: Require rather than permitting all symbols from
35419         <time.h>.
35420         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35421         element of struct sched_param.
35422         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
35423         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
35424         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
35425         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
35426         constant.
35427
35428 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
35429
35430         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
35431         argument calculation.
35432
35433 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35434
35435         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
35436         Expect macro.
35437         [POSIX] (pthread_attr_t): Do not require type.
35438         [POSIX] (pthread_cond_t): Likewise.
35439         [POSIX] (pthread_condattr_t): Likewise.
35440         [POSIX] (pthread_key_t): Likewise.
35441         [POSIX] (pthread_mutex_t): Likewise.
35442         [POSIX] (pthread_mutexattr_t): Likewise.
35443         [POSIX] (pthread_once_t): Likewise.
35444         [POSIX] (pthread_t): Likewise.
35445         [POSIX-based standards] (pthread_atfork): Expect function.
35446
35447 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35448             Richard Sandiford  <richard@codesourcery.com>
35449
35450         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
35451         (swap_endianness_p): New extern variable.
35452         (set_big_endian): New inline function.
35453         (maybe_swap_uint32): Likewise.
35454         (maybe_swap_uint32_array): Likewise.
35455         (maybe_swap_uint32_obstack): Likewise.
35456         * locale/programs/locfile.c: Include <stdbool.h>.
35457         (swap_endianness_p): New variable.
35458         (add_locale_uint32): Call maybe_swap_uint32.
35459         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
35460         (write_locale_data): Call maybe_swap_uint32_array.
35461         * locale/programs/ld-collate.c (obstack_int32_grow): Call
35462         maybe_swap_uint32.
35463         (obstack_int32_grow_fast): Likewise.
35464         (output_weightwc): Call maybe_swap_uint32_obstack.
35465         (collate_output): Likewise.
35466         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
35467         (OPT_LITTLE_ENDIAN): Likewise.
35468         (options): Add --little-endian and --big-endian options.
35469         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
35470         * locale/programs/locarchive.c: Include "locfile.h".
35471         (GET): New macro.
35472         (SET): Likewise.
35473         (INC): Likewise.
35474         (create_archive): Use the new macros to access fields of
35475         structures directly mapped from or written to locale archives.
35476         (oldlocrecentcmp): Likewise.
35477         (enlarge_archive): Likewise.
35478         (insert_name): Likewise.
35479         (add_alias): Likewise.
35480         (add_locale): Likewise.
35481         (delete_locales_from_archive): Likewise.
35482         (show_archive_content): Likewise.
35483         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
35484         locale data.
35485
35486 2013-09-24  Roland McGrath  <roland@hack.frob.com>
35487
35488         * manual/freemanuals.texi: Updated from (newly) canonical copy at
35489         http://www.gnu.org/doc/freemanuals.texi.
35490         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
35491
35492 2013-09-24  Will Newton  <will.newton@linaro.org>
35493
35494         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
35495         macro.
35496
35497 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
35498
35499         * locale/hashval.h (compute_hashval): Interpret bytes of key as
35500         unsigned char.
35501
35502 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
35503
35504         * manual/threads.texi (POSIX Threads): Fix a typo.
35505
35506 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35507
35508         [BZ #14547]
35509         * string/tst-strcoll-overflow.c: New test case.
35510         * string/Makefile (xtests): Add tst-strcoll-overflow.
35511         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
35512         cache if string sizes may cause integer overflow.
35513
35514         [BZ #14547]
35515         * string/strcoll_l.c (coll_seq): New members rule, idx,
35516         save_idx and back_us.
35517         (get_next_seq_nocache): New function.
35518         (do_compare_nocache): New function.
35519         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
35520         when malloc fails.
35521
35522 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
35523
35524         [BZ #15754]
35525         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
35526         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
35527         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
35528
35529         [BZ #15754]
35530         * elf/Makefile (tests): Add tst-ptrguard1.
35531         (tests-static): Add tst-ptrguard1-static.
35532         (tst-ptrguard1-ARGS): Define.
35533         (tst-ptrguard1-static-ARGS): Define.
35534         * elf/tst-ptrguard1.c: New file.
35535         * elf/tst-ptrguard1-static.c: New file.
35536         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
35537         * sysdeps/i386/stackguard-macros.h: Likewise.
35538         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35539         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35540         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35541         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35542         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35543         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35544
35545 2013-09-23  Hector Marco  <hecmargi@upv.es>
35546             Ismael Ripoll  <iripoll@disca.upv.es>
35547             Carlos O'Donell  <carlos@redhat.com>
35548
35549         [BZ #15754]
35550         * sysdeps/generic/stackguard-macros.h: Define
35551         __pointer_chk_guard_local and POINTER_CHK_GUARD.
35552         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
35553         Define __pointer_chk_guard_local.
35554         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
35555         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
35556
35557 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
35558
35559         [BZ #15859]
35560         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
35561
35562 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
35563
35564         * include/string.h (__ffs): Declare as hidden.
35565         * string/ffs.c (__ffs): Define as hidden.
35566         * sysdeps/i386/ffs.c (__ffs): Likewise.
35567         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
35568         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
35569         * sysdeps/s390/ffs.c (__ffs): Likewise.
35570         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
35571
35572 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
35573
35574         * NEWS: Mention malloc probes.
35575
35576         * malloc/arena.c (new_heap): New memory_heap_new probe.
35577         (grow_heap): New memory_heap_more probe.
35578         (shrink_heap): New memory_heap_less probe.
35579         (heap_trim): New memory_heap_free probe.
35580         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
35581         (systrim): New memory_sbrk_less probe.
35582         * manual/probes.texi: Document them.
35583
35584         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
35585         * manual/probes.texi: Document it.
35586
35587         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
35588         (__libc_realloc): Add memory_realloc_retry probe.
35589         (__libc_memalign): Add memory_memalign_retry probe.
35590         (__libc_valloc): Add memory_valloc_retry probe.
35591         (__libc_pvalloc): Add memory_pvalloc_retry probe.
35592         (__libc_calloc): Add memory_calloc_retry probe.
35593         * manual/probes.texi: Document them.
35594
35595         * malloc/arena.c (get_free_list): Add probe
35596         memory_arena_reuse_free_list.
35597         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
35598         and memory_arena_reuse.
35599         (arena_get2) [!PER_THREAD]: Likewise.
35600         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
35601         memory_arena_reuse_realloc.
35602         * manual/probes.texi: Document them.
35603
35604         * malloc/malloc.c (__libc_free): Add
35605         memory_mallopt_free_dyn_thresholds probe.
35606         (__libc_mallopt): Add multiple memory_mallopt probes.
35607         * manual/probes.texi: Document them.
35608
35609         * malloc/malloc.c: Include stap-probe.h.
35610         (__libc_mallopt): Add memory_mallopt probe.
35611         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
35612         * manual/probes.texi: New.
35613         * manual/Makefile (chapters): Add probes.
35614         * manual/threads.texi: Set next node.
35615
35616 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
35617
35618         [BZ #15963, #13985]
35619         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
35620         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
35621         Add `Chinese' to `nan' entry name.
35622
35623 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35624
35625         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
35626         (POLYNOMIAL): Likewise.
35627         (TAYLOR_SINCOS): Likewise.
35628         (TAYLOR_SLOW): Likewise.
35629         (__sin): Use TAYLOR_SINCOS.
35630         (__cos): Likewise.
35631         (slow): Use TAYLOR_SLOW.
35632         (sloww): Likewise.
35633         (bsloww): Likewise.
35634         (csloww): Likewise.
35635
35636 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35637
35638         * stdlib/strtod_l.c: Fix buffer overrun.
35639
35640 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35641
35642         * benchtests/Makefile (bench): Add sincos.
35643         * benchtests/bench-sincos.c: New file.
35644
35645         * math/libm-test.inc (cos_test_data): New test inputs.
35646         (sin_test_data): Likewise.
35647
35648         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
35649         macro.
35650         (__sin): Use it.
35651         (__cos): Likewise.
35652         (slow1): Likewise.
35653         (slow2): Likewise.
35654         (sloww1): Likewise.
35655         (sloww2): Likewise.
35656         (bsloww1): Likewise.
35657         (bsloww2): Likewise.
35658         (cslow2): Likewise.
35659         (csloww1): Likewise.
35660         (csloww2): Likewise.
35661
35662         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
35663         function.
35664         (__sin): Use it.
35665         (__cos): Likewise.
35666
35667         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
35668         gotos.
35669         (__cos): Likewise.
35670
35671 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
35672
35673         * config.h.in (HAVE_MIPS_NAN2008): New macro.
35674         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
35675         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
35676         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
35677         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
35678         * elf/cache.c (print_entry): Handle the new cache flags.
35679
35680 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35681             Aldy Hernandez  <aldyh@redhat.com>
35682
35683         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
35684         Change condition to [_SOFT_FLOAT].
35685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
35686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
35687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
35688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
35689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
35690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
35691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
35692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
35693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
35694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
35695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
35696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
35697         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
35698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
35699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
35700         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
35701         declaration.
35702
35703 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35704
35705         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
35706         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35707         (__longjmp): Use LOAD_GP to load saved GPRs.
35708         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
35709         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35710         (__sigsetjmp): Use SAVE_GP to save GPRs.
35711
35712         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
35713         Do not append -msoft-float.
35714         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
35715
35716 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35717
35718         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
35719
35720 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
35721
35722         [BZ #15966]
35723         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
35724         (_FPU_GETCW): Use initial "__" on variable and field names but not
35725         on macro parameter name.
35726         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
35727         parentheses around reference to macro parameter.
35728
35729 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
35730
35731         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
35732         prototype.
35733         (ctype_startup): Use uint32_t in cast and sizeof for
35734         ctype->charnames.
35735
35736 2013-09-11  Jia Liu  <proljc@gmail.com>
35737
35738         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
35739         __daddr_t_defined.
35740         [__FreeBSD__]: Likewise.
35741
35742 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
35743
35744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35745         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
35746         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
35747         (strchr): Remove __strchr_sse42 ifunc selection.
35748         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
35749         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
35750
35751 2013-09-11  Will Newton  <will.newton@linaro.org>
35752
35753         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
35754         parameter to RES. Remove hardcoded 1000 value.
35755         * benchtests/bench-skeleton.c (main): Pass RES parameter
35756         to TIMING_INIT and multiply result by 1000.
35757
35758 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35759
35760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35761
35762 2013-09-11  Andreas Schwab  <schwab@suse.de>
35763
35764         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35765         if not defined.
35766         (O_TMPFILE) [__USE_GNU]: Define.
35767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
35768         Define.
35769
35770 2013-09-11  Will Newton  <will.newton@linaro.org>
35771
35772         [BZ #15857]
35773         * malloc/malloc.c (__libc_memalign): Check the value of bytes
35774         does not overflow.
35775
35776 2013-09-11  Will Newton  <will.newton@linaro.org>
35777
35778         [BZ #15856]
35779         * malloc/malloc.c (__libc_valloc): Check the value of bytes
35780         does not overflow.
35781
35782 2013-09-11  Will Newton  <will.newton@linaro.org>
35783
35784         [BZ #15855]
35785         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
35786         does not overflow.
35787
35788 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
35789
35790         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
35791         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35792         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35793         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35794         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35795
35796 2013-09-10  Allan McRae  <allan@archlinux.org>
35797
35798         [BZ #15748]
35799         * manual/arith.texi (Parsing of Floats): Clarify
35800         cross-reference.
35801
35802         [BZ #15849]
35803         * manual/install.texi (Running make install): Mention
35804         --enable-pt-chown.
35805         * INSTALL: Regenerated.
35806
35807 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
35808
35809         * csu/init-first.c (_init): Remove the !SHARED condition around
35810         FPU control word initialization.
35811         * elf/dl-support.c (_dl_fpu_control): New variable.
35812         (_dl_aux_init) <AT_FPUCW>: Initialize it.
35813         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
35814         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
35815         * math/test-fpucw-static.c: New file.
35816         * math/test-fpucw-ieee.c: New file.
35817         * math/test-fpucw-ieee-static.c: New file.
35818         * math/Makefile (tests): Add `test-fpucw-ieee' and
35819         `$(tests-static)'.
35820         (tests-static): New variable.
35821         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
35822         dependency to...
35823         [($(build-shared),yes)]
35824         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35825         ... this.
35826         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
35827         New dependency.
35828
35829 2013-09-09  Allan McRae  <allan@archlinux.org>
35830
35831         [BZ #15939]
35832         * manual/string.texi (Collation Functions): Fix typo in
35833         strcoll example.
35834         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
35835
35836         [BZ #15893]
35837         * stdlib/isomac.c (get_null_defines): Fix memory leak.
35838
35839         [BZ #15892]
35840         * libio/memstream.c (open_memstream): Fix memory leak.
35841         * libio/wmemstream.c (open_wmemstream): Likewise.
35842
35843         [BZ #15895]
35844         * nscd/netgroupcache.c: Fix nesting of ifdefs.
35845
35846 2013-09-09  Will Newton  <will.newton@linaro.org>
35847
35848         * malloc/Makefile: Add tst-realloc to tests.
35849         * malloc/tst-realloc.c: New file.
35850
35851 2013-09-09  Allan McRae  <allan@archlinux.org>
35852
35853         [BZ #15844]
35854         * COPYING: Update from GNU website to fix FSF address.
35855         * COPYING.LIB: Likewise.
35856
35857 2013-09-06  David S. Miller  <davem@davemloft.net>
35858
35859         * po/zh_TW.po: Update Chinese (traditional) translation from
35860         translation project.
35861
35862 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
35863             Joseph Myers  <joseph@codesourcery.com>
35864
35865         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
35866         "localeinfo.h".
35867         (obstack_chunk_alloc): New macro.
35868         (obstack_chunk_free): Likewise.
35869         (record_offset): New function.
35870         (init_locale_data): Likewise.
35871         (align_locale_data): Likewise.
35872         (add_locale_empty): Likewise.
35873         (add_locale_raw_data): Likewise.
35874         (add_locale_raw_obstack): Likewise.
35875         (add_locale_string): Likewise.
35876         (add_locale_wstring): Likewise.
35877         (add_locale_uint32): Likewise.
35878         (add_locale_uint32_array): Likewise.
35879         (add_locale_char): Likewise.
35880         (start_locale_structure): Likewise.
35881         (end_locale_structure): Likewise.
35882         (start_locale_prelude): Likewise.
35883         (end_locale_prelude): Likewise.
35884         (write_locale_data): Take locale_file structure rather than an
35885         iovec.
35886         * locale/programs/locfile.h: Include "obstack.h".
35887         (struct locale_file): Change to store locale file contents instead
35888         of header.
35889         (init_locale_data): New prototype.
35890         (align_locale_data): Likewise.
35891         (add_locale_empty): Likewise.
35892         (add_locale_raw_data): Likewise.
35893         (add_locale_raw_obstack): Likewise.
35894         (add_locale_string): Likewise.
35895         (add_locale_wstring): Likewise.
35896         (add_locale_uint32): Likewise.
35897         (add_locale_uint32_array): Likewise.
35898         (add_locale_char): Likewise.
35899         (start_locale_structure): Likewise.
35900         (end_locale_structure): Likewise.
35901         (start_locale_prelude): Likewise.
35902         (end_locale_prelude): Likewise.
35903         (write_locale_data): Update prototype.
35904         * locale/programs/3level.h (struct TABLE): Remove result field.
35905         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
35906         Use new locale_file interface.
35907         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
35908         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
35909         * locale/programs/ld-address.c (address_output): Use new
35910         locale_file interface.
35911         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
35912         NO_ADD_LOCALE.
35913         (collate_finish): Don't call collseq_table_finalize.
35914         (collate_output): Use new locale_file interface.
35915         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
35916         in file.
35917         (NO_FINALIZE): Change to NO_ADD_LOCALE.
35918         (TABLE): Move defines earlier in file.
35919         (ELEMENT): Likewise.
35920         (DEFAULT): Likewise.
35921         (wctrans_table_add): Move macro and inline function earlier in
35922         file.
35923         (struct wctype_table): Move type earlier in file.
35924         (add_locale_wctype_table): New static prototype.
35925         (struct locale_ctype_t): Use logical types instead of struct iovec
35926         pointers for members.
35927         (ctype_output): Use new locale_file interface.
35928         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
35929         new locale_file interface.
35930         (allocate_arrays): Update for use of new locale_file interface.
35931         * locale/programs/ld-identification.c (identification_output): Use
35932         new locale_file interface.
35933         * locale/programs/ld-measurement.c (measurement_output): Likewise.
35934         * locale/programs/ld-messages.c (messages_output): Likewise.
35935         * locale/programs/ld-monetary.c (monetary_output): Likewise.
35936         * locale/programs/ld-name.c (name_output): Likewise.
35937         * locale/programs/ld-numeric.c (numeric_output): Likewise.
35938         * locale/programs/ld-paper.c (paper_output): Likewise.
35939         * locale/programs/ld-telephone.c (telephone_output): Likewise.
35940         * locale/programs/ld-time.c (time_output): Likewise.
35941
35942 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35943
35944         * benchtests/Makefile: Add memrchr benchmark.
35945         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
35946         benchmark as memrchr.
35947         * benchtests/bench-memrchr-ifunc.c: New file.
35948         * benchtests/bench-memrchr.c: New file.
35949
35950 2013-09-06   Will Newton  <will.newton@linaro.org>
35951
35952         * benchtests/Makefile (string-bench): Add memcpy.
35953
35954 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
35955             Cong Wang  <amwang@redhat.com>
35956
35957         [BZ #15850]
35958         * sysdeps/unix/sysv/linux/bits/in.h
35959         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
35960         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
35961         before __USE_KERNEL_IPV6_DEFS uses.
35962         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
35963         IPPROTO_BEETPH.
35964         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
35965         sockaddr_in6, or ipv6_mreq.
35966
35967 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35968
35969         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
35970         memory access for final bytes in some large inputs.
35971         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
35972
35973 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35974
35975         * string/test-memrchr.c: New file.
35976         * string/test-memrchr-ifunc.c: New file.
35977         * string/Makefile: Add new memrchr testcase.
35978
35979 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
35980
35981         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
35982         fanotify_init returns EPERM.
35983
35984 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
35985
35986         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
35987         errors.
35988         (top level): Treat second token from macro or constant entries for
35989         allowed headers as allowed.
35990         * include/complex.h: Condition internal declarations on
35991         [!_ISOMAC].
35992         * include/fenv.h: Condition include of <stdbool.h> and internal
35993         declarations on [!_ISOMAC].
35994
35995 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
35996
35997         [BZ #15923]
35998         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
35999
36000 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36001
36002         * configure.in (--enable-versioning): Remove configure option.
36003         (libc_cv_asm_symver_directive): Remove configure test.
36004         (libc_cv_ld_version_script_option): Likewise.
36005         (VERSIONING): Remove variable and AC_SUBST.
36006         (DO_VERSIONING): Remove AC_DEFINE.
36007         * configure: Regenerated.
36008         * config.h.in (DO_VERSIONING): Remove macro.
36009         * Makerules [$(versioning) = yes]: Change conditionals to
36010         [$(build-shared) = yes].
36011         * config.make.in (versioning): Remove variable.
36012         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36013         [$(build-shared) = yes].
36014         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36015         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36016         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36017         [$(build-shared) = yes].
36018         * extra-lib.mk [$(versioning) = yes]: Likewise.
36019         * hurd/Makefile [$(versioning) = yes]: Likewise.
36020         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36021         [SHARED].
36022         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36023         [SHARED].
36024         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36025         [SHARED && !NO_HIDDEN].
36026         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36027         [SHARED].
36028         [SHARED && DO_VERSIONING]: Likewise..
36029         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36030         [$(build-shared) = yes].
36031         * manual/install.texi (--disable-versioning): Remove
36032         documentation.
36033         * INSTALL: Regenerated.
36034         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36035         to [SHARED].
36036         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36037         [$(build-shared) = yes].
36038         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36039         * sysdeps/i386/i686/multiarch/strstr-c.c
36040         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36041         [SHARED && !NO_HIDDEN].
36042         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36043         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36044         * sysdeps/powerpc/powerpc32/dl-machine.c
36045         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36046         * sysdeps/powerpc/powerpc32/sysdep.h
36047         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36048         to [SHARED && PIC && !NO_HIDDEN].
36049         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36050         conditional to [SHARED].
36051
36052 2013-09-04   Will Newton  <will.newton@linaro.org>
36053
36054         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36055         * benchtests/bench-string.h: Include bench-timing.h instead
36056         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36057         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36058         call to HP_TIMING_DIFF_INIT.
36059         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36060         instead of hp-timing.h macros.
36061         * benchtests/bench-memchr.c: Likewise.
36062         * benchtests/bench-memcmp.c: Likewise.
36063         * benchtests/bench-memcpy.c: Likewise.
36064         * benchtests/bench-memmem.c: Likewise.
36065         * benchtests/bench-memmove.c: Likewise.
36066         * benchtests/bench-memset.c: Likewise.
36067         * benchtests/bench-rawmemchr.c: Likewise.
36068         * benchtests/bench-strcasecmp.c: Likewise.
36069         * benchtests/bench-strcasestr.c: Likewise.
36070         * benchtests/bench-strcat.c: Likewise.
36071         * benchtests/bench-strchr.c: Likewise.
36072         * benchtests/bench-strcmp.c: Likewise.
36073         * benchtests/bench-strcpy.c: Likewise.
36074         * benchtests/bench-strcpy_chk.c: Likewise.
36075         * benchtests/bench-strlen.c: Likewise.
36076         * benchtests/bench-strncasecmp.c: Likewise.
36077         * benchtests/bench-strncat.c: Likewise.
36078         * benchtests/bench-strncmp.c: Likewise.
36079         * benchtests/bench-strncpy.c: Likewise.
36080         * benchtests/bench-strnlen.c: Likewise.
36081         * benchtests/bench-strpbrk.c: Likewise.
36082         * benchtests/bench-strrchr.c: Likewise.
36083         * benchtests/bench-strspn.c: Likewise.
36084         * benchtests/bench-strstr.c: Likewise.
36085
36086 2013-09-04  Will Newton  <will.newton@linaro.org>
36087
36088         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36089
36090 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36091
36092         [BZ #15427]
36093         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36094         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36095         * math/libm-test.inc (lgamma_test_data): Add more tests.
36096         * sysdeps/i386/fpu/libm-test-ulps: Update.
36097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36098
36099 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36100
36101         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36103         Add ifunc.
36104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36105         Add strcmp-sse2-unaligned
36106         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36107
36108 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36109
36110         * Versions.def (libc): Add GLIBC_2.19.
36111
36112 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36113
36114         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36115         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36116
36117 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36118
36119         [BZ #14155]
36120         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36121         intermediate calculations in recurrence.
36122         (__ieee754_ynf): Likewise.
36123         * math/libm-test.inc (jn_test_data): Do not allow spurious
36124         underflow exception.  Add more tests.
36125         (yn_test_data): Add more tests.
36126         * sysdeps/i386/fpu/libm-test-ulps: Update.
36127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36128
36129 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36130
36131         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36132
36133 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36134
36135         * csu/init-first.c: Fix then/than typos.
36136         * locale/programs/ld-collate.c: Likewise.
36137         * locale/programs/linereader.h: Likewise.
36138         * manual/charset.texi: Likewise.
36139         * manual/filesys.texi: Likewise.
36140         * manual/stdio.texi: Likewise.
36141         * manual/string.texi: Likewise.
36142         * stdlib/fmtmsg.c: Likewise.
36143         * sysdeps/i386/stpncpy.S: Likewise.
36144         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36145         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36146         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36147         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36148
36149 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36150
36151         * elf/dl-open.c: Fix typos.
36152         * iconvdata/gbbig5.c: Likewise.
36153         * iconvdata/iso-2022-jp.c: Likewise.
36154         * iconv/gconv_int.h: Likewise.
36155         * iconv/loop.c: Likewise.
36156         * nis/rpcsvc/nis.h: Likewise.
36157         * resolv/ns_name.c: Likewise.
36158         * stdio-common/vfscanf.c: Likewise.
36159         * streams/stropts.h: Likewise.
36160         * sunrpc/rpc_thread.c: Likewise.
36161         * sysdeps/i386/strpbrk.S: Likewise.
36162         * sysdeps/ieee754/k_standard.c: Likewise.
36163         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36164         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36165         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36166         * sysdeps/mach/hurd/profil.c: Likewise.
36167         * sysdeps/s390/dl-procinfo.h: Likewise.
36168         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36169         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36170         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36171         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36172         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36173
36174 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36175
36176         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
36178
36179 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
36180
36181         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
36182         aix specific files.
36183         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
36184         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
36185         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
36186         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
36187         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
36188         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
36189         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
36190         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
36191
36192 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36193             Roland McGrath  <roland@hack.frob.com>
36194
36195         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
36196         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
36197
36198 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36199
36200         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
36201         __executable_start symbol instead of _start.
36202
36203 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36204
36205         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
36206         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
36207         Move macros to...
36208         * sysdeps/gnu/ldsodefs.h: ... this new file.
36209
36210         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
36211         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
36212         instead of ELFOSABI_LINUX.
36213
36214         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
36215         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
36216         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
36217         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
36218         Likewise.
36219         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
36220         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
36221         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
36222         Likewise.
36223         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36224         (ibm_extended_long_double): Add ieee_nan member.
36225         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
36226         (do_test): New function.
36227
36228         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
36229         TEST_TRUNC.
36230         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
36231         functions, renamed from truncdfsf_test, trunctfsf_test,
36232         trunctfdf_test.
36233         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
36234         functions.
36235         (do_test): Run all these.
36236
36237 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
36238
36239         * argp/argp-help.c: Fix typos.
36240         * argp/argp-parse.c: Likewise.
36241         * debug/backtracesyms.c: Likewise.
36242         * elf/elf.h: Likewise.
36243         * malloc/malloc.c: Likewise.
36244         * nis/nis_print.c: Likewise.
36245         * resolv/res_comp.c: Likewise.
36246         * stdlib/stdlib.h: Likewise.
36247         * sunrpc/clnt_tcp.c: Likewise.
36248         * sunrpc/clnt_udp.c: Likewise.
36249         * sunrpc/clnt_unix.c: Likewise.
36250         * sysdeps/unix/bsd/ptsname.c: Likewise.
36251         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36252         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
36253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
36254         Likewise.
36255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
36256         Likewise.
36257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36258         Likewise.
36259         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36260
36261 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36262
36263         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36265
36266 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
36267
36268         [BZ #15897]
36269         * dlfcn/Makefile (tests): Add bug-dl-leaf.
36270         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
36271         ($(objpfx)bug-dl-leaf): New rule.
36272         ($(objpfx)bug-dl-leaf.so): Likewise.
36273         ($(objpfx)bug-dl-leaf.out): Likewise.
36274         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36275         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
36276         * dlfcn/bug-dl-leaf.c: New test.
36277         * dlfcn/bug-dl-leaf-lib.c: Likewise.
36278         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
36279         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
36280         (dlclose): Likewise.
36281         (dlmopen): Likewise.
36282
36283 2013-08-27  Roland McGrath  <roland@hack.frob.com>
36284
36285         * include/netdb.h [!_ISOMAC]:
36286         Don't include <tls.h>.
36287         (h_errno, __libc_h_errno): Move declaration and macros out of
36288         [_LIBC_REENTRANT].
36289
36290         * include/resolv.h [_RESOLV_H_]:
36291         Don't include <tls.h>.
36292         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
36293         * resolv/res_libc.c: Don't include <tls.h>.
36294         (_res): Use __attribute__ ((nocommon)) in place of
36295         __attribute__ ((section (".bss"))).
36296
36297         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
36298         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
36299
36300         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
36301
36302         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
36303         only under [SIOCGIFCONF && SIOCGIFNETMASK].
36304
36305         * resolv/res_mkquery.c: Include <sys/time.h>.
36306
36307         * inet/ifreq.c: Moved to ...
36308         * sysdeps/unix/ifreq.c: ... here.
36309         * inet/ifreq.c: New file, true stub version.
36310
36311         * socket/sa_len.c: New file.
36312         * socket/Makefile (aux): Add it.
36313         * sysdeps/unix/sysv/linux/Makefile
36314         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
36315         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
36316         and #include <socket/sa_len.c>.
36317         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
36318         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
36319
36320         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
36321         * bits/socket.h: ... here.
36322
36323         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
36324         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
36325         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
36326
36327 2013-08-27  Andreas Schwab  <schwab@suse.de>
36328
36329         [BZ #15736]
36330         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
36331         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
36332         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36333         * string/test-strcasecmp.c (test_main): Run tests in several
36334         locales.
36335         * string/test-strncasecmp.c (test_main): Likewise.
36336
36337         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
36338         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
36339         to __strcasecmp_nonascii and __strncasecmp_nonascii.
36340         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
36341         (__strncasecmp_ssse3) [PIC]: Likewise.
36342
36343 2013-08-26  Roland McGrath  <roland@hack.frob.com>
36344
36345         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
36346
36347         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
36348         instead of explicitly declaring xdecrypt.
36349         * nis/nss_nis/nis-publickey.c: Likewise.
36350
36351 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36352
36353         [BZ #15890]
36354         * nscd/aicache.c: Include res_hconf.h.
36355         (addhstaiX): Initialize res_hconf.
36356
36357 2013-08-26  Andreas Schwab  <schwab@suse.de>
36358
36359         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
36360         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
36361
36362 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36363
36364         * nscd/aicache.c (addhstaiX): Fix indentation.
36365
36366 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
36367
36368         * configure.ac: Quote $build_pt_chown test.
36369         * configure: Regenerated.
36370
36371 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
36372
36373         [BZ #15532]
36374         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
36375         * math/s_cexpf.c (__cexpf): Likewise.
36376         * math/s_cexpl.c (__cexpl): Likewise.
36377         * math/libm-test.inc (cexp_test_data): Correct expected return
36378         value for NaN + i0.  Add another test.
36379
36380 2013-08-22  David S. Miller  <davem@davemloft.net>
36381
36382         * po/ca.po: Update Catalan translation from translation project.
36383         * po/uk.po: Add Ukrainian translations from translation project.
36384
36385 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
36386
36387         [BZ #15797]
36388         * math/s_fdim.c (__fdim): Check for infinite arguments if result
36389         is infinite, not alongside NaN test.
36390         * math/s_fdimf.c (__fdimf): Likewise.
36391         * math/s_fdiml.c (__fdiml): Likewise.
36392         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
36393         errno is unchanged.
36394
36395 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
36396
36397         * argp/argp-help.c: Fix typos.
36398         * crypt/speeds.c: Likewise.
36399         * csu/check_fds.c: Likewise.
36400         * elf/dl-load.c: Likewise.
36401         * elf/dl-open.c: Likewise.
36402         * elf/reldep3.c: Likewise.
36403         * elf/reldep.c: Likewise.
36404         * elf/sprof.c: Likewise.
36405         * iconv/iconv_charmap.c: Likewise.
36406         * iconv/skeleton.c: Likewise.
36407         * iconv/strtab.c: Likewise.
36408         * io/lockf64.c: Likewise.
36409         * libio/libioP.h: Likewise.
36410         * resolv/gai_notify.c: Likewise.
36411         * resolv/ns_name.c: Likewise.
36412         * resolv/ns_samedomain.c: Likewise.
36413         * resolv/res_send.c: Likewise.
36414         * stdlib/random.c: Likewise.
36415         * sunrpc/rpc/xdr.h: Likewise.
36416         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
36417         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36418         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36419         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36420         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36421         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36422         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36423         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36424         * sysdeps/mach/hurd/check_fds.c: Likewise.
36425         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36426         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36427         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36428         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36429         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36430         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36431         * sysdeps/pthread/aio_notify.c: Likewise.
36432         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
36433         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
36434         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
36435         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36436         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36437
36438 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36439
36440         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
36441         version if bit_Slow_SSE4_2 is set.
36442         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36443         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36444
36445 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36446
36447         [BZ #15867]
36448         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
36449         trampoline stack frame information.
36450         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
36451         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
36452         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
36453         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
36454         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
36455         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36456         (_libc_vdso_platform_setup): Initialize the signal trampolines.
36457         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
36458         sa_flags value.
36459         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
36460         interrupting a syscall and set with option SA_SIGINFO.
36461
36462 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36463
36464         [BZ #15531]
36465         * math/s_cproj.c (__cproj): Only return an infinity if one part of
36466         argument is infinite.
36467         * math/s_cprojf.c (__cprojf): Likewise.
36468         * math/s_cprojl.c (__cprojl): Likewise.
36469         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
36470         * math/libm-test.inc (cproj_test_data): Add more tests.
36471
36472         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
36473
36474         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
36475         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
36476         size.  Use __ffs to determine corresponding shift.
36477
36478 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36479             Roland McGrath  <roland@hack.frob.com>
36480
36481         * Makefile (INSTALL): Remove trailing blank lines from output of
36482         makeinfo.
36483
36484 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36485
36486         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
36487         Align 32 bit compat elf_greg to 8 bytes.
36488
36489 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
36490
36491         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
36492
36493 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36494
36495         * string/strcoll_l.c (coll_seq): New structure.
36496         (get_next_seq_cached): New function.
36497         (get_next_seq): New function.
36498         (do_compare): New function.
36499         (STRCOLL): Use GNU style definition.  Simplify implementation
36500         by using get_next_seq, get_next_seq_cached and do_compare.
36501
36502 2013-08-16  Florian Weimer  <fweimer@redhat.com>
36503
36504         [BZ #14699]
36505         CVE-2013-4237
36506         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
36507         member.
36508         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
36509         member.
36510         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
36511         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
36512         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
36513         conditional.
36514         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
36515         GETDENTS_64BIT_ALIGNED.
36516         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36517         * manual/filesys.texi (Reading/Closing Directory): Document
36518         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
36519         strongly.
36520         * manual/conf.texi (Limits for Files): Add portability note to
36521         NAME_MAX, PATH_MAX.
36522         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
36523
36524 2013-08-13  Andreas Schwab  <schwab@suse.de>
36525
36526         [BZ #15749]
36527         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
36528         of fabs.
36529         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
36530         LDBL_MAX_EXP >= 16384]: Add tests for it.
36531
36532 2013-08-12  David S. Miller  <davem@davemloft.net>
36533
36534         * version.h (RELEASE): Set to "development".
36535         (VERSION): Set to "2.18.90".
36536         * NEWS: Add 2.19 section.
36537
36538 2013-08-03  David S. Miller  <davem@davemloft.net>
36539
36540         * po/ko.po: Update Korean translation from translation project.
36541
36542 2013-08-01  David S. Miller  <davem@davemloft.net>
36543
36544         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
36545         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
36546         Bilka.
36547
36548 2013-07-30  David S. Miller  <davem@davemloft.net>
36549
36550         * po/fr.po: Update French translation from translation project.
36551
36552 2013-07-28  David S. Miller  <davem@davemloft.net>
36553
36554         * po/cs.po: Update Czech translation from translation project.
36555
36556         * po/sv.po: Update Swedish translation from translation project.
36557
36558 2013-07-27  David S. Miller  <davem@davemloft.net>
36559
36560         * po/eo.po: Update Esperanto translation from translation project.
36561
36562         * po/vi.po: Update Vietnamese translation from translation project.
36563
36564         * po/de.po: Update German translation from translation project.
36565
36566 2013-07-26  David S. Miller  <davem@davemloft.net>
36567
36568         * po/bg.po: Update Bulgarian translation from translation project.
36569
36570         * po/nl.po: Update Dutch translation from translation project.
36571         * po/pl.po: Update Polish translation from translation project.
36572         * po/ru.po: Update Russian translation from translation project.
36573
36574 2013-07-24  David S. Miller  <davem@davemloft.net>
36575
36576         * po/libc.pot: Update.
36577
36578 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36579
36580         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
36581         variable page size.
36582         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
36583         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
36584         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
36585
36586 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36587
36588         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
36589
36590 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36591             Andreas Schwab  <schwab@suse.de>
36592             Roland McGrath  <roland@hack.frob.com>
36593             Joseph Myers  <joseph@codesourcery.com>
36594             Carlos O'Donell  <carlos@redhat.com>
36595
36596         [BZ #15755]
36597         * config.h.in: Define HAVE_PT_CHOWN.
36598         * config.make.in (build-pt-chown): New variable.
36599         * configure.in (--enable-pt_chown): New configure option.
36600         * configure: Regenerate.
36601         * login/Makefile: Include Makeconfig.  Build pt_chown only if
36602         build-pt-chown is enabled.
36603         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
36604         pt_chown to fix pty ownership.
36605         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
36606         CLOSE_ALL_FDS.
36607         * manual/install.texi (Configuring and compiling): Mention
36608         --enable-pt_chown. Add @findex for grantpt.
36609         * INSTALL: Regenerate.
36610
36611 2013-07-20  David S. Miller  <davem@davemloft.net>
36612
36613         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
36614         difference between 32-bit and 64-bit.
36615
36616 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
36617
36618         [BZ #15711]
36619         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
36620         Avoid system header dependency with -ffreestanding.
36621         ($(objpfx)bits/syscall%d): Likewise.
36622
36623 2013-07-13  David S. Miller  <davem@davemloft.net>
36624
36625         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
36626         underflows from atanl/atan2l due to bug 15319.
36627         (casinh_test_data): Likewise.
36628
36629 2013-07-07  David S. Miller  <davem@davemloft.net>
36630
36631         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36632
36633 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
36634
36635         * sysdeps/i386/fpu/libm-test-ulps: Update.
36636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36637
36638 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36639
36640         * configure.in (--enable-lock-elision): Fix message text.
36641         * INSTALL: Regenerate.
36642         * configure: Regenerate.
36643
36644 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36645
36646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36647
36648 2013-07-03  Andreas Jaeger  <aj@suse.de>
36649
36650         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
36651         define.
36652         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
36653         (ptrace_peeksiginfo_args): Add.
36654         (__ptrace_peeksiginfo_flags): Add.
36655         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36656         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36657         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36658
36659 2013-07-03  Allan McRae  <allan@archlinux.org>
36660
36661         * sysdeps/i386/fpu/libm-test-ulps: Update.
36662
36663 2013-07-02  David S. Miller  <davem@davemloft.net>
36664
36665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36666
36667 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
36668
36669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36670
36671 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36672
36673         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36675
36676 2013-07-02  Andi Kleen <ak@linux.intel.com>
36677
36678         * config.h.in (ENABLE_LOCK_ELISION): Add.
36679         * configure.in (--enable-lock-elision): Add option.
36680         * manual/install.texi: Document --enable lock elision.
36681         * configure: Regenerate
36682         * INSTALL: Regenerate.
36683
36684 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
36685
36686         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
36687         SSE4.2 strcasecmp for libc.a.
36688         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36689
36690 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36691
36692         [BZ #13304]
36693         * soft-fp/op-common.h (_FP_FMA): New macro.
36694         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
36695         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
36696         (_FP_MUL_MEAT_1_imm): ... here.
36697         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
36698         (_FP_MUL_MEAT_1_wide): ... here.
36699         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
36700         (_FP_MUL_MEAT_1_hard): ... here.
36701         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
36702         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
36703         (_FP_MUL_MEAT_2_wide): ... here.
36704         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
36705         (_FP_MUL_MEAT_2_wide_3mul): ... here.
36706         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
36707         (_FP_MUL_MEAT_2_gmp): ... here.
36708         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
36709         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
36710         (_FP_MUL_MEAT_4_wide): ... here.
36711         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
36712         (_FP_MUL_MEAT_4_gmp): ... here.
36713         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
36714         (_FP_WFRACBITS_DW_S): Likewise.
36715         (_FP_WFRACXBITS_DW_S): Likewise.
36716         (_FP_HIGHBIT_DW_S): Likewise.
36717         (FP_FMA_S): Likewise.
36718         (_FP_FRAC_HIGH_DW_S): Likewise.
36719         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
36720         (_FP_WFRACBITS_DW_D): Likewise.
36721         (_FP_WFRACXBITS_DW_D): Likewise.
36722         (_FP_HIGHBIT_DW_D): Likewise.
36723         (FP_FMA_D): Likewise.
36724         (_FP_FRAC_HIGH_DW_D): Likewise.
36725         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
36726         (_FP_WFRACBITS_DW_E): Likewise.
36727         (_FP_WFRACXBITS_DW_E): Likewise.
36728         (_FP_HIGHBIT_DW_E): Likewise.
36729         (FP_FMA_E): Likewise.
36730         (_FP_FRAC_HIGH_DW_E): Likewise.
36731         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
36732         (_FP_WFRACBITS_DW_Q): Likewise.
36733         (_FP_WFRACXBITS_DW_Q): Likewise.
36734         (_FP_HIGHBIT_DW_Q): Likewise.
36735         (FP_FMA_Q): Likewise.
36736         (_FP_FRAC_HIGH_DW_Q): Likewise.
36737         * soft-fp/fmasf4.c: New file.
36738         * soft-fp/fmadf4.c: Likewise.
36739         * soft-fp/fmatf4.c: Likewise.
36740
36741 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36742
36743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36744         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
36745         Silvermont.
36746         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
36747         macro.
36748         (index_Slow_SSE4_2): Likewise.
36749         (index_Prefer_PMINUB_for_stringop): Likewise.
36750         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
36751         bit_Slow_SSE4_2 is set.
36752         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36753         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36754
36755 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36756
36757         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
36758         rtld_global._dl_hwcap2.
36759         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
36760         POWER8.
36761         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
36762         POWER8 feature descriptions defined in _dl_hwcap2.
36763         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
36764         string handling for POWER8 feature bits.
36765         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
36766         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
36767         _dl_powerpc_cap_flags.
36768         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
36769         * sysdeps/powerpc/rtld-global-offsets.sym
36770         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
36771         _dl_hwcap2 in the rtld_global_ro structure.
36772
36773 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36774
36775         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
36776         hardware capabilities in support of AT_HWCAP2.
36777         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
36778         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
36779         GLRO(dl_hwcap2).
36780         (_dl_show_auxv): Add support for calling _dl_procinfo to display
36781         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
36782         explicitly the unknown a_type display mechanism is used.
36783         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
36784         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
36785         struct member.
36786         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
36787         to macro prototype for AT_HWCAP2 support.
36788         * sysdeps/i386/dl-procinfo.h: Likewise.
36789         * sysdeps/s390/dl-procinfo.h: Likewise.
36790         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
36791         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
36792         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
36793         return -1 for unknown a_type display fallback.
36794         * sysdeps/sparc/dl-procinfo.h: Likewise.
36795         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
36796         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
36797
36798 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
36799
36800         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
36801         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
36802
36803 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
36804
36805         [BZ #12492]
36806         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
36807         mprotect making __stack_prot writable.
36808
36809 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
36810             Joseph Myers  <joseph@codesourcery.com>
36811
36812         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
36813         as being properly aligned.
36814
36815 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
36816
36817         * dlfcn/modstatic5.c: New file.
36818         * dlfcn/tststatic5.c: New file.
36819         * dlfcn/Makefile (tests): Add tststatic5.
36820         (tests-static): Likewise.
36821         (modules-names): Add modstatic5.
36822         (tststatic5-ENV): New variable.
36823         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
36824
36825         [BZ #15022]
36826         * elf/dl-support.c (_dl_main_map): New variable.
36827         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
36828         (_dl_nns, _dl_load_adds): Set to 1.
36829         (_dl_initial_searchlist): Refer to _dl_main_map.
36830         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
36831         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
36832         call to _dl_get_origin.
36833         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
36834         around call_map.
36835         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
36836         * dlfcn/modstatic3.c: New file.
36837         * dlfcn/tststatic3.c: New file.
36838         * dlfcn/tststatic4.c: New file.
36839         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
36840         (tests-static): Likewise.
36841         (modules-names): Add modstatic3.
36842         (tststatic3-ENV, tststatic4-ENV): New variables.
36843         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
36844         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
36845
36846 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
36847
36848         * configure.in (CC): Require GCC version 4.4 or later.
36849         * configure: Regenerated.
36850         * manual/install.texi (Tools for Compilation): Update GCC version
36851         requirement.
36852         * INSTALL: Regenerated.
36853
36854 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36855
36856         [BZ #15674]
36857         * string/test-memcmp.c (check2): New.
36858         (main): Call check2.
36859
36860         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
36861
36862 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
36863
36864         [BZ #15022]
36865         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
36866         over to...
36867         (dl_open_worker) [!SHARED]: ... here.
36868
36869 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36870
36871         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
36872
36873 2013-06-25  Richard Henderson  <rth@redhat.com>
36874
36875         * locale/programs/locarchive.c: Include <libc-internal.h>
36876
36877 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
36878
36879         * manual/texinfo.tex: Update to version 2013-06-21.17, with
36880         trailing whitespace removed.
36881
36882 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
36883
36884         [BZ #10283]
36885         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
36886         * locale/programs/locarchive.c: Include libc-mmap.h.
36887         (prepare_address_space): Take two new outputs (the mmap base and len).
36888         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
36889         values.
36890         (create_archive): Declare new mmap base and len values for
36891         prepare_address_space, and store the result in ah.
36892         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
36893         (enlarge_archive): If ah->mmap_base is not NULL, use that and
36894         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36895         Declare new mmap base and len values for
36896         prepare_address_space, and store the result in new_ah.
36897         (open_archive): Declare new mmap base and len values for
36898         prepare_address_space, and store the result in ah.
36899         (close_archive): If ah->mmap_base is not NULL, use that and
36900         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36901         * sysdeps/generic/libc-mmap.h: New file.
36902
36903 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
36904
36905         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
36906         (ALIGN_UP): Likewise.
36907         (PTR_ALIGN_DOWN): Likewise.
36908         (PTR_ALIGN_UP): Likewise.
36909
36910 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36911
36912         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
36913         entry mapped to PPC_PLATFORM_POWER8.
36914         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
36915         POWER8.
36916         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
36917         (_dl_string_platform): Add case for exporting platform position for
36918         POWER8.
36919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
36920         search path to sysdeps/powerpc/powerpc32/power8 directory.
36921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
36922         search path to sysdeps/powerpc/powerpc64/power8 directory.
36923         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
36924         power7 directories.
36925         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
36926         power7 directories.
36927
36928 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36929
36930         * INSTALL: Regenerate.
36931
36932         * nscd/connections.c (nscd_init): Fix comment.
36933
36934 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
36935
36936         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
36937
36938         [BZ #15667]
36939         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
36940         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
36941
36942 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
36943
36944         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
36945         DL_DST_REQ_STATIC.
36946         (DL_DST_REQ_STATIC): Remove macro.
36947
36948 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
36949
36950         [BZ #7006]
36951         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
36952         with a shift of 0 bits.
36953
36954 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
36955
36956         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
36957         $(tststatic-ENV).
36958
36959 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36960
36961         [BZ #15655]
36962         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
36963
36964 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36965
36966         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
36967         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
36968         accepts -fno-tree-loop-distribute-patterns.
36969         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
36970         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
36971         recursive call.
36972         * string/memset.c (memset): Likewise.
36973         * string/test-memmove.c (simple_memmove): Disable loop transformation
36974         to library calls.
36975         * string/test-memset.c (simple_memset): Likewise.
36976         * benchtests/bench-memmove.c (simple_memmove): Likewise.
36977         * benchtests/bench-memset.c (simple_memset): Likewise.
36978         * configure: Regenerated.
36979
36980 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
36981
36982         * math/test-misc.c (main): Ignore fesetround failure when failures
36983         of subsequent rounding tests would be ignored.
36984
36985         [BZ #15654]
36986         * math/fedisblxcpt.c (fedisableexcept): Return 0.
36987         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
36988         * math/fegetenv.c (__fegetenv): Return 0.
36989         * math/fegetexcept.c (fegetexcept): Return 0.
36990         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
36991         FE_TONEAREST.
36992         * math/feholdexcpt.c (feholdexcept): Return 0.
36993         * math/fesetenv.c (__fesetenv): Return 0.
36994         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
36995         argument FE_TONEAREST.
36996         * math/feupdateenv.c (__feupdateenv): Return 0.
36997         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
36998
36999 2013-06-18  Roland McGrath  <roland@hack.frob.com>
37000
37001         * elf/rtld-Rules (rtld-compile-command.S): New variable.
37002         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37003         ($(objpfx)rtld-%.os rules): Use them.
37004
37005 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37006
37007         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37008         fields.
37009
37010 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37011
37012         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37013         length of target pattern, then descending length of dependency pattern.
37014         * configure.in (AWK): Require gawk 3.1.2 or newer.
37015         * manual/install.texi (Tools for Compilation): Say that we do.
37016         * configure: Regenerated.
37017
37018         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37019         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37020         * scripts/sysd-rules.awk: ... this new script.
37021         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37022         than a glob-style pattern.
37023
37024 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37025
37026         * math/test-misc.c (main): Do not treat incorrectly rounded
37027         conversions as failure unless ROUNDING_TESTS passes.
37028
37029 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37030
37031         [BZ #15631]
37032         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37033         restore exception state around main square root computation, then
37034         check for inexactness explicitly.
37035
37036         * math/libm-test.inc (fma_test_data): Add another test.
37037
37038 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37039
37040         * manual/threads.texi (Non-POSIX Extensions): New document
37041         node.  Document pthread_getattr_default_np and
37042         pthread_setattr_default_np.
37043
37044         * Versions.def (libpthread): Add GLIBC_2.18.
37045         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37047         Likewise.
37048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37049         Likewise.
37050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37051         Likewise.
37052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37053         Likewise.
37054         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37055         Likewise.
37056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37057         Likewise.
37058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37059         Likewise.
37060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37061         Likewise.
37062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37063         Likewise.
37064
37065 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37066
37067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37068         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37069
37070 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37071             H.J. Lu  <hjl.tools@gmail.com>
37072
37073         [BZ #15627]
37074         * sysdeps/x86_64/rtld-memset.c: Remove file.
37075         * sysdeps/x86_64/rtld-memset.S: New file.
37076
37077 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37078
37079         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37080         (test_in_one_mode): Take arguments for whether the rounding mode
37081         is supported for each floating-point type.
37082         (do_test): Pass new arguments to test_in_one_mode using
37083         ROUNDING_TESTS.
37084
37085 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37086
37087         * posix/tst-waitid.c (do_test): Distinguish different instances of
37088         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37089         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37090         before entering the kernel for waitpid.
37091
37092 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37093
37094         * NEWS: Fix note on clock function precision.  Text by Roland
37095         McGrath.
37096
37097 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37098
37099         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37100         it into place only when and if the sanity check passes.
37101
37102 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37103
37104         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37105         output for whether conversion result is exact.  Take argument
37106         indicating whether type is IBM long double.
37107         (round_for_all): Change need_exact field to ibm_ld.
37108         * stdlib/tst-strtod-round.c (struct exactness): New type.
37109         (struct test): Change bool ld_ok field to struct exactness exact.
37110         (TEST): Update all definitions for change to field.
37111         (tests): Regenerate array contents.
37112         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37113         field value.  Check for IBM long double here.
37114         (do_test): Update calls to test_in_one_mode.
37115
37116 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37117
37118         [BZ #12515]
37119         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37120         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37121
37122 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37123
37124         [BZ #15605]
37125         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37126         generated by the compiler on loop optimizations.
37127         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37128         general definitions.
37129
37130 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37131
37132         * math/bug-nextafter.c: Include <math-tests.h>.
37133         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37134         the relevant type.
37135         * math/bug-nexttoward.c: Include <math-tests.h>.
37136         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37137         the relevant type.
37138         * math/test-misc.c: Include <math-tests.h>.
37139         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37140         the relevant type.
37141
37142 2013-06-12  Andreas Jaeger  <aj@suse.de>
37143
37144         * po/ia.po: Update Interlingua translation from translation
37145         project.
37146
37147 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37148
37149         * include/fenv.h: Include stdbool.h.
37150         (struct rm_ctx): New structure.
37151         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37152         Define macro.
37153         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37154         (SET_RESTORE_ROUNDF): Likewise.
37155         (SET_RESTORE_ROUNDL): Likewise.
37156         (SET_RESTORE_ROUND_NOEX): Likewise.
37157         (SET_RESTORE_ROUND_NOEXF): Likewise.
37158         (SET_RESTORE_ROUND_NOEXL): Likewise.
37159         (SET_RESTORE_ROUND_53BIT): Likewise.
37160         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37161         (libc_feresetround_noexf_ctx): Likewise.
37162         (libc_feresetround_noexl_ctx): Likewise.
37163         (libc_feholdsetround_53bit_ctx): Likewise.
37164         (libc_feresetround_53bit_ctx): Likewise.
37165         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37166         (libc_feholdexcept_setround_sse_ctx): New function.
37167         (libc_fesetenv_sse_ctx): Likewise.
37168         (libc_feupdateenv_sse_ctx): Likewise.
37169         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37170         (libc_feholdexcept_setround_387_ctx): Likewise.
37171         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37172         (libc_feholdsetround_387_prec_ctx): Likewise.
37173         (libc_feholdsetround_387_ctx): Likewise.
37174         (libc_feholdsetround_387_53bit_ctx): Likewise.
37175         (libc_feholdsetround_sse_ctx): Likewise.
37176         (libc_feresetround_sse_ctx): Likewise.
37177         (libc_feresetround_387_ctx): Likewise.
37178         (libc_feupdateenv_387_ctx): Likewise.
37179         (libc_feholdexcept_setroundf_ctx): Define macro.
37180         (libc_fesetenvf_ctx): Likewise.
37181         (libc_feupdateenvf_ctx): Likewise.
37182         (libc_feholdsetroundf_ctx): Likewise.
37183         (libc_feresetroundf_ctx): Likewise.
37184         (libc_feholdexcept_setround_ctx): Likewise.
37185         (libc_fesetenv_ctx): Likewise.
37186         (libc_feupdateenv_ctx): Likewise.
37187         (libc_feholdsetround_ctx): Likewise.
37188         (libc_feresetround_ctx): Likewise.
37189         (libc_feholdexcept_setroundl_ctx): Likewise.
37190         (libc_feupdateenvl_ctx): Likewise.
37191         (libc_feholdsetroundl_ctx): Likewise.
37192         (libc_feresetroundl_ctx): Likewise.
37193         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
37194         (libc_feresetround_53bit_ctx): Likewise.
37195
37196 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37197
37198         * locale/iso-639.def: Convert to UTF-8.
37199
37200 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
37201
37202         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
37203         (EXCEPTION_TESTS_double): Likewise.
37204         (EXCEPTION_TESTS_long_double): Likewise.
37205         (EXCEPTION_TESTS): Likewise.
37206         * math/libm-test.inc (test_exceptions): Only test exceptions if
37207         EXCEPTION_TESTS (FLOAT).
37208
37209 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37210
37211         * benchtests/Makefile (string-bench): Add strcpy_chk and
37212         stpcpy_chk.
37213         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
37214         * benchtests/bench-stpcpy_chk.c: New file.
37215         * benchtests/bench-strcpy_chk-ifunc.c: New file.
37216         * benchtests/bench-strcpy_chk.c: New file.
37217         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
37218         code.
37219         (do_test): Likewise.
37220
37221 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37222
37223         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
37224         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
37225         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
37226         with tabs where appropriate.
37227         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
37228         dl-procinfo.h.
37229         [PPC_PLATFORM_PPC440]: Likewise.
37230         [PPC_PLATFORM_PPC464]: Likewise.
37231         [PPC_PLATFORM_PPC476]: Likewise.
37232         (_dl_string_platform): Add support for detecting ppc405, ppc440,
37233         ppc464, and ppc476 platform strings merging from ports/
37234         dl-procinfo.h.
37235
37236 2013-06-11  Andreas Schwab  <schwab@suse.de>
37237
37238         [BZ #14991]
37239         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
37240         (from_ucs4_idx): Regenerate.
37241         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
37242         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
37243         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
37244         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37245         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
37246         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
37247         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
37248         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
37249         from FROM_LOOP and TO_LOOP specific macros.
37250         (BODY): Handle combining characters.
37251         * iconvdata/BIG5HKSCS.irreversible: Update.
37252         * iconvdata/BIG5HKSCS.precomposed: New file.
37253         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
37254         characters.
37255         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
37256
37257 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37258
37259         * include/sys/time.h: Fix indentation and add copyright header.
37260
37261         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
37262         (do_test): Likewise.
37263         * string/test-memchr.c (do_one_test): Likewise.
37264         (do_test): Likewise.
37265         * string/test-memcmp.c (do_one_test): Likewise.
37266         (do_test): Likewise.
37267         * string/test-memcpy.c (do_one_test): Likewise.
37268         (do_test): Likewise.
37269         * string/test-memmem.c (do_one_test): Likewise.
37270         (do_test): Likewise.
37271         (do_random_tests): Likewise.
37272         * string/test-memmove.c (do_one_test): Likewise.
37273         (do_test): Likewise.
37274         * string/test-memset.c (do_one_test): Likewise.
37275         (do_test): Likewise.
37276         * string/test-rawmemchr.c (do_one_test): Likewise.
37277         (do_test): Likewise.
37278         * string/test-strcasecmp.c (do_one_test): Likewise.
37279         (do_test): Likewise.
37280         * string/test-strcasestr.c (do_one_test): Likewise.
37281         (do_test): Likewise.
37282         * string/test-strcat.c (do_one_test): Likewise.
37283         (do_test): Likewise.
37284         * string/test-strchr.c (do_one_test): Likewise.
37285         (do_test): Likewise.
37286         * string/test-strcmp.c (do_one_test): Likewise.
37287         (do_test): Likewise.
37288         * string/test-strcpy.c (do_one_test): Likewise.
37289         (do_test): Likewise.
37290         * string/test-string.h: Likewise.
37291         (test_init): Likewise.
37292         * string/test-strlen.c (do_one_test): Likewise.
37293         (do_test): Likewise.
37294         * string/test-strncasecmp.c (do_one_test): Likewise.
37295         (do_test): Likewise.
37296         * string/test-strncat.c (do_one_test): Likewise.
37297         (do_test): Likewise.
37298         * string/test-strncmp.c (do_one_test): Likewise.
37299         (do_test_limit): Likewise.
37300         (do_test): Likewise.
37301         * string/test-strncpy.c (do_one_test): Likewise.
37302         (do_test): Likewise.
37303         * string/test-strnlen.c (do_one_test): Likewise.
37304         (do_test): Likewise.
37305         * string/test-strpbrk.c (do_one_test): Likewise.
37306         (do_test): Likewise.
37307         * string/test-strrchr.c (do_one_test): Likewise.
37308         (do_test): Likewise.
37309         * string/test-strspn.c (do_one_test): Likewise.
37310         (do_test): Likewise.
37311         * string/test-strstr.c (do_one_test): Likewise.
37312         (do_test): Likewise.
37313
37314         * benchtests/Makefile (string-bench): Add string benchmarks.
37315         * benchtests/bench-bcopy-ifunc.c: New file.
37316         * benchtests/bench-bcopy.c: New file.
37317         * benchtests/bench-bzero-ifunc.c: New file.
37318         * benchtests/bench-bzero.c: New file.
37319         * benchtests/bench-memccpy-ifunc.c: New file.
37320         * benchtests/bench-memccpy.c: New file.
37321         * benchtests/bench-memchr-ifunc.c: New file.
37322         * benchtests/bench-memchr.c: New file.
37323         * benchtests/bench-memcmp-ifunc.c: New file.
37324         * benchtests/bench-memcmp.c: New file.
37325         * benchtests/bench-memmem-ifunc.c: New file.
37326         * benchtests/bench-memmem.c: New file.
37327         * benchtests/bench-memmove-ifunc.c: New file.
37328         * benchtests/bench-memmove.c: New file.
37329         * benchtests/bench-mempcpy-ifunc.c: New file.
37330         * benchtests/bench-mempcpy.c: New file.
37331         * benchtests/bench-memset-ifunc.c: New file.
37332         * benchtests/bench-memset.c: New file.
37333         * benchtests/bench-rawmemchr-ifunc.c: New file.
37334         * benchtests/bench-rawmemchr.c: New file.
37335         * benchtests/bench-stpcpy-ifunc.c: New file.
37336         * benchtests/bench-stpcpy.c: New file.
37337         * benchtests/bench-stpncpy-ifunc.c: New file.
37338         * benchtests/bench-stpncpy.c: New file.
37339         * benchtests/bench-strcasecmp-ifunc.c: New file.
37340         * benchtests/bench-strcasecmp.c: New file.
37341         * benchtests/bench-strcasestr-ifunc.c: New file.
37342         * benchtests/bench-strcasestr.c: New file.
37343         * benchtests/bench-strcat-ifunc.c: New file.
37344         * benchtests/bench-strcat.c: New file.
37345         * benchtests/bench-strchr-ifunc.c: New file.
37346         * benchtests/bench-strchr.c: New file.
37347         * benchtests/bench-strchrnul-ifunc.c: New file.
37348         * benchtests/bench-strchrnul.c: New file.
37349         * benchtests/bench-strcmp-ifunc.c: New file.
37350         * benchtests/bench-strcmp.c: New file.
37351         * benchtests/bench-strcpy-ifunc.c: New file.
37352         * benchtests/bench-strcpy.c: New file.
37353         * benchtests/bench-strcspn-ifunc.c: New file.
37354         * benchtests/bench-strcspn.c: New file.
37355         * benchtests/bench-strlen-ifunc.c: New file.
37356         * benchtests/bench-strlen.c: New file.
37357         * benchtests/bench-strncasecmp-ifunc.c: New file.
37358         * benchtests/bench-strncasecmp.c: New file.
37359         * benchtests/bench-strncat-ifunc.c: New file.
37360         * benchtests/bench-strncat.c: New file.
37361         * benchtests/bench-strncmp-ifunc.c: New file.
37362         * benchtests/bench-strncmp.c: New file.
37363         * benchtests/bench-strncpy-ifunc.c: New file.
37364         * benchtests/bench-strncpy.c: New file.
37365         * benchtests/bench-strnlen-ifunc.c: New file.
37366         * benchtests/bench-strnlen.c: New file.
37367         * benchtests/bench-strpbrk-ifunc.c: New file.
37368         * benchtests/bench-strpbrk.c: New file.
37369         * benchtests/bench-strrchr-ifunc.c: New file.
37370         * benchtests/bench-strrchr.c: New file.
37371         * benchtests/bench-strspn-ifunc.c: New file.
37372         * benchtests/bench-strspn.c: New file.
37373         * benchtests/bench-strstr-ifunc.c: New file.
37374         * benchtests/bench-strstr.c: New file.
37375
37376         * benchtests/Makefile: Disable parallel execution of targets.
37377         (string-bench): Add memcpy.
37378         (benchset): New variable to store a list of benchmark sets.
37379         (bench-func): Renamed from bench.
37380         (bench-set): New target.
37381         (bench): Depend on bench-func and bench-set.
37382         * benchtests/README: Add section on benchmark sets.
37383         * benchtests/bench-memcpy-ifunc.c: New file.
37384         * benchtests/bench-memcpy.c: New file.
37385         * benchtests/bench-string.h: New file.
37386
37387 2013-06-11  Andreas Schwab  <schwab@suse.de>
37388
37389         [BZ #15577]
37390         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
37391         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
37392         values in the triple.
37393         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
37394         terminator in the group key.
37395
37396 2013-06-11  Andreas Jaeger  <aj@suse.de>
37397
37398         * po/zh_TW.po: Update Chinese (traditional) translation from
37399         translation project.
37400
37401 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37402
37403         * include/time.h (__clock_gettime): Add libc_hidden_proto.
37404         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
37405         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
37406         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37407         (clock_getcpuclockid): Likewise.
37408         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
37409         Add weak_alias and libc_hidden_def.
37410         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
37411         * rt/clock_gettime.c (clock_gettime): Rename to
37412         __clock_gettime.  Add weak_alias and libc_hidden_def.
37413         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
37414         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
37415         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
37416         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
37417         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
37418         Likewise.
37419         * rt/clock_settime.c (clock_settime): Rename to
37420         __clock_settime.  Add weak_alias and libc_hidden_def.
37421         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37422
37423 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
37424
37425         * mach/err_boot.sub: Remove trailing whitespace.
37426         * mach/err_ipc.sub: Likewise.
37427         * mach/err_mach.sub: Likewise.
37428
37429         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
37430         (ROUNDING_TESTS_double): Likewise.
37431         (ROUNDING_TESTS_long_double): Likewise.
37432         (ROUNDING_TESTS): Likewise.
37433         * math/libm-test.inc: Include <math-tests.h>.
37434         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
37435         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37436         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37437         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37438
37439 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37440
37441         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
37442         of assigning.
37443
37444 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
37445
37446         * sysdeps/gnu/errlist.awk: Do not generate space at end of
37447         otherwise empty TRANS lines.
37448         * sysdeps/gnu/errlist.c: Regenerated.
37449
37450         * catgets/gencat.c (error_print): Use (void) in function
37451         definition.
37452         * crypt/crypt_util.c (__init_des): Likewise.
37453         * crypt/speeds.c (Stop): Likewise.
37454         (main): Likewise.
37455         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
37456         * inet/ruserpass.c (token): Likewise.
37457         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
37458         * intl/localealias.c (extend_alias_table): Likewise.
37459         * intl/plural-exp.c (init_germanic_plural): Likewise.
37460         * libio/fcloseall.c (__fcloseall): Likewise.
37461         * libio/genops.c (_IO_flush_all): Likewise.
37462         (_IO_flush_all_linebuffered): Likewise.
37463         (_IO_cleanup): Likewise.
37464         (_IO_iter_begin): Likewise.
37465         (_IO_iter_end): Likewise.
37466         (_IO_list_lock): Likewise.
37467         (_IO_list_unlock): Likewise.
37468         (_IO_list_resetlock): Likewise.
37469         * libio/getchar.c (getchar): Likewise.
37470         * libio/getchar_u.c (getchar_unlocked): Likewise.
37471         * libio/getwchar.c (getwchar): Likewise.
37472         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
37473         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
37474         * login/getpt.c (__getpt): Likewise.
37475         * login/tst-utmp.c (main): Likewise.
37476         * malloc/hooks.c (__malloc_check_init): Likewise.
37477         * malloc/malloc.c (__malloc_stats): Likewise.
37478         * malloc/mtrace.c (tr_break): Likewise.
37479         (mtrace): Likewise.
37480         (muntrace): Likewise.
37481         * misc/fstab.c (endfsent): Likewise.
37482         * misc/getclktck.c (__getclktck): Likewise.
37483         * misc/getdtsz.c (__getdtablesize): Likewise.
37484         * misc/gethostid.c (gethostid): Likewise.
37485         * misc/getpagesize.c (__getpagesize): Likewise.
37486         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
37487         (__get_nprocs): Likewise.
37488         (__get_phys_pages): Likewise.
37489         (__get_avphys_pages): Likewise.
37490         * misc/getttyent.c (getttyent): Likewise.
37491         (setttyent): Likewise.
37492         (endttyent): Likewise.
37493         * misc/getusershell.c (getusershell): Likewise.
37494         (endusershell): Likewise.
37495         (setusershell): Likewise.
37496         (initshells): Likewise.
37497         * misc/hsearch.c (__hdestroy): Likewise.
37498         * misc/sync.c (sync): Likewise.
37499         * misc/syslog.c (closelog_internal): Likewise.
37500         (closelog): Likewise.
37501         * misc/ttyslot.c (ttyslot): Likewise.
37502         * misc/vhangup.c (vhangup): Likewise.
37503         * posix/fork.c (__fork): Likewise.
37504         * posix/getegid.c (__getegid): Likewise.
37505         * posix/geteuid.c (__geteuid): Likewise.
37506         * posix/getgid.c (__getgid): Likewise.
37507         * posix/getpid.c (__getpid): Likewise.
37508         * posix/getppid.c (__getppid): Likewise.
37509         * posix/getuid.c (__getuid): Likewise.
37510         * posix/pause.c (pause): Likewise.
37511         * posix/setpgrp.c (setpgrp): Likewise.
37512         * posix/setsid.c (__setsid): Likewise.
37513         * posix/test-vfork.c (noop): Likewise.
37514         * resolv/gethnamaddr.c (_endhtent): Likewise.
37515         (_gethtent): Likewise.
37516         (ht_endhostent): Likewise.
37517         (gethostent): Likewise.
37518         (dns_service): Likewise.
37519         * stdlib/drand48.c (drand48): Likewise.
37520         * stdlib/lrand48.c (lrand48): Likewise.
37521         * stdlib/mrand48.c (mrand48): Likewise.
37522         * stdlib/rand.c (rand): Likewise.
37523         * stdlib/random.c (__random): Likewise.
37524         * stdlib/setenv.c (clearenv): Likewise.
37525         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
37526         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
37527         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
37528         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
37529         (__get_nprocs): Likewise.
37530         (__get_phys_pages): Likewise.
37531         (__get_avphys_pages): Likewise.
37532         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
37533         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
37534         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
37535         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
37536         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
37537         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
37538         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
37539         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
37540         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
37541         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
37542         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
37543         * sysdeps/mach/hurd/sync.c (sync): Likewise.
37544         * sysdeps/posix/clock.c (clock): Likewise.
37545         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
37546         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
37547         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
37548         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37549         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
37550         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37551         (__get_nprocs_conf): Likewise.
37552         (__get_phys_pages): Likewise.
37553         (__get_avphys_pages): Likewise.
37554         * time/clock.c (clock): Likewise.
37555         * time/tzset.c (__tzname_max): Likewise.
37556
37557 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
37558
37559         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
37560         (__bswap_32): Do not use "register".
37561         * crypt/crypt.c (_ufc_doit_r): Likewise.
37562         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37563         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37564         * gmon/gmon.c (__monstartup): Likewise.
37565         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
37566         * hurd/hurdmalloc.c (more_memory): Likewise.
37567         (malloc): Likewise.
37568         (free): Likewise.
37569         (realloc): Likewise.
37570         (malloc_fork_prepare): Likewise.
37571         (malloc_fork_parent): Likewise.
37572         (malloc_fork_child): Likewise.
37573         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
37574         (_svcauth_des): Likewise.
37575         * inet/inet_lnaof.c (inet_lnaof): Likewise.
37576         * inet/inet_net.c (inet_network): Likewise.
37577         * inet/inet_netof.c (inet_netof): Likewise.
37578         * inet/rcmd.c (__validuser2_sa): Likewise.
37579         * io/fts.c (fts_open): Likewise.
37580         (fts_load): Likewise.
37581         (fts_close): Likewise.
37582         (fts_read): Likewise.
37583         (fts_children): Likewise.
37584         (fts_build): Likewise.
37585         (fts_stat): Likewise.
37586         (fts_sort): Likewise.
37587         (fts_alloc): Likewise.
37588         (fts_lfree): Likewise.
37589         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
37590         (_IO_file_xsgetn): Likewise.
37591         (_IO_file_xsgetn_mmap): Likewise.
37592         * libio/iofopncook.c (_IO_cookie_read): Likewise.
37593         (_IO_cookie_write): Likewise.
37594         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
37595         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
37596         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
37597         * malloc/obstack.c (_obstack_begin): Likewise.
37598         (_obstack_begin_1): Likewise.
37599         (_obstack_newchunk): Likewise.
37600         (_obstack_allocated_p): Likewise.
37601         (obstack_free): Likewise.
37602         (_obstack_memory_used): Likewise.
37603         * misc/getttyent.c (getttynam): Likewise.
37604         (getttyent): Likewise.
37605         (skip): Likewise.
37606         (value): Likewise.
37607         * misc/getusershell.c (initshells): Likewise.
37608         * misc/syslog.c (__vsyslog_chk): Likewise.
37609         * misc/ttyslot.c (ttyslot): Likewise.
37610         * nis/nis_hash.c (__nis_hash): Likewise.
37611         * posix/fnmatch_loop.c (FCT): Likewise.
37612         * posix/getconf.c (print_all): Likewise.
37613         (main): Likewise.
37614         * posix/getopt.c (exchange): Likewise.
37615         * posix/glob.c (globfree): Likewise.
37616         (prefix_array): Likewise.
37617         (__glob_pattern_type): Likewise.
37618         * resolv/arpa/nameser.h (NS_GET16): Likewise.
37619         (NS_GET32): Likewise.
37620         (NS_PUT16): Likewise.
37621         (NS_PUT32): Likewise.
37622         * resolv/gethnamaddr.c (getanswer): Likewise.
37623         (gethostbyname2): Likewise.
37624         (gethostbyaddr): Likewise.
37625         (_gethtent): Likewise.
37626         (_gethtbyname2): Likewise.
37627         (_gethtbyaddr): Likewise.
37628         * resolv/ns_print.c (dst_s_get_int16): Likewise.
37629         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37630         * resolv/res_init.c (__res_vinit): Likewise.
37631         (net_mask): Likewise.
37632         * resolv/res_mkquery.c (outchar): Likewise.
37633         (PRINT): Likewise.
37634         * stdio-common/printf_fp.c (outchar): Likewise.
37635         (PRINT): Likewise.
37636         * stdio-common/printf_fphex.c (outchar): Likewise.
37637         (PRINT): Likewise.
37638         * stdio-common/printf_size.c (outchar): Likewise.
37639         (PRINT): Likewise.
37640         * stdio-common/test_rdwr.c (main): Likewise.
37641         * stdio-common/tfformat.c (matches): Likewise.
37642         * stdio-common/vfprintf.c (outchar): Likewise.
37643         (printf_unknown): Likewise.
37644         (buffered_vfprintf): Likewise.
37645         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37646         * stdio-common/xbug.c (AppendToBuffer): Likewise.
37647         (ReadFile): Likewise.
37648         * stdlib/qsort.c (SWAP): Likewise.
37649         (_quicksort): Likewise.
37650         * stdlib/setenv.c (__add_to_environ): Likewise.
37651         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37652         * stdlib/strtol_l.c (__strtol_l): Likewise.
37653         * stdlib/tst-strtod.c (main): Likewise.
37654         * stdlib/tst-strtol.c (main): Likewise.
37655         * stdlib/tst-strtoll.c (main): Likewise.
37656         * string/bits/string2.h (__strcmp_cc): Likewise.
37657         (__strcmp_cg): Likewise.
37658         (__strcspn_c1): Likewise.
37659         (__strcspn_c2): Likewise.
37660         (__strcspn_c3): Likewise.
37661         (__strspn_c1): Likewise.
37662         (__strspn_c2): Likewise.
37663         (__strspn_c3): Likewise.
37664         (__strsep_1c): Likewise.
37665         (__strsep_2c): Likewise.
37666         (__strsep_3c): Likewise.
37667         * string/memccpy.c (__memccpy): Likewise.
37668         * string/stpcpy.c (__stpcpy): Likewise.
37669         * string/strcmp.c (strcmp): Likewise.
37670         * string/strrchr.c (strrchr): Likewise.
37671         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
37672         Likewise.
37673         * sysdeps/mach/hurd/getcwd.c
37674         (_hurd_canonicalize_directory_name_internal): Likewise.
37675         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
37676         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
37677         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
37678         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
37679         Likewise, in both definitions.
37680         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
37681         definitions.
37682         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
37683         64] (__bswap_64): Likewise.
37684         * time/test_time.c (main): Likewise.
37685         * time/tzfile.c (__tzfile_read): Likewise.
37686         (__tzfile_compute): Likewise.
37687         * time/tzset.c (__tzset_parse_tz): Likewise.
37688         (tzset_internal): Likewise.
37689         (compute_change): Likewise.
37690         * wcsmbs/wcscat.c (__wcscat): Likewise.
37691         * wcsmbs/wcschr.c (wcschr): Likewise.
37692         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
37693         * wcsmbs/wcscspn.c (wcscspn): Likewise.
37694         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
37695         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
37696         * wcsmbs/wcsspn.c (wcsspn): Likewise.
37697         * wcsmbs/wcsstr.c (wcsstr): Likewise.
37698         * wcsmbs/wmemchr.c (wmemchr): Likewise.
37699         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37700         * wcsmbs/wmemset.c (wmemset): Likewise.
37701
37702 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
37703
37704         * scripts/config.guess: Update to version 2013-05-16.
37705         * scripts/config.sub: Update to version 2013-04-24.
37706         * scripts/install-sh: Update to version 2011-11-20.07.
37707         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
37708         * scripts/move-if-change: Update to version 2012-01-06 07:23.
37709
37710 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
37711
37712         * debug/fgetws_u_chk.c: Fix leading whitespaces.
37713         * elf/sln.c: Likewise.
37714         * hurd/hurd/ioctl.h: Likewise.
37715         * hurd/hurdmalloc.c: Likewise.
37716         * hurd/xattr.c: Likewise.
37717         * include/shlib-compat.h: Likewise.
37718         * inet/ruserpass.c: Likewise.
37719         * libio/iofgets_u.c: Likewise.
37720         * libio/iofgetws_u.c: Likewise.
37721         * locale/programs/ld-identification.c: Likewise.
37722         * locale/programs/ld-time.c: Likewise.
37723         * mach/msg-destroy.c: Likewise.
37724         * nss/nss_files/files-netgrp.c: Likewise.
37725         * resolv/res_data.c: Likewise.
37726         * soft-fp/op-1.h: Likewise.
37727         * soft-fp/op-2.h: Likewise.
37728         * soft-fp/op-4.h: Likewise.
37729         * soft-fp/op-common.h: Likewise.
37730         * stdio-common/printf_fphex.c: Likewise.
37731         * stdlib/strtod_l.c: Likewise.
37732         * sunrpc/rpc/clnt.h: Likewise.
37733         * sysdeps/generic/framestate.c: Likewise.
37734         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37735         * sysdeps/i386/bsd-setjmp.S: Likewise.
37736         * sysdeps/i386/__longjmp.S: Likewise.
37737         * sysdeps/i386/setjmp.S: Likewise.
37738         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37739         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37740         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37741         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37742         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37743         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37744         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37745         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37746         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37747         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37748         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37749         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37750         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37751         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37752         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37753         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37754         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37755         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
37756         * sysdeps/ieee754/support.c: Likewise.
37757         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37758         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
37759         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
37760         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
37761         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
37762         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
37763         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
37764         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
37765         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
37766         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
37767         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
37768         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
37769         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
37770         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
37771         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
37772         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
37773         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37775
37776 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
37777
37778         * posix/transbug.c: Remove executable mode.
37779
37780 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
37781
37782         * crypt/speeds.c: Remove trailing whitespace.
37783         * dlfcn/default.c: Likewise.
37784         * elf/ifuncdep2.c: Likewise.
37785         * elf/ifuncmain1.c: Likewise.
37786         * elf/ifuncmain1vis.c: Likewise.
37787         * elf/testobj.h: Likewise.
37788         * elf/tst-stackguard1.c: Likewise.
37789         * gmon/sys/gmon.h: Likewise.
37790         * hurd/hurdmsg.c: Likewise.
37791         * hurd/new-fd.c: Likewise.
37792         * hurd/ports-get.c: Likewise.
37793         * iconvdata/ibm1008_420.c: Likewise.
37794         * inet/tst-getni1.c: Likewise.
37795         * inet/tst-getni2.c: Likewise.
37796         * libio/ioungetc.c: Likewise.
37797         * libio/wfiledoalloc.c: Likewise.
37798         * manual/libm-err-tab.pl: Likewise.
37799         * math/w_dremf.c: Likewise.
37800         * misc/ftruncate.c: Likewise.
37801         * posix/bug-glob2.c: Likewise.
37802         * posix/tst-pcre.c: Likewise.
37803         * posix/wait4.c: Likewise.
37804         * resolv/README: Likewise.
37805         * resolv/res_debug.h: Likewise.
37806         * resolv/tst-inet_ntop.c: Likewise.
37807         * setjmp/bug269-setjmp.c: Likewise.
37808         * soft-fp/extended.h: Likewise.
37809         * soft-fp/op-1.h: Likewise.
37810         * soft-fp/op-2.h: Likewise.
37811         * soft-fp/op-4.h: Likewise.
37812         * soft-fp/op-8.h: Likewise.
37813         * soft-fp/testit.c: Likewise.
37814         * stdio-common/bug16.c: Likewise.
37815         * stdlib/random.c: Likewise.
37816         * sunrpc/rpcsvc/rquota.x: Likewise.
37817         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
37818         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37819         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37820         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37821         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37822         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37823         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37824         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37825         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37826         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37827         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37828         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37829         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37830         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37831         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37832         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37833         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37834         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37835         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37836         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37837         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37838         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37839         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
37840         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37841         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37842         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37843         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37844         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37845         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37846         * sysdeps/ieee754/s_lib_version.c: Likewise.
37847         * sysdeps/mach/hurd/check_fds.c: Likewise.
37848         * sysdeps/mach/hurd/getsockname.c: Likewise.
37849         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
37850         * sysdeps/mach/hurd/recvfrom.c: Likewise.
37851         * sysdeps/powerpc/bits/link.h: Likewise.
37852         * sysdeps/powerpc/dl-procinfo.c: Likewise.
37853         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
37854         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
37855         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
37856         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37857         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37858         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
37859         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37860         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
37861         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37862         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37863         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37864         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
37865         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37866         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37867         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37868         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37869         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37870         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37871         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37872         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37873         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
37874         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37875         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37876         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
37877         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37878         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37879         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37880         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37881         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37882         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37883         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37884         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37885         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37886         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
37887         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37888         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
37889         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37890         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37891         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
37892         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
37893         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
37894         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
37895         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
37896         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37897         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
37898         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
37899         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37900         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
37901         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
37902         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37903         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37904         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37905         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37906         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
37907         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37908         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37909         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37910         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
37911         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37912         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
37913         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
37914         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
37915         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37916         * sysdeps/powerpc/sysdep.h: Likewise.
37917         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37918         * sysdeps/s390/s390-64/sub_n.S: Likewise.
37919         * sysdeps/sh/dl-trampoline.S: Likewise.
37920         * sysdeps/sh/memset.S: Likewise.
37921         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
37922         * sysdeps/sh/strlen.S: Likewise.
37923         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
37924         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
37925         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
37926         * sysdeps/sparc/sparc32/rem.S: Likewise.
37927         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
37928         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
37929         * sysdeps/sparc/sparc32/strchr.S: Likewise.
37930         * sysdeps/sparc/sparc32/udiv.S: Likewise.
37931         * sysdeps/sparc/sparc32/urem.S: Likewise.
37932         * sysdeps/sparc/sparc64/add_n.S: Likewise.
37933         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37934         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
37935         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
37936         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
37937         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
37938         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37939         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
37940         * sysdeps/unix/bsd/times.c: Likewise.
37941         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
37942         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
37943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37946         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
37947         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37948         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
37949         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
37950         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
37951         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
37952         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37953         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
37954         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37955         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37956         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37957         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37958         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
37959         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
37960         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
37961         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
37962         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
37963         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37964         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
37965         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
37966         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37967         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
37968         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37969         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
37970         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
37971         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
37972         * sysdeps/x86_64/strcspn.S: Likewise.
37973
37974 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37975
37976         * locale/C-translit.h: Revert #include <stdint.h> because this is a
37977         generated file.  Regenerate properly from gen-translit.pl.
37978         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
37979         locale/C-translit.h.
37980
37981 2013-06-05  Andreas Schwab  <schwab@suse.de>
37982
37983         [BZ #15100]
37984         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
37985         week as 6 instead of -1.
37986         * time/tst-strptime.c (day_tests): Add test case.
37987
37988 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37989
37990         * sysdeps/generic/math_private.h
37991         (libc_feholdexcept_setround_53bit): Replace with
37992         libc_feholdsetround_53bit.
37993         (libc_feupdateenv_53bit): Replace with
37994         libc_feresetround_53bit.
37995         (SET_RESTORE_ROUND_53BIT): Adjust.
37996
37997 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37998
37999         * string/test-strchrnul.c: Add copyright header.
38000
38001         * posix/tst-getaddrinfo4.c: Increase test timeout.
38002
38003 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38004
38005         [BZ #15536]
38006         * math/libm-test.inc (MAX_EXP): Remove
38007         (MIN_EXP): Define.
38008         (ulp): Use MIN_EXP - MANT_DIG.
38009         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38010
38011 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38012
38013         * po/be.po: Revert last change.
38014         * po/zh_CN.po: Likewise.
38015         * po/header.pot: Likewise.
38016
38017 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38018
38019         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38020         link-libc-deps to empty as target-specific variable.
38021         * Makerules (link-libc-args): New variable.
38022         (libc-for-link): Likewise.
38023         (link-libc-deps): Likewise.
38024         (lib%.so): Depend on $(link-libc-deps).  Link with
38025         $(link-libc-args).
38026         (build-module): Link with $(link-libc-args).
38027         (build-module-asneeded): Likewise.
38028         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38029         list of objects.
38030         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38031         target-specific variable.
38032         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38033         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38034         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38035         libc.
38036         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38037         libc and ld.so.
38038         ($(objpfx)libpcprofile.so): Likewise.
38039         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38040         libc_nonshared.a.
38041         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38042         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38043         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38044         $(link-libc-deps).
38045         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38046         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38047         * login/Makefile ($(objpfx)libutil.so): Likewise.
38048         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38049         * math/Makefile ($(objpfx)libm.so): Likewise.
38050         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38051         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38052         variable instead of depending directly on libc.
38053         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38054         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38055         $(link-libc-deps).
38056         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38057         libc.
38058         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38059         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38060         ($(objpfx)libanl.so): Likewise.
38061         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38062         ld.so.
38063         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38064         $(link-libc-deps).
38065         * sysdeps/i386/fpu/Makefile: Remove file.
38066         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38067         ($(objpfx)libm.so): Remove dependency on ld.so.
38068
38069 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38070
38071         [BZ # 15553]
38072         * nis/yp_xdr.c (XDRMAXNAME): Define.
38073         (XDRMAXRECORD): Define.
38074         (xdr_domainname): Use XDRMAXNAME.
38075         (xdr_mapname): Likewise.
38076         (xdr_peername): Likewise.
38077         (xdr_keydat): Use XDRMAXRECORD.
38078         (xdr_valdat): Likewise.
38079
38080 2013-05-30  Jeff Law  <law@redhat.com>
38081
38082         [BZ #14256]
38083         * manual/errno.texi (ESTALE): Update to account for more than
38084         just NFS file systems.
38085         * sysdeps/gnu/errlist.c: Regenerated.
38086
38087 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38088
38089         [BZ #15465]
38090         * elf/Makefile (tests): Add tst-null-argv.
38091         (modules-names):  Add tst-null-argv-lib.
38092         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38093         (tst-null-argv-ENV): Set environment for tst-null-argv.
38094         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38095         (RTLD_PROGNAME): New macro.
38096         * elf/tst-null-argv.c: New test case.
38097         * elf/tst-null-argv-lib.c: Library for test case.
38098         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38099         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38100         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38101         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38102         * elf/dl-init.c (call_init): Likewise.
38103         (_dl_init): Likewise.
38104         * elf/dl-load.c (print_search_path): Likewise.
38105         (_dl_map_object): Likewise.
38106         * elf/dl-lookup.c (do_lookup_x): Likewise.
38107         (add_dependency): Likewise.
38108         (_dl_lookup_symbol_x): Likewise.
38109         (_dl_debug_bindings): Likewise.
38110         * elf/dl-open.c (_dl_show_scope): Likewise.
38111         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38112         * elf/dl-version.c (match_symbol): Likewise.
38113         (_dl_check_map_versions): Likewise.
38114         * elf/rtld.c (dl_main): Likewise.
38115         (print_unresolved): Use RTLD_PROGNAME.
38116         (print_missing_version): Likewise.
38117         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38118         (elf_machine_rela): Likewise.
38119         * sysdeps/powerpc/powerpc32/dl-machine.c
38120         (__process_machine_rela): Likewise.
38121         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38122         Likewise.
38123         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38124         Likewise.
38125         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38126         Likewise.
38127         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38128         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38129         Likewise.
38130         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38131         Likewise.
38132         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38133
38134 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38135
38136         * po/be.po: Add descriptive title.
38137         * po/zh_CN.po: Likewise.
38138         * po/header.pot: Likewise.
38139
38140 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38141
38142         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38143         error message.
38144         (enlarge_archive): Likewise.
38145
38146 2013-05-28  Ben North  <ben@redfrontdoor.org>
38147
38148         * manual/arith.texi (frexp): It is the magnitude of the return
38149         value which lies in [0.5, 1), not the return value itself.
38150
38151 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38152
38153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38154
38155 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38156
38157         * stdio-common/bug26.c (main): Correct fscanf template.
38158
38159         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38160         declare _dl_skip_args.
38161
38162         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38163         Don't declare.
38164
38165         * manual/platform.texi: Add missing @end deftypefun.
38166
38167 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38168
38169         [BZ #15529]
38170         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38171         bit of mantissa of 2^16382.
38172         * math/libm-test.inc (hypot_test_data): Add more tests.
38173
38174         * math/libm-test.inc: Add drem and pow10 to list of tested
38175         functions.
38176         (pow10_test): New function.
38177         (drem_test): Likewise.
38178         (drem_test_tonearest): Likewise.
38179         (drem_test_towardzero): Likewise.
38180         (drem_test_downward): Likewise.
38181         (drem_test_upward): Likewise.
38182         (main): Call the new functions.
38183
38184         * math/libm-test.inc (finite_test_data): Remove.
38185         (finite_test): Run tests from isfinite_test_data.
38186         (gamma_test_data): Remove.
38187         (gamma_test): Run tests from lgamma_test_data.
38188         * sysdeps/i386/fpu/libm-test-ulps: Update.
38189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38190
38191 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38192
38193         * manual/platform.texi: Add PowerPC PPR function set documentation.
38194         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
38195         implementation.
38196
38197 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
38198
38199         * math/libm-test.inc (MAX_EXP): Define.
38200         (ULPDIFF): Define.
38201         (ulp): New function.
38202         (check_float_internal): Use ULPDIFF.
38203         (cpow_test): Disable failing test.
38204         (check_ulp): Test ulp() implemetnation.
38205         (main): Call check_ulp before starting tests.
38206
38207 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38208
38209         * math/gen-libm-test.pl (generate_testfile): Do not handle
38210         START_DATA and END_DATA.
38211         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
38212         END_DATA.
38213         (acos_tonearest_test_data): Likewise.
38214         (acos_towardzero_test_data): Likewise.
38215         (acos_downward_test_data): Likewise.
38216         (acos_upward_test_data): Likewise.
38217         (acosh_test_data): Likewise.
38218         (asin_test_data): Likewise.
38219         (asin_tonearest_test_data): Likewise.
38220         (asin_towardzero_test_data): Likewise.
38221         (asin_downward_test_data): Likewise.
38222         (asin_upward_test_data): Likewise.
38223         (asinh_test_data): Likewise.
38224         (atan_test_data): Likewise.
38225         (atanh_test_data): Likewise.
38226         (atan2_test_data): Likewise.
38227         (cabs_test_data): Likewise.
38228         (cacos_test_data): Likewise.
38229         (cacosh_test_data): Likewise.
38230         (carg_test_data): Likewise.
38231         (casin_test_data): Likewise.
38232         (casinh_test_data): Likewise.
38233         (catan_test_data): Likewise.
38234         (catanh_test_data): Likewise.
38235         (cbrt_test_data): Likewise.
38236         (ccos_test_data): Likewise.
38237         (ccosh_test_data): Likewise.
38238         (ceil_test_data): Likewise.
38239         (cexp_test_data): Likewise.
38240         (cimag_test_data): Likewise.
38241         (clog_test_data): Likewise.
38242         (clog10_test_data): Likewise.
38243         (conj_test_data): Likewise.
38244         (copysign_test_data): Likewise.
38245         (cos_test_data): Likewise.
38246         (cos_tonearest_test_data): Likewise.
38247         (cos_towardzero_test_data): Likewise.
38248         (cos_downward_test_data): Likewise.
38249         (cos_upward_test_data): Likewise.
38250         (cosh_test_data): Likewise.
38251         (cosh_tonearest_test_data): Likewise.
38252         (cosh_towardzero_test_data): Likewise.
38253         (cosh_downward_test_data): Likewise.
38254         (cosh_upward_test_data): Likewise.
38255         (cpow_test_data): Likewise.
38256         (cproj_test_data): Likewise.
38257         (creal_test_data): Likewise.
38258         (csin_test_data): Likewise.
38259         (csinh_test_data): Likewise.
38260         (csqrt_test_data): Likewise.
38261         (ctan_test_data): Likewise.
38262         (ctan_tonearest_test_data): Likewise.
38263         (ctan_towardzero_test_data): Likewise.
38264         (ctan_downward_test_data): Likewise.
38265         (ctan_upward_test_data): Likewise.
38266         (ctanh_test_data): Likewise.
38267         (ctanh_tonearest_test_data): Likewise.
38268         (ctanh_towardzero_test_data): Likewise.
38269         (ctanh_downward_test_data): Likewise.
38270         (ctanh_upward_test_data): Likewise.
38271         (erf_test_data): Likewise.
38272         (erfc_test_data): Likewise.
38273         (exp_test_data): Likewise.
38274         (exp_tonearest_test_data): Likewise.
38275         (exp_towardzero_test_data): Likewise.
38276         (exp_downward_test_data): Likewise.
38277         (exp_upward_test_data): Likewise.
38278         (exp10_test_data): Likewise.
38279         (exp2_test_data): Likewise.
38280         (expm1_test_data): Likewise.
38281         (fabs_test_data): Likewise.
38282         (fdim_test_data): Likewise.
38283         (finite_test_data): Likewise.
38284         (floor_test_data): Likewise.
38285         (fma_test_data): Likewise.
38286         (fma_towardzero_test_data): Likewise.
38287         (fma_downward_test_data): Likewise.
38288         (fma_upward_test_data): Likewise.
38289         (fmax_test_data): Likewise.
38290         (fmin_test_data): Likewise.
38291         (fmod_test_data): Likewise.
38292         (fpclassify_test_data): Likewise.
38293         (frexp_test_data): Likewise.
38294         (gamma_test_data): Likewise.
38295         (hypot_test_data): Likewise.
38296         (ilogb_test_data): Likewise.
38297         (isfinite_test_data): Likewise.
38298         (isgreater_test_data): Likewise.
38299         (isgreaterequal_test_data): Likewise.
38300         (isinf_test_data): Likewise.
38301         (isless_test_data): Likewise.
38302         (islessequal_test_data): Likewise.
38303         (islessgreater_test_data): Likewise.
38304         (isnan_test_data): Likewise.
38305         (isnormal_test_data): Likewise.
38306         (issignaling_test_data): Likewise.
38307         (isunordered_test_data): Likewise.
38308         (j0_test_data): Likewise.
38309         (j1_test_data): Likewise.
38310         (jn_test_data): Likewise.
38311         (ldexp_test_data): Likewise.
38312         (lgamma_test_data): Likewise.
38313         (lrint_test_data): Likewise.
38314         (lrint_tonearest_test_data): Likewise.
38315         (lrint_towardzero_test_data): Likewise.
38316         (lrint_downward_test_data): Likewise.
38317         (lrint_upward_test_data): Likewise.
38318         (llrint_test_data): Likewise.
38319         (llrint_tonearest_test_data): Likewise.
38320         (llrint_towardzero_test_data): Likewise.
38321         (llrint_downward_test_data): Likewise.
38322         (llrint_upward_test_data): Likewise.
38323         (log_test_data): Likewise.
38324         (log10_test_data): Likewise.
38325         (log1p_test_data): Likewise.
38326         (log2_test_data): Likewise.
38327         (logb_test_data): Likewise.
38328         (logb_downward_test_data): Likewise.
38329         (lround_test_data): Likewise.
38330         (llround_test_data): Likewise.
38331         (modf_test_data): Likewise.
38332         (nearbyint_test_data): Likewise.
38333         (nextafter_test_data): Likewise.
38334         (nexttoward_test_data): Likewise.
38335         (pow_test_data): Likewise.
38336         (pow_tonearest_test_data): Likewise.
38337         (pow_towardzero_test_data): Likewise.
38338         (pow_downward_test_data): Likewise.
38339         (pow_upward_test_data): Likewise.
38340         (remainder_test_data): Likewise.
38341         (remainder_tonearest_test_data): Likewise.
38342         (remainder_towardzero_test_data): Likewise.
38343         (remainder_downward_test_data): Likewise.
38344         (remainder_upward_test_data): Likewise.
38345         (remquo_test_data): Likewise.
38346         (rint_test_data): Likewise.
38347         (rint_tonearest_test_data): Likewise.
38348         (rint_towardzero_test_data): Likewise.
38349         (rint_downward_test_data): Likewise.
38350         (rint_upward_test_data): Likewise.
38351         (round_test_data): Likewise.
38352         (scalb_test_data): Likewise.
38353         (scalbn_test_data): Likewise.
38354         (scalbln_test_data): Likewise.
38355         (signbit_test_data): Likewise.
38356         (sin_test_data): Likewise.
38357         (sin_tonearest_test_data): Likewise.
38358         (sin_towardzero_test_data): Likewise.
38359         (sin_downward_test_data): Likewise.
38360         (sin_upward_test_data): Likewise.
38361         (sincos_test_data): Likewise.
38362         (sinh_test_data): Likewise.
38363         (sinh_tonearest_test_data): Likewise.
38364         (sinh_towardzero_test_data): Likewise.
38365         (sinh_downward_test_data): Likewise.
38366         (sinh_upward_test_data): Likewise.
38367         (sqrt_test_data): Likewise.
38368         (tan_test_data): Likewise.
38369         (tan_tonearest_test_data): Likewise.
38370         (tan_towardzero_test_data): Likewise.
38371         (tan_downward_test_data): Likewise.
38372         (tan_upward_test_data): Likewise.
38373         (tanh_test_data): Likewise.
38374         (tgamma_test_data): Likewise.
38375         (trunc_test_data): Likewise.
38376         (y0_test_data): Likewise.
38377         (y1_test_data): Likewise.
38378         (yn_test_data): Likewise.
38379         (significand_test_data): Likewise.
38380
38381         * math/gen-libm-test.pl (@functions): Remove variable.
38382         (generate_testfile): Don't handle START and END lines.
38383         * math/libm-test.inc (START): New macro.
38384         (END): Likewise.
38385         (END_COMPLEX): Likewise.
38386         (acos_test): Use END macro without arguments.
38387         (acos_test_tonearest): Likewise.
38388         (acos_test_towardzero): Likewise.
38389         (acos_test_downward): Likewise.
38390         (acos_test_upward): Likewise.
38391         (acosh_test): Likewise.
38392         (asin_test): Likewise.
38393         (asin_test_tonearest): Likewise.
38394         (asin_test_towardzero): Likewise.
38395         (asin_test_downward): Likewise.
38396         (asin_test_upward): Likewise.
38397         (asinh_test): Likewise.
38398         (atan_test): Likewise.
38399         (atanh_test): Likewise.
38400         (atan2_test): Likewise.
38401         (cabs_test): Likewise.
38402         (cacos_test): Use END_COMPLEX macro without arguments.
38403         (cacosh_test): Likewise.
38404         (carg_test): Use END macro without arguments.
38405         (casin_test): Use END_COMPLEX macro without arguments.
38406         (casinh_test): Likewise.
38407         (catan_test): Likewise.
38408         (catanh_test): Likewise.
38409         (cbrt_test): Use END macro without arguments.
38410         (ccos_test): Use END_COMPLEX macro without arguments.
38411         (ccosh_test): Likewise.
38412         (ceil_test): Use END macro without arguments.
38413         (cexp_test): Use END_COMPLEX macro without arguments.
38414         (cimag_test): Use END macro without arguments.
38415         (clog_test): Use END_COMPLEX macro without arguments.
38416         (clog10_test): Likewise.
38417         (conj_test): Likewise.
38418         (copysign_test): Use END macro without arguments.
38419         (cos_test): Likewise.
38420         (cos_test_tonearest): Likewise.
38421         (cos_test_towardzero): Likewise.
38422         (cos_test_downward): Likewise.
38423         (cos_test_upward): Likewise.
38424         (cosh_test): Likewise.
38425         (cosh_test_tonearest): Likewise.
38426         (cosh_test_towardzero): Likewise.
38427         (cosh_test_downward): Likewise.
38428         (cosh_test_upward): Likewise.
38429         (cpow_test): Use END_COMPLEX macro without arguments.
38430         (cproj_test): Likewise.
38431         (creal_test): Use END macro without arguments.
38432         (csin_test): Use END_COMPLEX macro without arguments.
38433         (csinh_test): Likewise.
38434         (csqrt_test): Likewise.
38435         (ctan_test): Likewise.
38436         (ctan_test_tonearest): Likewise.
38437         (ctan_test_towardzero): Likewise.
38438         (ctan_test_downward): Likewise.
38439         (ctan_test_upward): Likewise.
38440         (ctanh_test): Likewise.
38441         (ctanh_test_tonearest): Likewise.
38442         (ctanh_test_towardzero): Likewise.
38443         (ctanh_test_downward): Likewise.
38444         (ctanh_test_upward): Likewise.
38445         (erf_test): Use END macro without arguments.
38446         (erfc_test): Likewise.
38447         (exp_test): Likewise.
38448         (exp_test_tonearest): Likewise.
38449         (exp_test_towardzero): Likewise.
38450         (exp_test_downward): Likewise.
38451         (exp_test_upward): Likewise.
38452         (exp10_test): Likewise.
38453         (exp2_test): Likewise.
38454         (expm1_test): Likewise.
38455         (fabs_test): Likewise.
38456         (fdim_test): Likewise.
38457         (finite_test): Likewise.
38458         (floor_test): Likewise.
38459         (fma_test): Likewise.
38460         (fma_test_towardzero): Likewise.
38461         (fma_test_downward): Likewise.
38462         (fma_test_upward): Likewise.
38463         (fmax_test): Likewise.
38464         (fmin_test): Likewise.
38465         (fmod_test): Likewise.
38466         (fpclassify_test): Likewise.
38467         (frexp_test): Likewise.
38468         (gamma_test): Likewise.
38469         (hypot_test): Likewise.
38470         (ilogb_test): Likewise.
38471         (isfinite_test): Likewise.
38472         (isgreater_test): Likewise.
38473         (isgreaterequal_test): Likewise.
38474         (isinf_test): Likewise.
38475         (isless_test): Likewise.
38476         (islessequal_test): Likewise.
38477         (islessgreater_test): Likewise.
38478         (isnan_test): Likewise.
38479         (isnormal_test): Likewise.
38480         (issignaling_test): Likewise.
38481         (isunordered_test): Likewise.
38482         (j0_test): Likewise.
38483         (j1_test): Likewise.
38484         (jn_test): Likewise.
38485         (ldexp_test): Likewise.
38486         (lgamma_test): Likewise.
38487         (lrint_test): Likewise.
38488         (lrint_test_tonearest): Likewise.
38489         (lrint_test_towardzero): Likewise.
38490         (lrint_test_downward): Likewise.
38491         (lrint_test_upward): Likewise.
38492         (llrint_test): Likewise.
38493         (llrint_test_tonearest): Likewise.
38494         (llrint_test_towardzero): Likewise.
38495         (llrint_test_downward): Likewise.
38496         (llrint_test_upward): Likewise.
38497         (log_test): Likewise.
38498         (log10_test): Likewise.
38499         (log1p_test): Likewise.
38500         (log2_test): Likewise.
38501         (logb_test): Likewise.
38502         (logb_test_downward): Likewise.
38503         (lround_test): Likewise.
38504         (llround_test): Likewise.
38505         (modf_test): Likewise.
38506         (nearbyint_test): Likewise.
38507         (nextafter_test): Likewise.
38508         (nexttoward_test): Likewise.
38509         (pow_test): Likewise.
38510         (pow_test_tonearest): Likewise.
38511         (pow_test_towardzero): Likewise.
38512         (pow_test_downward): Likewise.
38513         (pow_test_upward): Likewise.
38514         (remainder_test): Likewise.
38515         (remainder_test_tonearest): Likewise.
38516         (remainder_test_towardzero): Likewise.
38517         (remainder_test_downward): Likewise.
38518         (remainder_test_upward): Likewise.
38519         (remquo_test): Likewise.
38520         (rint_test): Likewise.
38521         (rint_test_tonearest): Likewise.
38522         (rint_test_towardzero): Likewise.
38523         (rint_test_downward): Likewise.
38524         (rint_test_upward): Likewise.
38525         (round_test): Likewise.
38526         (scalb_test): Likewise.
38527         (scalbn_test): Likewise.
38528         (scalbln_test): Likewise.
38529         (signbit_test): Likewise.
38530         (sin_test): Likewise.
38531         (sin_test_tonearest): Likewise.
38532         (sin_test_towardzero): Likewise.
38533         (sin_test_downward): Likewise.
38534         (sin_test_upward): Likewise.
38535         (sincos_test): Likewise.
38536         (sinh_test): Likewise.
38537         (sinh_test_tonearest): Likewise.
38538         (sinh_test_towardzero): Likewise.
38539         (sinh_test_downward): Likewise.
38540         (sinh_test_upward): Likewise.
38541         (sqrt_test): Likewise.
38542         (tan_test): Likewise.
38543         (tan_test_tonearest): Likewise.
38544         (tan_test_towardzero): Likewise.
38545         (tan_test_downward): Likewise.
38546         (tan_test_upward): Likewise.
38547         (tanh_test): Likewise.
38548         (tgamma_test): Likewise.
38549         (trunc_test): Likewise.
38550         (y0_test): Likewise.
38551         (y1_test): Likewise.
38552         (yn_test): Likewise.
38553         (significand_test): Likewise.
38554
38555 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
38556
38557         [BZ #15381]
38558         * libio/genops.c (_IO_no_init): Initialize wide struct info.
38559
38560 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
38561
38562         [BZ #14894]
38563         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
38564         __ppc_mdoio and __ppc_mdoom.
38565         * manual/platform.texi: Document new functions __ppc_yield,
38566         __ppc_mdoio and __ppc_mdoom.
38567
38568 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
38569
38570         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
38571         (main): Mention "tls" pseudo-hwcap is legacy.
38572         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
38573
38574 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38575
38576         * math/gen-libm-test.pl (parse_args): Output only string of
38577         arguments as text for test name, not full call or descriptions of
38578         tests for extra outputs.
38579         (generate_testfile): Do not pass function name to parse_args.
38580         Generate this_func variable from START.
38581         * math/libm-test.inc (struct test_f_f_data): Rename test_name
38582         field to arg_str.
38583         (struct test_ff_f_data): Likewise.
38584         (test_ff_f_data_nexttoward): Likewise.
38585         (struct test_fi_f_data): Likewise.
38586         (struct test_fl_f_data): Likewise.
38587         (struct test_if_f_data): Likewise.
38588         (struct test_fff_f_data): Likewise.
38589         (struct test_c_f_data): Likewise.
38590         (struct test_f_f1_data): Likewise.  Remove field extra_name.
38591         (struct test_fF_f1_data): Likewise.
38592         (struct test_ffI_f1_data): Likewise.
38593         (struct test_c_c_data): Rename test_name field to arg_str.
38594         (struct test_cc_c_data): Likewise.
38595         (struct test_f_i_data): Likewise.
38596         (struct test_ff_i_data): Likewise.
38597         (struct test_f_l_data): Likewise.
38598         (struct test_f_L_data): Likewise.
38599         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
38600         and extra2_name.
38601         (COMMON_TEST_SETUP): New macro.
38602         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
38603         (COMMON_TEST_CLEANUP): Likewise.
38604         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
38605         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
38606         macros.
38607         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
38608         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
38609         macros.
38610         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
38611         (RUN_TEST_fff_f): Take argument string.  Call new setup and
38612         cleanup macros.
38613         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
38614         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
38615         macros.
38616         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
38617         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
38618         macros.
38619         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38620         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
38621         cleanup macros.
38622         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38623         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
38624         cleanup macros.
38625         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38626         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
38627         cleanup macros.
38628         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38629         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
38630         macros.
38631         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
38632         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
38633         macros.
38634         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
38635         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
38636         macros.
38637         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
38638         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
38639         cleanup macros.
38640         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
38641         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
38642         cleanup macros.
38643         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
38644         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
38645         macros.
38646         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
38647         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
38648         cleanup macros.
38649         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
38650         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
38651         macros.
38652         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
38653         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
38654         macros.
38655         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
38656         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
38657         cleanup macros.
38658         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
38659
38660 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
38661
38662         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
38663         to _sifields.sigfault.
38664         (si_addr_lsb): Define new macro.
38665         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
38666         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38667         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
38668
38669 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
38670
38671         [BZ #15441]
38672         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
38673         returns -1.
38674         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
38675         null return -1.
38676         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
38677         loading the domain.
38678
38679 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38680
38681         * math/gen-libm-test.pl (parse_args): Do not include expected
38682         result in test name.
38683         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
38684         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38685         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38686         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38687         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38689
38690 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38691
38692         * benchtests/Makefile: Sort function entries.
38693
38694         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
38695         tanh, asinh, acosh, atanh.
38696         * benchtests/acos-inputs: New file.
38697         * benchtests/acosh-inputs: New file.
38698         * benchtests/asin-inputs: New file.
38699         * benchtests/asinh-inputs: New file.
38700         * benchtests/atanh-inputs: New file.
38701         * benchtests/cosh-inputs: New file.
38702         * benchtests/log-inputs: New file.
38703         * benchtests/sinh-inputs: New file.
38704         * benchtests/tanh-inputs: New file.
38705
38706 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
38707
38708         [BZ #15339]
38709         * posix/tst-getaddrinfo4.c: New test.
38710         * posix/Makefile (tests): Add it.
38711
38712 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38713
38714         [BZ #15339]
38715         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
38716         when no services were used.
38717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
38718         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
38719
38720 2013-05-21  Andreas Schwab  <schwab@suse.de>
38721
38722         [BZ #15014]
38723         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
38724         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
38725         successful.
38726         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
38727         redundant variable declarations and reallocation of buffer when
38728         parsing as IPv6 address.  Always set NSS status when called from
38729         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
38730         buffer too small.  Correct computation of needed size.
38731         * nss/Makefile (tests): Add test-digits-dots.
38732         * nss/test-digits-dots.c: New test.
38733
38734 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38735
38736         * benchtests/Makefile: Remove instructions for adding
38737         benchmark tests.
38738         * benchtests/README: New file to explain how to execute and
38739         enhance the benchmark tests.
38740
38741 2013-05-21  Andreas Schwab  <schwab@suse.de>
38742
38743         [BZ #15493]
38744         * setjmp/Makefile (tests): Add tst-sigsetjmp.
38745         * setjmp/tst-sigsetjmp.c: New test.
38746
38747 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38748
38749         * sysdeps/x86_64/memset.S (memset): New implementation.
38750         (__bzero): Likewise.
38751         (__memset_tail): New function.
38752
38753 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38754
38755         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
38756         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
38757         __memcpy_sse2_unaligned ifunc selection.
38758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38759         Add memcpy-sse2-unaligned.S.
38760         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38761         Add: __memcpy_sse2_unaligned.
38762
38763 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
38764
38765         [BZ #15490]
38766         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38767         math_force_eval before restoring floating-point envrionment.
38768         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
38769         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38770         Likewise.
38771         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
38772         <math_private.h>.
38773         (__nearbyintl): Use math_force_eval before restoring
38774         floating-point environment.
38775         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
38776
38777         * math/gen-libm-test.pl (special_functions): Remove.
38778         (parse_args): Don't handle TEST_extra.  Handle functions with no
38779         return value.
38780         * math/libm-test.inc (struct test_sincos_data): Replace with
38781         struct test_fFF_11_data.
38782         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
38783         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
38784         (sincos_test_data): Change element type to struct
38785         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
38786         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
38787         RUN_TEST_LOOP_sincos.
38788         * math/README.libm-test: Don't mention special handling of
38789         individual functions.
38790         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
38791         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38792         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38793         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38794         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38796
38797         * math/gen-libm-test.pl (get_variable): Remove function.
38798         (parse_args): Don't show pointer parameters to call in test
38799         names.  Use "extra output N" in test names for extra outputs
38800         rather than naming variables.
38801
38802 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
38803
38804         [BZ #15488]
38805         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
38806         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
38807         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
38808         double tests.
38809         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
38810         disable.
38811         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
38812         check_long_double.
38813
38814         * math/gen-libm-test.pl (@tests): Remove variable.
38815         ($count): Likewise.
38816         (new_test): Remove function.
38817         (show_exceptions): New function.
38818         (special_functions): Use show_exceptions instead of new_test.
38819         (parse_args): Likewise.
38820         (generate_testfile): Pass only function name in generated call to
38821         print_max_error or print_complex_max_error.
38822         (get_ulps): Do not handle complex tests specially.
38823         (output_test): Rename to ...
38824         (get_all_ulps_for_test): ... this.  Return a string rather than
38825         printing to a file.  Require ulps to be present.
38826         (output_ulps): Generate arrays rather than #defines.
38827         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
38828         (struct ulp_data): New type.
38829         (BUILD_COMPLEX_ULP): Remove macro.
38830         (compare_ulp_data): New function.
38831         (find_ulps): Likewise.
38832         (find_test_ulps): Likewise.
38833         (find_function_ulps): Likewise.
38834         (find_complex_function_ulps): Likewise.
38835         (print_max_error): Determine allowed ulps using
38836         find_function_ulps.
38837         (print_complex_max_error): Determine allowed ulps using
38838         find_complex_function_ulps.
38839         (check_float_internal): Determine max ulps using find_test_ulps.
38840         (check_float): Do not take max_ulp parameter.  Update call to
38841         check_float_internal.
38842         (check_complex): Likewise.
38843         (check_int): Do not take max_ulp parameter.
38844         (check_long): Likewise.
38845         (check_bool): Likewise.
38846         (check_longlong): Likewise.
38847         (struct test_f_f_data): Remove max_ulp field.
38848         (struct test_ff_f_data): Likewise.
38849         (struct test_ff_f_data_nexttoward): Likewise.
38850         (struct test_fi_f_data): Likewise.
38851         (struct test_fl_f_data): Likewise.
38852         (struct test_if_f_data): Likewise.
38853         (struct test_fff_f_data): Likewise.
38854         (struct test_c_f_data): Likewise.
38855         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
38856         (struct test_fF_f1_data): Likewise.
38857         (struct test_ffI_f1_data): Likewise.
38858         (struct test_c_c_data): Remove max_ulp field.
38859         (struct test_cc_c_data): Likewise.
38860         (struct test_f_i_data): Likewise.
38861         (struct test_ff_i_data): Likewise.
38862         (struct test_f_l_data): Likewise.
38863         (struct test_f_L_data): Likewise.
38864         (struct test_sincos_data): Likewise.
38865         (RUN_TEST_f_f): Do not handle ulps.
38866         (RUN_TEST_LOOP_f_f): Likewise.
38867         (RUN_TEST_2_f): Likewise.
38868         (RUN_TEST_LOOP_2_f): Likewise.
38869         (RUN_TEST_fff_f): Likewise.
38870         (RUN_TEST_LOOP_fff_f): Likewise.
38871         (RUN_TEST_c_f): Likewise.
38872         (RUN_TEST_LOOP_c_f): Likewise.
38873         (RUN_TEST_f_f1): Likewise.
38874         (RUN_TEST_LOOP_f_f1): Likewise.
38875         (RUN_TEST_fF_f1): Likewise.
38876         (RUN_TEST_LOOP_fF_f1): Likewise.
38877         (RUN_TEST_fI_f1): Likewise.
38878         (RUN_TEST_LOOP_fI_f1): Likewise.
38879         (RUN_TEST_ffI_f1): Likewise.
38880         (RUN_TEST_LOOP_ffI_f1): Likewise.
38881         (RUN_TEST_c_c): Likewise.
38882         (RUN_TEST_LOOP_c_c): Likewise.
38883         (RUN_TEST_cc_c): Likewise.
38884         (RUN_TEST_LOOP_cc_c): Likewise.
38885         (RUN_TEST_f_i): Likewise.
38886         (RUN_TEST_LOOP_f_i): Likewise.
38887         (RUN_TEST_f_i_tg): Likewise.
38888         (RUN_TEST_LOOP_f_i_tg): Likewise.
38889         (RUN_TEST_ff_i_tg): Likewise.
38890         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38891         (RUN_TEST_f_b): Likewise.
38892         (RUN_TEST_LOOP_f_b): Likewise.
38893         (RUN_TEST_f_b_tg): Likewise.
38894         (RUN_TEST_LOOP_f_b_tg): Likewise.
38895         (RUN_TEST_f_l): Likewise.
38896         (RUN_TEST_LOOP_f_l): Likewise.
38897         (RUN_TEST_f_L): Likewise.
38898         (RUN_TEST_LOOP_f_L): Likewise.
38899         (RUN_TEST_sincos): Likewise.
38900         (RUN_TEST_LOOP_sincos): Likewise.
38901
38902 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
38903
38904         [BZ #15480]
38905         [BZ #15485]
38906         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
38907         main case of finite arguments, set rounding mode to FE_TONEAREST
38908         and discard exceptions.
38909         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
38910         exceptions.
38911         (remainder_tonearest_test_data): New variable.
38912         (remainder_test_tonearest): New function.
38913         (remainder_towardzero_test_data): New variable.
38914         (remainder_test_towardzero): New function.
38915         (remainder_downward_test_data): New variable.
38916         (remainder_test_downward): New function.
38917         (remainder_upward_test_data): New variable.
38918         (remainder_test_upward): New function.
38919         (main): Call the new test functions.
38920
38921         * math/libm-test.inc (struct test_f_f1_data): Remove field
38922         extra_init.
38923         (struct test_fF_f1_data): Likewise.
38924         (struct test_ffI_f1_data): Likewise.
38925         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
38926         based on value of EXTRA_EXPECTED.
38927         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38928         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
38929         EXTRA_VAR based on value of EXTRA_EXPECTED.
38930         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38931         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
38932         EXTRA_VAR based on value of EXTRA_EXPECTED.
38933         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38934         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
38935         EXTRA_VAR based on value of EXTRA_EXPECTED.
38936         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38937         * math/gen-libm-test.pl (parse_args): Don't output initializers
38938         for extra output values.
38939
38940         * math/libm-test.inc (check_int): Expect result to be exactly
38941         equal to expected value and do not handle ulps.
38942         (check_long): Likewise.
38943         (check_longlong): Likewise.
38944
38945         * math/libm-test.inc (ceil_test_data): Test for "inexact"
38946         exceptions.
38947         (cimag_test_data): Likewise.
38948         (conj_test_data): Likewise.
38949         (copysign_test_data): Likewise.
38950         (cproj_test_data): Likewise.
38951         (creal_test_data): Likewise.
38952         (fabs_test_data): Likewise.
38953         (fdim_test_data): Likewise.
38954         (finite_test_data): Likewise.
38955         (floor_test_data): Likewise.
38956         (fmax_test_data): Likewise.
38957         (fmin_test_data): Likewise.
38958         (fmod_test_data): Likewise.
38959         (fpclassify_test_data): Likewise.
38960         (frexp_test_data): Likewise.
38961         (ilogb_test_data): Likewise.
38962         (isfinite_test_data): Likewise.
38963         (isgreater_test_data): Likewise.
38964         (isgreaterequal_test_data): Likewise.
38965         (isinf_test_data): Likewise.
38966         (isless_test_data): Likewise.
38967         (islessequal_test_data): Likewise.
38968         (islessgreater_test_data): Likewise.
38969         (isnan_test_data): Likewise.
38970         (isnormal_test_data): Likewise.
38971         (issignaling_test_data): Likewise.
38972         (isunordered_test_data): Likewise.
38973         (ldexp_test_data): Likewise.
38974         (lrint_test_data): Likewise.
38975         (lrint_test_data) [TEST_FLOAT]: Disable one test.
38976         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
38977         (lrint_tonearest_test_data): Test for "inexact" exceptions.
38978         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
38979         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
38980         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
38981         test input.
38982         (lrint_towardzero_test_data): Test for "inexact" exceptions.
38983         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
38984         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
38985         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
38986         that test input.
38987         (lrint_downward_test_data): Test for "inexact" exceptions.
38988         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
38989         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
38990         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
38991         test input.
38992         (lrint_upward_test_data): Test for "inexact" exceptions.
38993         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
38994         test input.
38995         (llrint_test_data): Test for "inexact" exceptions.
38996         (llrint_test_data) [TEST_FLOAT]: Disable one test.
38997         (llrint_tonearest_test_data): Test for "inexact" exceptions.
38998         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
38999         (llrint_towardzero_test_data): Test for "inexact" exceptions.
39000         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39001         (llrint_downward_test_data): Test for "inexact" exceptions.
39002         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39003         (llrint_upward_test_data): Test for "inexact" exceptions.
39004         (logb_test_data): Likewise.
39005         (logb_downward_test_data): Likewise.
39006         (nextafter_test_data): Likewise.
39007         (nexttoward_test_data): Likewise.
39008         (remainder_test_data): Likewise.
39009         (remquo_test_data): Likewise.
39010         (scalbn_test_data): Likewise.
39011         (scalbln_test_data): Likewise.
39012         (signbit_test_data): Likewise.
39013         (sqrt_test_data): Likewise.
39014         (significand_test_data): Likewise.
39015
39016 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39017
39018         [BZ #15424]
39019         * benchtests/bench-modf.c (struct args): Mark arg0 as
39020         volatile.
39021         * scripts/bench.pl: Mark members of struct args as volatile.
39022
39023 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39024
39025         [BZ # 15497]
39026         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39027         negative infinity on POWER6 or lower.
39028         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39029
39030 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39031
39032         [BZ #15442]
39033         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39034         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39035         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39036         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39037         (_FP_SETQNAN): New macro.
39038         (_FP_SETQNAN_SEMIRAW): Likewise.
39039         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39040         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39041         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39042         (FP_EXTEND): Use _FP_FRAC_SNANP.
39043         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39044         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39045         into account.
39046         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39047         New macro.
39048         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39049         Likewise.
39050
39051 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39052
39053         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39054         with DIVIDE_BY_ZERO_EXCEPTION.
39055         (gamma_test_data): Likewise.
39056         (lgamma_test_data): Likewise.
39057         (log_test_data): Likewise.
39058         (log10_test_data): Likewise.
39059         (log2_test_data): Likewise.
39060         (tgamma_test_data): Likewise.
39061
39062         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39063         (acos_test_tonearest): Likewise.
39064         (acos_test_towardzero): Likewise.
39065         (acos_test_downward): Likewise.
39066         (acos_test_upward): Likewise.
39067         (acosh_test): Likewise.
39068         (asin_test): Likewise.
39069         (asin_test_tonearest): Likewise.
39070         (asin_test_towardzero): Likewise.
39071         (asin_test_downward): Likewise.
39072         (asin_test_upward): Likewise.
39073         (asinh_test): Likewise.
39074         (atan_test): Likewise.
39075         (atanh_test): Likewise.
39076         (atan2_test): Likewise.
39077         (cabs_test): Likewise.
39078         (cacos_test): Likewise.
39079         (cacosh_test): Likewise.
39080         (casin_test): Likewise.
39081         (casinh_test): Likewise.
39082         (catan_test): Likewise.
39083         (catanh_test): Likewise.
39084         (cbrt_test): Likewise.
39085         (ccos_test): Likewise.
39086         (ccosh_test): Likewise.
39087         (cexp_test): Likewise.
39088         (clog_test): Likewise.
39089         (clog10_test): Likewise.
39090         (cos_test): Likewise.
39091         (cos_test_tonearest): Likewise.
39092         (cos_test_towardzero): Likewise.
39093         (cos_test_downward): Likewise.
39094         (cos_test_upward): Likewise.
39095         (cosh_test): Likewise.
39096         (cosh_test_tonearest): Likewise.
39097         (cosh_test_towardzero): Likewise.
39098         (cosh_test_downward): Likewise.
39099         (cosh_test_upward): Likewise.
39100         (cpow_test): Likewise.
39101         (csin_test): Likewise.
39102         (csinh_test): Likewise.
39103         (csqrt_test): Likewise.
39104         (ctan_test): Likewise.
39105         (ctan_test_tonearest): Likewise.
39106         (ctan_test_towardzero): Likewise.
39107         (ctan_test_downward): Likewise.
39108         (ctan_test_upward): Likewise.
39109         (ctanh_test): Likewise.
39110         (ctanh_test_tonearest): Likewise.
39111         (ctanh_test_towardzero): Likewise.
39112         (ctanh_test_downward): Likewise.
39113         (ctanh_test_upward): Likewise.
39114         (erf_test): Likewise.
39115         (erfc_test): Likewise.
39116         (exp_test): Likewise.
39117         (exp_test_tonearest): Likewise.
39118         (exp_test_towardzero): Likewise.
39119         (exp_test_downward): Likewise.
39120         (exp_test_upward): Likewise.
39121         (exp10_test): Likewise.
39122         (exp2_test): Likewise.
39123         (expm1_test): Likewise.
39124         (fmod_test): Likewise.
39125         (gamma_test): Likewise.
39126         (hypot_test): Likewise.
39127         (j0_test): Likewise.
39128         (j1_test): Likewise.
39129         (jn_test): Likewise.
39130         (lgamma_test): Likewise.
39131         (log_test): Likewise.
39132         (log10_test): Likewise.
39133         (log1p_test): Likewise.
39134         (log2_test): Likewise.
39135         (logb_test_downward): Likewise.
39136         (pow_test): Likewise.
39137         (pow_test_tonearest): Likewise.
39138         (pow_test_towardzero): Likewise.
39139         (pow_test_downward): Likewise.
39140         (pow_test_upward): Likewise.
39141         (remainder_test): Likewise.
39142         (remquo_test): Likewise.
39143         (sin_test): Likewise.
39144         (sin_test_tonearest): Likewise.
39145         (sin_test_towardzero): Likewise.
39146         (sin_test_downward): Likewise.
39147         (sin_test_upward): Likewise.
39148         (sincos_test): Likewise.
39149         (sinh_test): Likewise.
39150         (sinh_test_tonearest): Likewise.
39151         (sinh_test_towardzero): Likewise.
39152         (sinh_test_downward): Likewise.
39153         (sinh_test_upward): Likewise.
39154         (sqrt_test): Likewise.
39155         (tan_test): Likewise.
39156         (tan_test_tonearest): Likewise.
39157         (tan_test_towardzero): Likewise.
39158         (tan_test_downward): Likewise.
39159         (tan_test_upward): Likewise.
39160         (tanh_test): Likewise.
39161         (tgamma_test): Likewise.
39162         (y0_test): Likewise.
39163         (y1_test): Likewise.
39164         (yn_test): Likewise.
39165
39166         * math/gen-libm-test.pl (adjust_arg): Remove function.
39167         (special_function): Remove argument $in_func.  Only handle
39168         generating output for tables of tests, not inside functions.
39169         (parse_args): Likewise.
39170         (generate_testfile): Remove variable $in_func.  Update call to
39171         parse_args.
39172         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39173         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39174         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39175         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39176         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39177         (MAX_VALUE_INIT): Rename macro to max_value.
39178         (MIN_VALUE_INIT): Rename macro to min_value.
39179         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
39180         (plus_zero): Remove variable.
39181         (minus_zero): Likewise.
39182         (plus_infty): Likewise.
39183         (minus_infty): Likewise.
39184         (qnan_value): Likewise.
39185         (max_value): Likewise.
39186         (min_value): Likewise.
39187         (min_subnorm_value): Likewise.
39188
39189 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39190
39191         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
39192         uint64_t or uint32_t usage.
39193         * crypt/sha256-block.c: Likewise.
39194         * crypt/sha256-crypt.c: Likewise.
39195         * crypt/sha256.c: Likewise.
39196         * crypt/sha512-block.c: Likewise.
39197         * crypt/sha512-crypt.c: Likewise.
39198         * crypt/sha512.c: Likewise.
39199         * debug/backtrace-tst.c: Likewise.
39200         * debug/pcprofiledump.c: Likewise.
39201         * elf/cache.c: Likewise.
39202         * elf/dl-cache.c: Likewise.
39203         * elf/dl-misc.c: Likewise.
39204         * elf/dl-profile.c: Likewise.
39205         * elf/dl-support.c: Likewise.
39206         * elf/ldconfig.c: Likewise.
39207         * elf/sprof.c: Likewise.
39208         * iconv/dummy-repertoire.c: Likewise.
39209         * iconv/iconv_charmap.c: Likewise.
39210         * iconv/skeleton.c: Likewise.
39211         * iconvdata/8bit-generic.c: Likewise.
39212         * iconvdata/cp737.h: Likewise.
39213         * iconvdata/cp775.h: Likewise.
39214         * iconvdata/ibm1008.h: Likewise.
39215         * iconvdata/ibm1025.h: Likewise.
39216         * iconvdata/ibm1046.h: Likewise.
39217         * iconvdata/ibm1097.h: Likewise.
39218         * iconvdata/ibm1112.h: Likewise.
39219         * iconvdata/ibm1122.h: Likewise.
39220         * iconvdata/ibm1123.h: Likewise.
39221         * iconvdata/ibm1124.h: Likewise.
39222         * iconvdata/ibm1129.h: Likewise.
39223         * iconvdata/ibm1130.h: Likewise.
39224         * iconvdata/ibm1132.h: Likewise.
39225         * iconvdata/ibm1133.h: Likewise.
39226         * iconvdata/ibm1137.h: Likewise.
39227         * iconvdata/ibm1140.h: Likewise.
39228         * iconvdata/ibm1141.h: Likewise.
39229         * iconvdata/ibm1142.h: Likewise.
39230         * iconvdata/ibm1143.h: Likewise.
39231         * iconvdata/ibm1144.h: Likewise.
39232         * iconvdata/ibm1145.h: Likewise.
39233         * iconvdata/ibm1146.h: Likewise.
39234         * iconvdata/ibm1147.h: Likewise.
39235         * iconvdata/ibm1148.h: Likewise.
39236         * iconvdata/ibm1149.h: Likewise.
39237         * iconvdata/ibm1153.h: Likewise.
39238         * iconvdata/ibm1154.h: Likewise.
39239         * iconvdata/ibm1155.h: Likewise.
39240         * iconvdata/ibm1156.h: Likewise.
39241         * iconvdata/ibm1157.h: Likewise.
39242         * iconvdata/ibm1158.h: Likewise.
39243         * iconvdata/ibm1160.h: Likewise.
39244         * iconvdata/ibm1161.h: Likewise.
39245         * iconvdata/ibm1162.h: Likewise.
39246         * iconvdata/ibm1163.h: Likewise.
39247         * iconvdata/ibm1164.h: Likewise.
39248         * iconvdata/ibm1166.h: Likewise.
39249         * iconvdata/ibm1167.h: Likewise.
39250         * iconvdata/ibm12712.h: Likewise.
39251         * iconvdata/ibm1390.h: Likewise.
39252         * iconvdata/ibm1399.h: Likewise.
39253         * iconvdata/ibm16804.h: Likewise.
39254         * iconvdata/ibm4517.h: Likewise.
39255         * iconvdata/ibm4899.h: Likewise.
39256         * iconvdata/ibm4909.h: Likewise.
39257         * iconvdata/ibm4971.h: Likewise.
39258         * iconvdata/ibm5347.h: Likewise.
39259         * iconvdata/ibm803.h: Likewise.
39260         * iconvdata/ibm856.h: Likewise.
39261         * iconvdata/ibm901.h: Likewise.
39262         * iconvdata/ibm902.h: Likewise.
39263         * iconvdata/ibm9030.h: Likewise.
39264         * iconvdata/ibm9066.h: Likewise.
39265         * iconvdata/ibm921.h: Likewise.
39266         * iconvdata/ibm922.h: Likewise.
39267         * iconvdata/ibm9448.h: Likewise.
39268         * iconvdata/isiri-3342.h: Likewise.
39269         * iconvdata/jis0201.h: Likewise.
39270         * include/link.h: Likewise.
39271         * include/netdb.h: Likewise.
39272         * inet/check_native.c: Likewise.
39273         * inet/check_pf.c: Likewise.
39274         * inet/getipv4sourcefilter.c: Likewise.
39275         * inet/getnameinfo.c: Likewise.
39276         * inet/getsourcefilter.c: Likewise.
39277         * inet/htonl.c: Likewise.
39278         * inet/setipv4sourcefilter.c: Likewise.
39279         * inet/setsourcefilter.c: Likewise.
39280         * inet/test-inet6_opt.c: Likewise.
39281         * inet/tst-network.c: Likewise.
39282         * locale/C-collate.c: Likewise.
39283         * locale/C-ctype.c: Likewise.
39284         * locale/C-time.c: Likewise.
39285         * locale/C-translit.h: Likewise.
39286         * locale/loadarchive.c: Likewise.
39287         * locale/programs/3level.h: Likewise.
39288         * locale/programs/charmap.c: Likewise.
39289         * locale/programs/charmap.h: Likewise.
39290         * locale/programs/ld-address.c: Likewise.
39291         * locale/programs/ld-collate.c: Likewise.
39292         * locale/programs/ld-ctype.c: Likewise.
39293         * locale/programs/ld-identification.c: Likewise.
39294         * locale/programs/ld-measurement.c: Likewise.
39295         * locale/programs/ld-messages.c: Likewise.
39296         * locale/programs/ld-monetary.c: Likewise.
39297         * locale/programs/ld-name.c: Likewise.
39298         * locale/programs/ld-numeric.c: Likewise.
39299         * locale/programs/ld-paper.c: Likewise.
39300         * locale/programs/ld-telephone.c: Likewise.
39301         * locale/programs/ld-time.c: Likewise.
39302         * locale/programs/linereader.c: Likewise.
39303         * locale/programs/locale.c: Likewise.
39304         * locale/programs/locarchive.c: Likewise.
39305         * locale/programs/locfile.h: Likewise.
39306         * locale/programs/repertoire.c: Likewise.
39307         * locale/programs/simple-hash.c: Likewise.
39308         * locale/programs/simple-hash.h: Likewise.
39309         * malloc/memusage.c: Likewise.
39310         * malloc/memusagestat.c: Likewise.
39311         * nis/nis_defaults.c: Likewise.
39312         * nis/nis_hash.c: Likewise.
39313         * nis/nis_print.c: Likewise.
39314         * nis/nis_xdr.c: Likewise.
39315         * nscd/connections.c: Likewise.
39316         * nscd/hstcache.c: Likewise.
39317         * nscd/nscd_gethst_r.c: Likewise.
39318         * nscd/nscd_getserv_r.c: Likewise.
39319         * nscd/nscd_helper.c: Likewise.
39320         * nscd/servicescache.c: Likewise.
39321         * nss/makedb.c: Likewise.
39322         * nss/nss_db/db-XXX.c: Likewise.
39323         * nss/nss_db/db-initgroups.c: Likewise.
39324         * nss/nss_db/db-netgrp.c: Likewise.
39325         * nss/nss_files/files-network.c: Likewise.
39326         * nss/nss_files/files-parse.c: Likewise.
39327         * posix/bug-regex5.c: Likewise.
39328         * posix/fnmatch_loop.c: Likewise.
39329         * posix/regcomp.c: Likewise.
39330         * posix/regexec.c: Likewise.
39331         * posix/tst-rfc3484-2.c: Likewise.
39332         * posix/tst-rfc3484-3.c: Likewise.
39333         * posix/tst-rfc3484.c: Likewise.
39334         * resolv/nss_dns/dns-canon.c: Likewise.
39335         * resolv/nss_dns/dns-network.c: Likewise.
39336         * resolv/res_init.c: Likewise.
39337         * resolv/res_mkquery.c: Likewise.
39338         * resolv/tst-aton.c: Likewise.
39339         * stdlib/cxa_atexit.c: Likewise.
39340         * stdlib/cxa_finalize.c: Likewise.
39341         * stdlib/gen-fpioconst.c: Likewise.
39342         * stdlib/strtol_l.c: Likewise.
39343         * string/tst-endian.c: Likewise.
39344         * sunrpc/auth_des.c: Likewise.
39345         * sunrpc/clnt_udp.c: Likewise.
39346         * sunrpc/rtime.c: Likewise.
39347         * sunrpc/svcauth_des.c: Likewise.
39348         * sunrpc/xdr.c: Likewise.
39349         * sunrpc/xdr_intXX_t.c: Likewise.
39350         * sunrpc/xdr_rec.c: Likewise.
39351         * sysdeps/generic/ldconfig.h: Likewise.
39352         * sysdeps/generic/ldsodefs.h: Likewise.
39353         * sysdeps/generic/memusage.h: Likewise.
39354         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39355         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
39356         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
39357         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39358         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39359         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39360         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39361         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39362         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39364         * sysdeps/posix/getaddrinfo.c: Likewise.
39365         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39366         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39367         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39368         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39369         * sysdeps/powerpc/test-gettimebase.c: Likewise.
39370         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39371         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
39372         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
39373         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39374         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
39375         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39376         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39377         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
39378         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
39379         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
39380         * sysdeps/x86_64/dl-tls.h: Likewise.
39381         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
39382         * time/alt_digit.c: Likewise.
39383         * time/era.c: Likewise.
39384         * wcsmbs/tst-c16c32-1.c: Likewise.
39385
39386 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39387
39388         * math/libm-test.inc (struct test_sincos_data): New type.
39389         (RUN_TEST_LOOP_sincos): New macro.
39390         (sincos_test_data): New variable.
39391         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
39392
39393 2013-05-16  Richard Henderson  <rth@redhat.com>
39394
39395         * math/atest-exp2.c (LIMB64): New macro.
39396         (CONSTSZ): New macro.
39397         (mp_exp1, mp_exp_m1, mp_log2): New variables.
39398         (hexdig): Move ...
39399         (print_mpn_fp): ... to function scope.
39400         (read_mpn_hex): Remove.
39401         (get_log2): Remove.
39402         (exp2_mpn): Use mp_log2.
39403         (main): Use mp_exp1.
39404
39405 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39406
39407         * math/libm-test.inc: Remove comment about not testing "inexact"
39408         exceptions.
39409         (INEXACT_EXCEPTION): New macro.
39410         (NO_INEXACT_EXCEPTION): Likewise.
39411         (INVALID_EXCEPTION_OK): Update value.
39412         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39413         (OVERFLOW_EXCEPTION_OK): Likewise.
39414         (UNDERFLOW_EXCEPTION_OK): Likewise.
39415         (IGNORE_ZERO_INF_SIGN): Likewise.
39416         (ERRNO_UNCHANGED): Likewise.
39417         (ERRNO_EDOM): Likewise.
39418         (ERRNO_ERANGE): Likewise.
39419         (test_exceptions): Handle testing "inexact" exceptions.
39420         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
39421         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
39422         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
39423         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39424         INEXACT_EXCEPTION.
39425         (rint_towardzero_test_data): Likewise.
39426         (rint_downward_test_data): Likewise.
39427         (rint_upward_test_data): Likewise.
39428
39429         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
39430         with OVERFLOW_EXCEPTION.
39431         (exp10_test_data): Likewise.
39432         (exp2_test_data): Likewise.
39433         (expm1_test_data): Likewise.
39434         (lgamma_test_data): Likewise.
39435         (pow_test_data): Likewise.
39436         (tgamma_test_data): Likewise.
39437         (yn_test_data): Remove duplicate test of overflow.
39438
39439         * math/libm-test.inc (struct test_cc_c_data): New type.
39440         (RUN_TEST_LOOP_cc_c): New macro.
39441         (cpow_test_data): New variable.
39442         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
39443
39444         * math/libm-test.inc (struct test_f_L_data): New type.
39445         (RUN_TEST_LOOP_f_L): New macro.
39446         (llrint_test_data): New variable.
39447         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
39448         (llrint_tonearest_test_data): New variable.
39449         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
39450         (llrint_towardzero_test_data): New variable.
39451         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
39452         (llrint_downward_test_data): New variable.
39453         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
39454         (llrint_upward_test_data): New variable.
39455         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
39456         (llround_test_data): New variable.
39457         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
39458
39459 2013-05-13  Peter Collingbourne  <pcc@google.com>
39460
39461         * math/atest-exp2.c (get_log2): Remove const attribute.
39462
39463 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39464
39465         * math/libm-test.inc (struct test_f_l_data): New type.
39466         (RUN_TEST_LOOP_f_l): New macro.
39467         (lrint_test_data): New variable.
39468         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
39469         (lrint_tonearest_test_data): New variable.
39470         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
39471         (lrint_towardzero_test_data): New variable.
39472         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
39473         (lrint_downward_test_data): New variable.
39474         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
39475         (lrint_upward_test_data): New variable.
39476         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
39477         (lround_test_data): New variable.
39478         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
39479
39480 2013-05-15  Peter Collingbourne  <pcc@google.com>
39481
39482         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
39483         (EXTRACT_WORDS64) Use where appropriate.
39484         (INSERT_WORDS64) Likewise.
39485
39486         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
39487         constraints with x constraints.
39488         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
39489
39490         * malloc/obstack.c (_obstack_compat): Add initializer.
39491
39492 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39493
39494         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
39495         si_trapno and add si_addr_lsb to _sifields.sigfault.
39496         (si_trapno): Remove macro.
39497         (si_addr_lsb): Define new macro.
39498         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39499
39500 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39501
39502         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
39503         instead of TEST_f_l.
39504         (llrint_test_tonearest): Likewise.
39505         (llrint_test_towardzero): Likewise.
39506         (llrint_test_downward): Likewise.
39507         (llrint_test_upward): Likewise.
39508         (llround_test): Likewise.
39509
39510         * math/libm-test.inc (struct test_f_i_data): Add comment.
39511         (RUN_TEST_LOOP_f_b): New macro.
39512         (RUN_TEST_LOOP_f_b_tg): Likewise.
39513         (finite_test_data): New variable.
39514         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
39515         (isfinite_test_data): New variable.
39516         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39517         (isinf_test_data): New variable.
39518         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39519         (isnan_test_data): New variable.
39520         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39521         (isnormal_test_data): New variable.
39522         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39523         (issignaling_test_data): New variable.
39524         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39525         (signbit_test_data): New variable.
39526         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39527
39528         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
39529         with INVALID_EXCEPTION.
39530         (acosh_test_data): Likewise.
39531         (asin_test_data): Likewise.
39532         (atanh_test_data): Likewise.
39533         (fmod_test_data): Likewise.
39534         (log_test_data): Likewise.
39535         (log10_test_data): Likewise.
39536         (log2_test_data): Likewise.
39537         (pow_test_data): Likewise.
39538         (sqrt_test_data): Likewise.
39539         (y0_test_data): Likewise.
39540         (y1_test_data): Likewise.
39541         (yn_test_data): Likewise.
39542
39543         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
39544         function contents.
39545
39546         * math/libm-test.inc (struct test_ff_i_data): New type.
39547         (RUN_TEST_LOOP_ff_i_tg): New macro.
39548         (isgreater_test_data): New variable.
39549         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39550         (isgreaterequal_test_data): New variable.
39551         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39552         (isless_test_data): New variable.
39553         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39554         (islessequal_test_data): New variable.
39555         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39556         (islessgreater_test_data): New variable.
39557         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39558         (isunordered_test_data): New variable.
39559         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39560
39561 2013-05-14  David S. Miller  <davem@davemloft.net>
39562
39563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39564
39565 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
39566
39567         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
39568
39569         * math/libm-test.inc (struct test_fF_f1_data): Change type of
39570         extra_test to int.
39571         (struct test_f_i_data): Change type of max_ulp to int.
39572
39573         * math/libm-test.inc (test_ffI_f1_data): New type.
39574         (RUN_TEST_LOOP_ffI_f1): New macro.
39575         (remquo_test_data): New variable.
39576         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
39577
39578         * setjmp/tst-setjmp-fp.c: New file.
39579         * setjmp/Makefile (tests): Add tst-setjmp-fp.
39580         (link-libm): New variable.
39581         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
39582
39583         * math/libm-test.inc (struct test_f_i_data): New type.
39584         (RUN_TEST_LOOP_f_i): New macro.
39585         (RUN_TEST_LOOP_f_i_tg): Likewise.
39586         (fpclassify_test_data): New variable.
39587         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
39588         (ilogb_test_data): New variable.
39589         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
39590
39591         * math/libm-test.inc (scalbln_test): Correct function name in END
39592         call.
39593
39594         * math/libm-test.inc (struct test_f_f1_data): Add comment.
39595         (RUN_TEST_LOOP_fI_f1): New macro.
39596         (frexp_test_data): New variable.
39597         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
39598
39599         * math/libm-test.inc (struct test_fF_f1_data): New type.
39600         (RUN_TEST_LOOP_fF_f1): New macro.
39601         (modf_test_data): New variable.
39602         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
39603
39604         * math/libm-test.inc (struct test_f_f1_data): New type.
39605         (RUN_TEST_LOOP_f_f1): New macro.
39606         (gamma_test_data): New variable.
39607         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39608         (lgamma_test_data): New variable.
39609         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39610
39611 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
39612
39613         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
39614         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
39615         (main): Comment "tls" pseudo-hwcap.
39616
39617 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
39618
39619         * math/libm-test.inc (struct test_fl_f_data): New type.
39620         (RUN_TEST_LOOP_fl_f): New variable.
39621         (scalbln_test_data): New variable.
39622         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
39623
39624         * math/libm-test.inc (struct test_fi_f_data): New type.
39625         (RUN_TEST_LOOP_fi_f): New macro.
39626         (ldexp_test_data): New variable.
39627         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
39628         (scalbn_test_data): New variable.
39629         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
39630
39631         * math/libm-test.inc (struct test_c_f_data): New type.
39632         (RUN_TEST_LOOP_c_f): New macro.
39633         (cabs_test_data): New variable.
39634         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
39635         (carg_test_data): New variable.
39636         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
39637         (cimag_test_data): New variable.
39638         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
39639         (creal_test_data): New variable.
39640         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
39641
39642         * math/libm-test.inc (struct test_if_f_data): New type.
39643         (RUN_TEST_LOOP_if_f): New macro.
39644         (jn_test_data): New variable.
39645         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
39646         (yn_test_data): New variable.
39647         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
39648
39649         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
39650
39651 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39652
39653         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
39654         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
39655
39656 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39657
39658         * benchtests/Makefile (CPPFLAGS-nonlib): Add
39659         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
39660         (bench-deps): Add bench-timing.h.
39661         * benchtests-bench-skeleton.c: Include bench-timing.h.
39662         (main): Use TIMING_* macros instead of clock_gettime.
39663         * benchtests/bench-timing.h: New file.
39664
39665         [BZ #14582]
39666         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
39667         Renamed from _LIB_VERSION.
39668         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
39669
39670 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
39671
39672         * math/libm-test.inc (struct test_fff_f_data): New type.
39673         (RUN_TEST_LOOP_fff_f): New macro.
39674         (fma_test_data): New variable.
39675         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
39676         (fma_towardzero_test_data): New variable.
39677         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
39678         (fma_downward_test_data): New variable.
39679         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
39680         (fma_upward_test_data): New variable.
39681         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
39682
39683         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
39684         (struct test_c_c_data): New type.
39685         (RUN_TEST_LOOP_c_c): New macro.
39686         (cacos_test_data): New variable.
39687         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
39688         (cacosh_test_data): New variable.
39689         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
39690         (casin_test_data): New variable.
39691         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
39692         (casinh_test_data): New variable.
39693         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
39694         (catan_test_data): New variable.
39695         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
39696         (catanh_test_data): New variable.
39697         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
39698         (ccos_test_data): New variable.
39699         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
39700         (ccosh_test_data): New variable.
39701         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
39702         (cexp_test_data): New variable.
39703         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
39704         (clog_test_data): New variable.
39705         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
39706         (clog10_test_data): New variable.
39707         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
39708         (conj_test_data): New variable.
39709         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
39710         (cproj_test_data): New variable.
39711         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
39712         (csin_test_data): New variable.
39713         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
39714         (csinh_test_data): New variable.
39715         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
39716         (csqrt_test_data): New variable.
39717         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
39718         (ctan_test_data): New variable.
39719         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
39720         (ctan_tonearest_test_data): New variable.
39721         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39722         (ctan_towardzero_test_data): New variable.
39723         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39724         (ctan_downward_test_data): New variable.
39725         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39726         (ctan_upward_test_data): New variable.
39727         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39728         (ctanh_test_data): New variable.
39729         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
39730         (ctanh_tonearest_test_data): New variable.
39731         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39732         (ctanh_towardzero_test_data): New variable.
39733         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39734         (ctanh_downward_test_data): New variable.
39735         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39736         (ctanh_upward_test_data): New variable.
39737         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39738         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
39739         of BUILD_COMPLEX.
39740
39741         * math/libm-test.inc (struct test_ff_f_data): New type.
39742         (struct test_ff_f_data_nexttoward): Likewise.
39743         (RUN_TEST_LOOP_2_f): New macro.
39744         (RUN_TEST_LOOP_ff_f): Likewise.
39745         (atan2_test_data): New variable.
39746         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
39747         (copysign_test_data): New variable.
39748         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
39749         (fdim_test_data): New variable.
39750         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
39751         (fmax_test_data): New variable.
39752         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
39753         (fmin_test_data): New variable.
39754         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
39755         (fmod_test_data): New variable.
39756         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
39757         (hypot_test_data): New variable.
39758         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
39759         (nextafter_test_data): New variable.
39760         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
39761         (nexttoward_test_data): New variable.
39762         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
39763         (pow_test_data): New variable.
39764         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
39765         (pow_tonearest_test_data): New variable.
39766         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
39767         (pow_towardzero_test_data): New variable.
39768         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
39769         (pow_downward_test_data): New variable.
39770         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
39771         (pow_upward_test_data): New variable.
39772         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
39773         (remainder_test_data): New variable.
39774         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
39775         (scalb_test_data): New variable.
39776         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
39777         * sysdeps/i386/fpu/libm-test-ulps: Update.
39778
39779 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
39780
39781         * math/libm-test.inc (fma_test): Use max_value instead of local
39782         variable fltmax.
39783         (nextafter_test): Likewise.
39784
39785         * math/libm-test.inc (acos_towardzero_test_data): New variable.
39786         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39787         (acos_downward_test_data): New variable.
39788         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39789         (acos_upward_test_data): New variable.
39790         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39791         (acosh_test_data): New variable.
39792         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
39793         (asin_test_data): New variable.
39794         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
39795         (asin_tonearest_test_data): New variable.
39796         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39797         (asin_towardzero_test_data): New variable.
39798         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39799         (asin_downward_test_data): New variable.
39800         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39801         (asin_upward_test_data): New variable.
39802         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39803         (asinh_test_data): New variable.
39804         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
39805         (atan_test_data): New variable.
39806         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
39807         (atanh_test_data): New variable.
39808         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
39809         (cbrt_test_data): New variable.
39810         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
39811         (ceil_test_data): New variable.
39812         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
39813         (cos_test_data): New variable.
39814         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
39815         (cos_tonearest_test_data): New variable.
39816         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39817         (cos_towardzero_test_data): New variable.
39818         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39819         (cos_downward_test_data): New variable.
39820         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39821         (cos_upward_test_data): New variable.
39822         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39823         (cosh_test_data): New variable.
39824         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
39825         (cosh_tonearest_test_data): New variable.
39826         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39827         (cosh_towardzero_test_data): New variable.
39828         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39829         (cosh_downward_test_data): New variable.
39830         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39831         (cosh_upward_test_data): New variable.
39832         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39833         (erf_test_data): New variable.
39834         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
39835         (erfc_test_data): New variable.
39836         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
39837         (exp_test_data): New variable.
39838         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
39839         (exp_tonearest_test_data): New variable.
39840         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39841         (exp_towardzero_test_data): New variable.
39842         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39843         (exp_downward_test_data): New variable.
39844         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39845         (exp_upward_test_data): New variable.
39846         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39847         (exp10_test_data): New variable.
39848         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
39849         (exp2_test_data): New variable.
39850         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
39851         (expm1_test_data): New variable.
39852         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
39853         (fabs_test_data): New variable.
39854         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
39855         (floor_test_data): New variable.
39856         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
39857         (j0_test_data): New variable.
39858         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
39859         (j1_test_data): New variable.
39860         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
39861         (log_test_data): New variable.
39862         (log_test): Run tests with RUN_TEST_LOOP_f_f.
39863         (log10_test_data): New variable.
39864         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
39865         (log1p_test_data): New variable.
39866         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
39867         (log2_test_data): New variable.
39868         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
39869         (logb_test_data): New variable.
39870         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
39871         (logb_downward_test_data): New variable.
39872         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39873         (nearbyint_test_data): New variable.
39874         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
39875         (rint_test_data): New variable.
39876         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
39877         (rint_tonearest_test_data): New variable.
39878         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39879         (rint_towardzero_test_data): New variable.
39880         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39881         (rint_downward_test_data): New variable.
39882         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39883         (rint_upward_test_data): New variable.
39884         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39885         (round_test_data): New variable.
39886         (round_test): Run tests with RUN_TEST_LOOP_f_f.
39887         (sin_test_data): New variable.
39888         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
39889         (sin_tonearest_test_data): New variable.
39890         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39891         (sin_towardzero_test_data): New variable.
39892         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39893         (sin_downward_test_data): New variable.
39894         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39895         (sin_upward_test_data): New variable.
39896         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39897         (sinh_test_data): New variable.
39898         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
39899         (sinh_tonearest_test_data): New variable.
39900         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39901         (sinh_towardzero_test_data): New variable.
39902         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39903         (sinh_downward_test_data): New variable.
39904         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39905         (sinh_upward_test_data): New variable.
39906         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39907         (sqrt_test_data): New variable.
39908         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
39909         (tan_test_data): New variable.
39910         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
39911         (tan_tonearest_test_data): New variable.
39912         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39913         (tan_towardzero_test_data): New variable.
39914         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39915         (tan_downward_test_data): New variable.
39916         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39917         (tan_upward_test_data): New variable.
39918         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39919         (tanh_test_data): New variable.
39920         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
39921         (tgamma_test_data): New variable.
39922         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
39923         (trunc_test_data): New variable.
39924         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
39925         (y0_test_data): New variable.
39926         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
39927         (y1_test_data): New variable.
39928         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
39929         (significand_test_data): New variable.
39930         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
39931
39932 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
39933
39934         [BZ #12387]
39935         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
39936
39937 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39938
39939         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
39940
39941 2013-05-10  Andreas Jaeger  <aj@suse.de>
39942
39943         [BZ #15448]
39944         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
39945         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
39946
39947 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
39948
39949         * math/gen-libm-test.pl (adjust_arg): New function.
39950         (special_functions): Handle generating output in both functions
39951         and arrays.
39952         (parse_args): Likewise.
39953         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
39954         $in_func argument to parse_args.
39955         * math/libm-test.inc (struct test_f_f_data): New type.
39956         (IF_ROUND_INIT_): New macro.
39957         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
39958         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39959         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39960         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39961         (ROUND_RESTORE_): Likewise.
39962         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
39963         (ROUND_RESTORE_FE_TONEAREST): Likewise.
39964         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
39965         (ROUND_RESTORE_FE_UPWARD): Likewise.
39966         (RUN_TEST_LOOP_f_f): New macro.
39967         (acos_test_data): New variable.
39968         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
39969         (acos_tonearest_test_data): New variable.
39970         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39971
39972 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39973
39974         * benchtests/bench-skeleton.c (startup): Fix coding style.
39975
39976 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
39977
39978         [BZ #6809]
39979         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
39980         negative infinity argument.
39981         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
39982         negative infinity argument.
39983         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
39984         negative infinity argument.
39985         * math/libm-test.inc (tgamma_test): Expect errno to be set for
39986         domain errors.
39987
39988 2013-05-10  Florian Weimer  <fweimer@redhat.com>
39989
39990         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
39991         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
39992         * iconv/iconv_prog.c (main): Likewise.
39993         * locale/programs/charmap-dir.c (charmap_readdir)
39994         (fopen_uncompressed): Likewise.
39995         * locale/programs/locfile.c (siblings_uncached)
39996         (write_locale_data): Use lstat64 instead of lstat.
39997         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
39998         stat.
39999
40000 2013-05-10  Andreas Jaeger  <aj@suse.de>
40001
40002         [BZ #15395]
40003         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40004         localization.
40005         Include <locale.h>.
40006
40007 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40008
40009         * elf/dl-close.c (_dl_close_worker): Add comments.
40010
40011 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40012
40013         [BZ #15359]
40014         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40015         high part of pi/2.
40016         (__ieee754_rem_pio2l): Update comments.
40017
40018         [BZ #15429]
40019         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40020         high part of pi/2.
40021         (__ieee754_rem_pio2l): Update comments.
40022
40023         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40024         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40025
40026         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40027         M_PI_4l.
40028
40029         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40030         (M_PI_34_LOG10El): Likewise.
40031         (M_PI2_LOG10El): Likewise.
40032         (M_PI4_LOG10El): Likewise.
40033         (M_PI_LOG10El): Likewise.
40034
40035 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40036
40037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40038
40039 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40040
40041         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40042         (MINUS_ZERO_INIT): Likewise.
40043         (PLUS_INFTY_INIT): Likewise.
40044         (MINUS_INFTY_INIT): Likewise.
40045         (QNAN_VALUE_INIT): Likewise.
40046         (MAX_VALUE_INIT): Likewise.
40047         (MIN_VALUE_INIT): Likewise.
40048         (MIN_SUBNORM_VALUE_INIT): Likewise.
40049         (plus_zero): Initialize with PLUS_ZERO_INIT.
40050         (minus_zero): Initialize with MINUS_ZERO_INIT.
40051         (plus_infty): Initialize with PLUS_INFTY_INIT.
40052         (minus_infty): Initialize with MINUS_INFTY_INIT.
40053         (qnan_value): Initialize with QNAN_VALUE_INIT.
40054         (max_value): Initialize with MAX_VALUE_INIT.
40055         (min_value): Initialize with MIN_VALUE_INIT.
40056         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40057
40058         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40059         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40060         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40061         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40062
40063         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40064         (RUN_TEST_2_f): Likewise.
40065         (RUN_TEST_ff_f): Likewise.
40066         (RUN_TEST_fi_f): Likewise.
40067         (RUN_TEST_fl_f): Likewise.
40068         (RUN_TEST_fff_f): Likewise.
40069         (RUN_TEST_c_f): Likewise.
40070         (RUN_TEST_f_f1): Likewise.
40071         (RUN_TEST_fF_f1): Likewise.
40072         (RUN_TEST_fI_f1): Likewise.
40073         (RUN_TEST_ffI_f1): Likewise.
40074         (RUN_TEST_c_c): Likewise.
40075         (RUN_TEST_cc_c): Likewise.
40076         (RUN_TEST_f_i): Likewise.
40077         (RUN_TEST_f_i_tg): Likewise.
40078         (RUN_TEST_ff_i_tg): Likewise.
40079         (RUN_TEST_f_b): Likewise.
40080         (RUN_TEST_f_b_tg): Likewise.
40081         (RUN_TEST_f_l): Likewise.
40082         (RUN_TEST_f_L): Likewise.
40083         (RUN_TEST_sincos): Likewise.
40084         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40085         whether to show exceptions.  Do not include ");\n" in return
40086         value.
40087         (special_functions): Output call to RUN_TEST_sincos instead of
40088         check_float calls.  Update calls to new_test.
40089         (parse_args): Output call to single RUN_TEST_* macro instead of
40090         check_* calls and other assignments.  Update calls to new_test.
40091
40092         [BZ #2546]
40093         [BZ #2560]
40094         [BZ #5159]
40095         [BZ #15426]
40096         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40097         input to result for tgamma overflow.
40098         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40099         (gamma_coeff): New variable.
40100         (NCOEFF): New macro.
40101         (gamma_positive): New function.
40102         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40103         underflow here.  Use gamma_positive instead of exp (lgamma) for
40104         other arguments.
40105         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40106         (gamma_coeff): New variable.
40107         (NCOEFF): New macro.
40108         (gammaf_positive): New function.
40109         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40110         underflow here.  Use gamma_positive instead of exp (lgamma) for
40111         other arguments.
40112         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40113         (gamma_coeff): New variable.
40114         (NCOEFF): New macro.
40115         (gammal_positive): New function.
40116         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40117         underflow here.  Use gamma_positive instead of exp (lgamma) for
40118         other arguments.
40119         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40120         (gamma_coeff): New variable.
40121         (NCOEFF): New macro.
40122         (gammal_positive): New function.
40123         (__ieee754_gammal_r): Handle positive infinity, overflow and
40124         underflow here.  Handle NaN the same as positive infinity.  Remove
40125         check x < 0xffffffff for negative integers.  Use gamma_positive
40126         instead of exp (lgamma) for other arguments.
40127         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40128         (gamma_coeff): New variable.
40129         (NCOEFF): New macro.
40130         (gammal_positive): New function.
40131         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40132         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40133         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40134         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40135         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40136         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40137         * sysdeps/generic/math_private.h (__gamma_productf): New
40138         prototype.
40139         (__gamma_product): Likewise.
40140         (__gamma_productl): Likewise.
40141         * math/Makefile (libm-calls): Add gamma_product.
40142         * math/libm-test.inc (tgamma_test): Add more tests.
40143         * sysdeps/i386/fpu/libm-test-ulps: Update.
40144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40145
40146 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40147
40148         * benchtests/bench-skeleton.c (main): Preheat CPU.
40149
40150 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40151
40152         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40153
40154 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40155
40156         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40157         and _dl_skip_args_internal.
40158
40159 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40160
40161         * manual/message.texi (Message Translation): Talk about users.
40162         Message to key mapping impacts design.
40163
40164 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40165
40166         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40167
40168         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40169
40170         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40171         * sysdeps/wordsize-64/glob64.c: ... here.
40172
40173         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40174         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40175         New macros.
40176
40177         * debug/getlogin_r_chk.c: Moved to ...
40178         * login/getlogin_r_chk.c: ... here.
40179         * debug/Makefile (routines): Move getlogin_r_chk to ...
40180         * login/Makefile (routines): ... here.
40181         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
40182         * login/Versions (libc: GLIBC_2.4): ... here.
40183
40184         * io/poll.c (__poll): Renamed from poll.
40185         Add libc_hidden_def.
40186         (poll): Define as weak alias.
40187
40188         * debug/ptsname_r_chk.c: Moved to ...
40189         * login/ptsname_r_chk.c: ... here.
40190         * debug/Makefile (routines): Move ptsname_r_chk to ...
40191         * login/Makefile (routines): ... here.
40192         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40193         * login/Versions (libc: GLIBC_2.4): ... here.
40194
40195         * posix/getlogin.c: Moved to ...
40196         * login/getlogin.c: ... here.
40197         * posix/getlogin_r.c: Moved to ...
40198         * login/getlogin_r.c: ... here.
40199         * posix/getlogin_r.c: Moved to ...
40200         * login/getlogin_r.c: ... here.
40201         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
40202         * login/Makefile (routines): ... here.
40203         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
40204         * login/Versions (libc: GLIBC_2.0): ... here.
40205
40206         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40207         (setrlimit): Define as weak alias.
40208
40209         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
40210         Call __ names for open, ftruncate, and close.
40211         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
40212         (truncate): Define as weak alias.
40213
40214 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
40215
40216         * math/gen-libm-test.pl (parse_args): Initialize x before each
40217         test of frexp, modf and remquo.
40218
40219         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
40220         test signgam value.
40221
40222 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40223
40224         [BZ #15418]
40225         [BZ #15419]
40226         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
40227         internal tests.
40228         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40229
40230 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40231
40232         * elf/dl-writev.h: New file.
40233         * elf/dl-misc.c: Include it.
40234         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
40235         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
40236
40237 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
40238
40239         * math/libm-test.inc (noXFails): Remove variable.
40240         (noXPasses): Likewise.
40241         (BUILD_COMPLEX_INT): Remove macro.
40242         (print_screen): Remove xfail argument.
40243         (print_screen_max_error): Likewise.
40244         (update_stats): Likewise.
40245         (print_max_error): Likewise.  Update calls to other affected
40246         functions.
40247         (print_complex_max_error): Likewise.
40248         (test_single_exception): Update calls to print_screen.
40249         (test_single_errno): Likewise.
40250         (check_float_internal): Remove xfail argument.  Update calls to
40251         other affected functions.
40252         (check_float): Likewise.
40253         (check_complex): Likewise.
40254         (check_int): Likewise.
40255         (check_long): Likewise.
40256         (check_bool): Likewise.
40257         (check_longlong): Likewise.
40258         (main): Don't print noXFails and noXPasses.
40259         * math/gen-libm-test.pl (top level): Don't mention expected
40260         failure handling in comment.
40261         (new_test): Don't handle expected failures.
40262         (parse_args): Don't mention expected failure handling in comment.
40263         (generate_testfile): Don't handle expected failures.
40264         (parse_ulps): Likewise.
40265         (print_ulps_file): Likewise.
40266         (get_failure): Remove function.
40267         (output_test): Don't handle expected failures.
40268         * make/README.libm-test: Don't mention expected failure handling.
40269
40270         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
40271         (minus_zero): Likewise.
40272         (plus_infty): Likewise.
40273         (minus_infty): Likewise.
40274         (qnan_value): Likewise.
40275         (max_value): Likewise.
40276         (min_value): Likewise.
40277         (min_subnorm_value): Likewise.
40278         (initialize): Do not initialize those variables dynamically.
40279
40280 2013-05-03  Roland McGrath  <roland@hack.frob.com>
40281
40282         * io/open.c (__open_2): Moved to ...
40283         * io/open_2.c: ... this new file.
40284         * io/open64.c (__open64_2): Moved to ...
40285         * io/open64_2.c: ... this new file.
40286         * io/openat.c (__openat_2): Moved to ...
40287         * io/openat_2.c: ... this new file.
40288         * io/openat64.c (__openat64_2): Moved to ...
40289         * io/openat64_2.c: ... this new file.
40290         * io/Makefile (routines): Add them.
40291         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
40292         * sysdeps/unix/sysv/linux/open_2.c: File removed.
40293         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
40294         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
40295         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
40296         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
40297         (__openat64): Add hidden_ver.
40298         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
40299         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
40300
40301         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
40302         Separately conditionalize setting of GLRO(dl_sysinfo) so
40303         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
40304         as well, but the actual setting is only under [NEED_DL_SYSINFO].
40305
40306 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40307
40308         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
40309         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
40310         definition.
40311         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
40312         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40313         (_libc_vdso_platform_setup): Add __vdso_time initialization.
40314         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
40315         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
40316
40317 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
40318
40319         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
40320         test signgam value.
40321
40322         * math/libm-test.inc (hypot_test): Do not use
40323         IGNORE_ZERO_INF_SIGN.
40324
40325 2013-05-03  Andreas Jaeger  <aj@suse.de>
40326
40327         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
40328         Linux 3.9.
40329         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
40330         (PF_MAX): Adjust for VSOCK change.
40331
40332 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40333
40334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40335
40336 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
40337
40338         [BZ #15264]
40339         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
40340         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
40341         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
40342
40343 2013-05-02  David S. Miller  <davem@davemloft.net>
40344
40345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40346
40347 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
40348
40349         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
40350
40351 2013-05-01  Roland McGrath  <roland@hack.frob.com>
40352
40353         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
40354
40355 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
40356
40357         [BZ #14952]
40358         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
40359         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40360         Use __attribute__ ((__gnu_inline__)).
40361         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40362         Don't use __attribute__ ((__gnu_inline__)).
40363
40364 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
40365
40366         [BZ #15423]
40367         * math/s_catan.c (__catan): Handle small real or imaginary part of
40368         input specially to avoid spurious underflow.
40369         * math/s_catanf.c (__catanf): Likewise.
40370         * math/s_catanh.c (__catanh): Likewise.
40371         * math/s_catanhf.c (__catanhf): Likewise.
40372         * math/s_catanhl.c (__catanhl): Likewise.
40373         * math/s_catanl.c (__catanl): Likewise.
40374         * math/libm-test.inc (catan_test): Add more tests.
40375         (catanh_test): Likewise.
40376         * sysdeps/i386/fpu/libm-test-ulps: Update.
40377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40378
40379 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40380
40381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40382
40383 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
40384
40385         [BZ #15416]
40386         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
40387         accurately for denominator in atan2.
40388         * math/s_catanf.c (__catanf): Likewise.
40389         * math/s_catanh.c (__catanh): Likewise.
40390         * math/s_catanhf.c (__catanhf): Likewise.
40391         * math/s_catanhl.c (__catanhl): Likewise.
40392         * math/s_catanl.c (__catanl): Likewise.
40393         * math/libm-test.inc (catan_test): Add more tests.
40394         (catanh_test): Likewise.
40395         * sysdeps/i386/fpu/libm-test-ulps: Update.
40396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40397
40398 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40399
40400         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
40401
40402         * benchtests/Makefile (bench): Remove slow benchmarks.
40403         * benchtests/atan-inputs: Add slow benchmark inputs.
40404         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
40405         (BENCH_FUNC): Accept variant offset.
40406         (VARIANT): Define.
40407         * benchtests/bench-skeleton.c (main): Run benchmark for each
40408         variant.
40409         * benchtests/cos-inputs: Add slow benchmark inputs.
40410         * benchtests/exp-inputs: Likewise.
40411         * benchtests/pow-inputs: Likewise.
40412         * benchtests/sin-inputs: Likewise.
40413         * benchtests/slowatan-inputs: Remove.
40414         * benchtests/slowatan.c: Remove.
40415         * benchtests/slowcos-inputs: Remove.
40416         * benchtests/slowcos.c: Remove.
40417         * benchtests/slowexp-inputs: Remove.
40418         * benchtests/slowexp.c: Remove.
40419         * benchtests/slowpow-inputs: Remove.
40420         * benchtests/slowpow.c: Remove.
40421         * benchtests/slowsin-inputs: Remove.
40422         * benchtests/slowsin.c: Remove.
40423         * benchtests/slowtan-inputs: Remove.
40424         * benchtests/slowtan.c: Remove.
40425         * benchtests/tan-inputs: Add slow benchmark inputs.
40426         * scripts/bench.pl: Parse comments and directives.
40427
40428         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
40429         in CPPFLAGS.
40430         ($(objpfx)bench-%.c): Remove *-ITER.
40431         * benchtests/bench-modf.c: Remove definition of ITER.
40432         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
40433         (main): Loop for DURATION seconds instead of fixed number of
40434         iterations.
40435         * scripts/bench.pl: Don't expect iterations in parameters.
40436
40437 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40438
40439         * io/fchdir.c (__fchdir): Renamed from fchdir.
40440         (fchdir): Define as weak alias.
40441
40442 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40443
40444         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
40445         (ERRNO_EDOM): Likewise.
40446         (ERRNO_ERANGE): Likewise.
40447         (noErrnoTests): New variable.
40448         (init_max_error): Set errno to 0.
40449         (test_single_errno): New function.
40450         (test_errno): Likewise.
40451         (check_float_internal): Call test_errno.  Set errno to 0.
40452         (check_complex): Refer to errno tests in comment.
40453         (check_int): Call test_errno.  Set errno to 0.
40454         (check_long): Likewise.
40455         (check_bool): Likewise.
40456         (check_longlong): Likewise.
40457         (cos_test): Use ERRNO_* flags for errno tests instead of
40458         check_int.
40459         (expm1_test): Likewise.
40460         (fmod_test): Likewise.
40461         (ilogb_test): Likewise.
40462         (lgamma_test): Likewise.
40463         (pow_test): Likewise.
40464         (remainder_test): Likewise.
40465         (sin_test): Likewise.
40466         (tan_test): Likewise.
40467         (yn_test): Likewise.
40468         (initialize): Set errno to 0.
40469         (main): Print number of errno tests.
40470         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
40471
40472 2013-04-29  Andreas Jaeger  <aj@suse.de>
40473
40474         [BZ #15084]
40475         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
40476         and RES_USEVC.
40477
40478         [BZ #15085]
40479         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
40480         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
40481         unimplemented.
40482
40483         [BZ #15380]
40484         * stdlib/random.c (__initstate): Return NULL if
40485         __initstate fails.
40486
40487         [BZ #15086]
40488         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
40489         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
40490         RES_SNGLKUPREOP.
40491
40492 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40493
40494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40495
40496 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40497
40498         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
40499         of individual tests.
40500         (casin_test): Likewise.
40501         (casinh_test): Likewise.
40502
40503 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
40504
40505         [BZ #15409]
40506         * math/s_catan.c (__catan): Handle arguments with large real or
40507         imaginary part separately without squaring.
40508         * math/s_catanf.c (__catanf): Likewise.
40509         * math/s_catanh.c (__catanh): Likewise.
40510         * math/s_catanhf.c (__catanhf): Likewise.
40511         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40512         and redefine.
40513         (__catanhl): Handle arguments with large real or imaginary part
40514         separately without squaring.
40515         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40516         and redefine.
40517         (__catanl): Handle arguments with large real or imaginary part
40518         separately without squaring.
40519         * math/libm-test.inc (catan_test): Add more tests.
40520         (catanh_test): Likewise.
40521         * sysdeps/i386/fpu/libm-test-ulps: Update.
40522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40523
40524 2013-04-27  Andreas Jaeger  <aj@suse.de>
40525
40526         [BZ #15007]
40527         * stdlib/stdlib.h: Update guards for qecvt.
40528         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
40529         <stdlib.h>.
40530
40531 2013-04-27  Allan McRae  <allan@archlinux.org>
40532
40533         * sysdeps/i386/fpu/libm-test-ulps: Update.
40534
40535 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
40536
40537         [BZ #15406]
40538         * math/s_catan.c: Include <float.h>.
40539         (__catan): Ensure underflow exception occurs for underflowed
40540         result.
40541         * math/s_catanf.c: Include <float.h>.
40542         (__catanf): Ensure underflow exception occurs for underflowed
40543         result.
40544         * math/s_catanh.c: Include <float.h>.
40545         (__catanh): Ensure underflow exception occurs for underflowed
40546         result.
40547         * math/s_catanhf.c: Include <float.h>.
40548         (__catanhf): Ensure underflow exception occurs for underflowed
40549         result.
40550         * math/s_catanhl.c: Include <float.h>.
40551         (__catanhl): Ensure underflow exception occurs for underflowed
40552         result.
40553         * math/s_catanl.c: Include <float.h>.
40554         (__catanl): Ensure underflow exception occurs for underflowed
40555         result.
40556         * math/libm-test.inc (catan_test): Add more tests.
40557         (catanh_test): Likewise.
40558
40559         [BZ #15405]
40560         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
40561         underflowed result.
40562         * math/s_ccoshf.c (__ccoshf): Likewise.
40563         * math/s_ccoshl.c (__ccoshl): Likewise.
40564         * math/s_csin.c (__csin): Likewise.
40565         * math/s_csinf.c (__csinf): Likewise.
40566         * math/s_csinh.c (__csinh): Likewise.
40567         * math/s_csinhf.c (__csinhf): Likewise.
40568         * math/s_csinhl.c (__csinhl): Likewise.
40569         * math/s_csinl.c (__csinl): Likewise.
40570         * math/libm-test.inc (ccos_test): Add more tests.
40571         (ccosh_test): Likewise.
40572         (csin_test): Likewise.
40573         (csinh_test): Likewise.
40574
40575 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40576
40577         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
40578         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
40579         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
40580         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
40581         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
40582         powerpc/power5+/fpu folders.
40583         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
40584
40585
40586 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40587
40588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40589
40590 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
40591
40592         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
40593         additions to variable.
40594         [$(config-machine) = x86_64] (modules-names): Likewise.
40595         ($(objpfx)tst-audit3): Remove dependency.
40596         ($(objpfx)tst-audit3.out): Likewise.
40597         ($(objpfx)tst-audit4): Likewise.
40598         ($(objpfx)tst-audit4.out): Likewise.
40599         ($(objpfx)tst-audit5): Likewise.
40600         ($(objpfx)tst-audit5.out): Likewise.
40601         ($(objpfx)tst-audit6): Likewise.
40602         ($(objpfx)tst-audit6.out): Likewise.
40603         ($(objpfx)tst-audit7): Likewise.
40604         ($(objpfx)tst-audit7.out): Likewise.
40605         (tst-audit3-ENV): Remove variable.
40606         (tst-audit4-ENV): Likewise.
40607         (tst-audit5-ENV): Likewise.
40608         (tst-audit6-ENV): Likewise.
40609         (tst-audit7-ENV): Likewise.
40610         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
40611         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
40612         addition to variable.
40613         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
40614         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
40615         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
40616         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
40617         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
40618         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
40619         tst-audit3, tst-audit4 and tst-audit5.
40620         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
40621         tst-audit6 and tst-audit7.
40622         [$(subdir) = elf] (modules-names): Add audit modules for those
40623         tests.
40624         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
40625         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
40626         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
40627         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
40628         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
40629         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
40630         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
40631         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
40632         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
40633         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
40634         [$(subdir) = elf] (tst-audit3-ENV): New variable.
40635         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
40636         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
40637         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
40638         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
40639         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
40640         Likewise.
40641         [$(subdir) = elf && $(config-cflags-avx) = yes]
40642         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
40643         [$(subdir) = elf && $(config-cflags-avx) = yes]
40644         (CFLAGS-tst-auditmod4a.c): Likewise.
40645         [$(subdir) = elf && $(config-cflags-avx) = yes]
40646         (CFLAGS-tst-auditmod4b.c): Likewise.
40647         [$(subdir) = elf && $(config-cflags-avx) = yes]
40648         (CFLAGS-tst-auditmod6b.c): Likewise.
40649         [$(subdir) = elf && $(config-cflags-avx) = yes]
40650         (CFLAGS-tst-auditmod6c.c): Likewise.
40651         [$(subdir) = elf && $(config-cflags-avx) = yes]
40652         (CFLAGS-tst-auditmod7b.c): Likewise.
40653         * elf/tst-audit3.c: Move to ...
40654         * sysdeps/x86_64/tst-audit3.c: ... here.
40655         * elf/tst-audit4.c: Move to ...
40656         * sysdeps/x86_64/tst-audit4.c: ... here.
40657         * elf/tst-audit5.c: Move to ...
40658         * sysdeps/x86_64/tst-audit5.c: ... here.
40659         * elf/tst-audit6.c: Move to ...
40660         * sysdeps/x86_64/tst-audit6.c: ... here.
40661         * elf/tst-audit7.c: Move to ...
40662         * sysdeps/x86_64/tst-audit7.c: ... here.
40663         * elf/tst-auditmod3a.c: Move to ...
40664         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
40665         * elf/tst-auditmod3b.c: Move to ...
40666         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
40667         * elf/tst-auditmod4a.c: Move to ...
40668         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
40669         * elf/tst-auditmod4b.c: Move to ...
40670         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
40671         * elf/tst-auditmod5a.c: Move to ...
40672         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
40673         * elf/tst-auditmod5b.c: Move to ...
40674         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
40675         * elf/tst-auditmod6a.c: Move to ...
40676         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
40677         * elf/tst-auditmod6b.c: Move to ...
40678         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
40679         * elf/tst-auditmod6c.c: Move to ...
40680         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
40681         * elf/tst-auditmod7a.c: Move to ...
40682         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
40683         * elf/tst-auditmod7b.c: Move to ...
40684         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
40685
40686 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
40687
40688         [BZ #15366]
40689         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
40690         define unconditionally.
40691         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
40692         define unconditionally.
40693         (INT8_C, INT16_C, etc.): Likewise.
40694
40695 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
40696
40697         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
40698         __ehdr_start with hidden visibility.
40699
40700         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
40701
40702 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
40703
40704         * math/libm-test.inc (cos_test): Use accurate hex constants.
40705         (sincost_test): Likewise.
40706
40707 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
40708
40709         * math/libm-test.inc (catan_test): Add more tests.
40710         (catanh_test): Likewise.
40711
40712         * math/s_catanf.c (__catanf): Use suffixed floating-point
40713         constants.
40714         * math/s_catanhf.c (__catanhf): Likewise.
40715         * math/s_catanhl.c (__catanhl): Likewise.
40716         * math/s_catanl.c (__catanl): Likewise.
40717
40718         [BZ #15394]
40719         * math/s_catan.c (__catan): Calculate imaginary part of result
40720         with log1p not log unless computing log of number close to 0.
40721         * math/s_catanf.c (__catanf): Likewise.
40722         * math/s_catanl.c (__catanl): Likewise.
40723         * math/s_catanh.c (__catanh): Calculate real part of result with
40724         log1p not log unless computing log of number close to 0.
40725         * math/s_catanhf.c (__catanhf): Likewise.
40726         * math/s_catanhl.c (__catanhl): Likewise.
40727         * math/libm-test.inc (catan_test): Add more tests.
40728         (catanh_test): Likewise.
40729         * sysdeps/i386/fpu/libm-test-ulps: Update.
40730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40731
40732 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40733
40734         * benchtests/Makefile: Mention files in which fast and slow
40735         paths of math functions are implemented.
40736
40737 2013-04-23  Roland McGrath  <roland@hack.frob.com>
40738
40739         * sysdeps/posix/timespec_get.c: New file.
40740
40741 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40742
40743         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
40744         POWER.
40745         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
40746         for POWER.
40747         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
40748         powerpc/power5/fpu folders.
40749         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
40750         * benchtests/Makefile: Add modf testcase.
40751         * benchtests/bench-modf.c: New file: Benchmark test for mo
40752
40753 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40754
40755         [BZ #14888]
40756         * time/Makefile (tests): Add tst-strptime-whitespace.
40757         * time/strptime_l.c (get_number): Use ISSPACE.
40758         (__strptime_internal): Likewise.
40759         * time/tst-strptime-whitespace.c: New test case.
40760
40761 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
40762
40763         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
40764         member.
40765         (_nss_files_init): Set it here.
40766
40767 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
40768
40769         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
40770         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
40771         unsigned.
40772
40773 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
40774
40775         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
40776
40777 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40778
40779         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
40780         size just once.
40781
40782 2013-04-21  David S. Miller  <davem@davemloft.net>
40783
40784         * po/ru.po: Update Russion translation from translation project.
40785
40786 2013-04-17  Adam Conrad  <adconrad@0c3.net>
40787
40788         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
40789         and setfsgid.
40790
40791 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
40792
40793         * configure.in: Remove i386 configure warning. Remove i386 case.
40794         * configure: Regenerate.
40795         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
40796         Add example to error message.
40797         * sysdeps/i386/configure: Regenerate.
40798
40799 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40800
40801         * benchtests/Makefile (bench): Add cos, tan, slowcos and
40802         slowtan.
40803         * benchtests/cos-inputs: New file.
40804         * benchtests/slowcos-inputs: New file.
40805         * benchtests/slowcos.c: New file.
40806         * benchtests/slowtan-inputs: New file.
40807         * benchtests/slowtan.c: New file.
40808         * benchtests/tan-inputs: New file.
40809
40810 2013-04-16  Roland McGrath  <roland@hack.frob.com>
40811
40812         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
40813         considered kosher.
40814
40815 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40816
40817         * benchtests/Makefile: Include cppflags-iterator.mk to add
40818         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
40819
40820         * Makefile.in (bench-clean): New target.
40821         * benchtests/Makefile (bench-clean): Likewise.
40822
40823 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
40824
40825         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
40826
40827 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
40828
40829         * stdio-common/tstdiomisc.c: Fix coding-style violation.
40830
40831 2013-04-15  Andreas Schwab  <schwab@suse.de>
40832
40833         * nscd/grpcache.c (cache_addgr): Properly check for short write.
40834         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40835         * nscd/pwdcache.c (cache_addpw): Likewise.
40836         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
40837         more than recsize.
40838
40839 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40840
40841         * benchtests/Makefile (bench): Write all output to
40842         bench-out.tmp together.
40843
40844 2013-04-15  Andreas Schwab  <schwab@suse.de>
40845
40846         * nscd/nscd.c (main): Don't fork again after closing files.
40847
40848 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40849
40850         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
40851
40852         * benchtests/Rules (bench-deps): Collect dependencies into a
40853         single variable.  Add Makefile to dependencies.
40854         ($(objpfx)bench-%.c): Depend on bench-deps.
40855
40856 2013-04-12  Roland McGrath  <roland@hack.frob.com>
40857             Xavier Roche  <roche+kml2@exalead.com>
40858
40859         [BZ #15361]
40860         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
40861         just that it's a file descriptor.
40862         * manual/llio.texi (Synchronizing AIO Operations): Update description
40863         for EBADF error from aio_fsync.
40864
40865 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40866
40867         * Rules (bench): Move target definition...
40868         * benchtests/Makefile: ... here.
40869
40870 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
40871
40872         * math/libm-test.inc (cos_test): Fix PI/2 test.
40873         (sincos_test): Likewise.
40874         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40875         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
40876
40877 2013-04-11  Andreas Schwab  <schwab@suse.de>
40878
40879         [BZ #13988]
40880         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
40881         accept exponent character only when digits were seen.
40882         * stdio-common/Makefile (tests): Add bug26.
40883         * stdio-common/bug26.c: New file.
40884
40885         [BZ #14293]
40886         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
40887         non-freeable.
40888
40889 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40890
40891         * Makeconfig (rtld-prefix): Define built linker prefix.
40892         * Rules (run-bench): Use it.
40893         * math/Makefile (run-regen-ulps): Likewise.
40894
40895         * Rules (bench): Remove eval.
40896
40897 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40898             Roland McGrath  <roland@hack.frob.com>
40899             Ondrej Bilka  <neleai@seznam.cz>
40900
40901         [BZ #15346]
40902         * time/getdate.c: Include ctype.h and alloca.h.
40903         (__getdate_r): Trim leading and trailing spaces of input.
40904         * time/tst-getdate.c (tests): Add tests with leading and
40905         trailing spaces.
40906
40907 2013-04-08  Roland McGrath  <roland@hack.frob.com>
40908
40909         [BZ #14280]
40910         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
40911         when computing value.
40912
40913 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40914
40915         * math/README.libm-test (How can I generate "libm-test-ulps"?):
40916         Use testrun.sh to run libm tests.
40917
40918         [BZ #15309]
40919         * elf/dl-open.c (dl_open_worker): memset all of seen array.
40920
40921 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
40922
40923         [BZ #15264]
40924         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
40925
40926 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40927
40928         * Makefile.in (regen-ulps): New target.
40929         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
40930         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
40931         [ifneq (no,$(PERL)] (regen-ulps): New target.
40932         [ifeq (no,$(PERL)] (regen-ulps): New target.
40933         * math/libm-test.inc (ulps_file_name): Define.
40934         (output_dir): New variable.
40935         (options): Add "output-dir" option.
40936         (parse_opt): Handle 'o' case.
40937         (main): If output_dir is non-NULL use it as a prefix
40938         otherwise use "".
40939         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
40940
40941 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40942
40943         [BZ #10060, #10062]
40944         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
40945         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
40946         fail configure if __sync_val_compare_and_swap is not inlined.
40947         * sysdeps/i386/configure: Regenerate.
40948         * configure.in: Build for i686 when configured for i386.
40949         * configure: Regenerate.
40950         * README: Remove i386 reference.
40951
40952 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40953
40954         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
40955         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40956
40957 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40958
40959         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
40960         (lmsnanval): New variables.
40961         (F): Add conversion tests.
40962         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
40963         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
40964
40965         * stdio-common/tstdiomisc.c (F): Properly collect individual
40966         tests' results.
40967
40968         [BZ #14686, #15336]
40969         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
40970         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
40971         Instead, use input NaN values or generate a qNaN by arithmetic
40972         operation.  Also fix bugs to comply with the standard.
40973         * math/libm-test.inc (remainder_test): Add more tests.
40974
40975         [BZ #15335, #15342]
40976         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
40977         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
40978         input NaN values or generate a qNaN by arithmetic operation.
40979
40980         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
40981         unreachable code.
40982
40983         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
40984         definitions.
40985
40986 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
40987
40988         [BZ #14478]
40989         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
40990         underflowed result.
40991         * math/s_cexpf.c (__cexpf): Likewise.
40992         * math/s_cexpl.c (__cexpl): Likewise.
40993         * math/libm-test.inc (cexp_test): Add more tests.
40994
40995 2013-04-03  Andreas Schwab  <schwab@suse.de>
40996
40997         [BZ #15330]
40998         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
40999         order arrays from heap if bigger than alloca cutoff.
41000
41001 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41002
41003         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41004         (SNAN_TESTS_double): Refer to GCC PR56831.
41005         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41006         GCC PR56828.
41007
41008 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41009
41010         * Rules (bench): Move bench.out after the run is complete.
41011
41012         * Rules (bench): Echo currently running benchmark.
41013
41014         * benchtests/Makefile (bench): Add atan and slowatan.
41015         * benchtests/atan-inputs: New file.
41016         * benchtests/slowatan-inputs: New file.
41017         * benchtests/slowatan.c: New file.
41018
41019         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41020         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41021         its value.
41022
41023         [BZ #15305]
41024         * sysdeps/unix/sysv/linux/kernel-features.h
41025         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41026         __ASSUME_XFS_RESTRICTED_CHOWN.
41027         * sysdeps/unix/sysv/linux/pathconf.c
41028         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41029         Save and restore errno.
41030
41031 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41032
41033         [BZ #15327]
41034         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41035         arguments using __kernel_casinh.
41036         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41037         arguments using __kernel_casinhf.
41038         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41039         arguments using __kernel_casinhl.
41040         * math/libm-test.inc (cacosh_test): Add more tests.
41041         * sysdeps/i386/fpu/libm-test-ulps: Update.
41042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41043
41044 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41045
41046         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41047         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41048
41049         * bench/Makefile (bench): Add sin and slowsin.
41050         * benchtests/sin-inputs: New file.
41051         * benchtests/slowsin-inputs: New file.
41052         * benchtests/slowsin.c: New file.
41053
41054         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41055         (bench): Add slowexp and slowpow.
41056         (exp-ITER): Increase iterations.
41057         (pow-ITER): Likewise.
41058         * benchtests/exp-inputs: Change input.
41059         * benchtests/pow-inputs: Likewise.
41060         * benchtests/slowexp-inputs: New file.
41061         * benchtests/slowexp.c: New file.
41062         * benchtests/slowpow-inputs: New file.
41063         * benchtests/slowpow.c: New file.
41064
41065 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41066
41067         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41068         instructions.
41069         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41070         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41071         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41072         * benchtests/Makefile: Add rint benchtest.
41073         * benchtests/rint-inputs: Input for rint benchtest.
41074
41075 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41076
41077         * Versions.def (libm): Add GLIBC_2.18.
41078         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41079         hidden libm prototypes.
41080         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41081         * math/Makefile (libm-calls): Add s_issignaling.
41082         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41083         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41084         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41085         declaration.
41086         * math/math.h [__USE_GNU] (issignaling): New macro.
41087         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41088         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41090         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41091         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41093         * manual/arith.texi (issignaling): New section.
41094         * manual/libm-err-tab.pl (@all_functions): Update comment.
41095         * math/gen-libm-test.pl (parse_args): Apply special handling for
41096         issignaling.
41097         * math/libm-test.inc (print_float, issignaling_test): New
41098         functions.
41099         (check_float_internal): Add issignaling checks.
41100         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41101         default definition.
41102         * sysdeps/powerpc/math-tests.h: New file.
41103         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41104         tests.
41105         * math/test-snan.c (TEST_FUNC): Likewise.
41106
41107 2013-03-30  David S. Miller  <davem@davemloft.net>
41108
41109         * po/de.po: Update from translation team.
41110
41111 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41112
41113         [BZ #10357]
41114         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41115         imaginary part less than 1.0 and real part less than 0.5
41116         specially.
41117         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41118         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41119         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41120         (cacos_test): Add more tests.
41121         (casin_test): Likewise.
41122         (casinh_test): Likewise.
41123         * sysdeps/i386/fpu/libm-test-ulps: Update.
41124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41125
41126 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41127
41128         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41129         ONE with its value.
41130
41131         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41132         (__pow_mp): Replace ONE and MONE with their values.
41133         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41134         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41135         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41136         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41137         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41138         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41139
41140         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41141
41142         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41143         (__pow_mp): Replace ZERO and MZERO with their values.
41144         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41145         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41146         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41147         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41148         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41149         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41150         (__sqr): Likewise.
41151
41152         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41153
41154         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41155
41156 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41157
41158         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41159         Declare with __attribute__ ((weak)).
41160         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41161         Call __call_tls_dtors only if it's not NULL.
41162
41163 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41164
41165         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41166         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41167         magic __ehdr_start linker symbol if it's defined.
41168         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41169         them up here if it was already done.
41170
41171         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41172         (_dl_aux_init): Use const in cast when setting it.
41173         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41174         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41175         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41176
41177         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41178         Declare them here.
41179         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
41180         * csu/libc-tls.c: Nor here.
41181         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
41182
41183         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
41184         (__libc_message): Never call vsyslog.
41185
41186 2013-03-28  Alan Modra  <amodra@gmail.com>
41187
41188         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
41189         Define as empty.
41190         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
41191         Likewise.
41192
41193 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41194
41195         [BZ #15214]
41196         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
41197         underflow.
41198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41199
41200 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41201
41202         [BZ #15304]
41203         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41204         Don't add gid passed as argument.
41205
41206         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
41207
41208 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
41209
41210         [BZ #15307]
41211         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41212         imaginary part between 1.0 and 1.5 and real part less than 0.5
41213         specially.
41214         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41215         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41216         * math/libm-test.inc (cacos_test): Add more tests.
41217         (casin_test): Likewise.
41218         (casinh_test): Likewise.
41219         * sysdeps/i386/fpu/libm-test-ulps: Update.
41220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41221
41222 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41223
41224         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
41225         constants.
41226         (norm): Likewise.
41227         (denorm): Likewise.
41228         (__dbl_mp): Likewise.
41229         (add_magnitudes): Likewise.
41230         (sub_magnitudes): Likewise.
41231         (__add): Likewise.
41232         (__sub): Likewise.
41233         (__mul): Likewise.
41234         (__sqr): Likewise.
41235         (__inv): Likewise.
41236         (__dvd): Likewise.
41237
41238         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
41239         commented code.
41240         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
41241         (__dubcos): Likewise.
41242         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
41243         (__ieee754_acos): Likewise.
41244         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41245         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
41246         (__exp1): Likewise.
41247         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41248         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41249         (log1): Likewise.
41250         (my_log2): Likewise.
41251         (checkint): Likewise.
41252         * sysdeps/ieee754/dbl-64/e_remainder.c
41253         (__ieee754_remainder): Likewise.
41254         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41255         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
41256         (bsloww): Likewise.
41257         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41258
41259         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41260         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
41261         MANTISSA_STORE_T to store computations on mantissa.  Use
41262         macros for rounding and division.
41263         (denorm): Likewise.
41264         (__dbl_mp): Likewise.
41265         (add_magnitudes): Likewise.
41266         (sub_magnitudes): Likewise.
41267         (__mul): Likewise.
41268         (__sqr): Likewise.
41269         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41270         powers of two in terms of TWOPOW macro.
41271         (mp_no): Make type of mantissa as MANTISSA_T.
41272         [!RADIXI]: Define RADIXI.
41273         [!TWO52]: Define TWO52.
41274         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41275
41276 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41277
41278         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41279         llroundl symbol when building for PPC32.
41280
41281 2013-03-24  Mark H Weaver  <mhw@netris.org>
41282
41283         * manual/arith.texi (Normalization Functions): Fix prototypes for
41284         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
41285
41286 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41287
41288         [BZ #13889]
41289         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
41290         high value to check if expl overflow.
41291         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
41292         to check for underflow and overflow.
41293         * math/libm-test.inc: Add exp test.
41294
41295 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
41296
41297         [BZ #11120]
41298         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
41299         with NOT_IN_libc.
41300
41301 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41302
41303         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
41304         symbol.
41305
41306 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41307
41308         * math/gen-libm-test.pl (parse_args, special_functions): Properly
41309         wrap blocks consisting of several statements.
41310
41311         * sysdeps/generic/math-tests.h: New file.
41312         * sysdeps/i386/fpu/math-tests.h: Likewise.
41313         * math/test-snan.c: Include it.
41314         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
41315
41316 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41317
41318         [BZ #15285]
41319         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
41320         (__ieee754_j0l): Do not improve calculations using cos of twice
41321         input for inputs above LDBL_MAX / 2.0L.
41322         (__ieee754_y0l): Likewise.
41323         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
41324         (__ieee754_j1l): Do not improve calculations using cos of twice
41325         input for inputs above LDBL_MAX / 2.0L.
41326         (__ieee754_y1l): Likewise.
41327         * math/libm-test.inc (j0_test): Add another test.
41328         (j1_test): Likewise.
41329         (y0_test): Likewise.
41330         (y1_test): Likewise.
41331         * sysdeps/i386/fpu/libm-test-ulps: Update.
41332
41333 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41334
41335         * Rules ($(objpfx)bench-%.c): Include code from a C source
41336         file.
41337
41338 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41339
41340         [BZ #15287]
41341         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41342         imaginary part 1.0 and real part less than 0.5 specially.
41343         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41344         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41345         * math/libm-test.inc (cacos_test): Add more tests.
41346         (casin_test): Likewise.
41347         (casinh_test): Likewise.
41348         * sysdeps/i386/fpu/libm-test-ulps: Update.
41349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41350
41351 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41352
41353         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
41354         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
41355
41356 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
41357
41358         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
41359         * config.make.in (config-cflags-sse4): Remove variable.
41360         (config-cflags-avx): Likewise.
41361         (config-cflags-sse2avx): Likewise.
41362         (config-cflags-novzeroupper): Likewise.
41363         (config-asflags-i686): Likewise.
41364         (have-mfma4): Likewise.
41365         (have-as-vis3): Likewise.
41366         (MIG): Likewise.
41367         * configure.in (MIG): Do not AC_SUBST.
41368         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
41369         (libc_cv_cc_sse4): Do not AC_SUBST.
41370         (libc_cv_cc_avx): Likewise.
41371         (libc_cv_cc_sse2avx): Likewise.
41372         (libc_cv_cc_novzeroupper): Likewise.
41373         (libc_cv_cc_fma4): Likewise.
41374         (libc_cv_as_i686): Likewise.
41375         (libc_cv_sparc_as_vis3): Likewise.
41376         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
41377         LIBC_CONFIG_VAR.
41378         (config-asflags-i686): Likewise.
41379         (config-cflags-avx): Likewise.
41380         (config-cflags-sse2avx): Likewise.
41381         (have-mfma4): Likewise.
41382         (config-cflags-novzeroupper): Likewise.
41383         * sysdeps/mach/configure.in (MIG): Likewise.
41384         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
41385         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
41386         LIBC_CONFIG_VAR.
41387         (config-cflags-avx): Likewise.
41388         (config-cflags-sse2avx): Likewise.
41389         (have-mfma4): Likewise.
41390         (config-cflags-novzeroupper): Likewise.
41391         * configure: Regenerated.
41392         * sysdeps/i386/configure: Likewise.
41393         * sysdeps/mach/configure: Likewise.
41394         * sysdeps/sparc/configure: Likewise.
41395         * sysdeps/x86_64/configure: Likewise.
41396
41397 2013-03-20  Roland McGrath  <roland@hack.frob.com>
41398
41399         [BZ #14812]
41400         * locale/programs/localedef.c (options): Put N_ translation marker
41401         on argument names, not just descriptions.
41402
41403 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41404
41405         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
41406
41407 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
41408
41409         [BZ #14176]
41410         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
41411
41412 2013-03-19  Roland McGrath  <roland@hack.frob.com>
41413
41414         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
41415         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
41416         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
41417         [!BEFORE_ABORT] (before_abort): New function.
41418         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
41419         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
41420         (writev_for_fatal): New function.
41421         (WRITEV_FOR_FATAL): New macro; call that.
41422         (backtrace_and_maps): New function.
41423         (BEFORE_ABORT): New macro; call that.
41424         (struct str_list): Type removed.
41425         (__libc_message, __libc_fatal): Functions removed.
41426         Include <sysdeps/posix/libc_fatal.c> instead.
41427
41428 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
41429
41430         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
41431         constants.
41432         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
41433         double constants.
41434
41435 2013-03-19  Andreas Schwab  <schwab@suse.de>
41436
41437         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
41438         * sysdeps/gnu/configure: Regenerate.
41439
41440         * configure.in: Substitute libc_cv_rtlddir.
41441         * configure: Regenerate.
41442         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41443         * Makeconfig (rtlddir, inst_rtlddir): New variables.
41444         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
41445         * elf/Makefile (install-others, CFLAGS-interp.c)
41446         (ldso_install, common-ldd-rewrite): Likewise.
41447         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
41448         $(inst_slibdir)/$(rtld-installed-name).
41449         * scripts/rellns-sh: Add -p option.
41450         * Makerules (make-shlib-link): Use rellns-sh to get relative name
41451         for source.
41452
41453 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41454
41455         * manual/nptl.texi: Renamed to ...
41456         * manual/threads.texi: ... this.
41457         * manual/Makefile (chapters): Update.
41458
41459 2013-03-18  Roland McGrath  <roland@hack.frob.com>
41460
41461         [BZ #14812]
41462         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
41463         on argument names, not just descriptions.
41464         * malloc/memusagestat.c (options): Likewise.
41465         * nss/getent.c (options): Likewise.
41466
41467 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
41468
41469         [BZ #14812]
41470         * iconv/iconv_prog.c (options): Put N_ translation marker
41471         on argument names, not just descriptions.
41472         * iconv/iconvconfig.c (options): Likewise.
41473
41474 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
41475
41476         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
41477         implementation which is faster on all x86_64 architectures.
41478         Tested on AMD, Intel Nehalem, SNB, IVB.
41479         * sysdeps/x86_64/strnlen.S: Likewise.
41480
41481         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41482         Remove all multiarch strlen and strnlen versions.
41483         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41484         Remove strlen and strnlen related parts.
41485
41486         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
41487         Inline strlen part.
41488         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41489
41490         * sysdeps/x86_64/multiarch/strlen.S: Remove.
41491         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
41492         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
41493         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
41494         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41495         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
41496
41497 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
41498
41499         * manual/memory.texi (Malloc Tunable Parameters):
41500         Sort parameters alphabetically. Add comments for missing entries.
41501
41502 2013-03-17  David S. Miller  <davem@davemloft.net>
41503
41504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41505
41506 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
41507
41508         [BZ #15283]
41509         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
41510         for arguments at most half maximum finite value.
41511         * math/libm-test.inc (j0_test): Add more tests.
41512         (j1_test): Likewise.
41513         (y0_test): Likewise.
41514         (y1_test): Likewise.
41515         * sysdeps/i386/fpu/libm-test-ulps: Update.
41516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41517
41518         [BZ #14155]
41519         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
41520         1 / x and functions P and Q for arguments above 0x1p256L.
41521         (__ieee754_y0l): Likewise.
41522         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
41523         (__ieee754_y1l): Likewise.
41524         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
41525         (j1_test): Likewise.
41526         (y0_test): Likewise.
41527         (y1_test): Likewise.
41528
41529 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
41530
41531         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
41532         variable.
41533
41534 2013-03-15  Roland McGrath  <roland@hack.frob.com>
41535
41536         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
41537         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
41538         zero since it's initialized to EXEC_PAGESIZE.
41539
41540         * sysdeps/unix/sysv/linux/ldsodefs.h
41541         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
41542         * sysdeps/generic/ldsodefs.h: ... here.
41543
41544 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
41545
41546         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
41547
41548         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
41549         math/test-snan.c.
41550         * math/test-snan.c: Renamed from
41551         sysdeps/powerpc/fpu/test-powerpc-snan.c.
41552         * math/Makefile (tests): Add test-snan.
41553         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
41554         test-powerpc-snan.
41555
41556         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
41557         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
41558         functions.
41559         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
41560         __builtin_nan family of functions.
41561         * math/libm-test.inc (initialize): Initialize qnan_value with
41562         __builtin_nan family of functions.
41563         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
41564         Remove variables.
41565         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
41566         Remove functions.
41567         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
41568         storage class.  Initialize qNaN_var and sNaN_var with
41569         __builtin_nan and __builtin_nans families of functions,
41570         respectively.
41571
41572         * math/libm-test.inc (acosh_test): Also test with qNaN input.
41573         (sqrt_test): Remove duplicate test with qNaN input.
41574         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
41575         (round_test, signbit_test, significand_test): Note missing +/-Inf
41576         as well as qNaN tests.
41577
41578         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
41579         qNaN_var.  Fix a few strings, too.
41580         * math/libm-test.inc (nan_value): Rename to qnan_value.
41581         * math/gen-libm-test.pl (%beautify): Adjust to that.
41582         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
41583         * math/test-misc.c (main): Likewise.
41584         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
41585         to __qnan_bytes, and __qnan_union, respectively.
41586         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
41587         Likewise.
41588         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
41589         and lqnanval, respectively.
41590         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
41591         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
41592         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
41593         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
41594
41595         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
41596         * math/test-misc.c (main) [__x86_64__]: Enable test for long
41597         doubles.
41598
41599         * math/test-misc.c (main): Fix copy'n'pastos.
41600         * misc/tst-efgcvt.c (special): Likewise.
41601
41602         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
41603         Remove declarations.
41604
41605 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41606
41607         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
41608         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
41609         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
41610         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
41611
41612 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41613
41614         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
41615         macro to return vdso values correctly in IFUNC implementations.
41616         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41617         Optimization by using IFUNC.
41618
41619 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41620             Richard Henderson  <rth@redhat.com>
41621             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41622
41623         * Makefile.in (bench): New target.
41624         * NEWS: Mention the benchmark framework.
41625         * Rules (bench): Likewise.
41626         (binaries-bench): Generate binaries for functions to
41627         benchmark.
41628         * benchtests/Makefile: New makefile for benchmark tests.
41629         * benchtests/bench-skeleton.c: New skeleton file for benchmark
41630         programs.
41631         * benchtests/exp-inputs: New input file for EXP function.
41632         * benchtests/pow-inputs: New input file for POW function.
41633         * scripts/bench.pl: New script to generate source files for
41634         benchmark programs.
41635
41636 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41637
41638         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41639         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
41640         computations on mantissa.  Use macros for rounding and
41641         division.
41642         (denorm): Likewise.
41643         (__dbl_mp): Likewise.
41644         (add_magnitudes): Likewise.
41645         (sub_magnitudes): Likewise.
41646         (__mul): Likewise.
41647         (__sqr): Likewise.
41648         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41649         powers of two in terms of TWOPOW macro.
41650         (mp_no): Make type of mantissa as MANTISSA_T.
41651         [!RADIXI]: Define RADIXI.
41652         [!TWO52]: Define TWO52.
41653         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41654
41655         * manual/nptl.texi (cindex): Modify threads to pthreads.
41656
41657 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
41658
41659         * sysdeps/x86_64/preconfigure: Regenerated.
41660
41661 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
41662
41663         [BZ #14155]
41664         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
41665         0x1p28 and above.
41666         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
41667         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
41668         0x1p28 and above.
41669         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
41670         * math/libm-test.inc (j0_test): Do not allow one spurious
41671         underflow exception.
41672         (y1_test): Likewise.
41673
41674 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41675
41676         * manual/Makefile (chapters): Add nptl.
41677         * manual/debug.texi (Debugging Support): Add link to Threads
41678         chapter.
41679         * manual/nptl.texi: New file.
41680
41681         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
41682
41683 2013-03-14  Petr Baudis  <pasky@ucw.cz>
41684
41685         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
41686         for non-NULL pointer before the memory validity test. Pointed
41687         out by Holger Brunck <holger.brunck@keymile.com>.
41688
41689 2013-03-13  Andreas Schwab  <schwab@suse.de>
41690
41691         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
41692         instead of .os.
41693
41694 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
41695
41696         * timezone/zic.c: Update from tzcode 2013b.
41697
41698 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
41699
41700         * manual/install.texi (Configuring and compiling):
41701         Mention i686 and i586.
41702         * INSTALL: Regenerate.
41703
41704 2013-03-12  Roland McGrath  <roland@hack.frob.com>
41705
41706         * sysdeps/init_array/elf-init.c: New file.
41707         * csu/elf-init.c
41708         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
41709         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
41710
41711         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
41712         __gmon_start__ as global, but as static with a .preinit_array pointer.
41713         * sysdeps/init_array/gmon-start.c: New file.  Use that.
41714         * sysdeps/init_array/crti.S: New file, empty except for comments.
41715         * sysdeps/init_array/crtn.S: Likewise.
41716
41717 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
41718
41719         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
41720         definining bcopy.
41721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41722         Remove Prefer_SSE_for_memop.
41723         * sysdeps/x86_64/multiarch/init-arch.h: Remove
41724         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
41725         HAS_PREFER_SSE_FOR_MEMOP.
41726         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
41727         memset-x86-64.
41728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41729         Remove bzero, memset ifunc support.
41730         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
41731         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
41732         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41733         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41734
41735 2013-03-11  Andreas Schwab  <schwab@suse.de>
41736
41737         [BZ #15234]
41738         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
41739         by SHLIB_COMPAT.
41740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
41741         (GLIBC_2.16): Remove pthread_atfork.
41742
41743 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
41744
41745         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
41746         (ptestcases.h): Likewise.
41747
41748 2013-03-08  Roland McGrath  <roland@hack.frob.com>
41749
41750         * Makeconfig ($(common-objpfx)config.status): Depend on
41751         sysdeps/*/preconfigure{,.in} too.
41752
41753 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
41754
41755         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
41756         (__free_hook): Use void * instead of __malloc_ptr_t.
41757         (__malloc_hook): Likewise.
41758         (__realloc_hook): Likewise.
41759         (__memalign_hook): Likewise.
41760         (__after_morecore_hook): Likewise.
41761         * malloc/arena.c (save_malloc_hook): Likewise.
41762         (save_free_hook): Likewise.
41763         * malloc/hooks.c (malloc_hook_ini): Likewise.
41764         (realloc_hook_ini): Likewise.
41765         (memalign_hook_ini): Likewise.
41766         * malloc/malloc.c (malloc_hook_ini): Likewise.
41767         (realloc_hook_ini): Likewise.
41768         (memalign_hook_ini): Likewise.
41769         (__free_hook): Likewise.
41770         (__malloc_hook): Likewise.
41771         (__realloc_hook): Likewise.
41772         (__memalign_hook): Likewise.
41773         (__libc_malloc): Likewise.
41774         (__libc_free): Likewise.
41775         (__libc_realloc): Likewise.
41776         (__libc_memalign): Likewise.
41777         (__libc_valloc): Likewise.
41778         (__libc_pvalloc): Likewise.
41779         (__libc_calloc): Likewise.
41780         (__posix_memalign): Likewise.
41781         * malloc/morecore.c (__sbrk): Likewise.
41782         (__default_morecore): Likewise.
41783
41784         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
41785
41786         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
41787         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
41788         __malloc_ptrdiff_t.
41789
41790         * malloc/malloc.h (__malloc_size_t): Remove macro.
41791         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
41792         __malloc_size_t.
41793         (old_memalign_hook): Likewise.
41794         (old_realloc_hook): Likewise.
41795         (struct hdr): Likewise.
41796         (flood): Likewise.
41797         (mallochook): Likewise.
41798         (memalignhook): Likewise.
41799         (reallochook): Likewise.
41800         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
41801         (tr_old_realloc_hook): Likewise.
41802         (tr_old_memalign_hook): Likewise.
41803         (tr_mallochook): Likewise.
41804         (tr_reallochook): Likewise.
41805         (tr_memalignhook): Likewise.
41806
41807 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41808
41809         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
41810         default_ldbl_pack and using as default implementation.
41811         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
41812         implementation.
41813         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
41814         redundant definition.
41815         (ldbl_insert_mantissa): Likewise.
41816         (ldbl_canonicalize): Likewise.
41817         (ldbl_nearbyint): Likewise.
41818         (ldbl_pack): Rename to ldbl_pack_ppc.
41819         (ldbl_unpack): Rename to ldbl_unpack_ppc.
41820         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
41821         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
41822
41823 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41824
41825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
41826         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
41827         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
41828         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
41829         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
41830         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
41831         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
41832         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
41833
41834 2013-03-07  Andreas Jaeger  <aj@suse.de>
41835
41836         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41837         bits/mman-linux.h.
41838
41839 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41840
41841         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
41842         Include mpa.h and declare __MPEXP.
41843         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
41844         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41845         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41846         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
41847         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41848         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41849         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
41850
41851         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
41852         (__slowpow): Use long double EXPL and LOGL functions to
41853         compute POW.
41854         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41855         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41856         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
41857         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41858         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41859         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
41860
41861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
41862         intermediate variable to calculate exponent.
41863         (__sqr): Likewise.
41864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
41865         Likewise.
41866         (__sqr): Likewise.
41867
41868         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
41869         [!NO__SQR]: Define __sqr.
41870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
41871         and NO__SQR.  Remove all code except __mul and __sqr.  Include
41872         sysdeps/ieee754/dbl-64/mpa.c.
41873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41874
41875         [BZ #12723]
41876         * posix/Makefile (tests): Add tst-pathconf.
41877         * posix/tst-pathconf.c: New test case.
41878         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
41879         _PC_PIPE_BUF.
41880         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
41881
41882 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
41883
41884         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
41885
41886 2013-03-06  Andreas Jaeger  <aj@suse.de>
41887
41888         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
41889         definition via __MAP_ANONYMOUS.
41890
41891         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
41892         it's not part of Linux headers.
41893
41894         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
41895         (MAP_HUGE_MASK): Define.
41896
41897         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41898         Define.
41899         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41900         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41901         Define.
41902         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41903         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41904         Define.
41905         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41906         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
41907         Define.
41908         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41909
41910         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
41911         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
41912         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
41913         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
41914         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
41915         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
41916
41917         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41918         Handle f2fs.
41919
41920         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41921         Handle f2fs and efivarfs.
41922
41923         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
41924         f2fs.
41925
41926         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
41927         (EFIVARFS_MAGIC): Add.
41928         (F2FS_LINK_MAX): Add.
41929
41930 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41931
41932         * stdio-common/vfprintf.c: Replace __builtin_expect with
41933         __glibc_unlikely.
41934
41935 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
41936
41937         [BZ #13550]
41938         * sysdeps/generic/bp-sym.h: Remove file.
41939         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
41940         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
41941         <bp-sym.h> and <bp-asm.h>.
41942         (__longjmp): Don't use BP_SYM.
41943         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
41944         and <bp-asm.h>.
41945         (memcpy): Don't use BP_SYM.
41946         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
41947         <bp-sym.h> and <bp-asm.h>.
41948         (memcpy): Don't use BP_SYM.
41949         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
41950         <bp-asm.h>.
41951         (memcpy): Don't use BP_SYM.
41952         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
41953         <bp-asm.h>.
41954         (memset): Don't use BP_SYM.
41955         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41956         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41957         (__bzero): Don't use BP_SYM.
41958         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41959         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41960         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
41961         <bp-sym.h> and <bp-asm.h>.
41962         (memcmp): Don't use BP_SYM.  Remove comment about bounded
41963         pointers.
41964         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
41965         <bp-sym.h> and <bp-asm.h>.
41966         (memcpy): Don't use BP_SYM.
41967         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
41968         <bp-sym.h> and <bp-asm.h>.
41969         (memset): Don't use BP_SYM.
41970         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41971         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41972         (__bzero): Don't use BP_SYM.
41973         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41974         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41975         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
41976         <bp-sym.h> and <bp-asm.h>.
41977         (strncmp): Don't use BP_SYM.  Remove comment about bounded
41978         pointers.
41979         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
41980         <bp-sym.h> and <bp-asm.h>.
41981         (memcpy): Don't use BP_SYM.
41982         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
41983         <bp-sym.h> and <bp-asm.h>.
41984         (memset): Don't use BP_SYM.
41985         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41986         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41987         (__bzero): Don't use BP_SYM.
41988         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41989         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41990         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
41991         <bp-sym.h> and <bp-asm.h>.
41992         (__memchr): Don't use BP_SYM.
41993         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
41994         <bp-sym.h> and <bp-asm.h>.
41995         (memcmp): Don't use BP_SYM.  Remove comment about bounded
41996         pointers.
41997         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
41998         <bp-sym.h> and <bp-asm.h>.
41999         (memcpy): Don't use BP_SYM.
42000         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
42001         <bp-sym.h> and <bp-asm.h>.
42002         (__mempcpy): Don't use BP_SYM.
42003         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42004         <bp-sym.h> and <bp-asm.h>.
42005         (__memrchr): Don't use BP_SYM.
42006         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42007         <bp-sym.h> and <bp-asm.h>.
42008         (memset): Don't use BP_SYM.
42009         (__bzero): Likewise.
42010         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42011         <bp-sym.h> and <bp-asm.h>.
42012         (__rawmemchr): Don't use BP_SYM.
42013         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42014         <bp-sym.h> and <bp-asm.h>.
42015         (__STRCMP): Don't use BP_SYM.
42016         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42017         <bp-sym.h> and <bp-asm.h>.
42018         (strchr): Don't use BP_SYM.
42019         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42020         <bp-sym.h> and <bp-asm.h>.
42021         (__strchrnul): Don't use BP_SYM.
42022         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42023         <bp-sym.h> and <bp-asm.h>.
42024         (strlen): Don't use BP_SYM.
42025         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42026         <bp-sym.h> and <bp-asm.h>.
42027         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42028         pointers.
42029         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42030         <bp-sym.h> and <bp-asm.h>.
42031         (__strnlen): Don't use BP_SYM.
42032         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42033         <bp-sym.h> and <bp-asm.h>.
42034         (__GI__setjmp): Don't use BP_SYM.
42035         (_setjmp): Likewise.
42036         (__sigsetjmp): Likewise.
42037         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42038         (L(start_addresses)): Don't use BP_SYM.
42039         (_start): Likewise.
42040         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42041         <bp-asm.h>.
42042         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42043         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42044         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42045         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42046         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42047         <bp-asm.h>.
42048         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42049         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42050         about bounded pointers.
42051         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42052         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42053         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42054         <bp-asm.h>.
42055         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42056         about bounded pointers.  Remove GKM FIXME comments.
42057         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42058         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42059         <bp-asm.h>.
42060         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42061         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42062         Remove GKM FIXME comments.
42063         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42064         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42065         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42066         <bp-asm.h>.
42067         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42068         about bounded pointers.  Remove GKM FIXME comment.
42069         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42070         and <bp-asm.h>.
42071         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42072         pointers.
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42074         <bp-sym.h> and <bp-asm.h>.
42075         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42077         <bp-sym.h> and <bp-asm.h>.
42078         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42079         comment.
42080
42081 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42082
42083         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42084         call free(NULL).
42085
42086 2013-03-05  David S. Miller  <davem@davemloft.net>
42087
42088         * po/es.po: Update from translation team.
42089
42090 2013-03-05  Andreas Jaeger  <aj@suse.de>
42091
42092         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42093         <bits/mman-linux.h>.
42094         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42095         is fine.
42096         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42097         <bits/mman-linux.h> to end of file.
42098         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42099         is fine.
42100         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42101         <bits/mman-linux.h> to end of file.
42102         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42103         is fine.
42104         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42105         <bits/mman-linux.h> to end of file.
42106
42107         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42108         (MCL_CURRENT, MCL_FUTURE): Define here.
42109
42110 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42111
42112         [BZ #15232]
42113         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42114         attribute_hidden.
42115         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42116
42117 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42118
42119         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42120         fourth parameter needed for rt_sigprocmask syscall.
42121         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42122         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42123         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42124         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42125         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42126         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42127
42128 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42129
42130         [BZ #13550]
42131         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42132         comment about bounded pointers.
42133         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42134         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42135
42136 2013-03-04  Andreas Jaeger  <aj@suse.de>
42137
42138         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42139         common definitions.
42140
42141         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42142         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42143         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42144         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42145         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42146         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42147
42148 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42149
42150         [BZ #15055]
42151         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42152         __ieee754_sqrl instead of __sqrl.
42153
42154 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42155
42156         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42157         * sysdeps/powerpc/fpu_control.h: ... here.
42158         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42159         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42160         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42161         * sysdeps/powerpc/bits/mathinline.h: ... here.
42162
42163 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42164
42165         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42166         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42167         to just [NEED_DL_SYSINFO_DSO].
42168         * elf/dl-support.c: Likewise.
42169         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42170         * elf/rtld.c (dl_main): Likewise.
42171         * elf/setup-vdso.h (setup_vdso): Likewise.
42172         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42173         * sysdeps/unix/sysv/linux/dl-sysdep.c
42174         (_dl_discover_osversion): Likewise.
42175
42176 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42177
42178         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
42179         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42180
42181 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42182
42183         * NEWS: Mention libm performance improvements and non-x86 PI
42184         futex support.
42185
42186         * csu/libc-start.c (__pthread_initialize_minimal): Change
42187         function arguments.
42188         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42189
42190 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
42191
42192         [BZ #13550]
42193         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
42194         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42195         <bp-sym.h> and <bp-asm.h>.
42196         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42197         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
42198         and <bp-asm.h>.
42199         (memcpy): Don't use BP_SYM.
42200         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
42201         <bp-asm.h>.
42202         (__mpn_add_n): Don't use BP_SYM.
42203         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
42204         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
42205         and <bp-asm.h>.
42206         (__mpn_addmul_1): Don't use BP_SYM.
42207         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42208         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
42209         <bp-sym.h>.
42210         (_setjmp): Don't use BP_SYM.
42211         (__novmx_setjmp): Likewise.
42212         (__GI__setjmp): Likewise.
42213         (__vmx_setjmp): Likewise.
42214         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
42215         <bp-sym.h>.
42216         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42217         (__bzero): Don't use BP_SYM.
42218         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42219         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42220         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
42221         <bp-sym.h> and <bp-asm.h>.
42222         (memcpy): Don't use BP_SYM.
42223         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
42224         <bp-sym.h> and <bp-asm.h>.
42225         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42226         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
42227         <bp-sym.h> and <bp-asm.h>.
42228         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42229         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
42230         <bp-asm.h>.
42231         (__mpn_lshift): Don't use BP_SYM.
42232         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42233         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
42234         <bp-asm.h>.
42235         (memset): Don't use BP_SYM.
42236         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42237         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42238         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
42239         <bp-asm.h>.
42240         (__mpn_mul_1): Don't use BP_SYM.
42241         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42242         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
42243         <bp-sym.h> and <bp-asm.h>.
42244         (memcmp): Don't use BP_SYM.
42245         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
42246         <bp-sym.h> and <bp-asm.h>.
42247         (memcpy): Don't use BP_SYM.
42248         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
42249         <bp-sym.h> and <bp-asm.h>.
42250         (memset): Don't use BP_SYM.
42251         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
42252         <bp-sym.h> and <bp-asm.h>.
42253         (strncmp): Don't use BP_SYM.
42254         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
42255         <bp-sym.h> and <bp-asm.h>.
42256         (memcpy): Don't use BP_SYM.
42257         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
42258         <bp-sym.h> and <bp-asm.h>.
42259         (memset): Don't use BP_SYM.
42260         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
42261         <bp-sym.h> and <bp-asm.h>.
42262         (__memchr): Don't use BP_SYM.
42263         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
42264         <bp-sym.h> and <bp-asm.h>.
42265         (memcmp): Don't use BP_SYM.
42266         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
42267         <bp-sym.h> and <bp-asm.h>.
42268         (memcpy): Don't use BP_SYM.
42269         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
42270         <bp-sym.h> and <bp-asm.h>.
42271         (__mempcpy): Don't use BP_SYM.
42272         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
42273         <bp-sym.h> and <bp-asm.h>.
42274         (__memrchr): Don't use BP_SYM.
42275         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
42276         <bp-sym.h> and <bp-asm.h>.
42277         (memset): Don't use BP_SYM.
42278         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
42279         <bp-sym.h> and <bp-asm.h>.
42280         (__rawmemchr): Don't use BP_SYM.
42281         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
42282         <bp-sym.h> and <bp-asm.h>.
42283         (__STRCMP): Don't use BP_SYM.
42284         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
42285         <bp-sym.h> and <bp-asm.h>.
42286         (strchr): Don't use BP_SYM.
42287         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
42288         <bp-sym.h> and <bp-asm.h>.
42289         (__strchrnul): Don't use BP_SYM.
42290         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
42291         <bp-sym.h> and <bp-asm.h>.
42292         (strlen): Don't use BP_SYM.
42293         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
42294         <bp-sym.h> and <bp-asm.h>.
42295         (strncmp): Don't use BP_SYM.
42296         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
42297         <bp-sym.h> and <bp-asm.h>.
42298         (__strnlen): Don't use BP_SYM.
42299         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
42300         <bp-asm.h>.
42301         (__mpn_rshift): Don't use BP_SYM.
42302         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42303         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
42304         <bp-sym.h> and <bp-asm.h>.
42305         (__sigsetjmp): Don't use BP_SYM.
42306         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
42307         (L(start_addresses)): Don't use BP_SYM.
42308         (_start): Likewise.
42309         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
42310         <bp-asm.h>.
42311         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
42312         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42313         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42314         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
42315         <bp-asm.h>.
42316         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
42317         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42318         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42319         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
42320         <bp-asm.h>.
42321         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42322         comments.
42323         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42324         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
42325         <bp-asm.h>.
42326         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
42327         FIXME comments.
42328         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42329         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42330         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
42331         <bp-asm.h>.
42332         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42333         comment.
42334         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
42335         and <bp-asm.h>.
42336         (strncmp): Don't use BP_SYM,
42337         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
42338         <bp-asm.h>.
42339         (__mpn_sub_n): Don't use BP_SYM.
42340         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42341         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
42342         and <bp-asm.h>.
42343         (__mpn_submul_1): Don't use BP_SYM.
42344         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
42346         <bp-sym.h> and <bp-asm.h>.
42347         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
42349         <bp-sym.h> and <bp-asm.h>.
42350         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42351         comment.
42352
42353 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42354
42355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
42356         Use ZK to minimize writes to Z.
42357         (sub_magnitudes): Simplify code a bit.
42358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
42359         Use ZK to minimize writes to Z.
42360         (sub_magnitudes): Simplify code a bit.
42361
42362 2013-02-27  Roland McGrath  <roland@hack.frob.com>
42363
42364         * csu/gmon-start.c: Add special exception to license text.
42365
42366 2013-02-27  Richard Henderson  <rth@redhat.com>
42367
42368         * scripts/config.guess: Update from config.git.
42369         * scripts/config.sub: Likewise.
42370
42371 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42372
42373         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
42374
42375         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
42376
42377         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
42378
42379         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
42380
42381         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
42382
42383 2013-02-26  Roland McGrath  <roland@hack.frob.com>
42384
42385         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
42386         [$(build-shared = yes].
42387
42388 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42389
42390         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
42391         (__mul): Reduce iterations for calculating mantissa.
42392
42393         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42394         MPTWO.
42395         (__mpranred): Likewise.
42396
42397         [BZ #15160]
42398         * malloc/memusagestat.c (main): Draw graphs for heap and stack
42399         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
42400
42401 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
42402
42403         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
42404         Define __attribute__.
42405
42406 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42407
42408         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
42409         unused.
42410         * posix/regex_internal.h (__attribute): Remove.
42411         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42412         (re_string_context_at): Likewise.
42413         (bitset_not): Use __attribute__ and mark function as possibly
42414         unused.
42415         (bitset_merge): Likewise.
42416         (bitset_mask): Likewise.
42417         (re_string_char_size_at): Likewise.
42418         (re_string_wchar_at): Likewise.
42419         (re_string_elem_size_at): Likewise.
42420
42421 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42422
42423         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
42424         code.
42425         (cc32): Likewise.
42426
42427         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
42428         (__acr): Likewise.
42429         (__cpy): Likewise.
42430         (norm): Likewise.
42431         (denorm): Likewise.
42432         (__dbl_mp): Likewise.
42433         (add_magnitudes): Likewise.
42434         (sub_magnitudes): Likewise.
42435         (__mul): Likewise.
42436         (__inv): Likewise.
42437
42438         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
42439         style.
42440
42441         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42442         style.
42443
42444         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42445         code.
42446
42447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
42448         up changes with default code.
42449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
42450         Likewise.
42451
42452 2013-02-24  Allan McRae  <allan@archlinux.org>
42453
42454         * manual/socket.texi (The Internet Namespace): Order menu items
42455         to match that in the file.
42456
42457         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
42458         node listing of the info page menu.
42459
42460 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
42461
42462         [BZ #13550]
42463         * sysdeps/i386/bp-asm.h: Remove file.
42464         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42465         (PARMS): Do not use macros from bp-asm.h.
42466         (S1): Likewise.
42467         (S2): Likewise.
42468         (SIZE): Likewise.
42469         (__mpn_add_n): Do not use BP_SYM
42470         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
42471         "bp-asm.h".
42472         (PARMS): Do not use macros from bp-asm.h.
42473         (S1): Likewise.
42474         (SIZE): Likewise.
42475         (__mpn_addmul_1): Do not use BP_SYM
42476         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
42477         "bp-asm.h".
42478         (PARMS): Do not use macros from bp-asm.h.
42479         (SIGMSK): Likewise.
42480         (_setjmp): Likewise.  Do not use BP_SYM.
42481         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
42482         "bp-asm.h".
42483         (PARMS): Do not use macros from bp-asm.h.
42484         (SIGMSK): Likewise.
42485         (setjmp): Likewise.  Do not use BP_SYM.
42486         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
42487         "bp-asm.h".
42488         (PARMS): Do not use macros from bp-asm.h.
42489         (__frexp): Do not use BP_SYM.
42490         (frexp): Likewise.
42491         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
42492         "bp-asm.h".
42493         (PARMS): Do not use macros from bp-asm.h.
42494         (__frexpf): Do not use BP_SYM.
42495         (frexpf): Likewise.
42496         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
42497         "bp-asm.h".
42498         (PARMS): Do not use macros from bp-asm.h.
42499         (__frexpl): Do not use BP_SYM.
42500         (frexpl): Likewise.
42501         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
42502         "bp-asm.h".
42503         (PARMS): Do not use macros from bp-asm.h.
42504         (__remquo): Do not use BP_SYM.
42505         (remquo): Likewise.
42506         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
42507         "bp-asm.h".
42508         (PARMS): Do not use macros from bp-asm.h.
42509         (__remquof): Do not use BP_SYM.
42510         (remquof): Likewise.
42511         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
42512         "bp-asm.h".
42513         (PARMS): Do not use macros from bp-asm.h.
42514         (__remquol): Do not use BP_SYM.
42515         (remquol): Likewise.
42516         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
42517         "bp-asm.h".
42518         (PARMS): Do not use macros from bp-asm.h.
42519         (DEST): Likewise.
42520         (SRC): Likewise.
42521         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
42522         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
42523         "bp-asm.h".
42524         (PARMS): Do not use macros from bp-asm.h.
42525         (strlen): Do not use BP_SYM.
42526         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
42527         "bp-asm.h".
42528         (PARMS): Do not use macros from bp-asm.h.
42529         (S1): Likewise.
42530         (S2): Likewise.
42531         (SIZE): Likewise.
42532         (__mpn_add_n): Do not use BP_SYM.
42533         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
42534         "bp-asm.h".
42535         (PARMS): Do not use macros from bp-asm.h.
42536         (S1): Likewise.
42537         (SIZE): Likewise.
42538         (__mpn_addmul_1): Do not use BP_SYM.
42539         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
42540         weak_alias.
42541         (bzero): Likewise.
42542         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
42543         "bp-asm.h".
42544         (PARMS): Do not use macros from bp-asm.h.
42545         (S): Likewise.
42546         (SIZE): Likewise.
42547         (__mpn_lshift): Do not use BP_SYM.
42548         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
42549         "bp-asm.h".
42550         (PARMS): Do not use macros from bp-asm.h.
42551         (DEST): Likewise.
42552         (SRC): Likewise.
42553         (LEN): Likewise.
42554         (memcpy): Likewise.  Do not use BP_SYM.
42555         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
42556         libc_hidden_def and weak_alias.
42557         (mempcpy): Do not use BP_SYM in weak_alias.
42558         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
42559         "bp-asm.h".
42560         (PARMS): Do not use macros from bp-asm.h.
42561         (DEST): Likewise.
42562         (LEN): Likewise.
42563         [!BZERO_P] (CHR): Likewise.
42564         (memset): Likewise.  Do not use BP_SYM.
42565         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
42566         "bp-asm.h".
42567         (PARMS): Do not use macros from bp-asm.h.
42568         (S1): Likewise.
42569         (SIZE): Likewise.
42570         (__mpn_mul_1): Do not use BP_SYM.
42571         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
42572         "bp-asm.h".
42573         (PARMS): Do not use macros from bp-asm.h.
42574         (S): Likewise.
42575         (SIZE): Likewise.
42576         (__mpn_rshift): Do not use BP_SYM.
42577         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
42578         "bp-asm.h".
42579         (PARMS): Do not use macros from bp-asm.h.
42580         (STR): Likewise.
42581         (CHR): Likewise.
42582         (strchr): Likewise.  Do not use BP_SYM.
42583         (index): Do not use BP_SYM in weak_alias.
42584         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
42585         "bp-asm.h".
42586         (PARMS): Do not use macros from bp-asm.h.
42587         (DEST): Likewise.
42588         (SRC): Likewise.
42589         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
42590         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
42591         "bp-asm.h".
42592         (PARMS): Do not use macros from bp-asm.h.
42593         (strlen): Do not use BP_SYM.
42594         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
42595         "bp-asm.h".
42596         (PARMS): Do not use macros from bp-asm.h.
42597         (S1): Likewise.
42598         (S2): Likewise.
42599         (SIZE): Likewise.
42600         (__mpn_sub_n): Do not use BP_SYM.
42601         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
42602         "bp-asm.h".
42603         (PARMS): Do not use macros from bp-asm.h.
42604         (S1): Likewise.
42605         (SIZE): Likewise.
42606         (__mpn_submul_1): Do not use BP_SYM.
42607         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
42608         "bp-asm.h".
42609         (PARMS): Do not use macros from bp-asm.h.
42610         (S1): Likewise.
42611         (S2): Likewise.
42612         (SIZE): Likewise.
42613         (__mpn_add_n): Do not use BP_SYM.
42614         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
42615         weak_alias.
42616         (bzero): Likewise.
42617         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
42618         "bp-asm.h".
42619         (PARMS): Do not use macros from bp-asm.h.
42620         (BLK2): Likewise.
42621         (LEN): Likewise.
42622         (memcmp): Do not use BP_SYM.
42623         (bcmp): Do not use BP_SYM in weak_alias.
42624         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
42625         "bp-asm.h".
42626         (PARMS): Do not use macros from bp-asm.h.
42627         (DEST): Likewise.
42628         (SRC): Likewise.
42629         (LEN): Likewise.
42630         (memcpy): Likewise.  Do not use BP_SYM.
42631         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
42632         "bp-asm.h".
42633         (PARMS): Do not use macros from bp-asm.h.
42634         (DEST): Likewise.
42635         (SRC): Likewise.
42636         (LEN): Likewise.
42637         (memmove): Likewise.  Do not use BP_SYM.
42638         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
42639         "bp-asm.h".
42640         (PARMS): Do not use macros from bp-asm.h.
42641         (DEST): Likewise.
42642         (SRC): Likewise.
42643         (LEN): Likewise.
42644         (__mempcpy): Likewise.  Do not use BP_SYM.
42645         (mempcpy): Do not use BP_SYM in weak_alias.
42646         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
42647         "bp-asm.h".
42648         (PARMS): Do not use macros from bp-asm.h.
42649         (DEST): Likewise.
42650         (LEN): Likewise.
42651         [!BZERO_P] (CHR): Likewise.
42652         (memset): Likewise.  Do not use BP_SYM.
42653         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
42654         "bp-asm.h".
42655         (PARMS): Do not use macros from bp-asm.h.
42656         (STR2): Likewise.
42657         (strcmp): Do not use BP_SYM.
42658         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
42659         "bp-asm.h".
42660         (PARMS): Do not use macros from bp-asm.h.
42661         (STR): Likewise.
42662         (DELIM): Likewise.
42663         [USE_AS_STRTOK_R] (SAVE): Likewise.
42664         (FUNCTION): Likewise.  Do not use BP_SYM.
42665         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
42666         aliases.
42667         (strtok_r): Likewise.
42668         (__GI___strtok_r): Likewise.
42669         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42670         (PARMS): Do not use macros from bp-asm.h.
42671         (S): Likewise.
42672         (SIZE): Likewise.
42673         (__mpn_lshift): Do not use BP_SYM.
42674         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42675         (PARMS): Do not use macros from bp-asm.h.
42676         (STR): Likewise.
42677         (CHR): Likewise.
42678         (__memchr): Do not use BP_SYM.
42679         (memchr): Do not use BP_SYM in weak_alias.
42680         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42681         (PARMS): Do not use macros from bp-asm.h.
42682         (BLK2): Likewise.
42683         (LEN): Likewise.
42684         (memcmp): Do not use BP_SYM.
42685         (bcmp): Do not use BP_SYM in weak_alias.
42686         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
42687         (PARMS): Do not use macros from bp-asm.h.
42688         (S1): Likewise.
42689         (SIZE): Likewise.
42690         (__mpn_mul_1): Do not use BP_SYM.
42691         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
42692         "bp-asm.h".
42693         (PARMS): Do not use macros from bp-asm.h.
42694         (STR): Likewise.
42695         (CHR): Likewise.
42696         (__rawmemchr): Do not use BP_SYM.
42697         (rawmemchr): Do not use BP_SYM in weak_alias.
42698         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42699         (PARMS): Do not use macros from bp-asm.h.
42700         (S): Likewise.
42701         (SIZE): Likewise.
42702         (__mpn_rshift): Do not use BP_SYM.
42703         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42704         (PARMS): Do not use macros from bp-asm.h.
42705         (SIGMSK): Likewise.
42706         (__sigsetjmp): Likewise.  Do not use BP_SYM.
42707         * sysdeps/i386/start.S: Do not include "bp-sym.h".
42708         (_start): Do not use BP_SYM.
42709         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
42710         (PARMS): Do not use macros from bp-asm.h.
42711         (DEST): Likewise.
42712         (SRC): Likewise.
42713         (__stpcpy): Likewise.  Do not use BP_SYM.
42714         (stpcpy): Do not use BP_SYM in weak_alias.
42715         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
42716         "bp-asm.h".
42717         (PARMS): Do not use macros from bp-asm.h.
42718         (DEST): Likewise.
42719         (SRC): Likewise.
42720         (LEN): Likewise.
42721         (__stpncpy): Likewise.  Do not use BP_SYM.
42722         (stpncpy): Do not use BP_SYM in weak_alias.
42723         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42724         (PARMS): Do not use macros from bp-asm.h.
42725         (STR): Likewise.
42726         (CHR): Likewise.
42727         (strchr): Likewise.  Do not use BP_SYM.
42728         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
42729         "bp-asm.h".
42730         (PARMS): Do not use macros from bp-asm.h.
42731         (STR): Likewise.
42732         (CHR): Likewise.
42733         (__strchrnul): Likewise.  Do not use BP_SYM.
42734         (strchrnul): Do not use BP_SYM in weak_alias.
42735         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
42736         "bp-asm.h".
42737         (PARMS): Do not use macros from bp-asm.h.
42738         (STOP): Likewise.
42739         (strcspn): Do not use BP_SYM.
42740         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
42741         "bp-asm.h".
42742         (PARMS): Do not use macros from bp-asm.h.
42743         (STR): Likewise.
42744         (STOP): Likewise.
42745         (strpbrk): Likewise.  Do not use BP_SYM.
42746         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
42747         "bp-asm.h".
42748         (PARMS): Do not use macros from bp-asm.h.
42749         (STR): Likewise.
42750         (CHR): Likewise.
42751         (strrchr): Likewise.  Do not use BP_SYM.
42752         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
42753         (PARMS): Do not use macros from bp-asm.h.
42754         (SKIP): Likewise.
42755         (strspn): Do not use BP_SYM.
42756         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
42757         (PARMS): Do not use macros from bp-asm.h.
42758         (STR): Likewise.
42759         (DELIM): Likewise.
42760         (SAVE): Likewise.
42761         (FUNCTION): Likewise.  Do not use BP_SYM.
42762         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
42763         aliases.
42764         (strtok_r): Likewise.
42765         (__GI___strtok_r): Likewise.
42766         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42767         (PARMS): Do not use macros from bp-asm.h.
42768         (S1): Likewise.
42769         (S2): Likewise.
42770         (SIZE): Likewise.
42771         (__mpn_sub_n): Do not use BP_SYM.
42772         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
42773         "bp-asm.h".
42774         (PARMS): Do not use macros from bp-asm.h.
42775         (S1): Likewise.
42776         (SIZE): Likewise.
42777         (__mpn_submul_1): Do not use BP_SYM.
42778         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
42779         <bp-sym.h>.
42780         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
42781         and <bp-asm.h>.
42782         (PARMS): Do not use macros from bp-asm.h.
42783         (FLAGS): Likewise.
42784         (PTID): Likewise.
42785         (TLS): Likewise.
42786         (CTID): Likewise.
42787         (__clone): Do not use BP_SYM.
42788         (clone): Do not use BP_SYM in weak_alias.
42789         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
42790         and <bp-asm.h>.
42791         (PARMS): Do not use macros from bp-asm.h.
42792         (LEN): Likewise.
42793         (__mmap64): Do not use BP_SYM.
42794         (mmap64): Do not use BP_SYM in weak_alias.
42795         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42796         <bp-sym.h> and <bp-asm.h>.
42797         (PARMS): Do not use macros from bp-asm.h.
42798         (__posix_fadvise64_l64): Do not use BP_SYM.
42799         * sysdeps/unix/sysv/linux/i386/semtimedop.S
42800         (PARMS): Do not use macros from bp-asm.h.
42801         (NSOPS): Likewise.
42802         (semtimedop): Do not use BP_SYM.
42803         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
42804         and <bp-asm.h>.
42805
42806 2013-02-21  Allan McRae  <allan@archlinux.org>
42807
42808         * manual/message.texi (Charset conversion in gettext):
42809         Move @end statement to beginning of line.
42810
42811 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42812
42813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
42814         static.
42815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42816         Likewise.
42817
42818         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
42819         (denorm): Likewise.
42820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
42821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
42822
42823 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42824
42825         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
42826         tail-call to the resolved function if pltexit isn't needed.
42827
42828 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42829
42830         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
42831         or Y being zero as being unlikely.
42832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42833         Likewise.
42834
42835 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
42836
42837         * manual/nss.texi (System Databases and Name Service Switch):
42838         Remove frobnicate @pxref.
42839
42840 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
42841
42842         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42843         __attribute__ ((unused)) to __attribute__ ((__unused__)).
42844
42845 2013-02-20  Petr Machata  <pmachata@redhat.com>
42846
42847         * elf/elf.h (R_ARM_TARGET1): New macro.
42848         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
42849         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
42850         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
42851         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
42852         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
42853         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
42854         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
42855         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
42856         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
42857         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
42858         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
42859         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
42860         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
42861         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
42862         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
42863         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
42864         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
42865         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
42866         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
42867         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
42868         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
42869         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
42870         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
42871         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
42872         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
42873         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
42874         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
42875         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
42876         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
42877         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
42878         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
42879         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
42880         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
42881         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
42882         (R_ARM_THM_GOT_BREL12): Likewise.
42883         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
42884         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
42885         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
42886         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
42887         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
42888         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
42889         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
42890         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
42891         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
42892
42893 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
42894
42895         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42896         __attribute_used__ to __attribute__ ((unused)).
42897
42898 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42899
42900         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
42901         powerpc mpa.c.
42902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
42903         comment formatting.
42904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
42905
42906 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
42907
42908         [BZ #13550]
42909         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
42910         Remove macro.
42911         (ENTER): Remove both macro definitions.
42912         (LEAVE): Likewise.
42913         (CHECK_BOUNDS_LOW): Likewise.
42914         (CHECK_BOUNDS_HIGH): Likewise.
42915         (CHECK_BOUNDS_BOTH): Likewise.
42916         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
42917         (RETURN_BOUNDED_POINTER): Likewise.
42918         (RETURN_NULL_BOUNDED_POINTER): Likewise.
42919         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
42920         (POP_ERRNO_LOCATION_RETURN): Likewise.
42921         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
42922         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42923         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
42924         macros.
42925         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42926         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
42927         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
42928         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
42929         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
42930         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
42931         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
42932         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
42933         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
42934         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
42935         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
42936         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
42937         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42938         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
42939         removed macros.
42940         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42941         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
42942         macros.
42943         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42944         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
42945         * sysdeps/i386/i586/memset.S (memset): Likewise.
42946         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
42947         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42948         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
42949         macros.
42950         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42951         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
42952         Change uses of L(2) to L(out).
42953         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
42954         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
42955         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
42956         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42957         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
42958         removed macros.
42959         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42960         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
42961         macros.
42962         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42963         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
42964         (RETURN): Do not use macro LEAVE.
42965         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
42966         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
42967         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
42968         * sysdeps/i386/i686/memset.S (memset): Likewise.
42969         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
42970         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
42971         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42972         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
42973         Likewise.
42974         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42975         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
42976         L(1_2) and L(1_3) into L(1).
42977         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
42978         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
42979         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42980         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
42981         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42982         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
42983         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
42984         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42985         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
42986         macros.
42987         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
42988         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42989         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
42990         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
42991         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
42992         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42993         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
42994         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
42995         * sysdeps/i386/strcspn.S (strcspn): Likewise.
42996         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
42997         * sysdeps/i386/strrchr.S (strrchr): Likewise.
42998         * sysdeps/i386/strspn.S (strspn): Likewise.
42999         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
43000         conditional code.
43001         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43002         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43003         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43004         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43005         L(1_3) into L(1_1).
43006         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43007         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43008         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43009         macros.
43010         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43011
43012 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43013
43014         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43015         macro.
43016
43017 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43018
43019         * math/atest-exp.c (exp_mpn): Remove ROUND.
43020         * math/atest-exp2.c (exp_mpn): Likewise.
43021         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43022
43023         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43024         * stdlib/tst-tls-atexit-lib.c: Likewise.
43025         * stdlib/tst-tls-atexit.c: Likewise.
43026
43027 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43028
43029         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43030         and __attribute_alloc_size__.
43031
43032 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43033
43034         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43035         __attribute_alloc_size__.
43036         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43037         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43038
43039 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43040
43041         * include/programs/xmalloc.h: New file.
43042         * catgets/gencat.c: Include it.
43043         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43044         * elf/pldd.c: Likewise.
43045         * iconv/iconv_charmap.c: Likewise.
43046         * iconv/iconvconfig.c: Likewise.
43047         * iconv/strtab.c: Likewise.
43048         * locale/programs/locale.c: Likewise.
43049         * locale/programs/localedef.h: Likewise.
43050         * locale/programs/simple-hash.c: Likewise.
43051         * nscd/nscd.h: Likewise.
43052         * nss/makedb.c: Likewise.
43053         * sysdeps/generic/ldconfig.h: Likewise.
43054
43055 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43056
43057         * Versions.def: Add GLIBC_2.18.
43058         * include/link.h (struct link_map): New member l_tls_dtor_count.
43059         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43060         (__call_tls_dtors): Likewise.
43061         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43062         __cxa_thread_atexit_impl.
43063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43064         Likewise.
43065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43066         Likewise.
43067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43068         Likewise.
43069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43070         Likewise.
43071         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43073         Likewise.
43074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43075         Likewise.
43076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43078         Likewise.
43079         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43080         (tests): Add test case tst-tls-atexit.
43081         (modules-names): Add shared library for tst-tls-atexit.
43082         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43083         (GLIBC_PRIVATE): Add __call_tls_dtors.
43084         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43085         for libstdc++.
43086         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43087         * stdlib/tst-tls-atexit.c: New test case.
43088         * stdlib/tst-tls-atexit-lib.c: New test case.
43089
43090         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43091
43092         * elf/Versions (ld): Add _dl_find_dso_for_object.
43093         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43094         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43095         (dl_open_worker): Use _dl_find_dso_for_object.
43096         * elf/dl-sym.c (do_sym): Likewise.
43097         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43098
43099 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43100
43101         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43102         Syntactic changes only.
43103         (_dl_runtime_profile): Do a tail-call to the resolved function.
43104
43105 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43106
43107         [BZ #13550]
43108         * sysdeps/x86_64/bp-asm.h: Remove file.
43109         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43110         <bp-sym.h> and <bp-asm.h>.
43111         (__clone): Do not use BP_SYM.
43112         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43113         <bp-sym.h> and <bp-asm.h>.
43114         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43115         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43116         "bp-asm.h".
43117         (_setjmp): Do not use BP_SYM.
43118         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
43119         "bp-asm.h".
43120         (setjmp): Do not use BP_SYM.
43121         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
43122         libc_hidden_def.
43123         (mempcpy): Do not use BP_SYM in weak_alias.
43124         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43125         "bp-asm.h".
43126         (strchr): Do not use BP_SYM.
43127         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43128         "bp-asm.h".
43129         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43130         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43131         (_start): Do not use BP_SYM.
43132         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43133         "bp-asm.h".
43134         (strcat): Do not use BP_SYM.
43135         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43136         "bp-asm.h".
43137         (STRCMP): Do not use BP_SYM.
43138         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43139         "bp-asm.h".
43140         (STRCPY): Do not use BP_SYM.
43141         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43142         "bp-asm.h".
43143         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43144         "bp-asm.h".
43145         (FUNCTION): Do not use BP_SYM.
43146         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43147         weak_alias.
43148         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43149
43150 2013-02-17  Andreas Jaeger  <aj@suse.de>
43151
43152         * time/Versions: Sort entries.
43153         * string/Versions: Likewise.
43154         * resolv/Versions: Likewise.
43155         * posix/Versions: Likewise.
43156         * iconv/Versions: Likewise.
43157         * elf/Versions: Likewise.
43158         * wcsmbs/Versions: Likewise.
43159
43160 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43161
43162         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43163         loop termination condition.
43164
43165         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43166         variable to calculate EZ.
43167         (__sqr): Likewise.
43168
43169         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43170         the lower precision input.
43171
43172 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43173
43174         [BZ #13550]
43175         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43176         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43177         (run-via-rtld-prefix): Do not handle %-bp tests.
43178         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
43179         (all-object-suffixes): Remove .ob.
43180         (bppfx): Remove variable.
43181         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
43182         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
43183         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
43184         [$(build-bounded) = yes] (libtype.ob): Likewise.
43185         * Makerules (elide-routines.ob): Remove variable.
43186         (do-tests-clean): Do not handle *-bp.out.
43187         (common-mostlyclean): Do not handle *-bp and *-bp.out.
43188         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
43189         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
43190         (tests): Do not include $(tests-bp.out).
43191         (xtests): Do not include $(xtests-bp.out).
43192         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
43193         [$(build-bounded) = yes] ($(addprefix
43194         $(objpfx),$(binaries-bounded))): Remove rule.
43195         ($(objpfx)%-bp.out): Remove rule.
43196         * config.make.in (build-bounded): Remove variable.
43197         * crypt/Makefile [$(build-bounded) = yes]
43198         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
43199         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
43200         append to variable.
43201         [$(build-bounded) = yes] (install-lib): Likewise.
43202         [$(build-bounded) = yes] (generated): Likewise.
43203         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
43204         Remove rule.
43205         * intl/Makefile [$(build-bounded) = yes]
43206         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
43207         * math/Makefile [$(build-bounded) = yes]
43208         ($(tests:%=$(objpfx)%-bp): Likewise.
43209         * misc/Makefile [$(build-bounded) = yes]
43210         ($(objpfx)tst-tsearch-bp): Likewise.
43211         * nptl/Makeconfig (bounded-thread-library): Remove variable.
43212         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
43213         Remove dependency.
43214         * string/Makefile (o-objects.ob): Remove variable.
43215         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
43216         (CFLAGS-.ob): Remove variable.
43217         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
43218         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
43219         both definitions of variable.
43220         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
43221         (ASFLAGS-.ob): Remove variable.
43222
43223 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
43224
43225         [BZ #13550]
43226         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
43227         Remove __BOUNDED_POINTERS__ from condition.
43228         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
43229         * string/bits/string2.h [!__NO_STRING_INLINES &&
43230         !__BOUNDED_POINTERS__]: Likewise.
43231         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
43232         Likewise.
43233         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
43234         Remove conditional code.
43235         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
43236         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
43237         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
43238         condition.
43239
43240         [BZ #13550]
43241         * csu/libc-start.c: Do not include <bp-sym.h>.
43242         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
43243         * elf/dl-open.c: Do not include <bp-sym.h>.
43244         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
43245         * math/fegetenv.c: Do not include <bp-sym.h>.
43246         (fegetenv): Do not use BP_SYM in versioned symbols.
43247         * nptl/sysdeps/pthread/bits/libc-lockP.h
43248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
43249         <bp-sym.h>.
43250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43251         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
43252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43253         (__pthread_mutex_destroy): Likewise.
43254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43255         (__pthread_mutex_lock): Likewise.
43256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43257         (__pthread_mutex_trylock): Likewise.
43258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43259         (__pthread_mutex_unlock): Likewise.
43260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43261         (__pthread_mutexattr_init): Likewise.
43262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43263         (__pthread_mutexattr_destroy): Likewise.
43264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43265         (__pthread_mutexattr_settype): Likewise.
43266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43267         (__pthread_rwlock_init): Likewise.
43268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43269         (__pthread_rwlock_destroy): Likewise.
43270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43271         (__pthread_rwlock_rdlock): Likewise.
43272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43273         (__pthread_rwlock_tryrdlock): Likewise.
43274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43275         (__pthread_rwlock_wrlock): Likewise.
43276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43277         (__pthread_rwlock_trywrlock): Likewise.
43278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43279         (__pthread_rwlock_unlock): Likewise.
43280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43281         (__pthread_key_create): Likewise.
43282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43283         (__pthread_setspecific): Likewise.
43284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43285         (__pthread_getspecific): Likewise.
43286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
43287         Likewise.
43288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43289         (_pthread_cleanup_push_defer): Likewise.
43290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43291         (_pthread_cleanup_pop_restore): Likewise.
43292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43293         (pthread_setcancelstate): Likewise.
43294         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
43295         <bp-sym.h>.
43296         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
43297         (memchr): Do not use BP_SYM in weak_alias.
43298         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
43299         (fegetenv): Do not use BP_SYM in versioned symbols.
43300         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
43301         (fesetenv): Do not use BP_SYM in versioned symbols.
43302         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43303         (feupdateenv): Do not use BP_SYM in versioned symbols.
43304         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43305         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43306         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
43307         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
43308         (open64): Do not use BP_SYM in weak_alias.
43309         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
43310         (fegetenv): Do not use BP_SYM in versioned symbols.
43311         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
43312         (fesetenv): Do not use BP_SYM in versioned symbols.
43313         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43314         (feupdateenv): Do not use BP_SYM in versioned symbols.
43315         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
43316         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
43317         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
43318         (feraiseexcept): Do not use BP_SYM in versioned symbols.
43319         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43320         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43321         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
43322         <bp-sym.h>.
43323         (__libc_start_main): Do not use BP_SYM.
43324
43325 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43326
43327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
43328         redundant return line.
43329         (norm): Likewise.
43330         (denorm): Likewise.
43331         (dbl_mp): Likewise.
43332         (sub_magnitudes): Likewise.
43333         (__add): Likewise.
43334         (__sub): Likewise.
43335         (__mul): Likewise.
43336         (__inv): Likewise.
43337         (__dvd): Likewise.
43338         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
43339         (norm): Likewise.
43340         (denorm): Likewise.
43341         (dbl_mp): Likewise.
43342         (sub_magnitudes): Likewise.
43343         (__add): Likewise.
43344         (__sub): Likewise.
43345         (__mul): Likewise.
43346         (__inv): Likewise.
43347         (__dvd): Likewise.
43348
43349         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
43350         instead of __mul.
43351         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43352         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
43353         (cc32): Likewise.
43354
43355         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
43356         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
43357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
43358         of __mul for squares.
43359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
43360         function
43361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
43362         Likewise.
43363         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
43364         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43365
43366 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
43367
43368         [BZ #13550]
43369         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
43370         code.
43371         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
43372         prototype or function definition.  Rename ubp_* variables and
43373         parameters.  Remove argv definitions conditional on
43374         [__BOUNDED_POINTERS__].
43375         * debug/backtrace.c (__backtrace): Do not use __unbounded.
43376         * elf/dl-runtime.c (_dl_fixup): Likewise.
43377         * include/set-hooks.h (RUN_HOOK): Likewise.
43378         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
43379         definition.
43380         * string/strcpy.c (strcpy): Do not use __unbounded.
43381         * sysdeps/generic/frame.h (struct layout): Likewise.
43382         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
43383         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
43384         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
43385         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
43386         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
43387         (__backtrace): Likewise.
43388         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
43389         use __ptrvalue.
43390         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
43391         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43392         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
43393         Likewise.
43394         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
43395         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
43396         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43397         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43398         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
43399         Do not use __unbounded.
43400         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
43401         Rename __unboundedrlimits parameter to rlimits in prototype.
43402         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
43403         Do not use __unbounded.
43404         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
43405         not use __ptrvalue.
43406         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43407         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43408         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43409         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
43410         __ptrvalue or __unbounded.
43411         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
43412         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
43413         use __unbounded.
43414         (__new_msgctl): Do not use __ptrvalue.
43415         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
43416         __unbounded.
43417         (__libc_msgrcv): Do not use __ptrvalue.
43418         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
43419         startup_info): Do not use __unbounded.
43420         (__libc_start_main): Likewise.  Rename ubp_* variables and
43421         parameters.  Remove argv definitions conditional on
43422         [__BOUNDED_POINTERS__].
43423         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
43424         __ptrvalue.
43425         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
43426         use __unbounded.
43427         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
43428         or __ptrvalue.
43429         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
43430         use __unbounded.
43431         (__new_shmctl): Do not use __ptrvalue.
43432         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
43433         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
43434         Likewise.
43435         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
43436         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
43437         (__libc_sigaction): Likewise.
43438         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
43439         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
43440         Likewise.
43441         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43442
43443 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
43444
43445         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
43446
43447         * string/mempcpy.c: Implement by calling memcpy.
43448
43449 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43450
43451         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
43452
43453         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
43454         evaluation.
43455
43456         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
43457         values in the mantissa.
43458
43459         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
43460         minimize writes to Z.
43461         (sub_magnitudes): Simplify code a bit.
43462
43463 2013-02-12  Roland McGrath  <roland@hack.frob.com>
43464
43465         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
43466         from the message.  The linker prefixes all warnings with that already.
43467
43468 2013-02-12  Andreas Schwab  <schwab@suse.de>
43469
43470         [BZ #15078]
43471         * posix/regexec.c (extend_buffers): Add parameter min_len.
43472         (check_matching): Pass minimum needed length.
43473         (clean_state_log_if_needed): Likewise.
43474         (get_subexp): Likewise.
43475         * posix/Makefile (tests): Add bug-regex34.
43476         (bug-regex34-ENV): Define.
43477         * posix/bug-regex34.c: New file.
43478
43479         [BZ #11561]
43480         * posix/regcomp.c (parse_bracket_exp): When looking up collating
43481         elements compare against the byte sequence of it, not its name.
43482         * posix/Makefile (tests): Add bug-regex35.
43483         (bug-regex35-ENV): Define.
43484         * posix/bug-regex35.c: New file.
43485
43486 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43487
43488         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
43489         comment.
43490         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
43491         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
43492         (CHECK_EOL): Add undef.
43493
43494 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
43495
43496         * bits/stdlib-bsearch.h: New file.
43497         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
43498         * stdlib/stdlib.h: Likewise.
43499
43500 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43501
43502         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
43503         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
43504         declaration.
43505         * manual/search.texi (Array Search Function): Add missing const in
43506         lfind prototype.
43507         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
43508         declaration to use rlim_t.
43509         (Basic Scheduling Functions): Remove erroneous const from
43510         sched_getparam prototype.  Remove erroneous * from
43511         sched_get_priority_max and sched_get_priority_min prototypes.
43512         (Resource Usage): Fix summary @comment on vtimes to refer to
43513         sys/vtimes.h rather than vtimes.h.
43514         Add missing *s in vtimes prototype.
43515         (Limits on Resources): Fix ulimit prototype to return long int.
43516         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
43517         prototypes to use long int rather than double.
43518         (BSD Random): Fix initstate and setstate to use char *, not void *.
43519         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
43520         prototype to make second argument 'struct aiocb64 *const[]'.
43521         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
43522         (Status of AIO Operations): Remove erroneous const in aio_return and
43523         aio_return64 prototypes.
43524         (Synchronizing I/O): Fix sync prototype to return void.
43525         * manual/startup.texi (Suboptions): Remove an erroneous const in
43526         getsubopt prototype.
43527         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
43528         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
43529         use size_t rather than int.
43530         (Scanning All Users): Likewise for getpwent_r.
43531         (Setting Groups): Add missing const to setgroups prototype.
43532         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
43533         * manual/socket.texi (Host Names): Fix gethostbyaddr and
43534         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
43535         'const void *' rather than 'const char *'.
43536         (Host Address Functions): Likewise for inet_ntop.
43537         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
43538         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
43539         ssize_t for return value.
43540         (Sending Data): Likewise for send, sendto, sendmsg.
43541         (Socket Option Functions): Add a missing const in setsockopt prototype.
43542         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
43543         use wchar_t for the argument.
43544         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
43545         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
43546         take no arguments.
43547         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
43548         double/float/long double for second argument.
43549         Fix return types of significand, significandf, significandl.
43550         * manual/filesys.texi (Setting Permissions): Use mode_t for second
43551         argument in fchmod prototype.
43552         (File Owner): Use uid_t and gid_t in fchown prototype.
43553         (File Times): Add const to utimes, futimes, and lutimes prototypes.
43554         (Making Special Files): Use mode_t and dev_t in mknod prototype.
43555         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
43556         use 'const struct dirent **' as argument types to CMP function pointer
43557         argument.
43558         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
43559         (File Times): Fix summary magic @comment for struct utimbuf and utime
43560         to refer to utime.h, not time.h.
43561         * manual/string.texi (Argz Functions): Add missing const in
43562         argz_extract and argz_next prototypes.
43563         (Finding Tokens in a String): Likewise for basename.
43564         (String/Array Comparison): Fix typo in wcscasecmp prototype.
43565         (Copying and Concatenation): Fix typo in wmemmove prototype.
43566         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
43567         (Signal Stack): Remove erroneous const in sigstack prototype.
43568         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
43569         prototype.
43570         (Simple Calendar Time): Likewise for stime.
43571         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
43572         prototype.
43573         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
43574         say sys/sysctl.h instead.
43575         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
43576         and vsyslog prototypes.
43577
43578 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43579
43580         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
43581         Remove.
43582
43583 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43584
43585         * misc/sys/mman.h: Fix typo in mremap comment.
43586
43587 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43588
43589         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
43590         the '\0' terminator.
43591
43592 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43593
43594         [BZ #13550]
43595         * debug/segfault.c: Don't include <bp-checks.h>.
43596         * sysdeps/generic/bp-checks.h: Remove file.
43597         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
43598         (__GETDENTS): Don't use CHECK_N.
43599         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
43600         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43601         (__getgroups): Don't use CHECK_N.
43602         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
43603         (setgroups): Don't use CHECK_N.
43604         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
43605         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
43606         (__libc_msgrcv): Don't use CHECK_N.
43607         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
43608         (__libc_msgsnd): Don't use CHECK_N.
43609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
43610         <bp-checks.h>.
43611         (__libc_pread): Don't use CHECK_N.
43612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
43613         include <bp-checks.h>.
43614         (__libc_pread64): Don't use CHECK_N.
43615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
43616         include <bp-checks.h>.
43617         (__libc_pwrite): Don't use CHECK_N.
43618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
43619         include <bp-checks.h>.
43620         (__libc_pwrite64): Don't use CHECK_N.
43621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
43622         <bp-checks.h>.
43623         (__libc_pread): Don't use CHECK_N.
43624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
43625         include <bp-checks.h>.
43626         (__libc_pread64): Don't use CHECK_N.
43627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
43628         include <bp-checks.h>.
43629         (__libc_pwrite): Don't use CHECK_N.
43630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
43631         include <bp-checks.h>.
43632         (__libc_pwrite64): Don't use CHECK_N.
43633         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
43634         (do_pread): Don't use CHECK_N.
43635         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
43636         (do_pread64): Don't use CHECK_N.
43637         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
43638         (do_pwrite): Don't use CHECK_N.
43639         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
43640         (do_pwrite64): Don't use CHECK_N.
43641         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
43642         (__libc_readv): Don't use CHECK_N.
43643         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
43644         (semop): Don't use CHECK_N.
43645         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
43646         <bp-checks.h>.
43647         (semtimedop): Don't use CHECK_N.
43648         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
43649         (__libc_pread): Don't use CHECK_N.
43650         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
43651         <bp-checks.h>.
43652         (__libc_pread64): Don't use CHECK_N.
43653         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
43654         <bp-checks.h>.
43655         (__libc_pwrite): Don't use CHECK_N.
43656         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
43657         <bp-checks.h>.
43658         (__libc_pwrite64): Don't use CHECK_N.
43659         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
43660         <bp-checks.h>.
43661         (__libc_msgrcv): Don't use CHECK_N.
43662         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
43663         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
43664         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
43665         (__libc_writev): Don't use CHECK_N.
43666
43667 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43668
43669         * string/strcpy.c: Removed unused variable.
43670
43671         * Makeconfig (+sysdep-includes): Define with := rather than =.
43672         Use an existing include/ subdir of each sysdeps dir before it.
43673
43674 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43675
43676         * nscd/connection.c (register_traced_file): Comment function.
43677         [HAVE_INOTIFY] (union __inev): Define.
43678         [HAVE_INOTIFY] (inotify_check_files): New function.
43679         [HAVE_INOTIFY] (clear_db_cache): Likewise.
43680         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
43681         clear_db_cache.
43682         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
43683
43684 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43685
43686         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
43687         loaded if not already and that a failure is permanent.
43688
43689 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43690
43691         [BZ #15006]
43692         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
43693         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
43694
43695 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43696
43697         [BZ #13550]
43698         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
43699         (CHECK_1_NULL_OK): Likewise.
43700         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
43701         (__fxstat): Do not use CHECK_1.
43702         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
43703         <bp-checks.h>.
43704         (___fxstat64): Do not use CHECK_1.
43705         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43706         <bp-checks.h>.
43707         (__fxstatat): Do not use CHECK_1.
43708         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43709         <bp-checks.h>.
43710         (__fxstatat64): Do not use CHECK_1.
43711         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
43712         <bp-checks.h>.
43713         (__fxstat): Do not use CHECK_1.
43714         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43715         <bp-checks.h>.
43716         (__fxstatat): Do not use CHECK_1.
43717         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43718         <bp-checks.h>.
43719         (__getresgid): Do not use CHECK_1.
43720         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43721         <bp-checks.h>.
43722         (__getresuid): Do not use CHECK_1.
43723         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
43724         <bp-checks.h>.
43725         (__lxstat): Do not use CHECK_1.
43726         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43727         <bp-checks.h>.
43728         (__old_msgctl): Do not use CHECK_1.
43729         (__new_msgctl): Likewise.
43730         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
43731         <bp-checks.h>.
43732         (__new_setrlimit): Do not use CHECK_1.
43733         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43734         <bp-checks.h>.
43735         (__old_shmctl): Do not use CHECK_1.
43736         (__new_shmctl): Likewise.
43737         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
43738         <bp-checks.h>.
43739         (__xstat): Do not use CHECK_1.
43740         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
43741         (__lxstat): Do not use CHECK_1.
43742         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
43743         <bp-checks.h>.
43744         (___lxstat64): Do not use CHECK_1.
43745         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
43746         (__old_msgctl): Do not use CHECK_1.
43747         (__new_msgctl): Likewise.
43748         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
43749         <bp-checks.h>.
43750         (__gettimeofday): Do not use CHECK_1.
43751         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
43752         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
43753         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
43754         <bp-checks.h>.
43755         (__gettimeofday): Do not use CHECK_1.
43756         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
43757         (__old_shmctl): Do not use CHECK_1_NULL_OK.
43758         (__new_shmctl): Do not use CHECK_1.
43759         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
43760         <bp-checks.h>.
43761         (do_sigtimedwait): Do not use CHECK_1.
43762         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
43763         <bp-checks.h>.
43764         (do_sigwaitinfo): Do not use CHECK_1.
43765         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
43766         <bp-checks.h>.
43767         (msgctl): Do not use CHECK_1.
43768         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
43769         <bp-checks.h>.
43770         (shmctl): Do not use CHECK_1.
43771         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
43772         (ustat): Do not use CHECK_1.
43773         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
43774         <bp-checks.h>.
43775         (__fxstat): Do not use CHECK_1.
43776         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43777         <bp-checks.h>.
43778         (__fxstatat): Do not use CHECK_1.
43779         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
43780         <bp-checks.h>.
43781         (__lxstat): Do not use CHECK_1.
43782         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
43783         <bp-checks.h>.
43784         (__xstat): Do not use CHECK_1.
43785         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
43786         (__xstat): Do not use CHECK_1.
43787         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
43788         (___xstat64): Do not use CHECK_1.
43789
43790         [BZ #13550]
43791         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
43792         definitions.
43793         (CHECK_BOUNDS_HIGH): Likewise.
43794         * string/strcpy.c: Do not include <bp-checks.h>.
43795         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
43796
43797 2013-02-07  Roland McGrath  <roland@hack.frob.com>
43798
43799         * nscd/nscd-client.h (__nscd_drop_map_ref):
43800         Add __attribute__ ((unused)).
43801         * nis/nss-nisplus.h (niserr2nss): Likewise.
43802
43803         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
43804         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
43805
43806         * csu/libc-tls.c (init_static_tls, init_slotinfo):
43807         Remove inline keyword.
43808         * include/rounding-mode.h (round_away): Likewise.
43809         * libio/wfileops.c (adjust_wide_data): Likewise.
43810         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
43811         (__m128i_strloadu_tolower): Likewise.
43812         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
43813         (__m128i_strloadu_tolower): Likewise.
43814         * time/mktime.c (ydhms_diff): Likewise.
43815         * locale/elem-hash.h (elem_hash): Likewise.
43816         * locale/setlocale.c (setdata): Likewise.
43817         * posix/regex_internal.h (re_string_char_size_at): Likewise.
43818         (re_string_wchar_at): Likewise.
43819         (bitset_not, bitset_merge, bitset_mask): Likewise.
43820         [!(__GNUC__ > 3)] (inline): Remove macro.
43821         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
43822         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
43823         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
43824         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
43825         * string/memcmp.c (memcmp_bytes): Likewise.
43826         * locale/programs/locarchive.c (compute_hashval): Likewise.
43827         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
43828         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
43829         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
43830         * nss/getent.c (print_rpc, print_protocols): Likewise.
43831         (print_passwd, print_group, print_aliases): Likewise.
43832         * nis/nss-nisplus.h (niserr2nss): Likewise.
43833         * nscd/connections.c (restart_p): Likewise.
43834         Change return type to bool.
43835
43836 2013-02-05  Roland McGrath  <roland@hack.frob.com>
43837
43838         * Makeconfig (all-Depend-files): Add existing
43839         $(sorted-subdirs:=/Depend) files.
43840         (all-subdirs): Remove nss.
43841         * sysdeps/unix/inet/Subdirs: Add it here instead.
43842         * hesiod/Depend: New file.
43843
43844         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
43845         instead of calling alloca.
43846
43847         * io/lseek.c (__lseek): Rename to __libc_lseek.
43848         Define __lseek as an alias.
43849
43850         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
43851
43852 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
43853
43854         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
43855         else clause and remove check for non-standard endianness.
43856
43857 2013-02-04  David S. Miller  <davem@davemloft.net>
43858
43859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43860
43861 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
43862
43863         [BZ #13550]
43864         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
43865         (__ubp_memchr): Remove prototype.
43866         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
43867         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43868         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
43869         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43870         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
43871         Remove alias.
43872         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
43873         (__ubp_memchr): Likewise.
43874         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
43875         (__ubp_memchr): Likewise.
43876         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
43877         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
43878         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
43879         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
43880         CHECK_STRING.
43881         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43882         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
43883         (__getcwd): Do not use CHECK_STRING.
43884         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43885         <bp-checks.h>.
43886         (__real_chown): Do not use CHECK_STRING.
43887         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
43888         <bp-checks.h>.
43889         (fchownat): Do not use CHECK_STRING.
43890         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
43891         CHECK_STRING.
43892         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43893         <bp-checks.h>.
43894         (__lchown): Do not use CHECK_STRING.
43895         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43896         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43897         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43898         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
43899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43900         include <bp-checks.h>.
43901         (truncate64): Do not use CHECK_STRING.
43902         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43903         <bp-checks.h>.
43904         (__real_chown): Do not use CHECK_STRING.
43905         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43906         <bp-checks.h>.
43907         (__lchown): Do not use CHECK_STRING.
43908         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43909         <bp-checks.h>.
43910         (__chown): Do not use CHECK_STRING.
43911         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
43912         <bp-checks.h>.
43913         (truncate64): Do not use CHECK_STRING.
43914         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
43915         Likewise.
43916         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
43917         (__xmknod): Do not use CHECK_STRING.
43918         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43919         <bp-checks.h>.
43920         (__xmknodat): Do not use CHECK_STRING.
43921         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43922         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
43923
43924 2013-02-04  Andreas Schwab  <schwab@suse.de>
43925
43926         [BZ #14142]
43927         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
43928         * include/netdb.h: Likewise for h_errno.
43929         * elf/tst-stackguard1.c: Include <tls.h>.
43930
43931 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
43932
43933         * elf/link.h (struct link_map): Extend the l_addr comment.
43934         * include/link.h (struct link_map): Likewise.
43935
43936 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
43937
43938         [BZ #13550]
43939         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
43940         (BOUNDED_1): Remove macro.
43941         * debug/backtrace.c: Don't include <bp-checks.h>.
43942         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
43943         (__backtrace): Likewise.
43944         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
43945         <bp-checks.h>.
43946         (__backtrace): Don't use BOUNDED_1.
43947         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
43948         <bp-checks.h>.
43949         (__backtrace): Don't use BOUNDED_1.
43950         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
43951         (__backtrace): Don't use BOUNDED_1.
43952         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
43953         (shmat): Don't use BOUNDED_N.
43954
43955 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
43956
43957         [BZ #13550]
43958         * sysdeps/generic/bp-start.h: Remove file.
43959         * csu/libc-start.c: Don't include <bp-start.h>.
43960         (LIBC_START_MAIN): Set up __environ directly instead of using
43961         INIT_ARGV_and_ENVIRON.
43962         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
43963         <bp-start.h>.
43964
43965         [BZ #13550]
43966         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
43967         definitions.
43968         (CHECK_FCNTL): Likewise.
43969         (CHECK_N_PAGES): Likewise.
43970
43971         [BZ #13550]
43972         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
43973         definitions.
43974         (CHECK_SIGSET_NULL_OK): Likewise.
43975         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
43976         <bp-checks.h>.
43977         (sigpending): Don't use CHECK_SIGSET.
43978         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
43979         <bp-checks.h>.
43980         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43981         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
43982         <bp-checks.h>.
43983         (do_sigsuspend): Don't use CHECK_SIGSET.
43984         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
43985         use CHECK_SIGSET.
43986         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
43987         (do_sigwait): Don't use CHECK_SIGSET.
43988         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
43989         use CHECK_SIGSET.
43990         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
43991         include <bp-checks.h>.
43992         (sigpending): Don't use CHECK_SIGSET.
43993         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
43994         include <bp-checks.h>.
43995         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43996         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
43997         <bp-checks.h>.
43998         (sigpending): Don't use CHECK_SIGSET.
43999         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
44000         <bp-checks.h>.
44001         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44002
44003         [BZ #13550]
44004         * sysdeps/generic/bp-semctl.h: Remove file.
44005         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44006         <bp-checks.h> and <bp-semctl.h>.
44007         (__old_semctl): Don't use CHECK_SEMCTL.
44008         (__new_semctl): Likewise.
44009         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44010         and <bp-semctl.h>.
44011         (__old_semctl): Don't use CHECK_SEMCTL.
44012         (__new_semctl): Likewise.
44013         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44014         <bp-checks.h> and <bp-semctl.h>.
44015         (__old_semctl): Don't use CHECK_SEMCTL.
44016         (__new_semctl): Likewise.
44017         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44018         <bp-checks.h> and <bp-semctl.h>.
44019         (semctl): Don't use CHECK_SEMCTL.
44020
44021         [BZ #13550]
44022         * Makerules (elide-bp-thunks): Remove variable.
44023         (elide-routines.oS): Don't use $(elide-bp-thunks).
44024         (elide-routines.os): Likewise.
44025         (elide-routines.o): Likewise.
44026         (elide-routines.op): Likewise.
44027         (elide-routines.og): Likewise.
44028         (objects): Don't use $(bp-thunks).
44029         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44030         include.
44031         (common-generated): Do not add s-proto-bp.d.
44032         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44033         (int): Likewise.
44034         (typ): Likewise.
44035         Do not generate makefile rules for bounded-pointer thunks.
44036         * sysdeps/generic/bp-thunks.h: Remove file.
44037         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44038         * sysdeps/unix/s-proto-bp.S: Likewise.
44039
44040         [BZ #15062]
44041         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44042         parts of result separately when argument is not close to line from
44043         -i to i and one part of argument is small.
44044         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44045         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44046         * math/libm-test.inc (cacos_test): Add more tests.
44047         (casin_test): Likewise.
44048         (casinh_test): Likewise.
44049         * sysdeps/i386/fpu/libm-test-ulps: Update.
44050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44051
44052 2013-01-31  David S. Miller  <davem@davemloft.net>
44053
44054         * po/de.po: Update from translation team.
44055
44056 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44057
44058         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44059
44060 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44061
44062         * configure.in (_AC_PROG_CC_C89): New definition.
44063         * configure: Regenerate.
44064
44065         * configure.in (AC_PROG_CPP): New definition.
44066         * configure: Regenerate.
44067
44068 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44069
44070         * debug/tst-backtrace.h: New file.
44071         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44072         (ret): Remove variable.
44073         (x): Likewise.
44074         (FAIL): Remove macro.
44075         (NO_INLINE): Likewise.
44076         (fn1): Use match function instead of strstr.
44077         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44078         (ret): Remove variable.
44079         (x): Likewise.
44080         (FAIL): Remove macro.
44081         (NO_INLINE): Likewise.
44082         (fn): Use match function instead of strstr.
44083         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44084         (ret): Remove variable.
44085         (x): Likewise.
44086         (FAIL): Remove macro.
44087         (NO_INLINE): Likewise.
44088         (handle_signal): Use match function instead of strstr.
44089         * debug/tst-backtrace5.c: Include tst-backtrace.h.
44090         (ret): Remove variable.
44091         (x): Likewise.
44092         (FAIL): Remove macro.
44093         (NO_INLINE): Likewise.
44094         (handle_signal): Use match function instead of strstr.
44095
44096 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44097
44098         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44099
44100 2013-01-23  David S. Miller  <davem@davemloft.net>
44101
44102         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44103         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44104         argument of CAS if possible.
44105         * sysdeps/sparc/sparc64/bits/atomic.h
44106         (__arch_compare_and_exchange_val_32_acq): Likewise.
44107         (__arch_compare_and_exchange_val_64_acq): Likewise.
44108
44109 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44110
44111         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44112         * sysdeps/posix/ulimit.c: ... this.
44113         Include <limits.h>.
44114         * sysdeps/unix/bsd/ulimit.c: Remove file.
44115
44116 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44117
44118         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44119         (LDFLAGS-tst-array5): Likewise.
44120
44121 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44122
44123         [BZ #15036]
44124         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44125         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44126         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44127         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44128
44129 2013-01-21  David S. Miller  <davem@davemloft.net>
44130
44131         * sysdeps/sparc/backtrace.c: New file.
44132         * sysdeps/sparc/sparc32/backtrace.h: New file.
44133         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44134         * sysdeps/sparc/sparc64/backtrace.h: New file.
44135         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44136         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44137         -funwind-tables.
44138
44139 2013-01-21  Andreas Schwab  <schwab@suse.de>
44140
44141         [BZ #15020]
44142         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44143         closed its stdout.
44144
44145 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44146
44147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44148         "mpa2.h".
44149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44150
44151 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44152             Mark Mitchell  <mark@codesourcery.com>
44153             Tom de Vries  <tom@codesourcery.com>
44154             Paul Pluzhnikov  <ppluzhnikov@google.com>
44155
44156         * debug/tst-backtrace2.c: New file.
44157         * debug/tst-backtrace3.c: Likewise.
44158         * debug/tst-backtrace4.c: Likewise.
44159         * debug/tst-backtrace5.c: Likewise.
44160         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44161         (CFLAGS-tst-backtrace3.c): Likewise.
44162         (CFLAGS-tst-backtrace4.c): Likewise.
44163         (CFLAGS-tst-backtrace5.c): Likewise.
44164         (LDFLAGS-tst-backtrace2): Likewise.
44165         (LDFLAGS-tst-backtrace3): Likewise.
44166         (LDFLAGS-tst-backtrace4): Likewise.
44167         (LDFLAGS-tst-backtrace5): Likewise.
44168         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44169         tst-backtrace4 and tst-backtrace5.
44170
44171 2013-01-18  Anton Blanchard  <anton@samba.org>
44172             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44173
44174         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44175         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44176         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44177         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44179         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
44180         "+r" and remove output regs list as redundant.  Add explicit inline
44181         asm to specify register of return val to work around compiler codegen
44182         bug.  Remove (int) cast on return value.  Add return type parameter to
44183         use in macro so that this macro does not truncate return value for
44184         64-bit values.
44185         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
44186         pass to INTERNAL_VSYSCALL_NCS.
44187         (INLINE_VSYSCALL): Add 'long int' as return type to
44188         INTERNAL_VSYSCALL_NCS macro invocation.
44189         (INTERNAL_VSYSCALL): Add 'long int' as return type to
44190         INTERNAL_VSYSCALL_NCS macro invocation.
44191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44192
44193 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44194
44195         [BZ #14496]
44196         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
44197         Fix application of SIMD FP exception mask.
44198
44199         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
44200         mp_no from a power of two.
44201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
44202         __mpexp_twomm1.  Use __pow_mp.
44203
44204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
44205         multiplication.
44206
44207 2013-01-17  David S. Miller  <davem@davemloft.net>
44208
44209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44210
44211 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44212
44213         [BZ #15023]
44214         * include/complex.h: Condition contents on [!_COMPLEX_H].
44215         (__kernel_casinhf): New prototype.
44216         (__kernel_casinh): Likewise.
44217         (__kernel_casinhl): Likewise.
44218         * math/Makefile (libm_calls): Add k_casinh.
44219         * math/k_casinh.c: New file.
44220         * math/k_casinhf.c: Likewise.
44221         * math/k_casinhl.c: Likewise.
44222         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
44223         finite nonzero arguments.
44224         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
44225         finite nonzero arguments.
44226         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
44227         finite nonzero arguments.
44228         * math/s_casinh.c: Do not include <float.h>.
44229         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
44230         * math/s_casinhf.c: Do not include <float.h>.
44231         (__casinhf): Move code for finite nonzero arguments to
44232         k_casinhf.c.
44233         * math/s_casinhl.c: Do not include <float.h>.
44234         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
44235         redefine.
44236         (__casinhl): Move code for finite nonzero arguments to
44237         k_casinhl.c.
44238         * math/libm-test.inc (cacos_test): Add more tests.
44239         * sysdeps/i386/fpu/libm-test-ulps: Update.
44240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44241
44242 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
44243
44244         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44245         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
44246         [!HAVE_MREMAP]: Remove [defined linux] case.
44247         * malloc/arena.c: Do not include <malloc-sysdep.h>.
44248
44249 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44250
44251         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
44252
44253 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44254
44255         * elf/elf.h (R_386_SIZE32): New relocation.
44256         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
44257         R_386_SIZE32.
44258         (elf_machine_rela): Likewise.
44259         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44260         R_X86_64_SIZE64 and R_X86_64_SIZE32.
44261
44262 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44263
44264         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
44265         (FP_FAST_FMA): Do not define.
44266         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
44267         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
44268         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
44269         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
44270         !_SOFT_FLOAT]: Likewise.
44271         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
44272         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
44273         value.
44274         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
44275         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
44276         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
44277         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
44278         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
44279         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
44280         file.
44281
44282 2013-01-16  Andreas Schwab  <schwab@suse.de>
44283
44284         [BZ #14327]
44285         * include/stdlib.h (__mktemp): Add declaration.
44286         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
44287         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
44288
44289 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44290
44291         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44292         definitions.
44293         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44294         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
44295         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44296         definitions here.
44297         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
44298         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
44299         definitions.
44300         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
44301         and ONE.
44302         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
44303         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
44304         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
44305         definitions.
44306         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
44307         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
44308         definitions.
44309         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44310
44311         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
44312
44313 2013-01-15  David S. Miller  <davem@davemloft.net>
44314
44315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44316         trunc{,f} to libm-sysdep_routes.
44317         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
44319         file.
44320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
44321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
44322         file.
44323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
44324         file.
44325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
44326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
44327         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
44328         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
44329         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
44330         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
44331         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
44332         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
44333
44334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44335         nearbyint{,f} to libm-sysdep_routes.
44336         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
44338         New file.
44339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
44340         file.
44341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
44342         New file.
44343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
44344         file.
44345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
44346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
44347         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
44348         file.
44349         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
44350         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
44351         file.
44352         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
44353         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
44354         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
44355
44356         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44357         libc_feholdexcept and libc_fesetenv.
44358
44359 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
44360
44361         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
44362
44363 2013-01-14  David S. Miller  <davem@davemloft.net>
44364
44365         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
44366         (SPARC_ASM_VIS2_IFUNC): Likewise.
44367         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
44368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
44369         use of 'siam' instruction.
44370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
44371         Likewise.
44372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
44373         Likewise.
44374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
44375         Likewise.
44376         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
44377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
44378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
44379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
44380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
44381         file.
44382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
44383         file.
44384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
44385         file.
44386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
44387         file.
44388         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
44389         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
44390         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
44391         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
44392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
44393         new VIS2 routines.
44394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44397         Likewise.
44398         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44399         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44400         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44401         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
44403         routines to libm-sysdep_routines.
44404         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44405
44406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44407         fdim/fdimf to libm-sysdep_routines.
44408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
44409         file.
44410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
44411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
44412         file.
44413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
44414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
44415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
44416         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
44417         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
44418         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
44419         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
44420
44421 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44422
44423         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
44424         to optimize copies.
44425
44426         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
44427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44429
44430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
44431         local variable MPTWO.
44432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44433         Likewise.
44434
44435 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44436
44437         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
44438         GLOB_NOESCAPE.
44439
44440 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44441
44442         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
44443
44444 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44445
44446         * manual/pattern.texi (glob_t): Document gl_flags.
44447         (glob64_t): Likewise.
44448
44449 2013-01-11  David S. Miller  <davem@davemloft.net>
44450
44451         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
44452         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
44453         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
44454         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
44455         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
44456         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
44457         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
44458         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
44459         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
44460         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
44461         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
44462         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
44463         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
44464
44465         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44466         sparc V9 rather than using V8 code.
44467         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44468         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44469
44470         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44471         Move to...
44472         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
44473         Here.
44474
44475 2013-01-11  Roland McGrath  <roland@hack.frob.com>
44476
44477         [BZ #14941]
44478         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
44479         not in the main loop.
44480         * configure: Regenerated.
44481
44482 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
44483
44484         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
44485         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
44486         to just #else.
44487         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
44488         [!__GLIBC_HAVE_LONG_LONG] case.
44489         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
44490         condition to just #else.
44491         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
44492         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
44493         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
44494         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
44495         unconditional.
44496         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
44497         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44498         #elif condition to just #else.
44499         * sysdeps/unix/sysv/linux/sys/sysmacros.h
44500         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
44501         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44502         #elif condition to just #else.
44503
44504 2013-01-11  Steve Ellcey  <sellcey@mips.com>
44505
44506         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
44507         (EF_MIPS_ARCH_64): Fix value.
44508         (EF_MIPS_ARCH_32R2): New.
44509         (EF_MIPS_ARCH_64R2): New.
44510
44511 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
44512
44513         * Makeconfig (+link-pie-before-libc): New.
44514         (+link-pie-after-libc): Likewise.
44515         (+link-pie-tests): Likewise.
44516         (+link-pie): Rewritten.
44517         (link-before-libc): Remove $(config-LDFLAGS).
44518         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
44519         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
44520         (config-LDFLAGS): Renamed to ...
44521         (rtld-LDFLAGS): This.
44522         (rtld-tests-LDFLAGS): New macro.
44523         (link-libc-rpath-link): Likewise.
44524         (link-libc-tests-rpath-link): Likewise.
44525         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
44526         (link-libc): Prepand $(link-libc-rpath-link).
44527         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
44528         (test-program-prefix): New macro.
44529         (test-via-rtld-prefix): Likewise.
44530         (test-program-cmd): Likewise.
44531         (host-test-program-cmd): Likewise.
44532         * Makefile ($(common-objpfx)testrun.sh): Replace
44533         $(run-program-prefix) with $(test-program-prefix).
44534         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
44535         $(rtld-LDFLAGS).
44536         ($(common-objpfx)shlib.lds): Likewise.
44537         (build-module-helper): Likewise.
44538         ($(common-objpfx)format.lds): Likewise.
44539         * Rules (binaries-pie-tests): New.
44540         (binaries-pie-notests): Likewise.
44541         (binaries-pie): Rewritten.
44542         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
44543         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
44544         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
44545         (make-test-out): Replace $(host-built-program-cmd) with
44546         $(host-test-program-cmd).
44547         * config.make.in (build-hardcoded-path-in-tests): New variable.
44548         * configure.in (--enable-hardcoded-path-in-tests): New configure
44549         option.
44550         (hardcoded_path_in_tests): New AC_SUBST.
44551         * configure: Regenerated.
44552         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
44553         $(built-program-cmd) with $(test-program-cmd).
44554         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
44555         (test_program_cmd): This.
44556         * elf/Makefile ($(objpfx)order.out): Run test with
44557         $(test-program-prefix).
44558         ($(objpfx)order2.out): Likewise.
44559         ($(objpfx)tst-initorder.out): Likewise.
44560         ($(objpfx)tst-initorder2.out): Likewise.
44561         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
44562         $(test-program-cmd).
44563         ($(objpfx)tst-array1-static.out): Likewise.
44564         ($(objpfx)tst-array2.out): Likewise.
44565         ($(objpfx)tst-array3.out): Likewise.
44566         ($(objpfx)tst-array4.out): Likewise.
44567         ($(objpfx)tst-array5.out): Likewise.
44568         ($(objpfx)tst-array5-static.out): Likewise.
44569         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
44570         $(test-program-cmd).
44571         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
44572         $(run-program-prefix) with $(test-program-prefix).
44573         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
44574         (test_program_prefix): This.
44575         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
44576         $(run-program-prefix) with $(test-program-prefix).
44577         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
44578         (test_program_prefix): This.
44579         * iconvdata/tst-tables.sh: Likewise.
44580         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
44581         $(run-program-prefix) with $(test-program-prefix).
44582         ($(objpfx)tst-translit.out): Likewise.
44583         ($(objpfx)tst-gettext2.out): Likewise.
44584         ($(objpfx)tst-gettext4.out): Likewise.
44585         ($(objpfx)tst-gettext6.out): Likewise.
44586         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
44587         (test_program_prefix): This.
44588         * intl/tst-gettext2.sh: Likewise.
44589         * intl/tst-gettext4.sh  Likewise.
44590         * intl/tst-gettext6.sh: Likewise.
44591         * intl/tst-translit.sh: Likewise.
44592         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
44593         with $(test-program-cmd).
44594         * libio/Makefile ($(objpfx)test-freopen.out): Replace
44595         $(run-program-prefix) with $(test-program-prefix).
44596         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
44597         (test_program_prefix): This.
44598         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
44599         $(run-program-prefix) with $(test-program-prefix).
44600         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
44601         (test_program_prefix): This.
44602         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
44603         * posix/Makefile ($(objpfx)globtest.out): Replace
44604         $(run-via-rtld-prefix) and $(test-wrapper) with
44605         $(test-program-prefix) and $(test-via-rtld-prefix).
44606         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
44607         $(test-program-prefix).
44608         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
44609         $(host-test-program-cmd).
44610         (tst-spawn-ARGS): Likewise.
44611         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
44612         $(test-program-prefix).
44613         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
44614         (test_via_rtld_prefix): This.
44615         (test_wrapper): Renamed to ...
44616         (test_program_prefix): This.
44617         (run_program_prefix): Replaced by test_program_prefix.
44618         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
44619         (test_program_prefix): This.
44620         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
44621         with $(host-test-program-cmd).
44622         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
44623         $(run-program-prefix) with $(test-program-prefix).
44624         ($(objpfx)tst-printf.out): Likewise.
44625         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
44626         $(test-program-cmd).
44627         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
44628         (test_program_prefix): This.
44629         * stdio-common/tst-unbputc.sh: Likewise.
44630         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
44631         $(run-program-prefix) with $(test-program-prefix).
44632         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
44633         (test_program_prefix): This.
44634         * string/Makefile ($(objpfx)tst-svc.out):  Replace
44635         $(built-program-cmd) with $(test-program-cmd).
44636
44637 2013-01-11  Andreas Jaeger  <aj@suse.de>
44638
44639         [BZ #15003]
44640         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
44641         value. Sync with Linux 3.7.
44642
44643 2013-01-10  David S. Miller  <davem@davemloft.net>
44644
44645         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
44646         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44647         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44648
44649 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44650
44651         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
44652         never set.
44653         * configure: Regenerated.
44654
44655 2013-01-10  David S. Miller  <davem@davemloft.net>
44656
44657         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44658         sparc V9 rather than using V8 code.
44659         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44660         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44661
44662 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44663
44664         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
44665         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
44666         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
44667         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
44668         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
44669         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
44670         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
44671         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
44672         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
44673         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
44674         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
44675         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
44676         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
44677         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
44678         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
44679         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
44680         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
44681         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
44682         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
44683         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
44684         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
44685         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
44686         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
44687         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
44688         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
44689         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
44690         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
44691
44692 2013-01-10  David S. Miller  <davem@davemloft.net>
44693
44694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44695
44696 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44697
44698         * posix/Makefile (tests-static): New variable.
44699         (tests): Add $(tests-static).
44700         (tst-exec-static-ARGS): New variable.
44701         (tst-spawn-static-ARGS): Likewise.
44702         * posix/tst-exec-static.c: New file.
44703         * posix/tst-spawn-static.c: Likewise.
44704         * posix/tst-exec.c: Support run directly.
44705         * posix/tst-spawn.c: Likewise.
44706
44707 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
44708
44709         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
44710         long.
44711         * math/bits/mathcalls.h (llrint): Likewise.
44712         (llround): Likewise.
44713         * stdlib/stdlib.h (struct drand48_data): Likewise.
44714         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
44715         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
44716         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
44717         Likewise.
44718         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
44719         Likewise.
44720         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
44721         (elf_greg_t): Likewise.
44722         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
44723         (__jmp_buf): Likewise.
44724         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
44725         definitions.
44726         (llrint): Likewise, for all definitions.
44727         (llrintl): Likewise.
44728
44729         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
44730         Remove [__GNUC__] condition.
44731         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
44732         condition to just [__USE_ISOC99].
44733         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
44734
44735 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44736
44737         [BZ #14200]
44738         * sysdeps/unix/sysv/linux/x86/bits/environments.h
44739         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
44740         defined.
44741         (_POSIX_V6_ILP32_OFF32): Likewise.
44742         (_XBS5_ILP32_OFF32): Likewise.
44743         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
44744         (__ILP32_OFFBIG_LDFLAGS): Likewise.
44745
44746 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44747
44748         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
44749
44750         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
44751         doubles __mpexp_twomm1.  Adjust usage.
44752         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
44753         Remove.
44754
44755 2013-01-10  Andreas Schwab  <schwab@suse.de>
44756
44757         [BZ #14964]
44758         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
44759         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
44760
44761 2013-01-09  David S. Miller  <davem@davemloft.net>
44762
44763         [BZ #15003]
44764         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
44765         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
44766         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
44767         (TCP_FASTOPEN): Define.
44768         (tcp_repair_opt): New structure.
44769         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
44770         enum values.
44771         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
44772         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
44773         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
44774         (tcp_cookie_transactions): New structure.
44775
44776 2013-01-09  Anton Blanchard  <anton@samba.org>
44777
44778         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
44779         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
44780         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
44781         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
44782
44783 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
44784
44785         * include/features.h (__USE_ANSI): Remove.
44786
44787 2013-01-09  Roland McGrath  <roland@hack.frob.com>
44788
44789         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
44790
44791         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
44792
44793 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44794
44795         * sysdeps/s390/fpu/libm-test-ulps: Update.
44796
44797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44798
44799         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
44800         (__acr): Likewise.
44801         (__cpy): Likewise.
44802         (norm): Likewise.
44803         (denorm): Likewise.
44804         (__mp_dbl): Likewise.
44805         (__dbl_mp): Likewise.
44806         (add_magnitudes): Likewise.
44807         (sub_magnitudes): Likewise.
44808         (__add): Likewise.
44809         (__sub): Likewise.
44810         (__mul): Likewise.
44811         (__inv): Likewise.
44812         (__dvd): Likewise.
44813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
44814         (__acr): Likewise.
44815         (__cpy): Likewise.
44816         (norm): Likewise.
44817         (denorm): Likewise.
44818         (__mp_dbl): Likewise.
44819         (__dbl_mp): Likewise.
44820         (add_magnitudes): Likewise.
44821         (sub_magnitudes): Likewise.
44822         (__add): Likewise.
44823         (__sub): Likewise.
44824         (__mul): Likewise.
44825         (__inv): Likewise.
44826         (__dvd): Likewise.
44827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
44828         (__acr): Likewise.
44829         (__cpy): Likewise.
44830         (norm): Likewise.
44831         (denorm): Likewise.
44832         (__mp_dbl): Likewise.
44833         (__dbl_mp): Likewise.
44834         (add_magnitudes): Likewise.
44835         (sub_magnitudes): Likewise.
44836         (__add): Likewise.
44837         (__sub): Likewise.
44838         (__mul): Likewise.
44839         (__inv): Likewise.
44840         (__dvd): Likewise.
44841
44842 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
44843
44844         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
44845         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
44846         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
44847         2 && __USE_EXTERN_INLINES]: Likewise.
44848
44849 2013-01-08  Andreas Jaeger  <aj@suse.de>
44850
44851         [BZ# 14985]
44852         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
44853         Remove.
44854         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44855         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44856
44857 2013-01-07  Anton Blanchard  <anton@samba.org>
44858
44859         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
44860         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44861         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
44862         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44863         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44864         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44865         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
44866         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
44867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44868         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44869         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44870         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44871         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44872         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44873         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44874         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44875         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44876         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44877         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44878         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44879         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44880         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
44881         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44882         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44883         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
44884         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44885         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44886         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
44888         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44889         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44890         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44891         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44892         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44893         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44894         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44895         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44896         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44897         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
44898         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44899         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
44900         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44901         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44902
44903 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
44904
44905         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
44906         (__MALLOC_PMT): Likewise.
44907         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
44908         [__GNUC__], only on [_LIBC].
44909         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44910         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
44911         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44912         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
44913         forward declaration.
44914         (realloc_hook_ini): Likewise.
44915         (memalign_hook_ini): Likewise.
44916         (__libc_memalign): Do not use __MALLOC_PMT in variable
44917         declaration.
44918         (__libc_valloc): Likewise.
44919         (__libc_pvalloc): Likewise.
44920         (__libc_calloc): Likewise.
44921         (__posix_memalign): Likewise.
44922
44923         [BZ #14996]
44924         * math/s_casinh.c: Include <float.h>.
44925         (__casinh): Do not do computation with squaring and square root
44926         for large arguments.
44927         * math/s_casinhf.c: Include <float.h>.
44928         (__casinhf): Do not do computation with squaring and square root
44929         for large arguments.
44930         * math/s_casinhl.c: Include <float.h>.
44931         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
44932         (__casinhl): Do not do computation with squaring and square root
44933         for large arguments.
44934         * math/libm-test.inc (casin_test): Add more tests.
44935         (casinh_test): Likewise.
44936         * sysdeps/i386/fpu/libm-test-ulps: Update.
44937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44938
44939 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
44940
44941         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
44942         (__x86_64_raw_data_cache_size): Likewise.
44943         (__x86_64_data_cache_size_half): Likewise.
44944         (__x86_64_raw_data_cache_size_half): Likewise.
44945         (__x86_64_shared_cache_size): Likewise.
44946         (__x86_64_raw_shared_cache_size): Likewise.
44947         (__x86_64_shared_cache_size_half): Likewise.
44948         (__x86_64_raw_shared_cache_size_half): Likewise.
44949         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
44950         to ...
44951         (__x86_data_cache_size): This.
44952         (__x86_64_raw_data_cache_size): Renamed to ...
44953         (__x86_raw_data_cache_size): This.
44954         (__x86_64_data_cache_size_half): Renamed to ...
44955         (__x86_data_cache_size_half): This.
44956         (__x86_64_raw_data_cache_size_half): Renamed to ...
44957         (__x86_raw_data_cache_size_half): This.
44958         (__x86_64_shared_cache_size): Renamed to ...
44959         (__x86_shared_cache_size): This.
44960         (__x86_64_raw_shared_cache_size): Renamed to ...
44961         (__x86_raw_shared_cache_size): This.
44962         (__x86_64_shared_cache_size_half): Renamed to ...
44963         (__x86_shared_cache_size_half): This.
44964         (__x86_64_raw_shared_cache_size_half): Renamed to ...
44965         (__x86_raw_shared_cache_size_half): This.
44966         * sysdeps/x86_64/memcpy.S: Updated.
44967         * sysdeps/x86_64/memset.S: Likewise.
44968         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44969         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44970         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44971
44972 2013-01-04  David S. Miller  <davem@davemloft.net>
44973
44974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44975
44976 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
44977
44978         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
44979         1 to avoid redefinition warning.
44980         (__USE_GNU): Don't define.
44981         (init_signaling_nan): Protoize.
44982
44983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44984
44985 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44986
44987         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
44988         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
44989         (__cpymn): Likewise.
44990         (norm): Remove commented code.
44991         (denorm): Likewise.
44992         (__mp_dbl): Likewise.
44993         (__inv): Likewise.
44994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
44995         (__cpymn): Likewise.
44996         (norm): Remove commented code.
44997         (denorm): Likewise.
44998         (__mp_dbl): Likewise.
44999         (__inv): Likewise.
45000
45001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
45002         mp_no value for 1.0 and 2.0.
45003         (norm): Use RADIXI instead of radixi.d.
45004         (denorm): Likewise.
45005         (__mul): Use 0.0 instead of zero.d.
45006         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45007         mp_no value for 1.0 and 2.0.
45008         (norm): Use RADIXI instead of radixi.d.
45009         (denorm): Likewise.
45010         (__mul): Use 0.0 instead of zero.d.
45011
45012 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45013
45014         [BZ #14994]
45015         * math/s_casinh.c (__casinh): Reduce finite argument to first
45016         quadrant then set signs of results at the end.
45017         * math/s_casinhf.c (__casinhf): Likewise.
45018         * math/s_casinhl.c (__casinhl): Likewise.
45019         * math/libm-test.inc (casin_test): Add more tests.
45020         (casinh_test): Likewise.
45021         * sysdeps/i386/fpu/libm-test-ulps: Update.
45022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45023
45024 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45025
45026         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45027
45028         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45029
45030         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45031         declarations.
45032         (denorm): Likewise.
45033         (__mp_dbl): Likewise.
45034         (__inv): Likewise.
45035
45036         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45037         and adjust the header comment.
45038
45039         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45040         variable name from declaration.
45041
45042 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45043
45044         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45045         Initialize COMMON_CPUID_INDEX_7 element.
45046         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45047         (CPUID_RTM): Likewise.
45048         (HAS_RTM): Likewise.
45049         (COMMON_CPUID_INDEX_7): New enum.
45050
45051 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45052
45053         [BZ #14981]
45054         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45055         size is zero, record memory as freed.
45056
45057 2013-01-03  Andreas Jaeger  <aj@suse.de>
45058
45059         * po/ia.po: Add new Interlingua translation.
45060
45061 2012-01-03  Allan McRae  <allan@archlinux.org>
45062
45063         * locale/programs/localedef.c: Fix description of '--posix' flag.
45064
45065 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45066
45067         * NEWS: Update dates in second copyright notice.
45068         * README: Update copyright dates in example.
45069         * manual/libc.texinfo: Update copyright dates.
45070         * scripts/test-installation.pl: Update copyright date in --version
45071         output.
45072
45073         * hurd/ctty-input.c: Fix copyright notice formatting.
45074         * hurd/ctty-output.c: Likewise.
45075         * hurd/dtable.c: Likewise.
45076         * hurd/hurd-raise.c: Likewise.
45077         * hurd/hurdprio.c: Likewise.
45078         * hurd/msgportdemux.c: Likewise.
45079         * misc/sys/file.h: Likewise.
45080         * misc/sys/ioctl.h: Likewise.
45081         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45082         * sysdeps/mach/hurd/chdir.c: Likewise.
45083         * sysdeps/mach/hurd/fchdir.c: Likewise.
45084         * sysdeps/mach/hurd/rename.c: Likewise.
45085         * sysdeps/mach/hurd/rmdir.c: Likewise.
45086         * sysdeps/mach/hurd/seekdir.c: Likewise.
45087         * sysdeps/mach/hurd/setsid.c: Likewise.
45088         * sysdeps/posix/wait3.c: Likewise.
45089
45090         * All files with FSF copyright notices: Update copyright dates
45091         using scripts/update-copyrights.
45092         * intl/plural.c: Regenerated.
45093         * locale/programs/charmap-kw.h: Likewise.
45094         * locale/programs/locfile-kw.h: Likewise.
45095
45096 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45097
45098         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45099         four values.
45100
45101         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45102         calculation loop and add branch prediction.
45103
45104         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45105         check access beyond bounds of m1np.
45106
45107         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45108         MPTWO.
45109         (__inv): Remove local variable MPTWO to use the global
45110         constant.
45111         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45112         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45113         variable MPTWO.
45114         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45115         MP3HALFS static const.
45116
45117 2013-01-01  David S. Miller  <davem@davemloft.net>
45118
45119         * po/ca.po: Update from translation team.
45120
45121 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45122
45123         * scripts/update-copyrights: New file.
45124         * Makeconfig: Reformat copyright notice.
45125         * ctype/ctype.h: Likewise.
45126         * debug/swprintf_chk.c: Likewise.
45127         * elf/dl-cache.c: Likewise.
45128         * elf/dl-debug.c: Likewise.
45129         * elf/dl-object.c: Likewise.
45130         * grp/initgroups.c: Likewise.
45131         * hurd/Makefile: Likewise.
45132         * hurd/hurd/signal.h: Likewise.
45133         * hurd/hurdfault.c: Likewise.
45134         * hurd/hurdioctl.c: Likewise.
45135         * hurd/hurdlookup.c: Likewise.
45136         * hurd/intr-msg.c: Likewise.
45137         * iconv/gconv_open.c: Likewise.
45138         * libio/swprintf.c: Likewise.
45139         * locale/lc-ctype.c: Likewise.
45140         * locale/nl_langinfo.c: Likewise.
45141         * mach/Machrules: Likewise.
45142         * mach/Makefile: Likewise.
45143         * malloc/obstack.h: Likewise.
45144         * manual/Makefile: Likewise.
45145         * manual/tsort.awk: Likewise.
45146         * misc/bits/stab.def: Likewise.
45147         * nis/nis_print_group_entry.c: Likewise.
45148         * nis/nis_table.c: Likewise.
45149         * nis/nss_compat/compat-pwd.c: Likewise.
45150         * nis/nss_compat/compat-spwd.c: Likewise.
45151         * po/Makefile: Likewise.
45152         * posix/fnmatch.c: Likewise.
45153         * posix/regex.h: Likewise.
45154         * resolv/Makefile: Likewise.
45155         * resolv/nss_dns/dns-network.c: Likewise.
45156         * resolv/res_hconf.c: Likewise.
45157         * scripts/gen-sorted.awk: Likewise.
45158         * soft-fp/soft-fp.h: Likewise.
45159         * stdio-common/printf.h: Likewise.
45160         * stdlib/monetary.h: Likewise.
45161         * stdlib/random.c: Likewise.
45162         * stdlib/random_r.c: Likewise.
45163         * sysdeps/generic/Makefile: Likewise.
45164         * sysdeps/gnu/Makefile: Likewise.
45165         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45166         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45167         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45168         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45169         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45170         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45171         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45172         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45173         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45174         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45175         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45176         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45177         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45178         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45179         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
45180         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45181         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45182         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45183         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45184         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45185         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45186         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45187         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45188         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45189         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
45190         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45191         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45192         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
45193         * sysdeps/mach/hurd/errnos.awk: Likewise.
45194         * sysdeps/mach/hurd/fork.c: Likewise.
45195         * sysdeps/mach/hurd/getcwd.c: Likewise.
45196         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
45197         * sysdeps/mach/hurd/mmap.c: Likewise.
45198         * sysdeps/mach/hurd/utimes.c: Likewise.
45199         * sysdeps/mach/hurd/xmknod.c: Likewise.
45200         * sysdeps/posix/profil.c: Likewise.
45201         * sysdeps/posix/readdir_r.c: Likewise.
45202         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45203         * sysdeps/powerpc/bits/setjmp.h: Likewise.
45204         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
45205         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45207         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45208         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45209         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45211         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45212         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45213         * sysdeps/pthread/lio_listio.c: Likewise.
45214         * sysdeps/sparc/dl-procinfo.h: Likewise.
45215         * sysdeps/unix/i386/sysdep.S: Likewise.
45216         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
45217         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
45218         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
45219         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
45220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45221         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
45222         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
45223         * sysdeps/unix/sysv/linux/speed.c: Likewise.
45224         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45225         * sysdeps/wordsize-32/divdi3.c: Likewise.
45226         * time/sys/time.h: Likewise.
45227         * wcsmbs/Makefile: Likewise.
45228
45229 2013-01-01  David S. Miller  <davem@davemloft.net>
45230
45231         * po/fr.po: Update from translation team.
45232
45233         * catgets/gencat.c: Update copyright year.
45234         * csu/version.c: Likewise.
45235         * debug/catchsegv.sh: Likewise.
45236         * debug/pcprofiledump.c: Likewise.
45237         * debug/xtrace.sh: Likewise.
45238         * elf/ldconfig.c: Likewise.
45239         * elf/ldd.bash.in: Likewise.
45240         * elf/pldd.c: Likewise.
45241         * elf/sotruss.ksh: Likewise.
45242         * elf/sprof.c: Likewise.
45243         * iconv/iconv_prog.c: Likewise.
45244         * iconv/iconvconfig.c: Likewise.
45245         * locale/programs/locale.c: Likewise.
45246         * locale/programs/localedef.c: Likewise.
45247         * login/programs/pt_chown.c: Likewise.
45248         * malloc/memusage.sh: Likewise.
45249         * malloc/memusagestat.c: Likewise.
45250         * malloc/mtrace.pl: Likewise.
45251         * nscd/nscd.c: Likewise.
45252         * nss/getent.c: Likewise.
45253         * nss/makedb.c: Likewise.
45254         * posix/getconf.c: Likewise.
45255
45256 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45257
45258         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
45259         numbers.
45260
45261 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
45262
45263         * math/bits/mathcalls.h (modf): Use __nonnull.
45264
45265 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45266
45267         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
45268         (split): Use macro CN instead of the bare value.
45269         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
45270         could be used.
45271         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
45272         instead of the bare value.
45273         (power1): Likewise.
45274
45275 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45276
45277         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
45278         __ATAN_TWOM.
45279         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45280
45281         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
45282         their values.
45283         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45284         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45285         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
45286         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45287
45288 2012-12-28  Andreas Jaeger  <aj@suse.de>
45289
45290         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
45291         values are from Linux 3.7.
45292
45293         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
45294         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
45295
45296 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45297
45298         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
45299         TRUE case.
45300
45301         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
45302         (norm): Likewise.
45303         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
45304         variables with preprocessor constants.
45305         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45306         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45307         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45308
45309 2012-12-27  Bruno Haible  <bruno@clisp.org>
45310
45311         [BZ #14317]
45312         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
45313         only if needed.
45314
45315 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45316
45317         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
45318         and use variable directly.
45319         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
45320
45321         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45322         MPONE.
45323         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
45324         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45325         variable MPONE.
45326         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45328         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
45329         include directive.  Remove local variable MPONE.
45330         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
45331         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45332         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45333
45334 2012-12-25  David S. Miller  <davem@davemloft.net>
45335
45336         * version.h (RELEASE): Set to "development".
45337         (VERSION): Set to "2.17.90".
45338         * NEWS: Add 2.18 section.
45339
45340 2012-12-21  David S. Miller  <davem@davemloft.net>
45341
45342         * po/hr.po: Update from translation team.
45343
45344 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45345
45346         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
45347
45348 2012-12-19  Steve Ellcey  <sellcey@mips.com>
45349
45350         * NEWS:  Mention new memcpy for MIPS.
45351
45352 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45353
45354         * manual/contrib.texi (Contributors): Spelling correction.
45355
45356 2012-12-15  David S. Miller  <davem@davemloft.net>
45357
45358         * po/ru.po: Update from translation team.
45359
45360 2012-12-13  David S. Miller  <davem@davemloft.net>
45361
45362         * NEWS: Mention IFUNC testsuite enhancements.
45363
45364         * po/pl.po: Update from translation team.
45365         * po/bg.po: Likewise.
45366
45367         * manual/contrib.texi (Contributors): Update entries for Hongjiu
45368         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
45369
45370 2012-12-11  David S. Miller  <davem@davemloft.net>
45371
45372         * po/sv.po: Update from translation team.
45373
45374         * po/vi.po: Update from translation team.
45375
45376         * po/cs.po: Update from translation team.
45377
45378         * po/de.po: Update from translation team.
45379         * po/eo.po: Likewise.
45380         * po/nl.po: Likewise.
45381
45382 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45383
45384         [BZ #14246]
45385         * manual/argp.texi (Argp Helper Functions): Move node to follow
45386         Argp Parsing State.
45387
45388         [BZ #14872]
45389         * manual/conf.texi (Limits on File System Capacity): Mention if
45390         terminating null is included in the max size.
45391
45392 2012-12-10  Andreas Jaeger  <aj@suse.de>
45393
45394         * po/cs.po: Update from translation team.
45395
45396 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45397
45398         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
45399         void pointer and cast to uintptr_t.
45400         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
45401         path.
45402         * sysdeps/s390/s390-64/memcpy.S: Likewise.
45403         * sysdeps/s390/s390-64/memset.S: Likewise.
45404
45405 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
45406
45407         [BZ #14833]
45408         * menual/message.texi (Message Translation): Fix typos.
45409         (Helper programs for gettext): Likewise.
45410
45411 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
45412
45413         [BZ #14898]
45414         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
45415         Change to -1.
45416
45417 2012-12-07  David S. Miller  <davem@davemloft.net>
45418
45419         * po/libc.pot: Update.
45420
45421 2012-12-07  Richard Henderson  <rth@redhat.com>
45422
45423         [BZ #10114]
45424         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
45425         normal/normal case to before the switch.
45426         (_FP_DIV): Likewise.
45427
45428 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
45429             Mike Frysinger  <vapier@gentoo.org>
45430
45431         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
45432         check for __NR_fadvise64_64.
45433
45434 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
45435
45436         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
45437         0, not just to plain "0" as a statement.
45438         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
45439         with cw.
45440
45441 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
45442
45443         * NEWS: Use sourceware.org in Bugzilla URL.
45444
45445 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45446
45447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
45448         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45449
45450         * stdio-common/tst-put-error.c (do_test): Add newline to the
45451         padded test to ensure flush.
45452
45453 2012-12-05  Jeff Law  <law@redhat.com>
45454
45455         * sunrpc/etc.rpc (fedfs_admin): Add entry.
45456
45457 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
45458
45459         * README: Don't refer to ports add-on as distributed separately.
45460         Mention AArch64 in list of systems supported in the ports add-on.
45461
45462         * LICENSES: Add more non-FSF copyright and license notices.
45463
45464         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
45465         ((unused)).
45466
45467         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
45468
45469         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
45470         10000 as width of padded output.
45471
45472 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45473
45474         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
45475
45476         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
45477         variable LX with __attribute__ ((unused)).
45478         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45479         Likewise.
45480         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45481         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45482         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
45483         with __attribute__ ((unused)).
45484
45485 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
45486
45487         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
45488
45489 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45490
45491         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
45492         (CFLAGS-nldbl-acos.c): New variable.
45493         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
45494         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
45495         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
45496         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
45497         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
45498         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
45499         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
45500         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
45501         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
45502         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
45503         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
45504         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
45505         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
45506         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
45507         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
45508         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
45509         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
45510         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
45511         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
45512         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
45513         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
45514         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
45515         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
45516         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
45517         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
45518         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
45519         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
45520         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
45521         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
45522         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
45523         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
45524         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
45525         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
45526         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
45527         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
45528         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
45529         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
45530         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
45531         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
45532         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
45533         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
45534         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
45535         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
45536         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
45537         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
45538         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
45539         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
45540         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
45541         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
45542         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
45543         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
45544         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
45545         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
45546         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
45547         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
45548         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
45549         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
45550         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
45551         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
45552         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
45553         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
45554         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
45555         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
45556         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
45557         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
45558         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
45559         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
45560         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
45561         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
45562         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
45563         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
45564         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
45565         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
45566         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
45567         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
45568         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
45569         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
45570         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
45571         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
45572         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
45573         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
45574         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
45575         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
45576         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
45577         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
45578         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
45579         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
45580         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
45581         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
45582         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
45583         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
45584         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
45585         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
45586         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
45587         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
45588         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
45589         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
45590
45591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45592         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45593
45594         [BZ #14914]
45595         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
45596         whole low double instead of just low 47 bits when splitting values
45597         into two parts.
45598
45599 2012-12-03  Allan McRae  <allan@archlinux.org>
45600
45601         * manual/stdio.texi (Predefined Printf Handlers): Remove
45602         @hsep and @vsep usage.
45603
45604 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
45605
45606         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
45607         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
45608
45609 2012-12-03  Jeff Law  <law@redhat.com>
45610
45611         * time/sys/time.h (settimeofday): Do not mark TV argument
45612         as __nonnull.
45613
45614 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
45615
45616         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
45617         when currently writing and seek to current position when not.
45618         * libio/Makefile (tests): Remove bug-fclose1.
45619         * libio/bug-fclose1.c: Delete.
45620
45621 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
45622
45623         * manual/arith.texi (feenableexcept): Fix typo.
45624         (fedisableexcept): Likewise.
45625
45626 2012-11-30  Roland McGrath  <roland@hack.frob.com>
45627
45628         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
45629         second, differently-typed declaration, rather than a cast.
45630
45631 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45632
45633         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
45634         * include/rpc/svc.h: ... here.
45635
45636 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
45637
45638         [BZ #13013]
45639         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
45640         depending n and resplen2 to catch cases where answer
45641         equals answerp2.
45642
45643 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
45644
45645         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
45646         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
45647
45648 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
45649
45650         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
45651
45652 2012-11-29  Roland McGrath  <roland@hack.frob.com>
45653
45654         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
45655
45656 2012-11-28  Jeff Law  <law@redhat.com>
45657
45658         [BZ #13761]
45659         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
45660         dataset_temporary.  Track alloca usage into alloca_used.
45661         If dataset is large allocate and release it via malloc/free.
45662
45663 2012-06-04  Florian Weimer  <fweimer@redhat.com>
45664
45665         [BZ #14197]
45666         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
45667
45668 2012-11-28  David S. Miller  <davem@davemloft.net>
45669
45670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45671
45672 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45673
45674         [BZ #14803]
45675         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
45676         of pi/2 rounded to nearest to 64 bits.
45677         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
45678         nearest to 64 bits.
45679         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
45680         bits.
45681
45682 2012-11-28  Jeff Law <law@redhat.com>
45683             Martin Osvald <mosvald@redhat.com>
45684
45685         [BZ #14889]
45686         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
45687         * sunrpc/svc.c: Include time.h.
45688         (__svc_accept_failed): New function.
45689         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
45690         any reason other than EINTR, call __svc_accept_failed.
45691         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
45692         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
45693
45694 2012-11-28  Andreas Schwab  <schwab@suse.de>
45695
45696         * scripts/abilist.awk: Also handle indirect functions in .opd
45697         section.
45698
45699 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45700
45701         [BZ #13881]
45702         * sysdeps/x86/fpu/powl_helper.c: New file.
45703         * sysdeps/x86/fpu/Makefile: Likewise.
45704         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
45705         (p3): New object.
45706         (__ieee754_powl): Use __powl_helper for finite arguments except
45707         integer exponents below 8.
45708         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
45709         (p3): New object.
45710         (__ieee754_powl): Use __powl_helper for finite arguments except
45711         integer exponents below 8.
45712         * math/libm-test.inc (pow_test): Add more tests and enable some
45713         previously disabled tests.
45714         * sysdeps/i386/fpu/libm-test-ulps: Update.
45715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45716
45717 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45718             Carlos O'Donell  <carlos_odonell@mentor.com>
45719
45720         * nss/makedb.c (is_prime): Assert that input is odd and greater
45721         than 4.  Note that fact in a comment too.
45722         (next_prime): Add 4 to input.
45723
45724 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45725
45726         [BZ #11741]
45727         * libio/Makefile (tests): Add test case tst-fwrite-error.
45728         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
45729         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
45730         * libio/tst-fwrite-error.c: New test case.
45731
45732 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
45733
45734         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
45735         before casting to void *.
45736         * include/libc-internal.h (__pointer_type): New macro.
45737         (__integer_if_pointer_type_sub): Likewise.
45738         (__integer_if_pointer_type): Likewise.
45739         (cast_to_integer): Likewise.
45740         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
45741         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
45742         before casting to atomic64_t.
45743         (atomic_exchange_acq): Likewise.
45744         (__arch_exchange_and_add_body): Likewise.
45745         (__arch_add_body): Likewise.
45746         (atomic_add_negative): Likewise.
45747         (atomic_add_zero): Likewise.
45748
45749 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
45750
45751         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
45752         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
45753         (add_fdes): Likewise.
45754         (linear_search_fdes): Likewise.
45755         (binary_search_unencoded_fdes): Likewise.
45756
45757 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
45758
45759         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
45760
45761 2012-11-24  Adam Conrad  <adconrad@0c3.net>
45762
45763         * configure.in: Autodetect C++ header directories.
45764         * configure: Regenerated.
45765
45766 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
45767
45768         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
45769
45770 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
45771
45772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45773
45774 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
45775
45776         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
45777         LDBL_MANT_DIG == 106]: Disable some tests.
45778         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45779         Likewise.
45780         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45781         Likewise.
45782
45783         [BZ #14871]
45784         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
45785         input for small inputs.  Return +/- pi/2 for large inputs.
45786         * math/libm-test.inc (atan_test): Add more tests.
45787
45788         * sysdeps/generic/unwind-dw2-fde-glibc.c
45789         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
45790         __attribute__ ((unused)).
45791
45792         [BZ #14645]
45793         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
45794         x * y if x and y are nonzero and z is zero.
45795
45796         [BZ #14811]
45797         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
45798         nonzero exponents with absolute value below 0x1p-117 to +/-
45799         0x1p-117.
45800
45801         [BZ #14869]
45802         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
45803         up arguments below 2**-450, not just those below 2**-500.
45804         * math/libm-test.inc (hypot_test): Add another test.
45805
45806         [BZ #14868]
45807         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
45808         Return a+b for ratio over 2**120, not 2**60.
45809         * math/libm-test.inc (hypot_test): Add another test.
45810
45811         * math/libm-test.inc (clog_test): Use
45812         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
45813         (clog10_test): Likewise.
45814
45815         [BZ #6778]
45816         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
45817
45818 2012-11-22  Andreas Schwab  <schwab@suse.de>
45819
45820         * sysdeps/i386/fpu/libm-test-ulps: Update.
45821
45822 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
45823
45824         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
45825         printf output with newline.
45826
45827 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
45828
45829         [BZ #14865]
45830         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
45831         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
45832         -z nodlopen, -z initfirst and -z execstack support.
45833         * configure: Regenerated.
45834
45835         * elf/elf.h (DF_1_NODIRECT): New macro.
45836         (DF_1_IGNMULDEF): Likewise.
45837         (DF_1_NOKSYMS): Likewise.
45838         (DF_1_NOHDR): Likewise.
45839         (DF_1_EDITED): Likewise.
45840         (DF_1_NORELOC): Likewise.
45841         (DF_1_SYMINTPOSE): Likewise.
45842         (DF_1_GLOBAUDIT): Likewise.
45843         (DF_1_SINGLETON): Likewise.
45844         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
45845         DT_1_SUPPORTED_MASK bits.
45846         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
45847
45848 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
45849
45850         * sysdeps/unix/make-syscalls.sh: Document prefixes.
45851
45852 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
45853
45854         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
45855         macro.
45856
45857         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
45858         (sendmmsg): Move declarations...
45859         * socket/sys/socket.h: ... here.
45860         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
45861         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
45862         include it from...
45863         * socket/recvmmsg.c: ... this new file.
45864         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
45865         (sendmmsg): Rename to __sendmmsg, create weak alias and make
45866         definition of __sendmmsg hidden.
45867         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
45868         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
45869         Move ENOSYS stub into and include it from...
45870         * socket/sendmmsg.c: ... this new file.
45871         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
45872         (sysdep_routines): Move recvmmsg and sendmmsg...
45873         * socket/Makefile (routines): ... here.
45874         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
45875         (GLIBC_PRIVATE): Add __sendmmsg.
45876         * include/sys/socket.h (__sendmmsg): Add declarations.
45877         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
45878         sendmmsg.
45879
45880 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
45881
45882         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
45883         variable I1 with __attribute__ ((unused)).
45884         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45885
45886 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
45887
45888         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
45889         DUMMY variables with __attribute__ ((unused)).
45890
45891         * bits/byteswap.h: Include <bits/types.h>.
45892         (__bswap_64): Use __uint64_t instead of unsigned long long int.
45893
45894 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
45895
45896         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
45897         string_t.  Do not manually set errno.
45898         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
45899         length with __strnlen.  Make sure to both set errno and return it on
45900         failure.
45901
45902 2012-11-19  David S. Miller  <davem@davemloft.net>
45903
45904         With help from Joseph Myers.
45905         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
45906         very large arguments properly.
45907         * math/libm-test.inc (atan_test): New tests.
45908         (atan2_test): New tests.
45909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45911
45912 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
45913
45914         [BZ #14856]
45915         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
45916         Define to 3.
45917
45918         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
45919         [POSIX] (EADDRNOTAVAIL): Likewise.
45920         [POSIX] (EAFNOSUPPORT): Likewise.
45921         [POSIX] (EALREADY): Likewise.
45922         [POSIX] (ECONNABORTED): Likewise.
45923         [POSIX] (ECONNREFUSED): Likewise.
45924         [POSIX] (ECONNRESET): Likewise.
45925         [POSIX] (EDESTADDRREQ): Likewise.
45926         [POSIX] (EDQUOT): Likewise.
45927         [POSIX] (EHOSTUNREACH): Likewise.
45928         [POSIX] (EIDRM): Likewise.
45929         [POSIX] (EISCONN): Likewise.
45930         [POSIX] (ELOOP): Likewise.
45931         [POSIX] (EMULTIHOP): Likewise.
45932         [POSIX] (ENETDOWN): Likewise.
45933         [POSIX] (ENETUNREACH): Likewise.
45934         [POSIX] (ENOBUFS): Likewise.
45935         [POSIX] (ENODATA): Likewise.
45936         [POSIX] (ENOLINK): Likewise.
45937         [POSIX] (ENOMSG): Likewise.
45938         [POSIX] (ENOPROTOOPT): Likewise.
45939         [POSIX] (ENOSR): Likewise.
45940         [POSIX] (ENOSTR): Likewise.
45941         [POSIX] (ENOTCONN): Likewise.
45942         [POSIX] (ENOTSOCK): Likewise.
45943         [POSIX] (EOPNOTSUPP): Likewise.
45944         [POSIX] (EOVERFLOW): Likewise.
45945         [POSIX] (EPROTO): Likewise.
45946         [POSIX] (EPROTONOSUPPORT): Likewise.
45947         [POSIX] (EPROTOTYPE): Likewise.
45948         [POSIX] (ESTALE): Likewise.
45949         [POSIX] (ETIME): Likewise.
45950         [POSIX] (ETXTBSY): Likewise.
45951         [POSIX] (EWOULDBLOCK): Likewise.
45952         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
45953         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
45954         [POSIX] (SEEK_CUR): Likewise.
45955         [POSIX] (SEEK_END): Likewise.
45956         [POSIX || UNIX98] (mode_t): Do not require.
45957         [POSIX] (off_t): Likewise.
45958         [POSIX] (pid_t): Likewise.
45959         [POSIX] (sys/stat.h): Do not allow header.
45960         [POSIX] (unistd.h): Likewise.
45961         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
45962         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
45963         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
45964         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
45965         require.
45966         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
45967         sigevent): Specify elements.
45968         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
45969         entry.
45970         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
45971         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
45972
45973         * conform/data/cpio.h-data [POSIX]: Disable whole file.
45974         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
45975         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
45976         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
45977         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
45978         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
45979         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
45980         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
45981         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
45982         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
45983         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
45984         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
45985         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
45986         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
45987         Likewise.
45988         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
45989         Likewise.
45990         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
45991         Likewise.
45992         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
45993         Likewise.
45994         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
45995         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
45996         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
45997         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
45998         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
45999         Specify lower bound on value.
46000         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
46001         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
46002         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46003         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46004         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46005         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46006         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46007         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46008         value.
46009         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46010         as optional.
46011         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46012         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46013         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46014         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46015         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46016         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46017         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46018         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46019         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46020         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46021         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46022         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46023         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46024         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46025         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46026         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46027         entry.
46028         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46029         optional.
46030         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46031         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46032         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46033         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46034         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46035         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46036         Likewise.
46037         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46038         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46039         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46040         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46041         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46042         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46043         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46044         as optional.
46045         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46046         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46047         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46048         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46049         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46050         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46051         specify as optional.
46052         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46053         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46054         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46055         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46056         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46057         [XPG3] (NL_LANGMAX): Likewise.
46058         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46059         [POSIX || XPG3] (NL_NMAX): Likewise.
46060         [POSIX || XPG3] (NL_SETMAX): Likewise.
46061         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46062         [XPG3] (NZERO): Likewise.
46063         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46064         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46065         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46066         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46067         (REG_ERANGE): Expect.
46068         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46069         optional-constant.
46070         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46071         Use (void) in prototype.
46072         [POSIX] (*_t): Allow.
46073         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46074         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46075         (WRDE_BADVAL): Expect.
46076
46077         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46078         expect.
46079         [XPG3 || XPG4] (O_RSYNC): Likewise.
46080         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46081         Likewise.
46082         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46083         [XPG3 || XPG4] (sigqueue): Likewise.
46084         [XPG3 || XPG4] (sigtimedwait): Likewise.
46085         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46086         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46087         [XPG3 || XPG4] (vsnprintf): Likewise.
46088         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46089         Likewise.
46090         [XPG3 || XPG4] (blksize_t): Likewise.
46091         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46092         Likewise.
46093         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46094         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46095         [XPG3 || XPG4] (struct itimerspec): Likewise.
46096         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46097         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46098         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46099         [XPG3 || XPG4] (clockid_t): Likewise.
46100         [XPG3 || XPG4] (timer_t): Likewise.
46101         [XPG3 || XPG4] (clock_getres): Likewise.
46102         [XPG3 || XPG4] (clock_gettime): Likewise.
46103         [XPG3 || XPG4] (clock_settime): Likewise.
46104         [XPG3 || XPG4] (nanosleep): Likewise.
46105         [XPG3 || XPG4] (timer_create): Likewise.
46106         [XPG3 || XPG4] (timer_delete): Likewise.
46107         [XPG3 || XPG4] (timer_gettime): Likewise.
46108         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46109         [XPG3 || XPG4] (timer_settime): Likewise.
46110         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46111         [XPG3 || XPG4] (getlogin_r): Likewise.
46112         [XPG3 || XPG4] (pread): Likewise.
46113         [XPG3 || XPG4] (pthread_atfork): Likewise.
46114         [XPG3 || XPG4] (pwrite): Likewise.
46115
46116         [BZ #14835]
46117         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46118         <bits/siginfo.h>.
46119
46120 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46121
46122         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46123         finalizing MALLSTREAM.
46124
46125         * sysdeps/mach/hurd/syncfs.c: New file.
46126
46127 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46128
46129         [BZ #14719]
46130         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46131         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46132         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46133         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46134         (_nss_dns_gethostbyname4_r): Likewise.
46135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46136         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46137
46138 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46139
46140         [BZ #13763]
46141         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46142
46143 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46144
46145         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46146         * elf/cache.c (print_entry): Print ",AArch64" for
46147         FLAG_AARCH64_LIB64
46148
46149         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46150         * elf/cache.c (print_entry): Print ",hard-float" for
46151         FLAG_ARM_LIBHF.
46152
46153 2012-11-18  David S. Miller  <davem@davemloft.net>
46154
46155         With help from Joseph Myers.
46156         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46157         cutoff to 2**-13.
46158         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46159         cutoff to 2**-25.
46160         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46161         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46162         small.
46163         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46164         * math/libm-test.inc (y0_test): New tests.
46165         (y1_test): New tests.
46166         * sysdeps/i386/fpu/libm-test-ulps: Update.
46167         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46169
46170 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46171
46172         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46173         64-bit targets.
46174         * configure: Regenerated.
46175
46176 2012-11-17  David S. Miller  <davem@davemloft.net>
46177
46178         [BZ #14811]
46179         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
46180         nonzero exponents with absolute value below 0x1p-128 to +/-
46181         0x1p-128.
46182
46183 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
46184
46185         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
46186
46187         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
46188
46189         * posix/getconf-speclist.c: New file.
46190         * posix/posix-envs.def: Likewise.
46191         * posix/confstr.c (START_ENV_GROUP): New macro.
46192         (END_ENV_GROUP): Likewise.
46193         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46194         (KNOWN_PRESENT_ENV_STRING): Likewise.
46195         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46196         (UNKNOWN_ENVIRONMENT): Likewise.
46197         (confstr): Include posix-envs.def instead of handling
46198         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
46199         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
46200         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
46201         (END_ENV_GROUP): Likewise.
46202         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46203         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46204         (UNKNOWN_ENVIRONMENT): Likewise.
46205         (__sysconf): Include posix-envs.def instead of handling associated
46206         cases directly here.
46207         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
46208         preprocessing getconf-speclist.c rather than running getconf or
46209         generating empty file.
46210
46211 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
46212
46213         * scripts/check-local-headers.sh: Ignore 'mach' headers.
46214
46215 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
46216
46217         [BZ #14672]
46218         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
46219
46220 2012-11-16  David S. Miller  <davem@davemloft.net>
46221
46222         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
46223         smaller than LDBL_EPSILON/2.0L, just return xm1.
46224
46225 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
46226
46227         * elf/tst-array1.c (init): Set constructor priority to 1000.
46228         (fini): Set destructor priority to 1000.
46229         * elf/tst-array2dep.c: Likewise.
46230
46231 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46232
46233         [BZ #11741]
46234         * libio/fileops.c (_IO_new_file_write): Correctly return error.
46235         (_IO_new_file_xsputn): Also return EOF if none of the input
46236         data was written when overflow failed.
46237         * libio/iopadn.c (_IO_padn): Likewise.
46238         * libio/iowpadn.c (_IO_wpadn): Likewise.
46239         * stdio-common/tst-put-error.c: Add copyright notice.
46240         (do_test): Add case for printing padded string.
46241         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
46242         _IO_padn returned error.
46243         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
46244         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
46245         return EOF.
46246
46247 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46248
46249         * libio/libioP.h: Add comment note that the references to C++
46250         bits are now obsolete.
46251
46252 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46253
46254         * math/libm-test.inc (check_complex): Use asprintf.
46255
46256 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
46257
46258         * debug/pcprofiledump.c (print_version): Update copyright year.
46259         * malloc/memusagestat.c (print_version): Likewise.
46260
46261 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
46262
46263         [BZ #14831]
46264         * elf/Makefile (tests): Add tst-audit8.
46265         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
46266         ($(objpfx)tst-audit8.out): New target.
46267         (tst-audit8-ENV): New variable.
46268         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
46269         audit if l_reloc_result is NULL.
46270         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
46271         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
46272         * elf/tst-audit8.c: New file.
46273
46274 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46275
46276         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
46277         * misc/Makefile (CFLAGS-select.c): Define.
46278         * posix/Makefile (CFLAGS-pause.c): Define.
46279
46280 2012-11-13  David S. Miller  <davem@davemloft.net>
46281
46282         * crypt/Makefile: Move test targets after toplevel Rules
46283         inclusion.  Grab any necessary sysdep routines when linking.
46284         * crypt/md5.c (md5_process_block): Remove define, we will always
46285         name it __md5_process_block.
46286         (md5_finish_ctx): Update md5_process_block call.
46287         (md5_stream): Likewise.
46288         (md5_process_bytes): Likewise.
46289         (md5_process_block): Rename to __md5_process_block and move to ...
46290         * crypt/md5-block.c: ... here.
46291         * crypt/sha256.c (sha256_process_block): Move to ...
46292         * crypt/sha256-block.c: ... here.
46293         * crypt/sha512.c (sha512_process_block): Move to ...
46294         * crypt/sha512-block.c: ... here.
46295         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
46296         path.
46297         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
46298         * sysdeps/sparc/sparc64/multiarch/Makefile
46299         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
46300         crypt subdir.
46301         (localedef-aux): Add md5 crypto assembler when in locale subdir.
46302         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
46303         multiarch changes.
46304         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
46305         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
46306         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
46307         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
46308         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
46309         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
46310         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
46311         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
46312         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
46313         file.
46314         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
46315         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
46316         file.
46317         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
46318
46319 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
46320
46321         * timezone/tzselect.ksh: Update from tzcode git revision
46322         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
46323         * timezone/zdump.c: Likewise.
46324         * timezone/zic.c: Likewise.
46325         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
46326         in TZVERSION setting, not $(PKGVERSION).
46327         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
46328         REPORT_BUGS_TO settings.
46329
46330         [BZ #14838]
46331         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
46332         macro.
46333
46334 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46335
46336         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
46337         detection to immediately after _FP_ROUND().
46338         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
46339         bits are 0.
46340
46341 2012-11-11  David S. Miller  <davem@davemloft.net>
46342
46343         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
46344         inttypes.h
46345         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
46346         __close rather than their public counterparts.
46347
46348 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
46349
46350         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
46351         file.
46352         [UNIX98] (sem_timedwait): Do not expect.
46353         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
46354         [XPG4 || UNIX98] (sockatmark): Do not expect.
46355         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
46356         (clock_getcpuclockid): Do not expect.
46357         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
46358         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
46359         Do not expect.
46360         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
46361         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
46362         [UNIX98] (vwscanf): Likewise.
46363         [UNIX98] (vswscanf): Likewise.
46364
46365 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
46366
46367         * timezone/version.h: Remove file.
46368         * timezone/README: Do not refer to version.h.
46369         * timezone/Makefile ($(objpfx)zic.o): New dependency on
46370         $(objpfx)version.h.
46371         ($(objpfx)zdump.o): Likewise.
46372         ($(objpfx)version.h): New target.
46373
46374         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
46375         2012i.
46376         * timezone/README: Don't mention modification to tzselect.ksh.
46377         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
46378         work on unmodified tzselect.ksh.  Substitute version numbers in
46379         tzselect.ksh.
46380
46381         * Makefile (format-me): Remove.
46382         (INSTALL): Adjust indentation.  Use commands directly instead of
46383         using $(format-me).
46384
46385         * aclocal.m4 (ACX_PKGVERSION): New macro.
46386         (ACX_BUGURL): Likewise.
46387         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
46388         (PKGVERSION): New AC_DEFINE_UNQUOTED.
46389         (REPORT_BUGS_TO): Likewise.
46390         * configure: Regenerated.
46391         * config.h.in (PKGVERSION): New macro.
46392         (REPORT_BUGS_TO): Likewise.
46393         * config.make.in (PKGVERSION): New variable.
46394         (PKGVERSION_TEXI): Likewise.
46395         (REPORT_BUGS_TO): Likewise.
46396         (REPORT_BUGS_TEXI): Likewise.
46397         * Makefile (format-me): Use -I$(common-objpfx)manual.
46398         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
46399         ($(common-objpfx)manual/%): New target.
46400         (manual/%): Remove target.
46401         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
46402         (print_version): Use PKGVERSION.
46403         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
46404         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
46405         and REPORT_BUGS_TO.
46406         ($(objpfx)xtrace): Likewise.
46407         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
46408         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
46409         (print_version): Use PKGVERSION.
46410         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
46411         (do_version): Use PKGVERSION.
46412         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
46413         REPORT_BUGS_TO.
46414         (common-ldd-rewrite): Likewise.
46415         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
46416         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46417         (print_version): Use PKGVERSION.
46418         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
46419         * elf/pldd.c (argp_program_bug_address): Remove variable.
46420         (more_help): New function.
46421         (argp): Use more_help.
46422         (print_version): Use PKGVERSION.
46423         * elf/sln.c (main): Use PKGVERSION.
46424         (usage): Use REPORT_BUGS_TO.
46425         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
46426         (top level): Use PKGVERSION.
46427         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46428         (print_version): Use PKGVERSION.
46429         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
46430         (print_version): Use PKGVERSION.
46431         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
46432         (print_version): Use PKGVERSION.
46433         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
46434         (print_version): Use PKGVERSION.
46435         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
46436         (print_version): Use PKGVERSION.
46437         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
46438         (print_version): Use PKGVERSION.
46439         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
46440         and BUGURL.
46441         ($(objpfx)memusage): Likewise.
46442         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
46443         (do_version): Use PKGVERSION.
46444         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
46445         (print_version): Use PKGVERSION.
46446         * malloc/mtrace.pl ($PACKAGE): Remove variable.
46447         ($PKGVERSION): New variable.
46448         ($REPORT_BUGS_TO): Likewise.
46449         (usage): Use $REPORT_BUGS_TO.
46450         (top level): Use $PKGVERSION.
46451         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
46452         ($(objpfx)pkgvers.texi): New rule.
46453         ($(objpfx)stamp-pkgvers): Likewise.
46454         * manual/install.texi: Include pkgvers.texi.
46455         (--with-pkgversion): Document new configure option.
46456         (--with-bugurl): Likewise.
46457         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
46458         than necessarily for this particular distribution.  Use
46459         REPORT_BUGS_TO for where to report bugs.
46460         * INSTALL: Regenerated.
46461         * manual/libc.texinfo: Include pkgvers.texi.
46462         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
46463         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
46464         (print_version): Use PKGVERSION.
46465         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
46466         (print_version): Use PKGVERSION.
46467         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
46468         (print_version): Use PKGVERSION.
46469         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
46470         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
46471         macro.
46472         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
46473         (print_version): Use PKGVERSION.
46474         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
46475         (print_version): Use PKGVERSION.
46476         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
46477         and PKGVERSION.
46478
46479         * timezone/checktab.awk: Update from tzcode 2012i.
46480         * timezone/ialloc.c: Likewise.
46481         * timezone/private.h: Likewise.
46482         * timezone/scheck.c: Likewise.
46483         * timezone/tzfile.h: Likewise.
46484         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
46485         (TZVERSION): Hardcode tzcode version number.
46486         * timezone/zdump.c: Update from tzcode 2012i.
46487         * timezone/zic.c: Likewise.
46488         * timezone/version.h: New file.
46489         * timezone/README: Describe version.h.  Update upstream location.
46490
46491         [BZ #14824]
46492         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
46493         (mktemp): Enable declaration.
46494         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
46495         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
46496         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
46497         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
46498         Likewise.
46499         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
46500         Likewise.
46501         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
46502         Likewise.
46503         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
46504         Likewise.
46505         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
46506         Likewise.
46507         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
46508         Likewise.
46509
46510         [BZ #14821]
46511         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
46512         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
46513         for copies of such integer values.
46514         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46515         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46516
46517 2012-11-09  Andreas Jaeger  <aj@suse.de>
46518
46519         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
46520         definitions and declarations that are provided by
46521         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46522
46523 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46524
46525         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
46526         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
46527         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
46528         definition.
46529
46530 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46531
46532         * elf/elf.h: Update comment before AArch64 relocations.
46533
46534 2012-11-07  David S. Miller  <davem@davemloft.net>
46535
46536         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
46537         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46538         (__start_context): Declare.
46539         (__makecontext_ret): Delete.
46540         (__makecontext): Hook up __start_context instead of
46541         __makecontext_ret.
46542         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
46543         (sysdep_routines): Add __start_context when in stdlib.
46544
46545 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46546
46547         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
46548         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
46549         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
46550         hardcoded "nm".
46551         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
46552         (READELF): New variable.  Use it instead of hardcoded "readelf".
46553
46554 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46555
46556         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
46557         * sysdeps/x86/Makefile: Here.
46558         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
46559         * sysdeps/x86/tst-xmmymm.sh: This.
46560
46561 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46562
46563         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
46564         expectations.
46565         [UNIX98] (pthread_barrier_t): Do not expect.
46566         [UNIX98] (pthread_barrierattr_t): Likewise.
46567         [UNIX98] (pthread_spinlock_t): Likewise.
46568         [UNIX98] (pthread_barrier_destroy): Likewise.
46569         [UNIX98] (pthread_barrier_init): Likewise.
46570         [UNIX98] (pthread_barrier_wait): Likewise.
46571         [UNIX98] (pthread_barrierattr_destroy): Likewise.
46572         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
46573         [UNIX98] (pthread_barrierattr_init): Likewise.
46574         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
46575         [UNIX98] (pthread_getcpuclockid): Likewise.
46576         [UNIX98] (pthread_mutex_timedlock): Likewise.
46577         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
46578         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
46579         [UNIX98] (pthread_sigmask): Likewise.
46580         [UNIX98] (pthread_spin_destroy): Likewise.
46581         [UNIX98] (pthread_spin_init): Likewise.
46582         [UNIX98] (pthread_spin_lock): Likewise.
46583         [UNIX98] (pthread_spin_trylock): Likewise.
46584         [UNIX98] (pthread_spin_unlock): Likewise.
46585         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
46586         Do not expect.
46587         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
46588         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
46589         [XPG3 || XPG4] (pthread_cond_t): Likewise.
46590         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
46591         [XPG3 || XPG4] (pthread_key_t): Likewise.
46592         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
46593         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
46594         [XPG3 || XPG4] (pthread_once_t): Likewise.
46595         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
46596         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
46597         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
46598         [XPG3 || XPG4] (pthread_t): Likewise.
46599
46600         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
46601         not expect.
46602         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
46603
46604         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
46605         Change function return type to int.
46606
46607         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
46608         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
46609         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
46610         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
46611         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
46612         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
46613         [!POSIX] (posix_madvise): Likewise.
46614         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
46615         && !UNIX98].
46616         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
46617         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
46618         (mode_t): Likewise.
46619         (posix_mem_offset): Likewise.
46620         (posix_typed_mem_get_info): Likewise.
46621         (posix_typed_mem_open): Likewise.
46622
46623         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
46624         Change condition to [XOPEN2K8].
46625
46626         * conform/conformtest.pl: Preprocess allow-header data with -x c
46627         instead of from stdin.
46628         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
46629         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
46630         [C99-based standards] (cerfc): Likewise.
46631         [C99-based standards] (cexp2): Likewise.
46632         [C99-based standards] (cexpm1): Likewise.
46633         [C99-based standards] (clog10): Likewise.
46634         [C99-based standards] (clog1p): Likewise.
46635         [C99-based standards] (clog2): Likewise.
46636         [C99-based standards] (clgamma): Likewise.
46637         [C99-based standards] (ctgamma): Likewise.
46638         [C99-based standards] (cerff): Likewise.
46639         [C99-based standards] (cerfcf): Likewise.
46640         [C99-based standards] (cexp2f): Likewise.
46641         [C99-based standards] (cexpm1f): Likewise.
46642         [C99-based standards] (clog10f): Likewise.
46643         [C99-based standards] (clog1pf): Likewise.
46644         [C99-based standards] (clog2f): Likewise.
46645         [C99-based standards] (clgammaf): Likewise.
46646         [C99-based standards] (ctgammaf): Likewise.
46647         [C99-based standards] (cerfl): Likewise.
46648         [C99-based standards] (cerfcl): Likewise.
46649         [C99-based standards] (cexp2l): Likewise.
46650         [C99-based standards] (cexpm1l): Likewise.
46651         [C99-based standards] (clog10l): Likewise.
46652         [C99-based standards] (clog1pl): Likewise.
46653         [C99-based standards] (clog2l): Likewise.
46654         [C99-based standards] (clgammal): Likewise.
46655         [C99-based standards] (ctgammal): Likewise.
46656         * conform/data/inttypes.h-data [C99-based standards]: Include
46657         stdint.h-data.  Remove all expectations for stdint.h contents.
46658         [C99-based standards] (PRI*): Do not allow.
46659         [C99-based standards] (SCN*): Likewise.
46660         [C99-based standards] (*_t): Likewise.
46661         [C99-based-standards] (PRId8): Expect macro.
46662         [C99-based-standards] (PRIi8): Likewise.
46663         [C99-based-standards] (PRIo8): Likewise.
46664         [C99-based-standards] (PRIu8): Likewise.
46665         [C99-based-standards] (PRIx8): Likewise.
46666         [C99-based-standards] (PRIX8): Likewise.
46667         [C99-based-standards] (SCNd8): Likewise.
46668         [C99-based-standards] (SCNi8): Likewise.
46669         [C99-based-standards] (SCNo8): Likewise.
46670         [C99-based-standards] (SCNu8): Likewise.
46671         [C99-based-standards] (SCNx8): Likewise.
46672         [C99-based-standards] (PRIdLEAST8): Likewise.
46673         [C99-based-standards] (PRIiLEAST8): Likewise.
46674         [C99-based-standards] (PRIoLEAST8): Likewise.
46675         [C99-based-standards] (PRIuLEAST8): Likewise.
46676         [C99-based-standards] (PRIxLEAST8): Likewise.
46677         [C99-based-standards] (PRIXLEAST8): Likewise.
46678         [C99-based-standards] (SCNdLEAST8): Likewise.
46679         [C99-based-standards] (SCNiLEAST8): Likewise.
46680         [C99-based-standards] (SCNoLEAST8): Likewise.
46681         [C99-based-standards] (SCNuLEAST8): Likewise.
46682         [C99-based-standards] (SCNxLEAST8): Likewise.
46683         [C99-based-standards] (PRIdFAST8): Likewise.
46684         [C99-based-standards] (PRIiFAST8): Likewise.
46685         [C99-based-standards] (PRIoFAST8): Likewise.
46686         [C99-based-standards] (PRIuFAST8): Likewise.
46687         [C99-based-standards] (PRIxFAST8): Likewise.
46688         [C99-based-standards] (PRIXFAST8): Likewise.
46689         [C99-based-standards] (SCNdFAST8): Likewise.
46690         [C99-based-standards] (SCNiFAST8): Likewise.
46691         [C99-based-standards] (SCNoFAST8): Likewise.
46692         [C99-based-standards] (SCNuFAST8): Likewise.
46693         [C99-based-standards] (SCNxFAST8): Likewise.
46694         [C99-based-standards] (PRId16): Likewise.
46695         [C99-based-standards] (PRIi16): Likewise.
46696         [C99-based-standards] (PRIo16): Likewise.
46697         [C99-based-standards] (PRIu16): Likewise.
46698         [C99-based-standards] (PRIx16): Likewise.
46699         [C99-based-standards] (PRIX16): Likewise.
46700         [C99-based-standards] (SCNd16): Likewise.
46701         [C99-based-standards] (SCNi16): Likewise.
46702         [C99-based-standards] (SCNo16): Likewise.
46703         [C99-based-standards] (SCNu16): Likewise.
46704         [C99-based-standards] (SCNx16): Likewise.
46705         [C99-based-standards] (PRIdLEAST16): Likewise.
46706         [C99-based-standards] (PRIiLEAST16): Likewise.
46707         [C99-based-standards] (PRIoLEAST16): Likewise.
46708         [C99-based-standards] (PRIuLEAST16): Likewise.
46709         [C99-based-standards] (PRIxLEAST16): Likewise.
46710         [C99-based-standards] (PRIXLEAST16): Likewise.
46711         [C99-based-standards] (SCNdLEAST16): Likewise.
46712         [C99-based-standards] (SCNiLEAST16): Likewise.
46713         [C99-based-standards] (SCNoLEAST16): Likewise.
46714         [C99-based-standards] (SCNuLEAST16): Likewise.
46715         [C99-based-standards] (SCNxLEAST16): Likewise.
46716         [C99-based-standards] (PRIdFAST16): Likewise.
46717         [C99-based-standards] (PRIiFAST16): Likewise.
46718         [C99-based-standards] (PRIoFAST16): Likewise.
46719         [C99-based-standards] (PRIuFAST16): Likewise.
46720         [C99-based-standards] (PRIxFAST16): Likewise.
46721         [C99-based-standards] (PRIXFAST16): Likewise.
46722         [C99-based-standards] (SCNdFAST16): Likewise.
46723         [C99-based-standards] (SCNiFAST16): Likewise.
46724         [C99-based-standards] (SCNoFAST16): Likewise.
46725         [C99-based-standards] (SCNuFAST16): Likewise.
46726         [C99-based-standards] (SCNxFAST16): Likewise.
46727         [C99-based-standards] (PRId32): Likewise.
46728         [C99-based-standards] (PRIi32): Likewise.
46729         [C99-based-standards] (PRIo32): Likewise.
46730         [C99-based-standards] (PRIu32): Likewise.
46731         [C99-based-standards] (PRIx32): Likewise.
46732         [C99-based-standards] (PRIX32): Likewise.
46733         [C99-based-standards] (SCNd32): Likewise.
46734         [C99-based-standards] (SCNi32): Likewise.
46735         [C99-based-standards] (SCNo32): Likewise.
46736         [C99-based-standards] (SCNu32): Likewise.
46737         [C99-based-standards] (SCNx32): Likewise.
46738         [C99-based-standards] (PRIdLEAST32): Likewise.
46739         [C99-based-standards] (PRIiLEAST32): Likewise.
46740         [C99-based-standards] (PRIoLEAST32): Likewise.
46741         [C99-based-standards] (PRIuLEAST32): Likewise.
46742         [C99-based-standards] (PRIxLEAST32): Likewise.
46743         [C99-based-standards] (PRIXLEAST32): Likewise.
46744         [C99-based-standards] (SCNdLEAST32): Likewise.
46745         [C99-based-standards] (SCNiLEAST32): Likewise.
46746         [C99-based-standards] (SCNoLEAST32): Likewise.
46747         [C99-based-standards] (SCNuLEAST32): Likewise.
46748         [C99-based-standards] (SCNxLEAST32): Likewise.
46749         [C99-based-standards] (PRIdFAST32): Likewise.
46750         [C99-based-standards] (PRIiFAST32): Likewise.
46751         [C99-based-standards] (PRIoFAST32): Likewise.
46752         [C99-based-standards] (PRIuFAST32): Likewise.
46753         [C99-based-standards] (PRIxFAST32): Likewise.
46754         [C99-based-standards] (PRIXFAST32): Likewise.
46755         [C99-based-standards] (SCNdFAST32): Likewise.
46756         [C99-based-standards] (SCNiFAST32): Likewise.
46757         [C99-based-standards] (SCNoFAST32): Likewise.
46758         [C99-based-standards] (SCNuFAST32): Likewise.
46759         [C99-based-standards] (SCNxFAST32): Likewise.
46760         [C99-based-standards] (PRId64): Likewise.
46761         [C99-based-standards] (PRIi64): Likewise.
46762         [C99-based-standards] (PRIo64): Likewise.
46763         [C99-based-standards] (PRIu64): Likewise.
46764         [C99-based-standards] (PRIx64): Likewise.
46765         [C99-based-standards] (PRIX64): Likewise.
46766         [C99-based-standards] (SCNd64): Likewise.
46767         [C99-based-standards] (SCNi64): Likewise.
46768         [C99-based-standards] (SCNo64): Likewise.
46769         [C99-based-standards] (SCNu64): Likewise.
46770         [C99-based-standards] (SCNx64): Likewise.
46771         [C99-based-standards] (PRIdLEAST64): Likewise.
46772         [C99-based-standards] (PRIiLEAST64): Likewise.
46773         [C99-based-standards] (PRIoLEAST64): Likewise.
46774         [C99-based-standards] (PRIuLEAST64): Likewise.
46775         [C99-based-standards] (PRIxLEAST64): Likewise.
46776         [C99-based-standards] (PRIXLEAST64): Likewise.
46777         [C99-based-standards] (SCNdLEAST64): Likewise.
46778         [C99-based-standards] (SCNiLEAST64): Likewise.
46779         [C99-based-standards] (SCNoLEAST64): Likewise.
46780         [C99-based-standards] (SCNuLEAST64): Likewise.
46781         [C99-based-standards] (SCNxLEAST64): Likewise.
46782         [C99-based-standards] (PRIdFAST64): Likewise.
46783         [C99-based-standards] (PRIiFAST64): Likewise.
46784         [C99-based-standards] (PRIoFAST64): Likewise.
46785         [C99-based-standards] (PRIuFAST64): Likewise.
46786         [C99-based-standards] (PRIxFAST64): Likewise.
46787         [C99-based-standards] (PRIXFAST64): Likewise.
46788         [C99-based-standards] (SCNdFAST64): Likewise.
46789         [C99-based-standards] (SCNiFAST64): Likewise.
46790         [C99-based-standards] (SCNoFAST64): Likewise.
46791         [C99-based-standards] (SCNuFAST64): Likewise.
46792         [C99-based-standards] (SCNxFAST64): Likewise.
46793         [C99-based-standards] (PRIdMAX): Likewise.
46794         [C99-based-standards] (PRIiMAX): Likewise.
46795         [C99-based-standards] (PRIoMAX): Likewise.
46796         [C99-based-standards] (PRIuMAX): Likewise.
46797         [C99-based-standards] (PRIxMAX): Likewise.
46798         [C99-based-standards] (PRIXMAX): Likewise.
46799         [C99-based-standards] (SCNdMAX): Likewise.
46800         [C99-based-standards] (SCNiMAX): Likewise.
46801         [C99-based-standards] (SCNoMAX): Likewise.
46802         [C99-based-standards] (SCNuMAX): Likewise.
46803         [C99-based-standards] (SCNxMAX): Likewise.
46804         [C99-based-standards] (PRIdPTR): Likewise.
46805         [C99-based-standards] (PRIiPTR): Likewise.
46806         [C99-based-standards] (PRIoPTR): Likewise.
46807         [C99-based-standards] (PRIuPTR): Likewise.
46808         [C99-based-standards] (PRIxPTR): Likewise.
46809         [C99-based-standards] (PRIXPTR): Likewise.
46810         [C99-based-standards] (SCNdPTR): Likewise.
46811         [C99-based-standards] (SCNiPTR): Likewise.
46812         [C99-based-standards] (SCNoPTR): Likewise.
46813         [C99-based-standards] (SCNuPTR): Likewise.
46814         [C99-based-standards] (SCNxPTR): Likewise.
46815         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
46816         allow.
46817         * conform/data/stdint.h-data: Update comments to clarify
46818         requirements.
46819         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
46820         type.
46821         [C99-based standards] (INT8_MAX): Likewise.
46822         [C99-based standards] (INT16_MIN): Likewise.
46823         [C99-based standards] (INT16_MAX): Likewise.
46824         [C99-based standards] (INT32_MIN): Likewise.
46825         [C99-based standards] (INT32_MAX): Likewise.
46826         [C99-based standards] (INT64_MIN): Likewise.
46827         [C99-based standards] (INT64_MAX): Likewise.
46828         [C99-based standards] (UINT8_MAX): Likewise.
46829         [C99-based standards] (UINT16_MAX): Likewise.
46830         [C99-based standards] (UINT32_MAX): Likewise.
46831         [C99-based standards] (UINT64_MAX): Likewise.
46832         [C99-based standards] (INT_LEAST8_MIN): Likewise.
46833         [C99-based standards] (INT_LEAST8_MAX): Likewise.
46834         [C99-based standards] (INT_LEAST16_MIN): Likewise.
46835         [C99-based standards] (INT_LEAST16_MAX): Likewise.
46836         [C99-based standards] (INT_LEAST32_MIN): Likewise.
46837         [C99-based standards] (INT_LEAST32_MAX): Likewise.
46838         [C99-based standards] (INT_LEAST64_MIN): Likewise.
46839         [C99-based standards] (INT_LEAST64_MAX): Likewise.
46840         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
46841         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
46842         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
46843         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
46844         [C99-based standards] (INT_FAST8_MIN): Likewise.
46845         [C99-based standards] (INT_FAST8_MAX): Likewise.
46846         [C99-based standards] (INT_FAST16_MIN): Likewise.
46847         [C99-based standards] (INT_FAST16_MAX): Likewise.
46848         [C99-based standards] (INT_FAST32_MIN): Likewise.
46849         [C99-based standards] (INT_FAST32_MAX): Likewise.
46850         [C99-based standards] (INT_FAST64_MIN): Likewise.
46851         [C99-based standards] (INT_FAST64_MAX): Likewise.
46852         [C99-based standards] (UINT_FAST8_MAX): Likewise.
46853         [C99-based standards] (UINT_FAST16_MAX): Likewise.
46854         [C99-based standards] (UINT_FAST32_MAX): Likewise.
46855         [C99-based standards] (UINT_FAST64_MAX): Likewise.
46856         [C99-based standards] (INTPTR_MIN): Likewise.
46857         [C99-based standards] (INTPTR_MAX): Likewise.
46858         [C99-based standards] (UINTPTR_MAX): Likewise.
46859         [C99-based standards] (INTMAX_MIN): Likewise.
46860         [C99-based standards] (INTMAX_MAX): Likewise.
46861         [C99-based standards] (UINTMAX_MAX): Likewise.
46862         [C99-based standards] (PTRDIFF_MIN): Likewise.
46863         [C99-based standards] (PTRDIFF_MAX): Likewise.
46864         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
46865         [C99-based standards] (SIZE_MAX): Likewise.
46866         [C99-based standards] (WCHAR_MAX): Likewise.
46867         [C99-based standards] (WINT_MAX): Likewise.
46868         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
46869         constraint on value.
46870         [C99-based standards] (WCHAR_MIN): Likewise.
46871         [C99-based standards] (WINT_MIN): Likewise.
46872         [C99-based standards] (*_t): Allow.
46873         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
46874         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
46875         Include math.h-data and complex.h-data.  Remove all expectations
46876         of math.h and complex.h contents.
46877         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
46878         at end of line.
46879         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
46880         (struct tm): Expect tag.
46881         [C99-based-standards] (wcstof): Expect function.
46882         [C99-based-standards] (wcstold): Likewise.
46883         [C99-based-standards] (wcstoll): Likewise.
46884         [C99-based-standards] (wcstoull): Likewise.
46885         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
46886         macro-int-constant.  Specify type.
46887         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
46888         constraint on value.
46889         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46890         Specify type.
46891         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
46892         Specify value.
46893         [ISO C standards]: Do not allow headers.
46894         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
46895         wcs[abcdefghijklmnopqrstuvwxyz]*.
46896         [ISO C standards] (*_t): Do not allow.
46897         * conform/data/wctype.h-data [C99-based standards] (iswblank):
46898         Expect function.
46899         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
46900         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46901         Specify type.
46902         [ISO C standards]: Do not allow headers.
46903         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
46904         is[abcdefghijklmnopqrstuvwxyz]*.
46905         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
46906         to[abcdefghijklmnopqrstuvwxyz]*.
46907         [ISO C standards] (*_t): Do not allow.
46908         * conform/data/stdalign.h-data: New file.
46909         * conform/data/stdbool.h-data: Likewise.
46910         * conform/data/stdnoreturn.h-data: Likewise.
46911
46912 2012-11-07  Roland McGrath  <roland@hack.frob.com>
46913
46914         [BZ #14815]
46915         * manual/filesys.texi (Directory Entries): Typo fix.
46916         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
46917
46918 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46919
46920         * elf/elf.h (EM_AARCH64): New macro.
46921         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
46922         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
46923         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
46924         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
46925         (R_AARCH64_TLSDESC): Likewise.
46926         (NT_ARM_TLS): Likewise.
46927         (NT_ARM_HW_BREAK): Likewise.
46928         (NT_ARM_HW_WATCH): Likewise.
46929
46930 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46931
46932         [BZ #14811]
46933         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
46934         (__ieee754_powl): Saturate nonzero exponents with absolute value
46935         below 0x1p-79 to +/- 0x1p-79.
46936         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
46937         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
46938         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
46939         nonzero exponents with absolute value below 0x1p-32 to +/-
46940         0x1p-32.
46941         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
46942         (__ieee754_powl): Saturate nonzero exponents with absolute value
46943         below 0x1p-79 to +/- 0x1p-79.
46944         * math/libm-test.inc (pow_test): Add more tests.
46945
46946 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46947
46948         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
46949         _dl_s390_cap_flags with kernel. Increase string length.
46950         (_dl_s390_platforms): Add z196 and zEC12.
46951
46952 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46953
46954         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
46955         Change XOPEN21K to XOPEN2K.
46956
46957 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
46958
46959         * string/memmove.c: Use memcpy when possible.
46960
46961 2012-11-06  Andreas Jaeger  <aj@suse.de>
46962
46963         * po/eo.po: Update from translation team.
46964
46965 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
46966
46967         [BZ #14793]
46968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
46969         exponent and small x and y exponents, scale x or y up.  Increase
46970         by 2 the exponent used in scaling up.
46971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46972         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46973         * math/libm-test.inc (fma_test): Add more tests.
46974         (fma_test_towardzero): Likewise.
46975         (fma_test_downward): Likewise.
46976         (fma_test_upward): Likewise.
46977
46978 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
46979
46980         [BZ #14805]
46981         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
46982         fenv_t *.
46983
46984         [BZ #14801]
46985         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
46986         namespace for names of struct fields.
46987         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
46988         fenv_t fields.
46989         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
46990         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
46991
46992 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46993
46994         [BZ #3665]
46995         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
46996
46997 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
46998
46999         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
47000         PTR_DEMANGLE.
47001
47002         [BZ #5246]
47003         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47004         PTR_DEMANGLE.
47005
47006 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47007
47008         [BZ #14797]
47009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47010         definitely overflow as x * y not x * y + z.
47011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47012         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47013         * math/libm-test.inc (fma_test): Add more tests.
47014         (fma_test_towardzero): Likewise.
47015         (fma_test_downward): Likewise.
47016         (fma_test_upward): Likewise.
47017
47018 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47019
47020         [BZ #157]
47021
47022         * include/stub-tag.h: Remove file.
47023         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47024         '#include' of it.
47025         * manual/maint.texi (Porting): Don't reference it.
47026         * Makerules ($(objpfx)stubs): Likewise.
47027         * dirent/closedir.c: Don't include <stub-tag.h>.
47028         * dirent/dirfd.c: Likewise.
47029         * dirent/fdopendir.c: Likewise.
47030         * dirent/getdents.c: Likewise.
47031         * dirent/getdents64.c: Likewise.
47032         * dirent/opendir.c: Likewise.
47033         * dirent/readdir.c: Likewise.
47034         * dirent/readdir64.c: Likewise.
47035         * dirent/readdir64_r.c: Likewise.
47036         * dirent/readdir_r.c: Likewise.
47037         * dirent/rewinddir.c: Likewise.
47038         * dirent/seekdir.c: Likewise.
47039         * dirent/telldir.c: Likewise.
47040         * gmon/profil.c: Likewise.
47041         * grp/setgroups.c: Likewise.
47042         * inet/if_index.c: Likewise.
47043         * io/access.c: Likewise.
47044         * io/chdir.c: Likewise.
47045         * io/chmod.c: Likewise.
47046         * io/chown.c: Likewise.
47047         * io/close.c: Likewise.
47048         * io/dup.c: Likewise.
47049         * io/dup2.c: Likewise.
47050         * io/dup3.c: Likewise.
47051         * io/euidaccess.c: Likewise.
47052         * io/faccessat.c: Likewise.
47053         * io/fchdir.c: Likewise.
47054         * io/fchmod.c: Likewise.
47055         * io/fchmodat.c: Likewise.
47056         * io/fchown.c: Likewise.
47057         * io/fchownat.c: Likewise.
47058         * io/fcntl.c: Likewise.
47059         * io/flock.c: Likewise.
47060         * io/fstatfs.c: Likewise.
47061         * io/fstatfs64.c: Likewise.
47062         * io/fstatvfs.c: Likewise.
47063         * io/fstatvfs64.c: Likewise.
47064         * io/futimens.c: Likewise.
47065         * io/fxstat.c: Likewise.
47066         * io/fxstat64.c: Likewise.
47067         * io/fxstatat.c: Likewise.
47068         * io/fxstatat64.c: Likewise.
47069         * io/getcwd.c: Likewise.
47070         * io/isatty.c: Likewise.
47071         * io/lchmod.c: Likewise.
47072         * io/lchown.c: Likewise.
47073         * io/link.c: Likewise.
47074         * io/linkat.c: Likewise.
47075         * io/lseek.c: Likewise.
47076         * io/lseek64.c: Likewise.
47077         * io/lxstat64.c: Likewise.
47078         * io/mkdir.c: Likewise.
47079         * io/mkdirat.c: Likewise.
47080         * io/mkfifo.c: Likewise.
47081         * io/mkfifoat.c: Likewise.
47082         * io/open.c: Likewise.
47083         * io/open64.c: Likewise.
47084         * io/openat.c: Likewise.
47085         * io/openat64.c: Likewise.
47086         * io/pipe.c: Likewise.
47087         * io/pipe2.c: Likewise.
47088         * io/poll.c: Likewise.
47089         * io/posix_fadvise.c: Likewise.
47090         * io/posix_fadvise64.c: Likewise.
47091         * io/posix_fallocate.c: Likewise.
47092         * io/posix_fallocate64.c: Likewise.
47093         * io/read.c: Likewise.
47094         * io/readlink.c: Likewise.
47095         * io/readlinkat.c: Likewise.
47096         * io/rmdir.c: Likewise.
47097         * io/sendfile.c: Likewise.
47098         * io/sendfile64.c: Likewise.
47099         * io/statfs.c: Likewise.
47100         * io/statfs64.c: Likewise.
47101         * io/statvfs.c: Likewise.
47102         * io/statvfs64.c: Likewise.
47103         * io/symlink.c: Likewise.
47104         * io/symlinkat.c: Likewise.
47105         * io/ttyname.c: Likewise.
47106         * io/ttyname_r.c: Likewise.
47107         * io/umask.c: Likewise.
47108         * io/unlink.c: Likewise.
47109         * io/unlinkat.c: Likewise.
47110         * io/utime.c: Likewise.
47111         * io/utimensat.c: Likewise.
47112         * io/write.c: Likewise.
47113         * io/xmknod.c: Likewise.
47114         * io/xmknodat.c: Likewise.
47115         * io/xstat.c: Likewise.
47116         * io/xstat64.c: Likewise.
47117         * login/getpt.c: Likewise.
47118         * login/grantpt.c: Likewise.
47119         * login/unlockpt.c: Likewise.
47120         * math/e_acoshl.c: Likewise.
47121         * math/e_acosl.c: Likewise.
47122         * math/e_asinl.c: Likewise.
47123         * math/e_atan2l.c: Likewise.
47124         * math/e_atanhl.c: Likewise.
47125         * math/e_coshl.c: Likewise.
47126         * math/e_expl.c: Likewise.
47127         * math/e_fmodl.c: Likewise.
47128         * math/e_gammal_r.c: Likewise.
47129         * math/e_hypotl.c: Likewise.
47130         * math/e_j0l.c: Likewise.
47131         * math/e_j1l.c: Likewise.
47132         * math/e_jnl.c: Likewise.
47133         * math/e_lgammal_r.c: Likewise.
47134         * math/e_log10l.c: Likewise.
47135         * math/e_log2l.c: Likewise.
47136         * math/e_logl.c: Likewise.
47137         * math/e_powl.c: Likewise.
47138         * math/e_rem_pio2l.c: Likewise.
47139         * math/e_sinhl.c: Likewise.
47140         * math/e_sqrtl.c: Likewise.
47141         * math/fclrexcpt.c: Likewise.
47142         * math/fedisblxcpt.c: Likewise.
47143         * math/feenablxcpt.c: Likewise.
47144         * math/fegetenv.c: Likewise.
47145         * math/fegetexcept.c: Likewise.
47146         * math/fegetround.c: Likewise.
47147         * math/feholdexcpt.c: Likewise.
47148         * math/fesetenv.c: Likewise.
47149         * math/fesetround.c: Likewise.
47150         * math/feupdateenv.c: Likewise.
47151         * math/fgetexcptflg.c: Likewise.
47152         * math/fraiseexcpt.c: Likewise.
47153         * math/fsetexcptflg.c: Likewise.
47154         * math/ftestexcept.c: Likewise.
47155         * math/k_cosl.c: Likewise.
47156         * math/k_rem_pio2l.c: Likewise.
47157         * math/k_sinl.c: Likewise.
47158         * math/k_tanl.c: Likewise.
47159         * math/s_asinhl.c: Likewise.
47160         * math/s_atanl.c: Likewise.
47161         * math/s_cbrtl.c: Likewise.
47162         * math/s_erfl.c: Likewise.
47163         * math/s_expm1l.c: Likewise.
47164         * math/s_log1pl.c: Likewise.
47165         * math/s_tanhl.c: Likewise.
47166         * misc/acct.c: Likewise.
47167         * misc/brk.c: Likewise.
47168         * misc/chflags.c: Likewise.
47169         * misc/chroot.c: Likewise.
47170         * misc/fchflags.c: Likewise.
47171         * misc/fgetxattr.c: Likewise.
47172         * misc/flistxattr.c: Likewise.
47173         * misc/fremovexattr.c: Likewise.
47174         * misc/fsetxattr.c: Likewise.
47175         * misc/fsync.c: Likewise.
47176         * misc/ftruncate.c: Likewise.
47177         * misc/futimes.c: Likewise.
47178         * misc/futimesat.c: Likewise.
47179         * misc/getdomain.c: Likewise.
47180         * misc/getdtsz.c: Likewise.
47181         * misc/gethostid.c: Likewise.
47182         * misc/gethostname.c: Likewise.
47183         * misc/getloadavg.c: Likewise.
47184         * misc/getpagesize.c: Likewise.
47185         * misc/getsysstats.c: Likewise.
47186         * misc/getxattr.c: Likewise.
47187         * misc/gtty.c: Likewise.
47188         * misc/ioctl.c: Likewise.
47189         * misc/lgetxattr.c: Likewise.
47190         * misc/listxattr.c: Likewise.
47191         * misc/llistxattr.c: Likewise.
47192         * misc/lremovexattr.c: Likewise.
47193         * misc/lsetxattr.c: Likewise.
47194         * misc/lutimes.c: Likewise.
47195         * misc/madvise.c: Likewise.
47196         * misc/mincore.c: Likewise.
47197         * misc/mlock.c: Likewise.
47198         * misc/mlockall.c: Likewise.
47199         * misc/mmap.c: Likewise.
47200         * misc/mprotect.c: Likewise.
47201         * misc/msync.c: Likewise.
47202         * misc/munlock.c: Likewise.
47203         * misc/munlockall.c: Likewise.
47204         * misc/munmap.c: Likewise.
47205         * misc/preadv.c: Likewise.
47206         * misc/preadv64.c: Likewise.
47207         * misc/ptrace.c: Likewise.
47208         * misc/pwritev.c: Likewise.
47209         * misc/pwritev64.c: Likewise.
47210         * misc/readv.c: Likewise.
47211         * misc/reboot.c: Likewise.
47212         * misc/remap_file_pages.c: Likewise.
47213         * misc/removexattr.c: Likewise.
47214         * misc/revoke.c: Likewise.
47215         * misc/select.c: Likewise.
47216         * misc/setdomain.c: Likewise.
47217         * misc/setegid.c: Likewise.
47218         * misc/seteuid.c: Likewise.
47219         * misc/sethostid.c: Likewise.
47220         * misc/sethostname.c: Likewise.
47221         * misc/setregid.c: Likewise.
47222         * misc/setreuid.c: Likewise.
47223         * misc/setxattr.c: Likewise.
47224         * misc/sstk.c: Likewise.
47225         * misc/stty.c: Likewise.
47226         * misc/swapoff.c: Likewise.
47227         * misc/swapon.c: Likewise.
47228         * misc/sync.c: Likewise.
47229         * misc/syncfs.c: Likewise.
47230         * misc/syscall.c: Likewise.
47231         * misc/truncate.c: Likewise.
47232         * misc/ualarm.c: Likewise.
47233         * misc/usleep.c: Likewise.
47234         * misc/ustat.c: Likewise.
47235         * misc/utimes.c: Likewise.
47236         * misc/vhangup.c: Likewise.
47237         * misc/writev.c: Likewise.
47238         * posix/_exit.c: Likewise.
47239         * posix/alarm.c: Likewise.
47240         * posix/execve.c: Likewise.
47241         * posix/fexecve.c: Likewise.
47242         * posix/fork.c: Likewise.
47243         * posix/fpathconf.c: Likewise.
47244         * posix/getaddrinfo.c: Likewise.
47245         * posix/getegid.c: Likewise.
47246         * posix/geteuid.c: Likewise.
47247         * posix/getgid.c: Likewise.
47248         * posix/getgroups.c: Likewise.
47249         * posix/getlogin.c: Likewise.
47250         * posix/getlogin_r.c: Likewise.
47251         * posix/getpgid.c: Likewise.
47252         * posix/getpid.c: Likewise.
47253         * posix/getppid.c: Likewise.
47254         * posix/getresgid.c: Likewise.
47255         * posix/getresuid.c: Likewise.
47256         * posix/getsid.c: Likewise.
47257         * posix/getuid.c: Likewise.
47258         * posix/glob64.c: Likewise.
47259         * posix/nanosleep.c: Likewise.
47260         * posix/pathconf.c: Likewise.
47261         * posix/pause.c: Likewise.
47262         * posix/posix_madvise.c: Likewise.
47263         * posix/pread.c: Likewise.
47264         * posix/pread64.c: Likewise.
47265         * posix/pwrite.c: Likewise.
47266         * posix/pwrite64.c: Likewise.
47267         * posix/sched_getaffinity.c: Likewise.
47268         * posix/sched_getp.c: Likewise.
47269         * posix/sched_gets.c: Likewise.
47270         * posix/sched_primax.c: Likewise.
47271         * posix/sched_primin.c: Likewise.
47272         * posix/sched_rr_gi.c: Likewise.
47273         * posix/sched_setaffinity.c: Likewise.
47274         * posix/sched_setp.c: Likewise.
47275         * posix/sched_sets.c: Likewise.
47276         * posix/sched_yield.c: Likewise.
47277         * posix/setgid.c: Likewise.
47278         * posix/setlogin.c: Likewise.
47279         * posix/setpgid.c: Likewise.
47280         * posix/setresgid.c: Likewise.
47281         * posix/setresuid.c: Likewise.
47282         * posix/setsid.c: Likewise.
47283         * posix/setuid.c: Likewise.
47284         * posix/sleep.c: Likewise.
47285         * posix/spawni.c: Likewise.
47286         * posix/sysconf.c: Likewise.
47287         * posix/times.c: Likewise.
47288         * posix/wait.c: Likewise.
47289         * posix/wait3.c: Likewise.
47290         * posix/wait4.c: Likewise.
47291         * posix/waitpid.c: Likewise.
47292         * resolv/gai_sigqueue.c: Likewise.
47293         * resource/getpriority.c: Likewise.
47294         * resource/getrlimit.c: Likewise.
47295         * resource/getrusage.c: Likewise.
47296         * resource/nice.c: Likewise.
47297         * resource/setpriority.c: Likewise.
47298         * resource/setrlimit.c: Likewise.
47299         * resource/ulimit.c: Likewise.
47300         * rt/aio_cancel.c: Likewise.
47301         * rt/aio_fsync.c: Likewise.
47302         * rt/aio_read.c: Likewise.
47303         * rt/aio_sigqueue.c: Likewise.
47304         * rt/aio_suspend.c: Likewise.
47305         * rt/aio_write.c: Likewise.
47306         * rt/clock_getres.c: Likewise.
47307         * rt/clock_gettime.c: Likewise.
47308         * rt/clock_nanosleep.c: Likewise.
47309         * rt/clock_settime.c: Likewise.
47310         * rt/lio_listio.c: Likewise.
47311         * rt/mq_close.c: Likewise.
47312         * rt/mq_getattr.c: Likewise.
47313         * rt/mq_notify.c: Likewise.
47314         * rt/mq_open.c: Likewise.
47315         * rt/mq_receive.c: Likewise.
47316         * rt/mq_send.c: Likewise.
47317         * rt/mq_setattr.c: Likewise.
47318         * rt/mq_timedreceive.c: Likewise.
47319         * rt/mq_timedsend.c: Likewise.
47320         * rt/mq_unlink.c: Likewise.
47321         * rt/shm_open.c: Likewise.
47322         * rt/shm_unlink.c: Likewise.
47323         * rt/timer_create.c: Likewise.
47324         * rt/timer_delete.c: Likewise.
47325         * rt/timer_getoverr.c: Likewise.
47326         * rt/timer_gettime.c: Likewise.
47327         * rt/timer_settime.c: Likewise.
47328         * setjmp/__longjmp.c: Likewise.
47329         * setjmp/setjmp.c: Likewise.
47330         * signal/kill.c: Likewise.
47331         * signal/killpg.c: Likewise.
47332         * signal/raise.c: Likewise.
47333         * signal/sigaction.c: Likewise.
47334         * signal/sigaltstack.c: Likewise.
47335         * signal/sigblock.c: Likewise.
47336         * signal/sigignore.c: Likewise.
47337         * signal/sigintr.c: Likewise.
47338         * signal/signal.c: Likewise.
47339         * signal/sigpause.c: Likewise.
47340         * signal/sigpending.c: Likewise.
47341         * signal/sigqueue.c: Likewise.
47342         * signal/sigreturn.c: Likewise.
47343         * signal/sigset.c: Likewise.
47344         * signal/sigsetmask.c: Likewise.
47345         * signal/sigstack.c: Likewise.
47346         * signal/sigsuspend.c: Likewise.
47347         * signal/sigtimedwait.c: Likewise.
47348         * signal/sigvec.c: Likewise.
47349         * signal/sigwait.c: Likewise.
47350         * signal/sigwaitinfo.c: Likewise.
47351         * signal/sysv_signal.c: Likewise.
47352         * socket/accept.c: Likewise.
47353         * socket/accept4.c: Likewise.
47354         * socket/bind.c: Likewise.
47355         * socket/connect.c: Likewise.
47356         * socket/getpeername.c: Likewise.
47357         * socket/getsockname.c: Likewise.
47358         * socket/getsockopt.c: Likewise.
47359         * socket/isfdtype.c: Likewise.
47360         * socket/listen.c: Likewise.
47361         * socket/recv.c: Likewise.
47362         * socket/recvfrom.c: Likewise.
47363         * socket/recvmsg.c: Likewise.
47364         * socket/send.c: Likewise.
47365         * socket/sendmsg.c: Likewise.
47366         * socket/sendto.c: Likewise.
47367         * socket/setsockopt.c: Likewise.
47368         * socket/shutdown.c: Likewise.
47369         * socket/sockatmark.c: Likewise.
47370         * socket/socket.c: Likewise.
47371         * socket/socketpair.c: Likewise.
47372         * stdio-common/ctermid.c: Likewise.
47373         * stdio-common/cuserid.c: Likewise.
47374         * stdio-common/remove.c: Likewise.
47375         * stdio-common/rename.c: Likewise.
47376         * stdio-common/renameat.c: Likewise.
47377         * stdio-common/tempname.c: Likewise.
47378         * stdlib/getcontext.c: Likewise.
47379         * stdlib/makecontext.c: Likewise.
47380         * stdlib/setcontext.c: Likewise.
47381         * stdlib/swapcontext.c: Likewise.
47382         * stdlib/system.c: Likewise.
47383         * streams/fattach.c: Likewise.
47384         * streams/fdetach.c: Likewise.
47385         * streams/getmsg.c: Likewise.
47386         * streams/getpmsg.c: Likewise.
47387         * streams/putmsg.c: Likewise.
47388         * streams/putpmsg.c: Likewise.
47389         * sysdeps/unix/bsd/getpt.c: Likewise.
47390         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
47391         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
47392         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47394         Likewise.
47395         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
47396         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47397         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47398         * sysvipc/msgctl.c: Likewise.
47399         * sysvipc/msgget.c: Likewise.
47400         * sysvipc/msgrcv.c: Likewise.
47401         * sysvipc/msgsnd.c: Likewise.
47402         * sysvipc/semctl.c: Likewise.
47403         * sysvipc/semget.c: Likewise.
47404         * sysvipc/semop.c: Likewise.
47405         * sysvipc/semtimedop.c: Likewise.
47406         * sysvipc/shmat.c: Likewise.
47407         * sysvipc/shmctl.c: Likewise.
47408         * sysvipc/shmdt.c: Likewise.
47409         * sysvipc/shmget.c: Likewise.
47410         * termios/tcdrain.c: Likewise.
47411         * termios/tcflow.c: Likewise.
47412         * termios/tcflush.c: Likewise.
47413         * termios/tcgetattr.c: Likewise.
47414         * termios/tcgetpgrp.c: Likewise.
47415         * termios/tcsendbrk.c: Likewise.
47416         * termios/tcsetattr.c: Likewise.
47417         * termios/tcsetpgrp.c: Likewise.
47418         * time/adjtime.c: Likewise.
47419         * time/clock.c: Likewise.
47420         * time/getitimer.c: Likewise.
47421         * time/gettimeofday.c: Likewise.
47422         * time/setitimer.c: Likewise.
47423         * time/settimeofday.c: Likewise.
47424         * time/stime.c: Likewise.
47425         * time/time.c: Likewise.
47426
47427 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
47428
47429         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
47430         /usr/old/bin.
47431
47432         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
47433         instead of spaces.
47434         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
47435
47436 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
47437
47438         [BZ #14796]
47439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
47440         FE_TONEAREST before applying Dekker multiplication and Knuth
47441         addition.  Clear inexact exceptions and check for exact zero
47442         results afterwards.
47443         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47444         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47445         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47446         * math/libm-test.inc (fma_test): Add more tests.
47447         (fma_test_towardzero): Likewise.
47448         (fma_test_downward): Likewise.
47449         (fma_test_upward): Likewise.
47450         * sysdeps/generic/math_private.h (default_libc_fesetround): New
47451         function.
47452         (libc_fesetround): New macro.
47453         (libc_fesetroundf): Likewise.
47454         (libc_fesetroundl): Likewise.
47455         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
47456         function.
47457         (libc_fesetround_387): Likewise.
47458         (libc_fesetroundf): New macro.
47459         (libc_fesetround): Likewise.
47460         (libc_fesetroundl): Likewise.
47461         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
47462         function.
47463         (libc_fesetroundf): New macro.
47464         (libc_fesetround): Likewise.
47465         (libc_fesetroundl): Likewise.
47466         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
47467         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
47468         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
47469         libm_hidden_ver.
47470         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
47471         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
47472         libm_hidden_def.
47473         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
47474         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
47475         libm_hidden_ver.
47476         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
47477         libm_hidden_def.
47478
47479         [BZ #3439]
47480         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
47481         integer constant usable in #if and use that to give value to enum
47482         constant.
47483         (FE_DIVBYZERO): Likewise.
47484         (FE_UNDERFLOW): Likewise.
47485         (FE_OVERFLOW): Likewise.
47486         (FE_INVALID): Likewise.
47487         (FE_INVALID_SNAN): Likewise.
47488         (FE_INVALID_ISI): Likewise.
47489         (FE_INVALID_IDI): Likewise.
47490         (FE_INVALID_ZDZ): Likewise.
47491         (FE_INVALID_IMZ): Likewise.
47492         (FE_INVALID_COMPARE): Likewise.
47493         (FE_INVALID_SOFTWARE): Likewise.
47494         (FE_INVALID_SQRT): Likewise.
47495         (FE_INVALID_INTEGER_CONVERSION): Likewise.
47496         (FE_TONEAREST): Likewise.
47497         (FE_TOWARDZERO): Likewise.
47498         (FE_UPWARD): Likewise.
47499         (FE_DOWNWARD): Likewise.
47500         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
47501         (FE_DIVBYZERO): Likewise.
47502         (FE_OVERFLOW): Likewise.
47503         (FE_UNDERFLOW): Likewise.
47504         (FE_INEXACT): Likewise.
47505         (FE_TONEAREST): Likewise.
47506         (FE_DOWNWARD): Likewise.
47507         (FE_UPWARD): Likewise.
47508         (FE_TOWARDZERO): Likewise.
47509         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
47510         (FE_UNDERFLOW): Likewise.
47511         (FE_OVERFLOW): Likewise.
47512         (FE_DIVBYZERO): Likewise.
47513         (FE_INVALID): Likewise.
47514         (FE_TONEAREST): Likewise.
47515         (FE_TOWARDZERO): Likewise.
47516         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
47517         (FE_OVERFLOW): Likewise.
47518         (FE_UNDERFLOW): Likewise.
47519         (FE_DIVBYZERO): Likewise.
47520         (FE_INEXACT): Likewise.
47521         (FE_TONEAREST): Likewise.
47522         (FE_TOWARDZERO): Likewise.
47523         (FE_UPWARD): Likewise.
47524         (FE_DOWNWARD): Likewise.
47525         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
47526         (FE_DIVBYZERO): Likewise.
47527         (FE_OVERFLOW): Likewise.
47528         (FE_UNDERFLOW): Likewise.
47529         (FE_INEXACT): Likewise.
47530         (FE_TONEAREST): Likewise.
47531         (FE_DOWNWARD): Likewise.
47532         (FE_UPWARD): Likewise.
47533         (FE_TOWARDZERO): Likewise.
47534
47535 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
47536
47537         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
47538
47539 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
47540
47541         * scripts/cross-test-ssh.sh (command): Use newlines to separate
47542         commands.  Quote $PWD.
47543         (blacklist_exports): Don't use remove_newlines.  Replace "declare
47544         -x" by "export".
47545         (remove_newlines): Remove.
47546
47547 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
47548
47549         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
47550         * stdlib/stdlib.h (atof): Moved to ...
47551         * include/bits/stdlib-float.h: Here.  New file.
47552         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
47553         * stdlib/bits/stdlib-float.h: New file.
47554         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
47555         -mno-sse -mno-mmx.
47556         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
47557         <xmmintrin.h>.
47558
47559 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47560
47561         * conform/conformtest.pl (@headers): Add fenv.h.
47562         * conform/data/fenv.h-data: New file.
47563         * include/fenv.h [_ISOMAC]: Disable all contents of file except
47564         include of <math/fenv.h>.
47565
47566         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
47567         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
47568         && !UNIX98].  Enables tests for XOPEN2K8.
47569         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
47570         POSIX2008]: Likewise.
47571
47572         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
47573         (struct rusage): Do not expect type or its members.
47574
47575         [BZ #3439]
47576         * math/math.h (FP_NAN): Define macro to integer constant usable in
47577         #if and use that to give value to enum constant.
47578         (FP_INFINITE): Likewise.
47579         (FP_ZERO): Likewise.
47580         (FP_SUBNORMAL): Likewise.
47581         (FP_NORMAL): Likewise.
47582
47583 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
47584
47585         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
47586         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
47587         arguments.
47588
47589 2012-11-02  Roland McGrath  <roland@hack.frob.com>
47590
47591         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
47592         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
47593         autoconf-time if not.
47594         * configure.in: Remove AC_PREREQ.
47595
47596 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47597
47598         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
47599         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
47600         of the internal implementation.
47601
47602 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47603
47604         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
47605         except include of <misc/sys/syslog.h>.
47606
47607 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47608
47609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
47610         function returns with a NULL context exit with zero.
47611
47612 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47613
47614         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
47615
47616 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
47617
47618         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
47619         (run_program_cmd): This.
47620         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
47621         (tst_langinfo): New variable.  Use it.
47622
47623 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
47624
47625         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
47626         floating point opcodes.
47627
47628 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47629
47630         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
47631         variable.
47632
47633         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
47634
47635         * sysdeps/mach/hurd/powerpc: Remove directory.
47636         * sysdeps/mach/powerpc: Likewise.
47637
47638 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47639
47640         * scripts/check-local-headers.sh: Ignore c++ headers.
47641
47642 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47643
47644         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
47645         __libc_cleanup_region_start argument.
47646
47647 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
47648
47649         [BZ #14784]
47650         [BZ #14785]
47651         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
47652         x * y using scaling, not as x * y + z.
47653         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47654         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47655         * math/libm-test.inc (fma_test): Add more tests.
47656         (fma_test_towardzero): Likewise.
47657         (fma_test_downward): Likewise.
47658         (fma_test_upward): Likewise.
47659
47660 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47661
47662         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
47663
47664 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47665
47666         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
47667         New variable.
47668
47669 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
47670
47671         * rt/tst-shm.c (worker): Correct checking for mmap failure.
47672
47673 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47674
47675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47676         Fix sort order.
47677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47678         Likewise.
47679
47680 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47681
47682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47683         Fix the order of the list for glibc 2.17.
47684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47685         Likewise.
47686
47687 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47688
47689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47690
47691 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47692
47693         [BZ #14610]
47694         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
47695         for low part of x being zero before using __atanl (y).
47696         * math/libm-test.inc (atan2_test): Add another test.
47697
47698         * manual/install.texi (Configuring and compiling): Document
47699         general use of test-wrapper and test-wrapper-env.
47700         * INSTALL: Regenerated.
47701
47702         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
47703         (__fma): Do not extract and scale down low bits on after-rounding
47704         systems when result rounded to normal precision would have normal
47705         exponent.
47706         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
47707         (__fmal): Do not extract and scale down low bits on after-rounding
47708         systems when result rounded to normal precision would have normal
47709         exponent.
47710         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
47711         (__fmal): Do not extract and scale down low bits on after-rounding
47712         systems when result rounded to normal precision would have normal
47713         exponent.
47714         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
47715         macro.
47716         (fma_test): Add more tests.
47717         (fma_test_towardzero): Likewise.
47718         (fma_test_downward): Likewise.
47719         (fma_test_upward): Likewise.
47720
47721 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
47722
47723         * sysdeps/i386/tininess.h: Renamed to ...
47724         * sysdeps/x86/tininess.h: This.
47725         * sysdeps/x86_64/tininess.h: Removed.
47726
47727 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47728
47729         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
47730         input.  Use $(build-program-cmd).
47731         ($(objpfx)tst-array1-static.out): Likewise.
47732         ($(objpfx)tst-array2.out): Likewise.
47733         ($(objpfx)tst-array3.out): Likewise.
47734         ($(objpfx)tst-array4.out): Likewise.
47735         ($(objpfx)tst-array5.out): Likewise.
47736         ($(objpfx)tst-array5-static.out): Likewise.
47737
47738 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
47739
47740         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
47741         if defined.
47742
47743         * nss/nsswitch.h (nss_interface_function): Provide new
47744         macro for use with NSS functions.
47745         * grp/initgroups.c: Use new macro.
47746         * nss/getXXbyYY.c: Likewise.
47747         * nss/getXXbyYY_r.c: Likewise.
47748         * nss/getXXent.c: Likewise.
47749         * nss/getXXent_r.c: Likewise.
47750         * sysdeps/posix/getaddrinfo.c: Likewise.
47751
47752 2012-10-30  Andreas Jaeger  <aj@suse.de>
47753
47754         * po/ru.po: Update Russion translation from translation project.
47755
47756 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47757
47758         [BZ #14152]
47759         [BZ #14783]
47760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
47761         result and shift together with sticky bit instead of replicating
47762         round-to-nearest rounding.
47763         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47764         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47765         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
47766         missing underflow exceptions.
47767         (fma_test_towardzero): Add more tests.
47768         (fma_test_downward): Likewise.
47769         (fma_test_upward): Likewise.
47770
47771         [BZ #14047]
47772         * sysdeps/generic/tininess.h: New file.
47773         * sysdeps/i386/tininess.h: Likewise.
47774         * sysdeps/sh/tininess.h: Likewise.
47775         * sysdeps/x86_64/tininess.h: Likewise.
47776         * stdlib/tst-strtod-underflow.c: Likewise.
47777         * stdlib/tst-tininess.c: Likewise.
47778         * stdlib/strtod_l.c: Include <tininess.h>.
47779         (round_and_return): Do not set errno for exact underflow cases.
47780         Force an underflow exception when setting errno for underflow.
47781         Determine underflow based on rounding to normal precision if
47782         TININESS_AFTER_ROUNDING.
47783         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
47784         ERANGE for exact underflow cases.
47785         * stdlib/Makefile (tests): Add tst-tininess and
47786         tst-strtod-underflow.
47787         ($(objpfx)tst-tininess): Use $(link-libm).
47788         ($(objpfx)tst-strtod-underflow): Likewise.
47789
47790 2012-10-30  Andreas Jaeger  <aj@suse.de>
47791
47792         [BZ#14767]
47793         * elf/Makefile (tests): Remove conditional for have-initfini-array
47794         since this is now always required and the variable does not exist
47795         anymore.
47796         (tests-static): Likewise.
47797         (modules-names): Likewise.
47798
47799         * po/eo.po: Add Esperanto translation from translation project.
47800
47801         * elf/tst-array1.c (fini_array): Make writeable so that it can be
47802         merged with constructor/destructor.
47803         (init_array): Likewise.
47804         * elf/tst-array2dep.c (fini_array): Likewise.
47805         (init_array): Likewise.
47806
47807 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
47808
47809         * manual/message.texi: Delete @cartouche tags.
47810
47811 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
47812
47813         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
47814         EOPNOTSUPP.
47815         * sysdeps/mach/hurd/fsync.c: Likewise.
47816
47817         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
47818         [_POSIX_REALTIME_SIGNALS]: Change condition to
47819         [_POSIX_REALTIME_SIGNALS > 0].
47820
47821 2012-10-27  Andreas Jaeger  <aj@suse.de>
47822
47823         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
47824         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
47825         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
47826         [__WORDSIZE != 64]: Likewise.
47827
47828 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
47829
47830         *  iconvdata/tst-table.sh: Remove ${SHELL}.
47831         *  iconvdata/tst-tables.sh: Likewise.
47832
47833 2012-10-25  David S. Miller  <davem@davemloft.net>
47834
47835         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47836         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
47837         of strtoull.
47838
47839         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
47840         ifunc-impl-list.c
47841         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47842         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
47843         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
47844         file.
47845
47846 2012-10-25  Roland McGrath  <roland@hack.frob.com>
47847
47848         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47849         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
47850         __getdirentries.
47851
47852 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
47853             Jim Blandy  <jimb@codesourcery.com>
47854
47855         * scripts/cross-test-ssh.sh: New file.
47856         * manual/install.texi (Configuring and compiling): Document use of
47857         cross-test-ssh.sh.
47858         * INSTALL: Regenerated.
47859
47860 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
47861
47862         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
47863         EOPNOTSUPP.
47864
47865 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
47866
47867         * Makeconfig (run-program-prefix): Fix comment.
47868
47869 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
47870             Jim Blandy  <jimb@codesourcery.com>
47871
47872         * Makeconfig (test-wrapper): New variable,
47873         (test-wrapper-env): Likewise.
47874         [$(cross-compiling) = yes && $(test-wrapper) != ""]
47875         (run-built-tests): Define to yes.
47876         (run-program-prefix): Use $(test-wrapper).
47877         (built-program-cmd): Likewise.
47878         * Rules (make-test-out): Use $(test-wrapper-env) and
47879         $(host-built-program-cmd).
47880         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
47881         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
47882         tst-pathopt.sh.
47883         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
47884         $(test-wrapper-env) to tst-rtld-load-self.sh.
47885         ($(objpfx)order2.out): Use $(test-wrapper).
47886         ($(objpfx)tst-initorder.out): Likewise.
47887         ($(objpfx)tst-initorder2.out): Likewise.
47888         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
47889         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
47890         (test_wrapper_env): New variable.  Use it to run ld.so.
47891         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
47892         Use it to run ld.so.
47893         (test_wrapper_env): Likewise.
47894         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
47895         $(test-wrapper) to run-iconv-test.sh.
47896         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
47897         (ICONV): Use $test_wrapper.
47898         * posix/Makefile ($(objpfx)globtest.out): Pass
47899         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
47900         globtest.sh, not $(run-program-prefix).
47901         * posix/globtest.sh (run_via_rtld_prefix): New variable.
47902         (test_wrapper): Likewise.
47903         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
47904         set together with run_via_rtld_prefix.
47905         (run_program_prefix): Define in terms of test_wrapper and
47906         run_via_rtld_prefix.
47907
47908 2012-10-24  Roland McGrath  <roland@hack.frob.com>
47909
47910         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
47911         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
47912         Targets removed.
47913
47914         [BZ #14743]
47915         * include/time.h: Remove librt_hidden_proto (clock_gettime).
47916         Declare __clock_getres, __clock_gettime, __clock_settime,
47917         __clock_nanosleep, and __clock_getcpuclockid.
47918         * rt/clock_gettime.c: Define __clock_gettime as an alias.
47919         Remove librt_hidden_def (clock_gettime).
47920         * sysdeps/unix/clock_gettime.c: Likewise.
47921         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
47922         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47923         * rt/clock_getres.c: Define __clock_getres as an alias.
47924         * sysdeps/posix/clock_getres.c: Likewise.
47925         * rt/clock_settime.c: Define __clock_settime as an alias.
47926         * sysdeps/unix/clock_settime.c: Likewise.
47927         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
47928         * sysdeps/unix/clock_nanosleep.c: Likewise.
47929         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47930         * rt/clock-compat.c: New file.
47931         * rt/Makefile (librt-routines): Add clock-compat and move
47932         $(clock-routines) to ...
47933         (routines): ... here, new variable.
47934         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
47935         Don't add get_clockfreq here.
47936         * rt/Versions (libc: GLIBC_2.17): New version set.
47937         Add clock_* symbols here.
47938         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
47939         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
47940         (GLIBC_2.17): Add clock_* symbols.
47941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47943         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47945         Likewise.
47946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47947         Likewise.
47948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47952         * NEWS: Mention the move.
47953
47954         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47955         Use __open, __read, __close rather than their public counterparts.
47956         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47957         (__get_clockfreq_via_cpuinfo): Likewise.
47958         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
47959         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
47960
47961         * config.h.in (HAVE_IFUNC): New #undef.
47962         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
47963         was successful.
47964         * configure: Regenerated.
47965
47966 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
47967
47968         * configure.in: Move READELF check to start of file.
47969         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
47970         libc_cv_asm_gnu_indirect_function in the process.
47971         * configure: Regenerated.
47972
47973 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
47974
47975         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
47976         send the output to /dev/null.
47977         (libc_cv_cc_with_libunwind): Likewise.
47978         (libc_cv_as_noexecstack): Likewise.
47979         * configure: Regenerate.
47980
47981 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
47982
47983         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
47984
47985         * posix/globtest.sh (TMPDIR): Do not set.
47986         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
47987         (testout): Likewise.
47988
47989 2012-10-24  Andreas Jaeger  <aj@suse.de>
47990
47991         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
47992         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
47993         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
47994         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
47995         posix_fadvise64, posix_fallocate64.
47996
47997         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
47998         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
47999         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
48000         Likewise.
48001         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
48002         Likewise.
48003         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48004
48005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48006         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48007         <bits/fcntl-linux.h>.
48008         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48009
48010         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48011         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48012         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48013         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48014         [__WORDSIZE != 64]: Likewise.
48015
48016 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48017
48018         * Makeconfig (run-built-tests): New variable.
48019         * Rules [$(cross-compiling) = yes]: Change condition to
48020         [$(run-built-tests) = no].
48021         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48022         to [$(run-built-tests) = yes].
48023         * elf/Makefile [$(cross-compiling) = no]: Likewise
48024         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48025         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48026         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48027         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48028         * io/Makefile [$(cross-compiling) = no]: Likewise.
48029         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48030         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48031         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48032         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48033         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48034         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48035         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48036         * string/Makefile [$(cross-compiling) = no]: Likewise.
48037
48038         * posix/Makefile ($(objpfx)globtest.out): Pass
48039         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48040         $(rtld-installed-name).
48041         * posix/globtest.sh (elf_objpfx): Remove variable.
48042         (rtld_installed_name): Likewise.
48043         (library_path): Likewise.
48044         (run_program_prefix): New variable.  Use for running globtest
48045         binary.
48046
48047 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48048             Joseph Myers  <joseph@codesourcery.com>
48049
48050         * Makeconfig (host-built-program-cmd): New variable.
48051         * elf/Makefile (tst-stackguard1-ARGS): Use
48052         $(host-built-program-cmd).
48053         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48054         (tst-spawn-ARGS): Likewise.
48055         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48056
48057 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48058             Jim Blandy  <jimb@codesourcery.com>
48059
48060         * Makeconfig (run-via-rtld-prefix): New variable.
48061         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48062         (built-program-cmd): Likewise.
48063
48064 2012-10-22  Andreas Jaeger  <aj@suse.de>
48065
48066         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48067         __O_RSYNC if it exists, otherwise to O_SYNC.
48068
48069 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48070             Joseph Myers  <joseph@codesourcery.com>
48071
48072         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48073         /dev/null.
48074         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48075         from /dev/null
48076         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48077         /dev/null.
48078
48079 2012-10-22  Andreas Jaeger  <aj@suse.de>
48080
48081         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48082         Define always.
48083         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48084
48085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48086         bits/fcntl-linux.h.
48087
48088         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48089         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48090
48091         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48092         to __O_LARGEFILE.
48093         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48094         to __O_LARGEFILE.
48095
48096 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48097             Joseph Myers  <joseph@codesourcery.com>
48098
48099         * config.make.in (NM): New variable.
48100
48101 2012-10-21  Andreas Jaeger  <aj@suse.de>
48102
48103         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48104         definitions and declarations that are provided by
48105         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48106
48107 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48108
48109         [BZ #14683]
48110         * elf/Makefile (tests-static): Add tst-leaks1-static.
48111         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48112         ($(objpfx)tst-leaks1-static): New rule.
48113         ($(objpfx)tst-leaks1-static-mem): Likewise.
48114         (tst-leaks1-static-ENV): New macro.
48115         * elf/dl-open.c (dl_open_worker): Check the main application
48116         only if SHARED is defined.
48117         * elf/tst-leaks1-static.c: New file.
48118
48119 2012-10-20  Andreas Jaeger  <aj@suse.de>
48120
48121         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48122         generic values for Linux.
48123         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48124         and declarations that are provided by <bits/fcntl-linux.h> and
48125         include <bits/fcntl-linux.h>.
48126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48128
48129 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48130
48131         * io/fcntl.h: Move include of <bits/types.h> to the top and
48132         include it unconditionally.
48133
48134 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48135
48136         * wcsmbs/Makefile (tests-ifunc): New variable.
48137         (tests): Add $(tests-ifunc).
48138         * wcsmbs/test-wcschr-ifunc.c: New file.
48139         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48140         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48141         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48142         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48143         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48144
48145         * string/Makefile (tests-ifunc): New variable.
48146         (tests): Add $(tests-ifunc).
48147         * string/test-memccpy.c (TEST_NAME): New macro.
48148         * string/test-memchr.c (TEST_NAME): Likewise.
48149         * string/test-memcmp.c (TEST_NAME): Likewise.
48150         * string/test-memcpy.c (TEST_NAME): Likewise.
48151         * string/test-memmem.c (TEST_NAME): Likewise.
48152         * string/test-memmove.c (TEST_NAME): Likewise.
48153         * string/test-memset.c (TEST_NAME): Likewise.
48154         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48155         * string/test-stpcpy.c (TEST_NAME): Likewise.
48156         * string/test-stpncpy.c (TEST_NAME): Likewise.
48157         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48158         * string/test-strcasestr.c (TEST_NAME): Likewise.
48159         * string/test-strcat.c (TEST_NAME): Likewise.
48160         * string/test-strchr.c (TEST_NAME): Likewise.
48161         * string/test-strcmp.c(TEST_NAME): Likewise.
48162         * string/test-strcpy.c (TEST_NAME): Likewise.
48163         * string/test-strcspn.c (TEST_NAME): Likewise.
48164         * string/test-strlen.c (TEST_NAME): Likewise.
48165         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48166         * string/test-strncmp.c (TEST_NAME): Likewise.
48167         * string/test-strncpy.c (TEST_NAME): Likewise.
48168         * string/test-strnlen.c (TEST_NAME): Likewise.
48169         * string/test-strpbrk.c (TEST_NAME): Likewise.
48170         * string/test-strrchr.c (TEST_NAME): Likewise.
48171         * string/test-strspn.c (TEST_NAME): Likewise.
48172         * string/test-strstr.c (TEST_NAME): Likewise.
48173         * string/test-bcopy-ifunc.c: New file.
48174         * string/test-bzero-ifunc.c: Likewise.
48175         * string/test-memccpy-ifunc.c: Likewise.
48176         * string/test-memchr-ifunc.c: Likewise.
48177         * string/test-memcmp-ifunc.c: Likewise.
48178         * string/test-memcpy-ifunc.c: Likewise.
48179         * string/test-memmem-ifunc.c: Likewise.
48180         * string/test-memmove-ifunc.c: Likewise.
48181         * string/test-mempcpy-ifunc.c: Likewise.
48182         * string/test-memset-ifunc.c: Likewise.
48183         * string/test-rawmemchr-ifunc.c: Likewise.
48184         * string/test-stpcpy-ifunc.c: Likewise.
48185         * string/test-stpncpy-ifunc.c: Likewise.
48186         * string/test-strcasecmp-ifunc.c: Likewise.
48187         * string/test-strcasestr-ifunc.c: Likewise.
48188         * string/test-strcat-ifunc.c: Likewise.
48189         * string/test-strchr-ifunc.c: Likewise.
48190         * string/test-strchrnul-ifunc.c: Likewise.
48191         * string/test-strcmp-ifunc.c: Likewise.
48192         * string/test-strcpy-ifunc.c: Likewise.
48193         * string/test-strcspn-ifunc.c: Likewise.
48194         * string/test-strlen-ifunc.c: Likewise.
48195         * string/test-strncasecmp-ifunc.c: Likewise.
48196         * string/test-strncat-ifunc.c: Likewise.
48197         * string/test-strncmp-ifunc.c: Likewise.
48198         * string/test-strncpy-ifunc.c: Likewise.
48199         * string/test-strnlen-ifunc.c: Likewise.
48200         * string/test-strpbrk-ifunc.c: Likewise.
48201         * string/test-strrchr-ifunc.c: Likewise.
48202         * string/test-strspn-ifunc.c: Likewise.
48203         * string/test-strstr-ifunc.c: Likewise.
48204
48205         * debug/Makefile (tests-ifunc): New variable.
48206         (tests): Add $(tests-ifunc).
48207         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
48208         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
48209         * debug/test-stpcpy_chk-ifunc.c: New file.
48210         * debug/test-strcpy_chk-ifunc.c: Likewise.
48211
48212 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48213
48214         [BZ #13601]
48215         * elf/dl-load.c (open_verify): Retry read if the entire ELF
48216         header is not read in.
48217
48218 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
48219
48220         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
48221         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
48222         directly.  Pass built executable to script as
48223         $(built-program-cmd).
48224         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
48225         $testprogram without using LD_LIBRARY_PATH and $ldso.
48226
48227         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
48228         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
48229         $(rtld-installed-name).
48230         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
48231         (rtld_installed_name): Likewise.
48232         (library_path): Likewise.
48233         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
48234         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
48235         $(run-program-prefix) to tst-tables.sh.
48236         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
48237         it to run tst-table-from and tst-table-to.
48238         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
48239         Pass it to tst-table.sh.
48240         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
48241         $(run-program-prefix) to tst-gettext.sh.
48242         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
48243         tst-translit.sh.
48244         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
48245         tst-gettext2.sh.
48246         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
48247         to run tst-gettext.
48248         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
48249         to run tst-gettext2.
48250         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
48251         to run tst-translit.
48252         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
48253         $(run-program-prefix) to tst-mtrace.sh.
48254         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
48255         to run tst-mtrace.
48256         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
48257         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
48258         $(rtld-installed-name).
48259         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
48260         (rtld_installed_name): Likewise.
48261         (run_program_prefix): New variable.  Use it to run wordexp-test.
48262
48263         * Makeconfig (ARCH): Remove all definitions.
48264         (machine): Likewise.
48265         [ARCH]: Remove conditional code.
48266         [!objdir]: Give error.
48267         [!objdir] (objpfx): Remove.
48268         [!objdir] (common-objpfx): Likewise.
48269         [!objdir] (common-objdir): Likewise.
48270         * configure.in (config_makefile): Remove.  Hardcode Makefile in
48271         AC_CONFIG_FILES call.
48272         * configure: Regenerated.
48273
48274         [BZ #13888]
48275         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
48276         or TMPDIR.
48277         (testout): Likewise.
48278
48279         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
48280         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
48281         $(rtld-installed-name).
48282         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
48283         (rtld_installed_name): Likwise.
48284         (runit): Remove function.
48285         (run_getconf): New variable,  Use it for running getconf binary.
48286
48287 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
48288
48289         [BZ #14716]
48290         * string/test-memmem.c (check_result): New function.
48291         (do_one_test): Use it.
48292         (check1): New function.
48293         (test_main): Use it.
48294
48295 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
48296
48297         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
48298
48299 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
48300
48301         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
48302         (_G_LSEEK64): Likewise.
48303         (_G_MMAP64): Likewise.
48304         (_G_FSTAT64): Likewise.
48305         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
48306         (_G_LSEEK64): Likewise.
48307         (_G_MMAP64): Likewise.
48308         (_G_FSTAT64): Likewise.
48309         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
48310         unconditional.  Call __mmap64 directly.
48311         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
48312         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
48313         __lseek64 directly.
48314         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
48315         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
48316         __mmap64 directly.
48317         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
48318         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48319         __lseek64 directly.
48320         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
48321         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48322         __lseek64 directly.
48323         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
48324         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
48325         __lseek64 directly.
48326         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
48327         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
48328         __fxstat64 directly.
48329         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
48330         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
48331         unconditional.
48332         (freopen64) [!_G_OPEN64]: Remove conditional code.
48333         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
48334         unconditional.
48335         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
48336         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
48337         unconditional.
48338         (ftello64) [!_G_LSEEK64]: Remove conditional code.
48339         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
48340         unconditional.
48341         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48342         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
48343         unconditional.
48344         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
48345         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
48346         unconditional.
48347         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48348         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
48349         unconditional.
48350         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48351         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
48352         unconditional.
48353         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48354
48355 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48356
48357         [BZ #12140]
48358         * manual/memory.texi (Malloc Tunable Parameters): Add note
48359         about free list pointers overwriting some perturb bytes.
48360         Wording suggested by Roland McGrath.
48361
48362 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
48363
48364         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
48365         (lgamma_test): Likewise.
48366         (tgamma_test): Likewise.
48367
48368 2012-10-16  Florian Weimer  <fweimer@redhat.com>
48369
48370         [BZ #14700]
48371         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
48372         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
48373
48374 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
48375
48376         * NEWS: Mention BZ #14716.
48377         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
48378         when removing AVAILABLE1_USES_J macro.
48379
48380 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
48381
48382         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
48383         (__bswap_64): __uint64_t for unsigned 64-bit int.
48384
48385 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
48386
48387         * include/string.h (memmem): Declare libc hidden alias.
48388         * string/memmem.c (memmem): Define libc hidden alias.
48389         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
48390         __read, __close instead of open, read, close.
48391
48392 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
48393
48394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
48395         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
48396         global and hidden.
48397         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
48398         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
48399         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
48400         Likewise.
48401         (__rawmemchr_sse2): Likewise.
48402         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
48403         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
48404         (__strchr_sse2): Likewise.
48405         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
48406         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
48407         (__strcasecmp_sse2): Likewise.
48408         (__strncasecmp_sse2): Likewise.
48409         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
48410         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
48411         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
48412         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
48413         (__strrchr_sse2): Likewise.
48414         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
48415         ifunc-impl-list.c.
48416         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
48417         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
48418         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
48419         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48420         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48421         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
48422         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48423         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48424         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
48425         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
48426         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
48427         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
48428         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
48429         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
48430         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
48431         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48432         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
48433         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
48434         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
48435         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
48436         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
48437         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
48438         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48439         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48440         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
48441         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48442         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
48443         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48444         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
48445         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
48446
48447         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
48448         global and hidden.
48449         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
48450         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
48451         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
48452         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
48453         Likewise.
48454         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
48455         Likewise.
48456         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
48457         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
48458         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
48459         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
48460         ifunc-impl-list.c.
48461         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48462         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48463         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48464         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48465         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48466         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48467         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48468         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48469         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48470         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48471         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48472         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48473         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48474         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
48475         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
48476         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48477         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
48478         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
48479         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48480         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48481         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48482         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48483         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48484         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48485         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48486         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
48487         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
48488         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
48489         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
48490         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48491         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
48492         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48493         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48494         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
48495         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48496         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48497         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48498         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48499         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48500         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48501         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
48502
48503         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
48504         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
48505         * include/ifunc-impl-list.h: New file.
48506         * misc/ifunc-impl-list.c: Likewise.
48507         * misc/Makefile (routines): Add ifunc-impl-list.
48508         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
48509         * string/test-string.h: Include <ifunc-impl-list.h>.
48510         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
48511         TEST_NAME]: New variables.
48512         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
48513         are defined.
48514         (test_init): Call __libc_ifunc_impl_list to initialize
48515         func_list if TEST_IFUNC and TEST_NAME are defined.
48516
48517         * string/Makefile (strop-tests): Add bcopy and bzero.
48518         * string/test-bcopy.c: New file.
48519         * string/test-bzero.c: Likewise.
48520         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
48521         defined.
48522         * string/test-memset.c: Support bzero test if TEST_BZERO is
48523         defined.
48524         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
48525         __libc_memmove.
48526         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
48527         __libc_memset.
48528         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
48529         of memset.
48530
48531 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
48532
48533         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
48534         * configure: Regenerated.
48535
48536         * Makeconfig (+link-static-before-libc): Don't include
48537         $(link-static-libc).
48538
48539         * libio/libio.h (_IO_pos_t): Remove.
48540
48541 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48542
48543         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
48544         McGrath.
48545
48546 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48547
48548         * crypt/crypt-entry.c: Include fips-private.h.
48549         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
48550         * crypt/md5c-test.c (main): Tolerate disabled MD5.
48551         * sysdeps/unix/sysv/linux/fips-private.h: New file.
48552         * sysdeps/generic/fips-private.h: New file, dummy fallback.
48553
48554 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48555
48556         * crypt/crypt-private.h: Include stdbool.h.
48557         (_ufc_setup_salt_r): Return bool.
48558         * crypt/crypt-entry.c: Include errno.h.
48559         (__crypt_r): Return NULL with EINVAL for bad salt.
48560         * crypt/crypt_util.c (bad_for_salt): New.
48561         (_ufc_setup_salt_r): Check that salt is long enough and within
48562         the specified alphabet.
48563         * crypt/badsalttest.c: New file.
48564         * crypt/Makefile (tests): Add it.
48565         ($(objpfx)badsalttest): New.
48566
48567 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
48568
48569         * NEWS: Add entry for BZ #14602.
48570
48571 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48572
48573         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
48574         type-generic.
48575         * math/libm-test.inc: Update comment listing what functions and
48576         macros are tested.
48577         (isgreater_test): New function.
48578         (isgreaterequal_test): Likewise.
48579         (isless_test): Likewise.
48580         (islessequal_test): Likewise.
48581         (islessgreater_test): Likewise.
48582         (isunordered_test): Likewise.
48583         (main): Call the new functions.
48584
48585 2012-10-09  Roland McGrath  <roland@hack.frob.com>
48586
48587         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
48588         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
48589         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
48590         * sysdeps/i386/configure: Regenerated.
48591         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
48592         * sysdeps/mach/configure: Regenerated.
48593         * sysdeps/mach/hurd/configure: Regenerated.
48594         * sysdeps/powerpc/configure: Regenerated.
48595         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48596         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48597         * sysdeps/s390/s390-32/configure: Regenerated.
48598         * sysdeps/s390/s390-64/configure: Regenerated.
48599         * sysdeps/sh/configure: Regenerated.
48600         * sysdeps/sparc/configure: Regenerated.
48601         * sysdeps/unix/sysv/linux/configure: Regenerated.
48602         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48603         * sysdeps/x86_64/configure: Regenerated.
48604
48605         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
48606         defined.  Don't check if MAP is NULL.
48607
48608 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48609
48610         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
48611         (_G_stat64): Likewise.
48612         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
48613         (_G_stat64): Likewise.
48614         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
48615         instead of struct _G_stat64.
48616         * libio/fileops.c (mmap_remap_check): Likewise.
48617         (decide_maybe_mmap): Likewise.
48618         (_IO_new_file_seekoff): Likewise.
48619         (_IO_file_stat): Likewise.
48620         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
48621         _G_off64_t.
48622         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
48623         instead of struct _G_stat64.
48624         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48625
48626 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
48627
48628         [BZ #14602]
48629         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48630         Replace with ...
48631         (CHECK_EOL): New macro.
48632         (two_way_short_needle): Check beginning of haystack for EOL.  Use
48633         CHECK_EOL.
48634         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48635         Replace with CHECK_EOL.
48636         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48637         Replace with CHECK_EOL.
48638
48639 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
48640
48641         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
48642         type-generic.
48643         * math/libm-test.inc: Update comment listing what functions and
48644         macros are tested.
48645         (finite_test): New function.
48646         (isinf_test): Likewise.
48647         (isnan_test): Likewise.
48648         (fpclassify_test): Test subnormal input.
48649         (isfinite_test): Likewise.
48650         (isnormal_test): Likewise.
48651         (main): Call the new functions.
48652
48653 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
48654
48655         [BZ #14660]
48656         * Makerules (%.dynsym): Force C locale when running
48657         $(OBJDUMP) --dynamic-syms.
48658
48659 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
48660
48661         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
48662         <stdint.h>.
48663
48664 2012-10-06  David S. Miller  <davem@davemloft.net>
48665
48666         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
48667         upper 32-bits of the length value in %o2 since we use branch-on-register
48668         tests which consider the entire 64-bit register.
48669
48670 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
48671
48672         * string/test-strstr.c (check2): Add a test for page boundary.
48673
48674 2012-10-05  David S. Miller  <davem@davemloft.net>
48675
48676         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
48677         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
48678         file.
48679         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48680         sysdep_routines.
48681         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48682         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
48683         and bzero when HWCAP_SPARC_CRYPTO is present.
48684
48685 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
48686
48687         [BZ #14602]
48688         * string/test-strstr.c (check2): New function.
48689         (test_main): Call check2.
48690
48691         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
48692         and bug-strchr1.
48693         * string/bug-strcasestr1.c (do_test): Moved to ...
48694         * string/test-strcasestr.c (check1): Here.  New function.
48695         (do_one_test): Break out result checking code into ...
48696         (check_result): This.  New function.
48697         (do_one_test): Call check_result.
48698         (test_main): Call check1.
48699         * string/bug-strchr1.c (do_test): Moved to ...
48700         * string/test-strchr.c (check1): Here.  New function.
48701         (do_one_test): Break out result checking code into ...
48702         (check_result): This.  New function.
48703         (do_one_test): Call check_result.
48704         (test_main): Call check1.
48705         * string/bug-strstr1.c (main): Moved to ...
48706         * string/test-strstr.c (check1): Here.  New function.
48707         (do_one_test): Break out result checking code into ...
48708         (check_result): This.  New function.
48709         (do_one_test): Call check_result.
48710         (test_main): Call check1.
48711         * string/bug-strcasestr1.c: Removed.
48712         * string/bug-strchr1.c: Likewise.
48713         * string/bug-strstr1.c: Likewise.
48714
48715         * elf/Makefile (dl-routines): Add hwcaps.
48716         * elf/dl-support.c (_dl_important_hwcaps): Removed.
48717         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
48718         (_dl_important_hwcaps): Moved to ...
48719         * elf/dl-hwcaps.c: Here.  New file.
48720         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
48721
48722         [BZ #14557]
48723         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
48724         if IS_IN_rtld isn't defined.
48725
48726         * elf/dl-support.c (_dl_sysinfo_map): New.
48727         Include "get-dynamic-info.h" and "setup-vdso.h".
48728         (_dl_non_dynamic_init): Call setup_vdso.
48729         * elf/dynamic-link.h: Don't include <assert.h>.
48730         (elf_get_dynamic_info): Moved to ...
48731         * elf/get-dynamic-info.h: Here.  New file.
48732         * elf/dynamic-link.h: Include "get-dynamic-info.h".
48733         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
48734         * elf/setup-vdso.h: Here.  New file.
48735         * elf/rtld.c: Include "setup-vdso.h".
48736         (dl_main): Call setup_vdso.
48737
48738 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
48739
48740         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
48741         creal in comment listing functions tested.  List finite, isinf,
48742         isnan, isless, islessequal, isgreater, isgreaterequal,
48743         islessgreater, isunordered, lgamma_r and pow10 as functions and
48744         macros not tested.  Mention which functions not tested are aliases
48745         for other functions.  Fix typo.  Note that signs of NaNs are not
48746         tested.
48747
48748         * scripts/config.guess: Update from config.git.
48749         * scripts/config.sub: Likewise.
48750
48751 2012-10-04  Roland McGrath  <roland@hack.frob.com>
48752
48753         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
48754         * misc/madvise.c (madvise): Renamed to __madvise.
48755         Make madvise a weak alias.
48756         * include/sys/mman.h: Declare __madvise.
48757         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
48758         * sysdeps/unix/syscalls.list
48759         (madvise): Make __madvise the strong name, and madvise a weak alias.
48760         * sysdeps/unix/sysv/linux/syscalls.list
48761         (madvise, mmap): Remove redundant entries.
48762         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
48763         * malloc/malloc.c (mtrim): Likewise.
48764         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
48765
48766 2012-10-03  Roland McGrath  <roland@hack.frob.com>
48767
48768         * sysdeps/mach/hurd/dl-cache.c: File removed.
48769         * config.h.in (USE_LDCONFIG): New #undef.
48770         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
48771         * configure: Regenerated.
48772         * elf/Makefile (dl-routines): Add dl-cache only under
48773         [$(use-ldconfig) = yes].
48774         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
48775         cache on [USE_LDCONFIG].
48776         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
48777         [USE_LDCONFIG].
48778         * elf/rtld.c (dl_main): Likewise.
48779
48780 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
48781
48782         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
48783         _SC_LEVEL4_CACHE_LINESIZE.
48784
48785 2012-10-03  Roland McGrath  <roland@hack.frob.com>
48786
48787         * sysdeps/unix/bsd/confstr.h: File removed.
48788
48789 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
48790
48791         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
48792         sys/sdt-config.h.
48793
48794 2012-10-02  Roland McGrath  <roland@hack.frob.com>
48795
48796         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
48797         Make 'mapoff' field ElfW(Off) rather than off_t.
48798
48799 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
48800
48801         * nscd/Makefile: Remove nscd-cflags and all its users.
48802         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
48803         (CFLAGS-nonlib): Add compiler flags for nscd modules.
48804
48805         [BZ #10631]
48806         * malloc.c (malloc_printerr): Clarify error message.
48807
48808 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
48809
48810         [BZ #14648]
48811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48812         Set bit_FMA_Usable if FMA is supported.
48813         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
48814         macro.
48815         (bit_FMA4_Usable): Updated.
48816         (index_FMA_Usable): New macro.
48817         (CPUID_FMA): Likewise
48818         (HAS_FMA): Defined with bit_FMA_Usable.
48819
48820 2012-10-01  Roland McGrath  <roland@hack.frob.com>
48821
48822         * bits/types.h (__swblk_t): Type removed.
48823         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
48824         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
48825         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48826         (__SWBLK_T_TYPE): Likewise.
48827         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48828         (__SWBLK_T_TYPE): Likewise.
48829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48830         (__SWBLK_T_TYPE): Likewise.
48831         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48832         (__SWBLK_T_TYPE): Likewise.
48833
48834 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
48835             Honza Horak <hhorak@redhat.com>
48836
48837         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
48838         (xdr_mapname): Use YPMAXMAP as maxsize.
48839         (xdr_peername): Use YPMAXPEER as maxsize.
48840         (xdr_keydat): Use YPAXRECORD as maxsize.
48841         (xdr_valdat): Use YPMAXRECORD as maxsize.
48842
48843 2012-10-01  Roland McGrath  <roland@hack.frob.com>
48844
48845         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
48846
48847         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
48848         * csu/init-first.c: ... here.
48849         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
48850         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
48851         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
48852         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
48853         * sysdeps/i386/init-first.c: File removed.
48854         * sysdeps/sh/init-first.c: File removed.
48855
48856 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
48857
48858         [BZ #14645]
48859         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
48860         if x * y might underflow to zero and z is zero.
48861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48862         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48863         * math/libm-test.inc (min_subnorm_value): New variable.
48864         (fma_test): Add more tests.
48865         (fma_test_towardzero): Likewise.
48866         (fma_test_downward): Likewise
48867         (fma_test_upward): Likewise.
48868         (initialize): Set min_subnorm_value.
48869
48870 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
48871
48872         [BZ #14638]
48873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
48874         0 + 0.
48875         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
48876         mode for addition resulting in exact zero.
48877         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
48878         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
48879         exact 0 + 0.
48880         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48881         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48882         * math/libm-test.inc (fma_test): Add more tests.
48883         (fma_test_towardzero): New function.
48884         (fma_test_downward): Likewise.
48885         (fma_test_upward): Likewise.
48886         (main): Call the new functions.
48887
48888 2012-09-28  David S. Miller  <davem@davemloft.net>
48889
48890         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
48891
48892 2012-09-28  Roland McGrath  <roland@hack.frob.com>
48893
48894         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
48895         instead of SIGALRM.
48896
48897         * sysdeps/gnu/_G_config.h: Moved to ...
48898         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
48899         * sysdeps/mach/hurd/_G_config.h: Moved to ...
48900         * sysdeps/generic/_G_config.h: ... here.
48901
48902         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
48903
48904         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
48905
48906         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
48907         Conditionalize target on [libnss_test1.so-version].
48908
48909         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
48910
48911         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
48912         (elfobjdir): Move out of conditionals.
48913
48914         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
48915         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
48916         (__nss_lookup_function): Conditionalize label remove_from_tree on
48917         [!DO_STATIC_NSS || SHARED], matching its only use.
48918
48919 2012-09-28  David S. Miller  <davem@davemloft.net>
48920
48921         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
48922         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
48923         file.
48924         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48925         sysdep_routines.
48926         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48927         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
48928         when HWCAP_SPARC_CRYPTO is present.
48929
48930 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
48931
48932         * io/tst-mknodat.c: Create a FIFO instead of a socket.
48933
48934 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
48935
48936         [BZ #6530]
48937         * stdio-common/vfprintf.c (process_string_arg): Revert
48938         2000-07-22 change.
48939
48940 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
48941
48942         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
48943         for testcase.
48944         * stdio-common/tst-sprintf.c: Include <locale.h>
48945         (main): Test sprintf's handling of incomplete multibyte
48946         characters.
48947
48948 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
48949
48950         * elf/dl-runtime.c (VERSYMIDX): Removed.
48951         * elf/dl-version.c (VERSYMIDX): Likewise.
48952         * elf/do-rel.h (VERSYMIDX): Likewise.
48953         (VALIDX): Likewise.
48954         * elf/dynamic-link.h (VERSYMIDX): Likewise.
48955         * elf/rtld.c (VALIDX): Likewise.
48956         (ADDRIDX): Likewise.
48957         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
48958         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
48959         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
48960         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
48961         (VALIDX): Likewise.
48962         (ADDRIDX): Likewise.
48963
48964 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
48965
48966         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
48967
48968 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
48969
48970         [BZ #11438]
48971         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
48972         to global scope.
48973         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
48974         addresses are in the same scope as 192.0.2/24.
48975         * posix/gai.conf: Document new scope table defaults.
48976
48977 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48978
48979         [BZ #5298]
48980         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
48981         for ftell.  Compute offsets from write pointers instead.
48982         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48983
48984 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48985
48986         [BZ #14543]
48987         * libio/Makefile (tests): New test case tst-fseek.
48988         * libio/tst-fseek.c: New test case to verify that fseek/ftell
48989         combination works in wide mode.
48990         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
48991         state when the external buffer state changes.
48992
48993 2012-09-27  David S. Miller  <davem@davemloft.net>
48994
48995         [BZ #14376]
48996         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
48997         pass reloc->r_addend in as the 'high' argument to
48998         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
48999
49000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49001
49002 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49003
49004         * rt/tst-aio2.c: Include <pthread.h>.
49005         * rt/tst-aio3.c: Likewise.
49006
49007 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49008
49009         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49010
49011 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49012
49013         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49014         contents on [SHARED].
49015
49016 2012-09-26  Marek Polacek  <polacek@redhat.com>
49017
49018         [BZ #14530]
49019         [BZ #13741]
49020         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49021         for C++ and GCC <4.3 as well as for non GCC compilers.
49022
49023 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49024
49025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49026
49027 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49028
49029         * Makefile.in (all, install): Declare with .PHONY.
49030         Reported by Michael Hope <michael.hope@linaro.org>.
49031
49032 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49033
49034         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49035         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49036         system header.
49037         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49038         Likewise.
49039         (sydep_routines): Add the new and the internal functions.
49040         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49041         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49043         (GLIBC_2.17): Add the new function.
49044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49045         (GLIBC_2.17): Likewise.
49046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49047         (GLIBC_2.17): Likewise.
49048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49049         (GLIBC_2.17): Likewise.
49050         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49051
49052 2012-09-25  Alan Modra  <amodra@gmail.com>
49053
49054         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49055         Add release barrier before setting once_control to say
49056         initialisation is done.  Add hints on lwarx.  Use macro in
49057         place of isync.
49058         (clear_once_control): Add release barrier.
49059
49060 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49061
49062         [BZ #13629]
49063         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49064         specially.
49065         * math/s_clog10.c (__clog10): Likewise.
49066         * math/s_clog10f.c (__clog10f): Likewise.
49067         * math/s_clog10l.c (__clog10l): Likewise.
49068         * math/s_clogf.c (__clogf): Likewise.
49069         * math/s_clogl.c (__clogl): Likewise.
49070         * math/Makefile (libm-calls): Add x2y2m1.
49071         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49072         (__x2y2m1): Likewise.
49073         (__x2y2m1l): Likewise.
49074         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49075         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49076         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49077         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49078         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49079         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49080         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49081         * sysdeps/i386/fpu/libm-test-ulps: Update.
49082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49083
49084         [BZ #14621]
49085         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49086         int as type of variable DEPTH.
49087         (glob): Use size_t instead of int as type of variables NEWCOUNT
49088         and OLD_PATHC.
49089
49090 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49091
49092         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49093         Add s_sincosf-sse2.
49094         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49095         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49096         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49097         macros for using routine as __sincosf_ia32.
49098         Use macro for function declaration and weak_alias.
49099         * sysdeps/i386/fpu/libm-test-ulps: Update.
49100
49101         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49103
49104         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49105         subnormal argument.
49106         * math/s_cexpf.c (__cexpf): Likewise.
49107         * math/s_csinf.c (__csinf): Likewise.
49108         * math/s_csinhf.c (__csinhf): Likewise.
49109         * math/s_ctanf.c (__ctanf): Likewise.
49110         * math/s_ctanhf.c (__ctanhf): Likewise.
49111         * math/s_ccosh.c (__ccoshf): Likewise.
49112         * math/s_cexp.c (__cexpl): Likewise.
49113         * math/s_csin.c (__csin): Likewise.
49114         * math/s_csinh.c (__csinh): Likewise.
49115         * math/s_ctan.c (__ctan): Likewise.
49116         * math/s_ctanh.c (ctanh): Likewise.
49117         * math/s_ccoshl.c (__ccoshl): Likewise.
49118         * math/s_cexpl.c (__cexpl): Likewise.
49119         * math/s_csinl.c (__csinl): Likewise.
49120         * math/s_csinhl.c (__csinhl): Likewise.
49121         * math/s_ctanl.c (__ctanl): Likewise.
49122         * math/s_ctanhl.c (__ctanhl): Likewise.
49123
49124 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49125
49126         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49127         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49128         (_IO_off_t): Define to __off_t, not _G_off_t.
49129         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49130         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49131         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49132         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49133         type of __dummy and __dummy2 fields.
49134         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49135         (_G_ssize_t): Likewise.
49136         (_G_off_t): Likewise.
49137         (_G_pid_t): Likewise.
49138         (_G_uid_t): Likewise.
49139         (_G_wchar_t): Likewise.
49140         (_G_wint_t): Likewise.
49141         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49142         (_G_ssize_t): Likewise.
49143         (_G_off_t): Likewise.
49144         (_G_pid_t): Likewise.
49145         (_G_uid_t): Likewise.
49146         (_G_wchar_t): Likewise.
49147         (_G_wint_t): Likewise.
49148         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49149         (_G_ssize_t): Likewise.
49150         (_G_off_t): Likewise.
49151         (_G_pid_t): Likewise.
49152         (_G_uid_t): Likewise.
49153         (_G_wchar_t): Likewise.
49154         (_G_wint_t): Likewise.
49155
49156 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49157
49158         * malloc/arena.c: Include malloc-sysdep.h.
49159         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49160         is sufficient to shrink the heap or an unmap is needed.
49161         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49162         new function check_may_shrink_heap.
49163         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49164         new function check_may_shrink_heap.
49165
49166 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49167
49168         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49169         comments.
49170
49171 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49172
49173         * catgets/test-gencat.sh: Add "set -e".
49174         * elf/tst-pathopt.sh: Likewise.
49175         * grp/tst_fgetgrent.sh: Likewise.
49176         * iconvdata/run-iconv-test.sh: Likewise.
49177         * intl/tst-gettext.sh: Likewise.
49178         * intl/tst-gettext2.sh: Likewise.
49179         * intl/tst-gettext4.sh: Likewise.
49180         * intl/tst-gettext6.sh: Likewise.
49181         * intl/tst-translit.sh: Likewise.
49182         * io/ftwtest-sh: Likewise.
49183         * libio/test-freopen.sh: Likewise.
49184         * malloc/tst-mtrace.sh: Likewise.
49185         * posix/globtest.sh: Likewise.
49186         * posix/tst-getconf.sh: Likewise.
49187         * posix/wordexp-tst.sh: Likewise.
49188         * stdio-common/tst-printf.sh: Likewise.
49189         * stdio-common/tst-unbputc.sh: Likewise.
49190         * stdlib/tst-fmtmsg.sh: Likewise.
49191         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49192         * catgets/Makefile: Do not specify -e option when running
49193         testsuite shell scripts.
49194         * elf/Makefile: Likewise.
49195         * grp/Makefile: Likewise.
49196         * iconvdata/Makefile: Likewise.
49197         * intl/Makefile: Likewise.
49198         * io/Makefile: Likewise.
49199         * libio/Makefile: Likewise.
49200         * malloc/Makefile: Likewise.
49201         * posix/Makefile: Likewise.
49202         * stdio-common/Makefile: Likewise.
49203         * stdlib/Makefile: Likewise.
49204         * sysdeps/x86_64/Makefile: Likewise.
49205
49206         * io/ftwtest-sh: Add copyright header.
49207         * posix/globtest.sh: Likewise.
49208         * posix/tst-getconf.sh: Likewise.
49209         * posix/wordexp-tst.sh: Likewise.
49210         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49211
49212 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
49213
49214         [BZ #13679]
49215         * Makeconfig (+link): Defined as $(+link-static) if
49216         $(build-shared) isn't yes.
49217         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
49218         isn't yes.
49219         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
49220
49221         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
49222
49223         [BZ #14562]
49224         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
49225         new chunk size with MALLOC_ALIGN_MASK.
49226
49227 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
49228
49229         [BZ #5044]
49230         * stdio-common/printf_fphex.c: Include <stdbool.h> and
49231         <rounding-mode.h>.
49232         (__printf_fphex): Determine rounding using get_rounding_mode and
49233         round_away.
49234         * stdio-common/tst-printf-round.c (struct hex_test): New
49235         structure.
49236         (hex_tests): New variable.
49237         (test_hex_in_one_mode): New function.
49238         (do_test): Also run tests for hex float output.
49239
49240 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
49241
49242         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49243         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49244         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
49245         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49246         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49247         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
49248         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49249         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49250
49251 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
49252
49253         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
49254         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
49255         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
49256         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
49257
49258 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
49259
49260         [BZ #14579]
49261         * elf/rtld.c (dl_main): Limit the check for self loading to normal
49262         mode only.
49263         * elf/tst-rtld-load-self.sh: New test.
49264         * elf/Makefile: Run it.
49265
49266 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
49267
49268         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
49269         (tst-writev-ENV): Remove.
49270         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
49271
49272 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
49273
49274         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
49275
49276 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
49277
49278         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
49279         unconditional.
49280         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
49281         Likewise.
49282         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
49283         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
49284         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
49285         Likewise.
49286
49287 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
49288
49289         [BZ #14587]
49290         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
49291         * config.make.in (have-cpp-asm-debuginfo): Removed.
49292         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
49293         * configure: Regenerated.
49294
49295 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
49296
49297         [BZ #5044]
49298         * stdio-common/printf_fp.c: Include <stdbool.h> and
49299         <rounding-mode.h>.
49300         (___printf_fp): Determine rounding using get_rounding_mode and
49301         round_away.
49302         * stdio-common/tst-printf-round.c: New file.
49303         * stdio-common/Makefile (tests): Add tst-printf-round.
49304         (link-libm): New variable.
49305         ($(objpfx)tst-printf-round): Depend in $(link-libm).
49306
49307 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
49308
49309         [BZ #14576]
49310         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
49311         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
49312         Likewise.
49313         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49314         Likewise.
49315
49316 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
49317
49318         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
49319         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49320         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49321         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49322
49323 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
49324
49325         [BZ #14518]
49326         * include/rounding-mode.h: New file.
49327         * sysdeps/generic/get-rounding-mode.h: Likewise.
49328         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
49329         * stdlib/strtod_l.c: Include <rounding-mode.h>.
49330         (MAX_VALUE): New macro.
49331         (MIN_VALUE): Likewise.
49332         (overflow_value): New function.
49333         (underflow_value): Likewise.
49334         (round_and_return): Use overflow_value and underflow_value to
49335         determine return values in overflow and underflow cases.  Use
49336         round_away to determine rounding depending on rounding mode.
49337         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
49338         determine return values in overflow and underflow cases.
49339         * stdlib/tst-strtod-round.c: Include <fenv.h>.
49340         (struct test_results): New structure.
49341         (struct test): Use struct test_results to store expected results
49342         for all rounding modes.
49343         (TEST): Include expected results for all rounding modes.
49344         (test_in_one_mode): New function.
49345         (do_test): Use test_in_one_mode to compute and check results.
49346         Check results for all rounding modes.
49347         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
49348         $(link-libm).
49349
49350 2012-12-09  Allan McRae  <allan@archlinux.org>
49351
49352         * sysdeps/i386/fpu/libm-test-ulps: Update
49353
49354 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
49355
49356         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
49357         (_G_int32_t): Likewise.
49358         (_G_uint16_t): Likewise.
49359         (_G_uint32_t): Likewise.
49360         (_G_HAVE_BOOL): Likewise.
49361         (_G_HAVE_ATEXIT): Likewise.
49362         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49363         (_G_HAVE_IO_FILE_OPEN): Likewise.
49364         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
49365         (_G_int32_t): Likewise.
49366         (_G_uint16_t): Likewise.
49367         (_G_uint32_t): Likewise.
49368         (_G_HAVE_BOOL): Likewise.
49369         (_G_HAVE_ATEXIT): Likewise.
49370         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49371         (_G_HAVE_IO_FILE_OPEN): Likewise.
49372         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
49373         (_G_int32_t): Likewise.
49374         (_G_uint16_t): Likewise.
49375         (_G_uint32_t): Likewise.
49376         (_G_HAVE_BOOL): Likewise.
49377         (_G_HAVE_ATEXIT): Likewise.
49378         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49379         (_G_HAVE_IO_FILE_OPEN): Likewise.
49380
49381 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
49382
49383         * csu/libc-tls.c: Update copyright years.
49384
49385 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
49386
49387         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
49388         [!_G_USING_THUNKS]: Remove conditional code.
49389         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
49390         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
49391
49392         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
49393         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
49394         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49395         (_G_VTABLE_LABEL_PREFIX): Likewise.
49396         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49397         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49398         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49399         (_G_VTABLE_LABEL_PREFIX): Likewise.
49400         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49401         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49402         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49403         (_G_VTABLE_LABEL_PREFIX): Likewise.
49404         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49405
49406 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
49407
49408         * libio/Makefile: Include ../Makeconfig before tests.
49409         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
49410         only if $(build-shared) is yes.
49411
49412         * iconv/gconv_db.c: Update copyright years.
49413
49414 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49415
49416         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
49417         unwind info if defined PIC. Fix special cases description.
49418         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
49419
49420         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
49421         DP_HI_MASK entry.
49422         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
49423
49424 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
49425
49426         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
49427
49428         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
49429         is NULL.
49430
49431         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
49432         (LDLIBS-tst-chk4): This.
49433         (LDFLAGS-tst-chk5): Renamed to ...
49434         (LDLIBS-tst-chk5): This.
49435         (LDFLAGS-tst-chk6): Renamed to ...
49436         (LDLIBS-tst-chk6): This.
49437         (LDFLAGS-tst-lfschk4): Renamed to ...
49438         (LDLIBS-tst-lfschk4): This.
49439         (LDFLAGS-tst-lfschk5): Renamed to ...
49440         (LDLIBS-tst-lfschk5): This.
49441         (LDFLAGS-tst-lfschk6): Renamed to ...
49442         (LDLIBS-tst-lfschk6): This.
49443
49444         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
49445         on $(common-objpfx)soversions.mk.
49446
49447 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
49448
49449         [BZ #10014]
49450         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
49451         example host name.
49452
49453 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49454
49455         * malloc/arena.c (arena_get_retry): New function that gets
49456         another arena for the caller to try its request on.
49457         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
49458         current arena cannot fulfill the request.
49459         (__libc_memalign): Likewise.
49460         (__libc_memalign): Likewise.
49461         (__libc_pvalloc): Likewise.
49462         (__libc_calloc): Likewise.
49463
49464 2012-09-05  John Tobey  <john.tobey@gmail.com>
49465
49466         [BZ #13542]
49467         * manual/arith.texi (Operations on Complex): Fix description
49468         of carg branch cut.
49469
49470 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49471
49472         [BZ #10014]
49473         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
49474         host name.
49475
49476         [BZ #10038]
49477         * manual/memory.texi (Memory): Make order of menu items match
49478         order of sections.
49479
49480 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49481
49482         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
49483         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
49484         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
49485
49486 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49487
49488         * csu/libc-tls.c (static_dtv): Renamed to ...
49489         (_dl_static_dtv): This.  Make it global.
49490         (_dl_initial_dtv): Removed.
49491         (__libc_setup_tls): Updated.
49492         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
49493         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
49494         DL_INITIAL_DTV.
49495
49496 2012-09-06  Petr Machata  <pmachata@redhat.com>
49497
49498         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
49499         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
49500         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
49501         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
49502
49503 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49504
49505         [BZ #14545]
49506         * csu/libc-tls.c (_dl_initial_dtv): New variable.
49507         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
49508         freeing dtv[-1].
49509
49510 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49511
49512         [BZ #14544]
49513         * Makeconfig (link-static-before-libc): Replace $(+prector)
49514         with $(+prectorT).
49515         (link-static-after-libc): Replace $(+postctor) with
49516         $(+postctorT).
49517         (link-bounded): Replace $(+prector)/$(+postctor) with
49518         $(+prectorT)/$(+postctorT).
49519         (+prectorT): New macro.
49520         (+postctorT): Likewise.
49521
49522 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49523
49524         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
49525         (round_str): Handle values above the maximum for IBM long double
49526         as inexact.
49527         * stdlib/tst-strtod-round.c (tests): Regenerated.
49528
49529 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49530
49531         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
49532         assembler flag.
49533         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
49534         zarch_nohighgprs around the zarch optimized routines.
49535         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
49536         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
49537         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
49538         for zarch.
49539
49540 2012-09-05  David S. Miller  <davem@davemloft.net>
49541
49542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49543
49544         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
49545         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
49546         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
49547         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49548         entries.
49549
49550 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49551
49552         * malloc/arena.c: Fold copyright years.
49553         * malloc/mcheck.c, malloc/memusage.c: Likewise.
49554
49555 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49556
49557         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
49558
49559 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49560
49561         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
49562
49563 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49564
49565         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
49566         change internal state upon failure.
49567
49568 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49569
49570         * malloc/mcheck.c (mcheck_check_all): Fix typo.
49571         * malloc/memusage.c (mmap): Likewise.
49572         (mmap64, mremap): Likewise.  Adjust name in comment.
49573
49574 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49575
49576         * libio/fileops.c: Fix typos in comments.
49577         * libio/oldfileops.c: Likewise.
49578         * libio/wfileops.c: Likewise.
49579
49580 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49581
49582         [BZ #1349]
49583         * malloc/Makefile (tests): Add tst-malloc-usable test case.
49584         (tst-malloc-usable-ENV): Set environment for test case.
49585         * malloc/hooks.c (malloc_check_get_size): New function to get
49586         requested size.
49587         * malloc/malloc.c (musable): Use malloc_check_get_size.
49588         * malloc/tst-malloc-usable.c: New test case.
49589
49590 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49591
49592         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
49593
49594 2012-09-05  Allan McRae  <allan@archlinux.org>
49595
49596         [BZ #13966]
49597         * configure.in (CXX_SYSINCLUDES): Use compiler output to
49598         determine header location.
49599         * configure: Regenerated.
49600
49601 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49602
49603         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
49604         float format.
49605         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
49606         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
49607         format.
49608         (test): Regenerate.
49609
49610 2012-09-04  David S. Miller  <davem@davemloft.net>
49611
49612         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
49613         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
49614         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
49615
49616 2012-09-04  Florian Weimer  <fweimer@redhat.com>
49617
49618         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
49619         failures.
49620
49621         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
49622
49623 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
49624
49625         [BZ #9914]
49626         * libio/iogetdelim.c: Include <limits.h>.
49627         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
49628         + len + 1 would overflow.
49629
49630 2012-09-03  Andreas Jaeger  <aj@suse.de>
49631
49632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49633         * sysdeps/i386/fpu/libm-test-ulps: Update.
49634
49635 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49636
49637         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49638         Add s_sinf-sse2, s_conf-sse2.
49639
49640         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
49641         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
49642         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
49643         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
49644
49645         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
49646         for using routine as __sinf_ia32.
49647         Use macro for function declaration and weak_alias.
49648         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
49649         for using routine as __cosf_ia32.
49650         Use macro for function declaration and weak_alias.
49651
49652         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
49653         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
49654
49655         * sysdeps/x86_64/fpu/s_sinf.S: New file.
49656         * sysdeps/x86_64/fpu/s_cosf.S: New file.
49657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49658
49659         * math/libm-test.inc (cos_test): Add more test cases.
49660         (sin_test): Likewise.
49661         (sincos_test): Likewise.
49662
49663 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49664
49665         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
49666         (IFUNC_RESOLVE): Make pointers to the specialized implementations
49667         hidden.
49668         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49669
49670 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
49671
49672         [BZ #14538]
49673         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
49674         first element of the GOT.
49675         (elf_machine_load_address): Return the difference between
49676         the runtime address of _DYNAMIC and elf_machine_dynamic ().
49677
49678 2012-09-01  Allan McRae  <allan@archlinux.org>
49679
49680         [BZ #13412]
49681         * configure.in (AWK): Require gawk version 3.0 or later.
49682         * configure: Regenerated.
49683
49684 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
49685
49686         * sysdeps/unix/sysv/linux/kernel-features.h
49687         (__ASSUME_POSIX_CPU_TIMERS): Remove.
49688         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49689         [__NR_clock_getres]: Make code unconditional.
49690         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
49691         (clock_getcpuclockid): Remove code left unreachable by removal of
49692         conditionals.
49693         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
49694         code unconditional.
49695         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49696         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49697         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
49698         Make code unconditional.
49699         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49700         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49701         * sysdeps/unix/sysv/linux/clock_settime.c
49702         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
49703         conditional code.
49704         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
49705         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49706
49707 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
49708
49709         [BZ #14476]
49710         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
49711         scripts/test-installation.pl.
49712
49713         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
49714         and $ld_so_version if it is set.
49715
49716 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49717
49718         [BZ #14516]
49719         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
49720         failure if reading from procfs failed.
49721         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
49722
49723 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49724
49725         * sysdeps/unix/sysv/linux/kernel-features.h
49726         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
49727         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49728         Remove conditional code.
49729         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49730         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
49731         Remove conditional code.
49732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49733         * sysdeps/unix/sysv/linux/i386/fxstat.c
49734         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49736         * sysdeps/unix/sysv/linux/i386/fxstatat.c
49737         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49739         * sysdeps/unix/sysv/linux/i386/lxstat.c
49740         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49742         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
49743         Remove conditional code.
49744         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49745         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49746         Remove conditional code.
49747         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49748         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
49749         <kernel-features.h>.
49750         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
49751         Remove.
49752         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
49753         Remove conditional code.
49754         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49755         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
49756         Remove conditional.
49757
49758 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
49759
49760         [BZ #5400]
49761         * NEWS: Add fixed bug number.
49762
49763 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49764
49765         [BZ #14519]
49766         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
49767         underflowing exponent in case of negative sign.
49768         * stdlib/tst-strtod-round-data: Add more tests.
49769         * stdlib/tst-strtod-round.c (tests): Regenerated.
49770
49771         [BZ #3479]
49772         * stdlib/strtod_l.c (NDIG): Remove.
49773         (HEXNDIG): Likewise.
49774         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
49775         smallest representable value.
49776         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
49777         lie within an exact representation of 1/2 ulp of the result.
49778         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
49779         unconditionally.
49780         (TENS_P9_IDX): Define unconditionally.
49781         (TENS_P9_SIZE): Likewise.
49782         (TENS_P10_IDX): Likewise.
49783         (TENS_P10_SIZE): Likewise.
49784         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
49785         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
49786         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
49787         entries for 10^2^13 and 10^2^14.
49788         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
49789         (TENS_P13_IDX): Define.
49790         (TENS_P13_SIZE): Likewise.
49791         (TENS_P14_IDX): Likewise.
49792         (TENS_P14_SIZE): Likewise.
49793         (_fpioconst_pow10): Change array size to
49794         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
49795         unconditional.
49796         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
49797         1024]: Add entries for 10^2^13 and 10^2^14.
49798         [LAST_POW10 > _LAST_POW10]: Remove #error.
49799         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
49800         (_fpioconst_pow10): Change array size to
49801         FPIOCONST_POW10_ARRAY_SIZE.
49802         * stdlib/gen-fpioconst.c: New file.
49803         * stdlib/gen-tst-strtod-round.c: Likewise.
49804         * stdlib/tst-strtod-round-data: Likewise.
49805         * stdlib/tst-strtod-round.c: Likewise.
49806         * stdlib/Makefile (tests): Add tst-strtod-round.
49807
49808         [BZ #14459]
49809         * stdlib/strtod_l.c: Include <stdint.h>.
49810         (NDEBUG): Do not define.
49811         (round_and_return): Change EXPONENT parameter to type intmax_t.
49812         Rearrange calculations to avoid internal overflow possibilities.
49813         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
49814         Rearrange calculations to avoid internal overflow possibilities.
49815         Assert that number fits inside MPNSIZE limbs.
49816         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
49817         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
49818         calculations and add assertions to avoid internal overflow
49819         possibilities.  Add casts to avoid signed/unsigned operations.
49820         * stdlib/tst-strtod-overflow.c: New file.
49821         * stdlib/Makefile (tests): Add tst-strtod-overflow.
49822
49823 2012-08-25  Marek Polacek  <polacek@redhat.com>
49824
49825         * time/time.h: Fix some typos in comments.
49826
49827 2012-08-23  Roland McGrath  <roland@hack.frob.com>
49828
49829         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
49830         * posix/tst-rfc3484-2.c: Likewise.
49831         * posix/tst-rfc3484-3.c: Likewise.
49832
49833 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
49834
49835         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
49836         (EF_ARM_ABI_FLOAT_HARD): Likewise.
49837
49838 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
49839
49840         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
49841         #include of fxstatat64.c.
49842
49843 2012-08-22  Roland McGrath  <roland@hack.frob.com>
49844
49845         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
49846         * shadow/getspent_r.c: Likewise.
49847         * shadow/getspnam.c: Likewise.
49848         * shadow/getspnam_r.c: Likewise.
49849         * gshadow/getsgent.c: Likewise.
49850         * gshadow/getsgent_r.c: Likewise.
49851         * gshadow/getsgnam.c: Likewise.
49852         * gshadow/getsgnam_r.c: Likewise.
49853         * inet/getnetbyad.c: Likewise.
49854         * inet/getnetbyad_r.c: Likewise.
49855         * inet/getnetbynm.c: Likewise.
49856         * inet/getnetbynm_r.c: Likewise.
49857         * inet/getnetent.c: Likewise.
49858         * inet/getnetent_r.c: Likewise.
49859         * inet/getproto.c: Likewise.
49860         * inet/getproto_r.c: Likewise.
49861         * inet/getprtent.c: Likewise.
49862         * inet/getprtent_r.c: Likewise.
49863         * inet/getprtname.c: Likewise.
49864         * inet/getprtname_r.c: Likewise.
49865         * inet/getrpcbyname.c: Likewise.
49866         * inet/getrpcbyname_r.c: Likewise.
49867         * inet/getrpcbynumber.c: Likewise.
49868         * inet/getrpcbynumber_r.c: Likewise.
49869         * inet/getrpcent.c: Likewise.
49870         * inet/getrpcent_r.c: Likewise.
49871         * inet/getaliasent.c: Likewise.
49872         * inet/getaliasent_r.c: Likewise.
49873         * inet/getaliasname.c: Likewise.
49874         * inet/getaliasname_r.c: Likewise.
49875         * nscd/getgrgid_r.c: Likewise.
49876         * nscd/getgrnam_r.c: Likewise.
49877         * nscd/gethstbyad_r.c: Likewise.
49878         * nscd/gethstbynm3_r.c: Likewise.
49879         * nscd/getpwnam_r.c: Likewise.
49880         * nscd/getpwuid_r.c: Likewise.
49881         * nscd/getsrvbynm_r.c: Likewise.
49882         * nscd/getsrvbypt_r.c: Likewise.
49883         * nscd/gai.c: Likewise.
49884
49885         * configure.in (build_nscd): New substituted variable, set
49886         by --disable-build-nscd and defaults to $use_nscd.
49887         * configure: Regenerated.
49888         * config.make.in (build-nscd): New substituted variable.
49889         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
49890         Change conditional to require [$(build-nscd) = yes] as well.
49891         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
49892
49893         [BZ# 13696]
49894         * configure.in (use_nscd): New substituted variable, set by
49895         --disable-nscd.  If enabled, define USE_NSCD.
49896         * configure: Regenerated.
49897         * config.h.in: Add USE_NSCD.
49898         * config.make.in (use-nscd): New substituted variable.
49899         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
49900         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
49901         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
49902         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
49903         (CFLAGS-getgrnam_r.c): Likewise.
49904         (CFLAGS-initgroups.c): Likewise.
49905         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
49906         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
49907         Variables removed.
49908         * inet/getnetgrent_r.c
49909         (nscd_setnetgrent): New function, broken out of ...
49910         (setnetgrent): ... here.  Call it.
49911         (innetgr): Conditionalize nscd bits on [USE_NSCD].
49912         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
49913         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
49914         * nscd/Makefile (routines, aux): Move definitions after include of
49915         Makeconfig.  Conditionalize on [$(use-nscd) != no].
49916         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
49917         Conditionalize on [USE_NSCD].
49918         (is_nscd, nscd_init_cb): Likewise.
49919         (nss_load_library): Conditionalize init callback on [USE_NSCD].
49920         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
49921         * nss/nss_db/db-init.c: Likewise.
49922         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
49923         [USE_NSCD].
49924         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
49925         (make_request): Use it.
49926         (cache_valid_p): New function.
49927         (__check_pf): Use it.
49928         * NEWS: Add item for --disable-nscd.
49929
49930 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
49931
49932         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
49933         to support sed >= 4.2.1-20-ga9bf076.
49934         * configure: Regenerated.
49935
49936 2012-08-22  Roland McGrath  <roland@hack.frob.com>
49937
49938         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
49939         Conditionalize whole body on [IREL].
49940
49941 2012-08-22  Jeff Law <law@redhat.com>
49942
49943         [BZ #14505]
49944         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
49945         if the family is PF_UNSPEC.
49946
49947 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
49948
49949         * Makerules (lib-version): Rename from V.
49950         (install-lib-nosubdir): Change V to lib-version.
49951
49952 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
49953
49954         [BZ #14252]
49955         * powerpc32/power6/wcschr.c: New file.
49956         * powerpc32/power6/wcscpy.c: New file.
49957         * powerpc32/power6/wcsrchr.c: New file.
49958         * powerpc64/power6/wcschr.c: New file.
49959         * powerpc64/power6/wcscpy.c: New file.
49960         * powerpc64/power6/wcsrchr.c: New file.
49961
49962 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
49963
49964         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
49965         (two_way_short_needle): Use it.
49966         * string/strstr.c (AVAILABLE1_USES_J): Define.
49967         * string/strcasestr.c: Likewise.
49968
49969         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
49970         array references.
49971         * string/strcasestr.c (TOLOWER): Make side-effect safe.
49972
49973         [BZ #11607]
49974         * NEWS: Add an entry.
49975         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
49976         define their defaults.
49977         (two_way_short_needle): Detect end-of-string on-the-fly.
49978         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
49979         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
49980         * string/bug-strcasestr1.c: New test.
49981         * string/Makefile: Run it.
49982
49983 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
49984
49985         [BZ #11607]
49986         * string/str-two-way.h (two_way_short_needle): Optimize matching of
49987         the first character.
49988
49989 2012-08-21  Roland McGrath  <roland@hack.frob.com>
49990
49991         * csu/elf-init.c (__libc_csu_irel): Function removed.
49992         * csu/libc-start.c (apply_irel): New function.
49993         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
49994
49995 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
49996
49997         * sysdeps/unix/sysv/linux/kernel-features.h
49998         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
49999         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50000         <kernel-features.h>.
50001         [__NR_fadvise64_64]: Make code unconditional.
50002         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50003         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50004         !__NR_fadvise64_64)]: Likewise.
50005         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50006         !__NR_fadvise64_64))]: Likewise.
50007         [__NR_fadvise64]: Make code unconditional.
50008         [!__NR_fadvise64]: Remove conditional code.
50009         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50010         <kernel-features.h>.
50011         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50012         unconditional.
50013         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50014         conditional code.
50015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50016         not include <kernel-features.h>.
50017         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50018         unconditional.
50019         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50020         conditional code.
50021         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
50022         include <kernel-features.h>.
50023         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50024         unconditional.
50025         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50026         conditional code.
50027
50028 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50029
50030         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50031         slight instruction rearrangements per scrollpipe analysis.
50032         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50033
50034 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50035
50036         * manual/syslog.texi (syslog; vsyslog, closelog):
50037         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50038         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50039
50040         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50041         DSOCAPS to match condition on defining it.
50042
50043 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50044
50045         * sysdeps/unix/sysv/linux/kernel-features.h
50046         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50048         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50049         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50051         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50052         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50054         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50055         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50056
50057         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50058         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50059
50060         * sysdeps/unix/sysv/linux/kernel-features.h
50061         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50062         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50063         unconditional.
50064         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50065         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50066         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50067         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50068         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50069         Make code unconditional.
50070         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50071         (__mmap64) [!__NR_mmap2]: Likewise.
50072         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50073         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50074         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50075         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50076         [__NR_mmap2]: Make code unconditional.
50077         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50078         (__mmap64) [!__NR_mmap2]: Likewise.
50079
50080 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50081
50082         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50083
50084 2012-08-18  Andreas Jaeger  <aj@suse.de>
50085
50086         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50087
50088 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50089
50090         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50091         * include/unistd.h (__have_sock_cloexec): Likewise.
50092         (__have_pipe2): Likewise.
50093         (__have_dup3): Likewise.
50094
50095 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50096
50097         [BZ #9685]
50098         * include/unistd.h (__have_pipe2): Change define into an extern int.
50099         (__have_dup3): Likewise.
50100         * socket/have_sock_cloexec.c: Include fcntl.h.
50101         (__have_pipe2): New variable.
50102         (__have_dup3): Likewise.
50103
50104 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50105
50106         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50107
50108 2012-08-17  Marek Polacek  <polacek@redhat.com>
50109
50110         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50111         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50112
50113 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50114
50115         * configure.in: Add AC_SUBST for sysheaders.
50116         * configure: Regenerated.
50117         * config.make.in (sysheaders): New substituted variable.
50118
50119         * sysdeps/unix/mkfifo.c: Moved ...
50120         * sysdeps/posix/mkfifo.c: ... here.
50121         * sysdeps/unix/mkfifoat.c: Moved ...
50122         * sysdeps/posix/mkfifoat.c: ... here.
50123
50124         * sysdeps/unix/utime.c: Moved ...
50125         * sysdeps/posix/utime.c: ... here.
50126
50127         * sysdeps/unix/time.c: Moved ...
50128         * sysdeps/posix/time.c: ... here.
50129         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50130         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50131
50132         * sysdeps/unix/nice.c: Moved ...
50133         * sysdeps/posix/nice.c: ... here.
50134
50135         * sysdeps/unix/alarm.c: Moved ...
50136         * sysdeps/posix/alarm.c: ... here.
50137
50138         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50139
50140 2012-08-17  Jeff Law <law@redhat.com>
50141
50142         * intl/Makefile (codeset_mo): New variable.
50143         ($(codeset_mo)): New target.
50144         (tst-codeset.out): Depend on that.  Remove explicit rule.
50145         (tst-gettext3.out, tst-gettext5.out): Likewise.
50146         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50147         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50148         * intl/tst-codeset.sh: Remove.
50149         * intl/tst-gettext3.sh: Likewise.
50150         * intl/tst-gettext5.sh: Likewise.
50151
50152 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50153
50154         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50155         * sysdeps/unix/syscalls.list: ... here.
50156
50157         * sysdeps/posix/getaddrinfo.c
50158         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50159         (gaiconf_init, gaiconf_reload): Use them.
50160         [!_STATBUF_ST_NSEC]
50161         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50162         Define using time_t rather than struct timespec.
50163
50164         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50165         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50166         Macros removed.
50167         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50168         [!NO_THREADS].
50169         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50170         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50171         Likewise.
50172
50173         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50174         __libc_cleanup_push argument.
50175
50176         * bits/param.h: New file.
50177         * misc/sys/param.h: New file.
50178         * include/sys/param.h: New file.
50179         * misc/Makefile (headers): Add bits/param.h.
50180         * sysdeps/generic/sys/param.h: File removed.
50181         * sysdeps/unix/sysv/linux/bits/param.h: New file.
50182         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
50183         * sysdeps/mach/hurd/bits/param.h: New file.
50184         * sysdeps/mach/hurd/sys/param.h: File removed.
50185
50186         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
50187         last change.
50188
50189         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
50190         [_IO_MTSAFE_IO].
50191         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
50192         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
50193         New macros.
50194
50195         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
50196         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
50197         rather than -D_IO_MTSAFE_IO conditionally.
50198         * stdio-common/Makefile (CPPFLAGS): Likewise.
50199         * wcsmbs/Makefile (CPPFLAGS): Likewise.
50200         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
50201         Use $(libio-mtsafe).
50202         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
50203         of -D_IO_MTSAFE_IO.
50204         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
50205         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
50206         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
50207         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
50208         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
50209         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
50210         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50211         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
50212         (CFLAGS-fread_u_chk.c): Likewise.
50213         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
50214         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
50215         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
50216         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
50217         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
50218         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
50219         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
50220         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
50221         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
50222
50223         * libio/Makefile: Test [$(libc-reentrant) = yes]
50224         instead of [$(filter %REENTRANT, $(defines)) nonempty].
50225
50226         * Makeconfig
50227         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
50228         * sysdeps/pthread/configure: File removed.
50229         * sysdeps/pthread/Makeconfig: New file.
50230         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
50231         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
50232
50233 2012-08-16  Gary Benson  <gbenson@redhat.com>
50234
50235         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
50236         unmapping the first object in a namespace.
50237
50238 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50239
50240         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
50241         (__internal_setnetgrent): ... this.  Add internal_function to
50242         definition.  Add libc_hidden_def.
50243         (setnetgrent): Update caller.
50244         (internal_endnetgrent): Renamed to ...
50245         (__internal_endnetgrent): ... this.  Add internal_function to
50246         definition.  Add libc_hidden_def.
50247         (endnetgrent): Update caller.
50248         (internal_getnetgrent_r): Renamed to ...
50249         (__internal_getnetgrent_r): ... this.  Add internal_function to
50250         definition.  Add libc_hidden_def.
50251         (__getnetgrent_r): Update caller.
50252         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
50253
50254 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50255
50256         * stdlib/longlong.h: Update from GCC.
50257
50258 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50259
50260         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
50261         on _QL, which is set by umul_ppmm but never used.
50262         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
50263         variables, which are set by GMP macros but never used.
50264         * stdio-common/_itowa.c (_itowa): Likewise.
50265         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
50266         * stdlib/mod_1.c (mpn_mod_1): Likewise.
50267
50268 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
50269
50270         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
50271         struct La_sh_regs is not constant.
50272         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
50273         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
50274         and struct La_sparc64_regs are not constant.
50275
50276 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50277
50278         * sysdeps/unix/sysv/linux/kernel-features.h
50279         (__ASSUME_POSIX_TIMERS): Remove.
50280         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50281         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50282         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
50283         Make code unconditional.
50284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50285         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
50286         Make code unconditional.
50287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50288         * sysdeps/unix/sysv/linux/clock_nanosleep.c
50289         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
50290         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50291         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
50292         Make code unconditional.
50293         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50294         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
50295         (__libc_missing_posix_timers): Remove.
50296
50297 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50298
50299         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
50300         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
50301
50302         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
50303
50304         * elf/dl-sym.c: Include <stdlib.h>.
50305
50306         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
50307         constants, which avoids warnings in 32-bit builds.
50308
50309         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
50310         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
50311
50312         * misc/lseek.c: File moved to ...
50313         * io/lseek.c: ... here.
50314
50315         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
50316
50317         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
50318         shifting LEN more than 31 bits at once.
50319
50320 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50321
50322         [BZ #14195]
50323         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
50324         segmentation fault for a case of two empty input strings.
50325         * string/test-strncasecmp.c (check1): Renamed to...
50326         (bz12205): ...this.
50327         (bz14195): Add new testcase for two empty input strings and N > 0.
50328         (test_main): Call new testcase, adapt for renamed function.
50329
50330 2012-08-15  Andreas Jaeger  <aj@suse.de>
50331
50332         [BZ #14090]
50333         * crypt/md5test2.c: New test, based on test supplied by Serge
50334         Belyshev <belyshev@depni.sinp.msu.ru>.
50335         * crypt/Makefile (xtests): Add md5test-giant..
50336         * crypt/Makefile ($(objpfx)md5test-giant): Add.
50337
50338 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
50339
50340         [BZ #14090]
50341         * crypt/md5.c (md5_process_block): Don't assume the buffer
50342         length is less than 2**32.
50343         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
50344         length is less than 2**64.
50345
50346 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50347
50348         * string/str-two-way.h: Include <sys/param.h>.
50349         (MAX): Macro removed.
50350
50351         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
50352         Move #define and #undef of memmove to just before and after
50353         including <string.h>.
50354
50355         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
50356         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
50357         and after including <string.h>.  Move declarations of
50358         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50359         to before #include "string/memmove.c".
50360
50361         * include/dirent.h: Declare __getdirentries.
50362
50363         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
50364         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
50365
50366 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
50367
50368         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50369         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
50370         * sysdeps/i386/configure: Regenerated.
50371         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
50372         STABS_CURRENT_FILE, and STABS_FUN.
50373         (END): Remove call to STABS_FUN_END.
50374         (STABS_CURRENT_FILE1): Delete.
50375         (STABS_CURRENT_FILE): Likewise.
50376         (STABS_FUN): Likewise.
50377         (STABS_FUN_END): Likewise.
50378         (STABS_FUN2): Likewise.
50379         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
50380         * sysdeps/x86_64/configure: Regenerated.
50381
50382 2012-08-14  Roland McGrath  <roland@hack.frob.com>
50383
50384         * elf/dl-open.c: Include <atomic.h>.
50385         * elf/dl-lookup.c: Likewise.
50386
50387 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
50388
50389         * sysdeps/unix/sysv/linux/kernel-features.h
50390         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
50391         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
50392         unconditionally.
50393         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
50394         unconditionally.
50395         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
50396         condition on __ASSUME_CLONE_THREAD_FLAGS.
50397
50398 2012-08-14  Andreas Jaeger  <aj@suse.de>
50399
50400         * sysdeps/i386/fpu/libm-test-ulps: Update.
50401
50402 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
50403
50404         * include/atomic.h (atomic_exchange_and_add): Split into ...
50405         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
50406         New atomic macros.
50407
50408 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
50409
50410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50411
50412 2012-08-13  Jeff Law <law@redhat.com>
50413
50414         * manual/stdio.texi (snprintf): Clarify handling of the trailing
50415         null byte in the output string.
50416
50417 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
50418
50419         * sysdeps/unix/sysv/linux/kernel-features.h
50420         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
50421         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
50422         (__ASSUME_ARG_MAX_STACK_BASED): Define.
50423         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50424         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
50425         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
50426         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
50427
50428 2012-08-09  Jeff Law <law@redhat.com>
50429
50430         [BZ #13939]
50431         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
50432         When avoid_arena is set, don't retry in the that arena.  Pick the
50433         next one, whatever it might be.
50434         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
50435         (arena_lock): Pass in new parameter to arena_get2.
50436         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
50437         arena_get2.
50438         (__libc_malloc): Unify retrying after main arena failure with
50439         __libc_memalign version.
50440         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
50441
50442 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
50443
50444         [BZ #14166]
50445         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
50446         to __redirect_strstr.
50447         (__strstr_sse42): Use typeof __redirect_strstr.
50448         (__strstr_ia32): Likewise.
50449         (__libc_strstr): New prototype.
50450         (strstr): Renamed to ...
50451         (__libc_strstr): This.
50452         (strstr): New strong alias of __libc_strstr.
50453         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50454         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
50455         __redirect_time.
50456         Include <time.h>.
50457         (__libc_time): New prototype.
50458         (time_ifunc): Replace time with __libc_time.
50459         (time): New strong alias and hidden definition of __libc_time.
50460         (__GI_time): Remove strong alias.
50461         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
50462         Include <stddef.h>.
50463         (memmove): Redefined to __redirect_memmove.
50464         (__memmove_sse2): Use typeof __redirect_memmove.
50465         (__memmove_ssse3): Likewise.
50466         (__memmove_ssse3_back): Likewise.
50467         (__libc_memmove): New prototype.
50468         (memmove): Renamed to ...
50469         (__libc_memmove): This.
50470         (memmove): New strong alias of __libc_memmove.
50471
50472 2012-08-08  Mark Salter  <msalter@redhat.com>
50473
50474         * elf/elf.h
50475         (R_MN10300_TLS_GD): Define.
50476         (R_MN10300_TLS_LD): Likewise.
50477         (R_MN10300_TLS_LDO): Likewise.
50478         (R_MN10300_TLS_GOTIE): Likewise.
50479         (R_MN10300_TLS_IE): Likewise.
50480         (R_MN10300_TLS_LE): Likewise.
50481         (R_MN10300_TLS_DTPMOD): Likewise.
50482         (R_MN10300_TLS_DTPOFF): Likewise.
50483         (R_MN10300_TLS_TPOFF): Likewise.
50484         (R_MN10300_SYM_DIFF): Likewise.
50485         (R_MN10300_ALIGN): Likewise.
50486         (R_MN10300_NUM): Update.
50487
50488 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
50489
50490         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
50491         Remove.
50492
50493 2012-08-08  Roland McGrath  <roland@hack.frob.com>
50494
50495         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
50496
50497         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
50498         sysdeps/unix -> sysdeps/posix move.
50499         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50500
50501 2012-08-07      Allan McRae     <allan@archlinux.org>
50502
50503         [BZ #14303]
50504         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
50505         (SUNOS_CPP): Likewise.
50506         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
50507         not found.
50508         (open_input): Call CPP using execvp.
50509
50510 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50511
50512         * sysdeps/unix/sysv/linux/kernel-features.h
50513         (__ASSUME_PROT_GROWSUPDOWN): Remove.
50514         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50515         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50516         (__ASSUME_WAITID_SYSCALL): Likewise.
50517         * sysdeps/unix/sysv/linux/dl-execstack.c
50518         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
50519         code unconditional.
50520         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
50521         conditional code.
50522         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
50523         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
50524         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
50525         code.
50526         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
50527         unconditional.
50528         [__ASSUME_WAITID_SYSCALL]: Likewise.
50529         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
50530
50531 2012-08-07  Roland McGrath  <roland@hack.frob.com>
50532
50533         * sysdeps/unix/closedir.c: Renamed to ...
50534         * sysdeps/posix/closedir.c: ... here.
50535         * sysdeps/unix/dirfd.c: Renamed to ...
50536         * sysdeps/posix/dirfd.c: ... here.
50537         * sysdeps/unix/dirstream.h: Renamed to ...
50538         * sysdeps/posix/dirstream.h: ... here.
50539         * sysdeps/unix/fdopendir.c: Renamed to ...
50540         * sysdeps/posix/fdopendir.c: ... here.
50541         * sysdeps/unix/opendir.c: Renamed to ...
50542         * sysdeps/posix/opendir.c: ... here.
50543         * sysdeps/unix/readdir.c: Renamed to ...
50544         * sysdeps/posix/readdir.c: ... here.
50545         * sysdeps/unix/readdir_r.c: Renamed to ...
50546         * sysdeps/posix/readdir_r.c: ... here.
50547         * sysdeps/unix/rewinddir.c: Renamed to ...
50548         * sysdeps/posix/rewinddir.c: ... here.
50549         * sysdeps/unix/seekdir.c: Renamed to ...
50550         * sysdeps/posix/seekdir.c: ... here.
50551         * sysdeps/unix/telldir.c: Renamed to ...
50552         * sysdeps/posix/telldir.c: ... here.
50553         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
50554         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
50555         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
50556         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
50557
50558         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
50559         * bits/fcntl.h: ... here.
50560
50561         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
50562         not 0.
50563         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
50564         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
50565         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
50566         (struct flock): Move l_start, l_len to the beginning.
50567         Use __pid_t for l_pid.
50568         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
50569         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
50570         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
50571         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
50572         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
50573         [__USE_LARGEFILE64] (struct flock64): New type.
50574         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
50575
50576         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
50577         * bits/dirent.h: ... here.
50578
50579         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
50580         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
50581
50582 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50583
50584         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50585         Change from 2.6.0 to 2.6.16.
50586         * sysdeps/unix/sysv/linux/configure: Regenerated.
50587         * sysdeps/unix/sysv/linux/kernel-features.h
50588         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
50589         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
50590         version.
50591         (__ASSUME_UTIMES): Likewise.
50592         (__ASSUME_CLONE_STOPPED): Remove.
50593         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
50594         architectures, not kernel version.
50595         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
50596         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50597         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50598         (__ASSUME_WAITID_SYSCALL): Likewise.
50599         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
50600         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
50601         * README: State 2.6.16 as minimum Linux kernel version.  Do not
50602         refer to older versions.
50603
50604 2012-08-06  Roland McGrath  <roland@hack.frob.com>
50605
50606         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
50607         Define alphasort64 as an alias.
50608         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
50609         Define versionsort64 as an alias.
50610         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
50611         Define scandir64 as an alias.
50612         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
50613         Define scandirat64 as an alias.
50614         * dirent/alphasort64.c (alphasort64):
50615         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
50616         * dirent/versionsort64.c: Likewise.
50617         * dirent/scandir64.c: Likewise.
50618         * dirent/scandirat64.c: Likewise.
50619         * sysdeps/wordsize-64/alphasort.c: File removed.
50620         * sysdeps/wordsize-64/alphasort64.c: File removed.
50621         * sysdeps/wordsize-64/scandir.c: File removed.
50622         * sysdeps/wordsize-64/scandir64.c: File removed.
50623         * sysdeps/wordsize-64/scandirat.c: File removed.
50624         * sysdeps/wordsize-64/scandirat64.c: File removed.
50625         * sysdeps/wordsize-64/versionsort.c: File removed.
50626         * sysdeps/wordsize-64/versionsort64.c: File removed.
50627         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
50628         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
50629         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
50630         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
50631         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
50632         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
50633         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
50634         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
50635
50636         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
50637         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50638         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
50639         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50640         [defined __arch64__ || defined __sparcv9]
50641         (__INO_T_MATCHES_INO64_T): New macro.
50642         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50643         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
50644         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
50645         * sysdeps/unix/sysv/linux/bits/dirent.h
50646         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
50647         (_DIRENT_MATCHES_DIRENT64): New macro.
50648
50649         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
50650         Define lockf64 as an alias.
50651         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
50652         Define fseeko64 as an alias.
50653         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
50654         Define ftello64 as an alias.
50655         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
50656         Define _IO_fgetpos64 and fgetpos64 as aliases.
50657         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
50658         Define _IO_fsetpos64 and fsetpos64 as aliases.
50659         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
50660         Conditionalize body on this.
50661         * libio/fseeko64.c: Likewise.
50662         * libio/ftello64.c: Likewise.
50663         * libio/iofgetpos64.c: Likewise.
50664         * libio/iofsetpos64.c: Likewise.
50665         * sysdeps/wordsize-64/lockf.c: File removed.
50666         * sysdeps/wordsize-64/lockf64.c: File removed.
50667         * sysdeps/wordsize-64/fseeko.c: File removed.
50668         * sysdeps/wordsize-64/fseeko64.c: File removed.
50669         * sysdeps/wordsize-64/ftello.c: File removed.
50670         * sysdeps/wordsize-64/ftello64.c: File removed.
50671         * sysdeps/wordsize-64/iofgetpos.c: File removed.
50672         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
50673         * sysdeps/wordsize-64/iofsetpos.c: File removed.
50674         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
50675         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
50676         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
50677         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
50678         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
50679         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
50680         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
50681         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
50682         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
50683         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
50684         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
50685
50686         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50687         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50688         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
50689         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50690         [defined __arch64__ || defined __sparcv9]
50691         (__OFF_T_MATCHES_OFF64_T): New macro.
50692         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50693         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50694         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50695         (__OFF_T_MATCHES_OFF64_T): New macro.
50696
50697 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50698
50699         * stdlib/secure-getenv.c (__secure_getenv): Replace
50700         GLIBC_2_16 with GLIBC_2_17.
50701
50702 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50703
50704         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
50705         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50706
50707 2012-08-03  David S. Miller  <davem@davemloft.net>
50708
50709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50710
50711 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50712
50713         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
50714         Remove.
50715         (__ASSUME_CORRECT_SI_PID): Likewise.
50716         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
50717         (__ASSUME_TMPFS_NAME): Likewise.
50718         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
50719         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
50720         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
50721         (HAVE_AUX_SECURE): Make definition unconditional.
50722         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
50723         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
50724
50725 2012-08-03  Roland McGrath  <roland@hack.frob.com>
50726
50727         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
50728         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
50729         * sysdeps/mach/hurd/eloop-threshold.h: New file.
50730         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50731         __eloop_threshold instead of SYMLOOP_MAX.
50732
50733         * sysdeps/generic/eloop-threshold.h: New file.
50734         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
50735         of MAXSYMLINKS.
50736         * elf/chroot_canon.c (chroot_canon): Likewise.
50737
50738 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50739
50740         [BZ #13717]
50741         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50742         Change to 2.6.0 everywhere.
50743         * sysdeps/unix/sysv/linux/configure: Regenerated.
50744         * sysdeps/unix/sysv/linux/kernel-features.h
50745         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
50746         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
50747         kernel versions.
50748         (__ASSUME_POSIX_TIMERS): Define unconditionally.
50749         (__ASSUME_FUTEX_REQUEUE): Remove.
50750         (__ASSUME_STATFS64): Define unconditionally.
50751         (__ASSUME_AT_SECURE): Likewise.
50752         (__ASSUME_CORRECT_SI_PID): Likewise.
50753         (__ASSUME_TGKILL): Define without depending on kernel version for
50754         i386.
50755         (__ASSUME_UTIMES): Likewise.
50756         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
50757         kernel version.
50758         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
50759         (__ASSUME_TMPFS_NAME): Likewise.
50760         * README: Update reference to Linux kernel versions.
50761
50762 2012-08-02  Marek Polacek  <polacek@redhat.com>
50763
50764         [BZ# 14150]
50765         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
50766         libc_cv_asm_type_prefix with %.
50767         * configure: Regenerated.
50768         * include/libc-symbols.h: Remove comment about
50769         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50770         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
50771         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
50772         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
50773         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
50774         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50775         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
50776         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
50777         * elf/tst-unique2mod1.c: Likewise.
50778         * elf/tst-unique1mod2.c: Likewise.
50779         * elf/tst-unique1mod1.c: Likewise.
50780         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
50781         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
50782         Replace ASM_TYPE_DIRECTIVE with .type.
50783         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50784         * sysdeps/i386/sysdep.h: Likewise.
50785         * sysdeps/x86_64/sysdep.h: Likewise.
50786         * sysdeps/sh/sysdep.h: Likewise.
50787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50788         Do not define ASM_TYPE_DIRECTIVE.
50789         * sysdeps/powerpc/sysdep.h: Likewise.
50790         * sysdeps/powerpc/powerpc32/sysdep.h:
50791         Replace ASM_TYPE_DIRECTIVE with .type.
50792         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
50793         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50794         * sysdeps/i386/fpu/e_powf.S: Likewise.
50795         * sysdeps/i386/fpu/e_expl.S: Likewise.
50796         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50797         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50798         * sysdeps/i386/fpu/e_pow.S: Likewise.
50799         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50800         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50801         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50802         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50803         * sysdeps/i386/fpu/e_log2.S: Likewise.
50804         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50805         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50806         * sysdeps/i386/fpu/e_powl.S: Likewise.
50807         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50808         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50809         * sysdeps/i386/fpu/e_logl.S: Likewise.
50810         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50811         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50812         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50813         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50814         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50815         * sysdeps/i386/fpu/e_log.S: Likewise.
50816         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50817         * sysdeps/i386/fpu/e_logf.S: Likewise.
50818         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50819         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50820         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50821         * sysdeps/i386/fpu/e_log10.S: Likewise.
50822         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50823         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50824         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50825         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50826         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50827         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
50828         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50829         * sysdeps/i386/i686/strtok.S: Likewise.
50830         * sysdeps/i386/i386-mcount.S: Likewise.
50831         * sysdeps/i386/strtok.S: Likewise.
50832         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
50833         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50834         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50835         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50836         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50837         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50838         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50839         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50840         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50841         * sysdeps/x86_64/_mcount.S: Likewise.
50842         * sysdeps/x86_64/strtok.S: Likewise.
50843         * sysdeps/sh/_mcount.S: Likewise.
50844
50845 2012-08-01  Roland McGrath  <roland@hack.frob.com>
50846
50847         * libio/iofopen.c: Include <fcntl.h>.
50848         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
50849         (_IO_fopen64, fopen64): Define as aliases.
50850         * libio/iofopen64.c: Include <fcntl.h>.
50851         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
50852         Conditionalize body on this.
50853         * sysdeps/wordsize-64/iofopen.c: File removed.
50854         * sysdeps/wordsize-64/iofopen64.c: File removed.
50855
50856 2012-08-01  Marek Polacek  <polacek@redhat.com>
50857
50858         * libc/Makeconfig: Use elf in place of binfmt-subdir.
50859         Use dlfcn directly instead of a variable.
50860         (binfmt-subdir): Do not define.
50861         (dlfcn): Likewise.
50862
50863 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
50864
50865         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
50866         Remove all definitions.
50867         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
50868         <kernel-features.h>.
50869         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50870         (miss_F_GETOWN_EX): Remove all definitions.
50871         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
50872         macro definition.
50873         [!__ASSUME_FCNTL64]: Remove conditional code.
50874         [__ASSUME_FCNTL64]: Make code unconditional.
50875         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
50876         <kernel-features.h>.
50877         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50878         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
50879         (lockf64) [__NR_fcntl64]: Make code unconditional.
50880         (lockf64) [__ASSUME_FCNTL64]: Likewise.
50881
50882         * sysdeps/unix/sysv/linux/kernel-features.h
50883         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
50884         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
50885         Make code unconditional.
50886         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50887         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
50889         [__NR_vfork]: Make code unconditional.
50890         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50891         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
50893         [__NR_vfork]: Make code unconditional.
50894         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50895         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50896
50897 2012-08-01  Roland McGrath  <roland@hack.frob.com>
50898
50899         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
50900         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
50901
50902         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50903         Define mkstemp64 as an alias.
50904         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50905         Define mkstemps64 as an alias.
50906         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50907         Define mkostemp64 as an alias.
50908         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50909         Define mkostemps64 as an alias.
50910         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
50911         Conditionalize body on this.
50912         * misc/mkostemp64.c: Likewise.
50913         * misc/mkostemps64.c: Likewise.
50914         * misc/mkstemps64.c: Likewise.
50915         * sysdeps/wordsize-64/mkstemp64.c: File removed.
50916         * sysdeps/wordsize-64/mkostemp64.c: File removed.
50917         * sysdeps/wordsize-64/mkostemp.c: File removed.
50918         * sysdeps/wordsize-64/mkstemp.c: File removed.
50919         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
50920         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
50921         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
50922         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
50923
50924         [BZ #14138]
50925         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
50926         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
50927         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
50928         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
50929
50930         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
50931         compat_symbol macros from <shlib-compat.h> rather than the underlying
50932         default_symbol_version and symbol_version macros, so that DEFAULT
50933         lines in shlib-versions are respected.
50934         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
50935
50936 2012-08-01  Florian Weimer  <fweimer@redhat.com>
50937
50938         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
50939         Declare with warn_unused_result.
50940         (setgid, setregid, setegid, setresgid): Likewise.
50941         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
50942         Likewise.
50943         * WUR-REPORT: Remove set*id functions.
50944
50945 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
50946
50947         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
50948
50949 2012-07-31  Roland McGrath  <roland@hack.frob.com>
50950
50951         [BZ #10191]
50952         * include/sys/socket.h (__libc_accept, __libc_accept4):
50953         Add attribute_hidden.
50954         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
50955
50956         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
50957         use of PTR_MANGLE.
50958         * inet/getnetgrent_r.c (setup): Likewise.
50959
50960         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
50961
50962 2012-07-31  David S. Miller  <davem@davemloft.net>
50963
50964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50965
50966 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
50967
50968         [BZ #13629]
50969         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
50970         value between 1.0 and 2.0 and smaller part has absolute value less
50971         than 1.0.
50972         * math/s_clog10.c (__clog10): Likewise.
50973         * math/s_clog10f.c (__clog10f): Likewise.
50974         * math/s_clog10l.c (__clog10l): Likewise.
50975         * math/s_clogf.c (__clogf): Likewise.
50976         * math/s_clogl.c (__clogl): Likewise.
50977         * math/libm-test.inc (clog_test): Add more tests.
50978         (clog10_test): Likewise.
50979         * sysdeps/i386/fpu/libm-test-ulps: Update.
50980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50981
50982 2012-07-31  Florian Weimer  <fweimer@redhat.com>
50983
50984         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
50985         Exit with zero in case no suitable GID is found, and write a
50986         message to standard error.
50987
50988 2012-07-30  Roland McGrath  <roland@hack.frob.com>
50989
50990         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
50991         rather than to 1.
50992         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
50993         (MAXPATHLEN): Removed.
50994         (NOGROUP, NODEV): New macros.
50995         (setbit, clrbit, isset, isclr): New macros.
50996         (howmany, roundup, powerof2): New macros.
50997         (DEV_BSIZE): New macro.
50998
50999         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
51000         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
51001
51002         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51003         definition on [!__NO_LONG_DOUBLE_MATH].
51004
51005         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51006         PTR_MANGLE and PTR_DEMANGLE.
51007
51008         * socket/accept4.c (accept4): Rename to __libc_accept4.
51009         Define accept4 as a weak alias.
51010
51011         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51012         on [_DIRENT_HAVE_D_TYPE].
51013         * io/ftw.c (ftw_dir): Likewise.
51014
51015         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51016
51017         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51018
51019         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51020         Use the BSD numbers rather than the arbitrary ones we had.
51021         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51022         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51023         (SIGXCPU, SIGXFSZ): New macros.
51024         (_NSIG): Now 32.
51025
51026         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51027         initializer on [_LIBC_REENTRANT].
51028
51029         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51030         definitions inside [_POSIX_MAPPED_FILES].
51031
51032         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51033
51034         * dirent/opendir.c: Include <fcntl.h>.
51035
51036         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51037         (__libc_getspecific): Likewise.
51038         (__libc_key_create): Likewise.
51039
51040         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51041         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51042         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51043         (tmpfile64): Define as alias.
51044         * sysdeps/wordsize-64/tmpfile.c: File removed.
51045         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51046         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51047         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51048
51049         * stdio-common/vfscanf.c: Include <stdbool.h>.
51050         * nss/makedb.c: Likewise.
51051         * stdio-common/_i18n_number.h: Likewise.
51052         * argp/argp-help.c: Likewise.
51053         * posix/wordexp.c: Likewise.
51054         * sysdeps/posix/spawni.c: Likewise.
51055         * nss/nss_files/files-initgroups.c: Likewise.
51056         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51057         * nss/nss_files/files-initgroups.c: Likewise.
51058         * nss/nss_db/db-netgrp.c: Likewise.
51059         * nss/nss_db/db-initgroups.c: Likewise.
51060         * io/fchmodat.c: Include <sys/stat.h>.
51061
51062         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51063         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51064
51065         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51066         [HAVE_MMAP].
51067
51068         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51069         Add multiple inclusion protection.
51070
51071 2012-07-27  David S. Miller  <davem@davemloft.net>
51072
51073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51074
51075 2012-07-27  Gary Benson  <gbenson@redhat.com>
51076
51077         [BZ #14298]
51078         * elf/rtld.c: Include <stap-probe.h>.
51079         (dl_main): Added static probes "init_start" and "init_complete".
51080         * elf/dl-load.c: Include <stap-probe.h>.
51081         (lose): Take new parameter "nsid".
51082         Added static probe "map_failed".
51083         (_dl_map_object_from_fd): Pass namespace id to lose.
51084         Added static probe "map_start".
51085         (open_verify): Pass namespace id to lose.
51086         * elf/dl-open.c: Include <stap-probe.h>.
51087         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51088         and "reloc_complete".
51089         * elf/dl-close.c: Include <stap-probe.h>.
51090         (_dl_close_worker): Added static probes "unmap_start" and
51091         "unmap_complete".
51092         * elf/rtld-debugger-interface.txt: New file documenting the above.
51093
51094 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51095
51096         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51097         rather than a string variable.
51098         * sunrpc/rpc_main.c (h_output): Likewise.
51099         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51100
51101 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51102
51103         * inet/check_native.c: New file.
51104
51105 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51106
51107         [BZ #13629]
51108         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51109         if larger part has absolute value 1.0.
51110         * math/s_clog10.c (__clog10): Likewise.
51111         * math/s_clog10f.c (__clog10f): Likewise.
51112         * math/s_clog10l.c (__clog10l): Likewise.
51113         * math/s_clogf.c (__clogf): Likewise.
51114         * math/s_clogl.c (__clogl): Likewise.
51115         * math/libm-test.inc (clog_test): Add more tests.
51116         (clog10_test): Likewise.
51117         * sysdeps/i386/fpu/libm-test-ulps: Update.
51118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51119
51120         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51121         (pltexit): Likewise.
51122         (La_regs): Likewise.
51123         (La_retval): Likewise.
51124         (int_retval): Likewise.
51125         Update #error for removed macros to refer only to definitions in
51126         tst-audit.h.
51127         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51128         macro.
51129         (pltexit): Likewise.
51130         (La_regs): Likewise.
51131         (La_retval): Likewise.
51132         (int_retval): Likewise.
51133         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
51134         macro.
51135         (pltexit): Likewise.
51136         (La_regs): Likewise.
51137         (La_retval): Likewise.
51138         (int_retval): Likewise.
51139         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
51140         macro.
51141         (pltexit): Likewise.
51142         (La_regs): Likewise.
51143         (La_retval): Likewise.
51144         (int_retval): Likewise.
51145         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
51146         macro.
51147         (pltexit): Likewise.
51148         (La_regs): Likewise.
51149         (La_retval): Likewise.
51150         (int_retval): Likewise.
51151         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
51152         macro.
51153         (pltexit): Likewise.
51154         (La_regs): Likewise.
51155         (La_retval): Likewise.
51156         (int_retval): Likewise.
51157         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
51158         macro.
51159         (pltexit): Likewise.
51160         (La_regs): Likewise.
51161         (La_retval): Likewise.
51162         (int_retval): Likewise.
51163         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51164         macro definitions in tst-audit.h.
51165         * sysdeps/i386/tst-audit.h: New file.
51166         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51167         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51168         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51169         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51170         * sysdeps/sh/tst-audit.h: Likewise.
51171         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51172         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51173         * sysdeps/x86_64/tst-audit.h: Likewise.
51174
51175 2012-07-26  Andreas Jaeger  <aj@suse.de>
51176
51177         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51178         ptrace.
51179
51180         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
51181         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
51182         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
51183         PTRACE_O_MASK.
51184         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
51185         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
51186         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
51187
51188         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
51189         value.
51190
51191         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
51192         _sigsys.
51193         (si_call_addr, si_syscall, si_arch): Define new macro.
51194         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
51195         _sigsys.
51196         (si_call_addr, si_syscall, si_arch): Define new marcro.
51197         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
51198         _sigsys.
51199         (si_call_addr, si_syscall, si_arch): Define new macro.
51200         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
51201         _sigsys.
51202         (si_call_addr, si_syscall, si_arch): Define new macro.
51203
51204 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51205
51206         [BZ #13717]
51207         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51208         Change to 2.4.21 where previously 2.4.1.
51209         * sysdeps/unix/sysv/linux/configure: Regenerated.
51210         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
51211         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
51212         Linux kernel version.
51213         (__ASSUME_STD_AUXV): Remove.
51214         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
51215         kernel version.
51216         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
51217         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
51218         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
51219         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
51220         (__ASSUME_NETLINK_SUPPORT): Likewise.
51221         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
51222         (__no_netlink_support): Remove conditional definition.
51223         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
51224         Remove.
51225         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51226         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
51227         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
51228         (if_nameindex_ioctl): Remove.
51229         (if_nameindex_netlink): Do not handle __no_netlink_support.
51230         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51231         code.
51232         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
51233         Remove conditional code.
51234         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51235         code.
51236         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
51237         unconditional.
51238         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51239         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
51240         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
51241         Remove.
51242         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
51243         [!__ASSUME_STD_AUXV]: Remove conditional code.
51244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
51245         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
51246         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
51247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
51248         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
51249         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51250         code.
51251         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51253         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
51254         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51255         conditional code.
51256         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51258         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51259         code.
51260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51261         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51262         conditional code.
51263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
51264         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51265         code unconditional.
51266         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51267         conditional code.
51268         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51269         unconditional.
51270         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51271         conditional code.
51272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51273         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51274         unconditional.
51275         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51276         conditional code.
51277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
51278         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51279         code unconditional.
51280         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51281         conditional code.
51282         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51283         unconditional.
51284         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51285         conditional code.
51286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
51287         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51288         code unconditional.
51289         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51290         conditional code.
51291         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51292         unconditional.
51293         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51294         conditional code.
51295
51296 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
51297
51298         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
51299         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
51300         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51301         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
51302         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
51303         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
51304         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
51305         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
51306         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
51307         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
51308         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
51309         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
51310         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
51311         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
51312         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
51313         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
51314         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
51315         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
51316         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
51317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
51318         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
51319         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
51320         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51321
51322 2012-07-25  Florian Weimer  <fweimer@redhat.com>
51323
51324         * Versions.def: Add GLIBC_2.17.
51325         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
51326         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
51327         Introduce __libc_secure_getenv.
51328         * stdlib/Versions (2.17): Add secure_getenv
51329         (GLIBC_PRIVATE): Add __libc_secure_getenv.
51330         * stdlib/secure-getenv.c: Rename __secure_getenv to
51331         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
51332         symbol __secure_getenv for GLIBC_2.0.
51333         * stdlib/tst-secure-getenv.c: New.
51334         * stdlib/Makefile (tests): Add testcase.
51335         * manual/startup.texi (Environment Access): Document
51336         secure_getenv.
51337         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
51338         __libc_secure_getenv.
51339         * inet/ruserpass.c (ruserpass): Likewise.
51340         * malloc/mtrace.c (mtrace): Likewise.
51341         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
51342         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
51343         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
51344         * sysdeps/posix/tempname.c: Likewise.  Evaluate
51345         HAVE_SECURE_GETENV.
51346         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
51347         __secure_getenv to __libc_secure_getenv.
51348         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
51349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51350         Likewise.
51351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51352         Likewise.
51353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51360
51361 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51362
51363         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
51364         (struct La_i86_retval): Likewise.
51365         (struct La_x86_64_regs): Likewise.
51366         (struct La_x86_64_retval): Likewise.
51367         (struct La_x32_regs): Likewise.
51368         (struct La_x32_retval): Likewise.
51369         (struct La_ppc32_regs): Likewise.
51370         (struct La_ppc32_retval): Likewise.
51371         (struct La_ppc64_regs): Likewise.
51372         (struct La_ppc64_retval): Likewise.
51373         (struct La_sh_regs): Likewise.
51374         (struct La_sh_retval): Likewise.
51375         (struct La_s390_32_regs): Likewise.
51376         (struct La_s390_32_retval): Likewise.
51377         (struct La_s390_64_regs): Likewise.
51378         (struct La_s390_64_retval): Likewise.
51379         (struct La_sparc32_regs): Likewise.
51380         (struct La_sparc32_retval): Likewise.
51381         (struct La_sparc64_regs): Likewise.
51382         (struct La_sparc64_retval): Likewise.
51383         (struct audit_ifaces): Remove architecture-specific pltenter and
51384         pltexit members.
51385         * sysdeps/i386/ldsodefs.h: New file.
51386         * sysdeps/powerpc/ldsodefs.h: Likewise.
51387         * sysdeps/s390/ldsodefs.h: Likewise.
51388         * sysdeps/sh/ldsodefs.h: Likewise.
51389         * sysdeps/sparc/ldsodefs.h: Likewise.
51390         * sysdeps/x86_64/ldsodefs.h: Likewise.
51391
51392 2012-07-25  Marek Polacek  <polacek@redhat.com>
51393
51394         [BZ #6808]
51395         * math/libm-test.inc (yn_test): Add another test.
51396         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
51397         to ERANGE when the result is +-Inf.
51398         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51399         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
51400         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
51401         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
51402
51403 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
51404
51405         * conform/data/time.h-data (NULL): Use macro-constant.  Require
51406         equal to 0.
51407         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
51408         clock_t.
51409         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
51410
51411 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
51412
51413         * configure.in <sysdeps resolving>: Correct printing
51414         Implies_before.
51415         * configure: Regenerate.
51416
51417 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
51418
51419         * math/w_ilogb.c: Include <limits.h>.
51420         * math/w_ilogbl.c: Likewise.
51421
51422 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51423
51424         * manual/lang.texi (__va_copy): Document primarily as ISO C99
51425         va_copy.  Document allowing for unavailable va_copy only as
51426         pre-C99 compatibility.
51427         * manual/string.texi (Copying and Concatenation): Use va_copy
51428         instead of __va_copy in concat example.
51429
51430 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
51431
51432         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
51433         (__sendto): Use create_address_port.  Initialize APORT and deallocate
51434         it if not null.
51435
51436         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
51437         with O_NOLINK passed to __file_name_lookup.
51438
51439         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
51440         with O_NOLINK passed to __file_name_lookup.
51441
51442         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
51443         negative N or less than NGIDS.
51444
51445         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
51446         type to string_t.  Set ERANGE as errno and return it if NAME is not big
51447         enough.  Use memcpy instead of strncpy.
51448
51449 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51450
51451         * elf/Makefile (check-data): Remove.
51452         (localplt.data): New vpath directive.
51453         ($(objpfx)check-localplt.out): Use localplt.data from vpath
51454         instead of $(check-data).
51455         * scripts/data/localplt-generic.data: Move to ...
51456         * sysdeps/generic/localplt.data: ... here.
51457         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
51458         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
51459         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
51460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
51461         ... here.
51462         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
51463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
51464         ... here.
51465         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
51466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
51467         ... here.
51468         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
51469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
51470         ... here.
51471         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
51472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
51473         ... here.
51474         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
51475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
51476         ... here.
51477
51478 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51479
51480         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
51481         PPC32 and PPC64 files.
51482         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
51483         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
51484
51485 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51486
51487         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
51488         __makecontext_ret to ...
51489         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
51490         ... here and call exit if uc_link is NULL.  New file.
51491         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
51492         __makecontext_ret.S.
51493         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
51494         __makecontext_ret to ...
51495         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
51496         ... here and call exit if uc_link is NULL.  New file.
51497         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
51498         __makecontext_ret.S.
51499
51500 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51501
51502         * elf/elf.h (R_390_IRELATIVE): New definition.
51503         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
51504         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
51505         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
51506         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51507         (elf_machine_lazy_rel): Likewise.
51508         * sysdeps/s390/dl-irel.h: New file.
51509         * sysdeps/s390/s390-64/memcpy.S: New asm code.
51510         * sysdeps/s390/s390-64/memset.S: New asm code.
51511         * sysdeps/s390/s390-64/memcmp.S: New asm code.
51512         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
51513         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
51514         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
51515         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
51516         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
51517         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
51518         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
51519         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
51520         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
51521         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
51522         * sysdeps/s390/s390-32/memcpy.S: New asm code.
51523         * sysdeps/s390/s390-32/memset.S: New asm code.
51524         * sysdeps/s390/s390-32/memcmp.S: New asm code.
51525
51526 2012-07-17  Marek Polacek  <polacek@redhat.com>
51527
51528         [BZ #14349]
51529         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
51530         * sysdeps/s390/s390-64/configure.in: Likewise.
51531         * sysdeps/sparc/configure.in: Likewise.
51532         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
51533         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
51534         * sysdeps/i386/configure.in: Likewise.
51535         * sysdeps/x86_64/configure.in: Likewise.
51536         * sysdeps/sh/configure.in: Likewise.
51537         * sysdeps/s390/s390-32/configure: Regenerated.
51538         * sysdeps/s390/s390-64/configure: Likewise.
51539         * sysdeps/x86_64/configure: Likewise.
51540         * sysdeps/sh/configure: Likewise.
51541         * sysdeps/powerpc/powerpc64/configure: Likewise.
51542         * sysdeps/powerpc/powerpc32/configure: Likewise.
51543         * sysdeps/sparc/configure: Likwise.
51544         * sysdeps/i386/configure: Likewise.
51545
51546         * elf/dl-open.c: Comment fixes.
51547
51548 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
51549
51550         * Makefile [CXX] (check-data): Remove.
51551         [CXX] (c++-types.data): New vpath directive.
51552         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
51553         vpath.  Do not allow for C++ type data being missing.
51554         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
51555         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
51556         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
51557         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
51558         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
51559         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
51560         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
51561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
51562         ... here.
51563         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
51564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
51565         ... here.
51566         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
51567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
51568         ... here.
51569         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
51570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
51571         ... here.
51572         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
51573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
51574         ... here.
51575         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
51576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
51577         ... here.
51578         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
51579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
51580         ... here.
51581         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
51582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
51583
51584         * elf/tls-macros.h (TLS_LE): Move architecture-specific
51585         definitions to architecture-specific files.
51586         (TLS_IE): Likewise.
51587         (TLS_LD): Likewise.
51588         (TLS_GD): Likewise.
51589         * sysdeps/i386/tls-macros.h: New file.
51590         * sysdeps/powerpc/tls-macros.h: Likewise.
51591         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
51592         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
51593         * sysdeps/sh/tls-macros.h: Likewise.
51594         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
51595         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
51596         * sysdeps/x86_64/tls-macros.h: Likewise.
51597
51598 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51599
51600         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
51601         zero value for regular exit case.
51602
51603         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
51604         (__start_context): Preserve zero value for regular exit case.
51605
51606 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51607             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51608
51609         * manual/setjmp.texi (setcontext): Clarify normal process
51610         termination when uc_link is the null pointer.
51611         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
51612         exit call.
51613
51614 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
51615
51616         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
51617         preprocessor.  Test for each exception mask separately.
51618
51619 2012-07-16  Andreas Jaeger  <aj@suse.de>
51620
51621         * po/ru.po: Update from translation team.
51622
51623 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
51624
51625         * conform/data/string.h-data (NULL): Use macro-constant.  Require
51626         equal to 0.
51627         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51628         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51629         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
51630         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
51631         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51632
51633 2012-07-13  Andreas Jaeger  <aj@suse.de>
51634
51635         * po/fr.po: Update from translation team.
51636
51637 2012-07-12  Marek Polacek  <polacek@redhat.com>
51638
51639         [BZ #14173]
51640         * math/libm-test.inc (yn_test): Add test for BZ #14173.
51641         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
51642         loop condition.
51643
51644 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
51645
51646         [BZ #13717]
51647         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51648         Change to 2.4.1 where previously 2.4.0.
51649         * sysdeps/unix/sysv/linux/configure: Regenerated.
51650         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
51651         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
51652         version.
51653         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
51654         (__ASSUME_AT_CLKTCK): Remove.
51655         (__ASSUME_AT_PAGESIZE): Likewise.
51656         (__ASSUME_AT_XID): Likewise.
51657         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
51658         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
51659         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
51660         unconditionally.
51661         (HAVE_AUX_PAGESIZE): Likewise.
51662         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
51663         [__ASSUME_AT_CLKTCK]: Make code unconditional.
51664         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
51665
51666 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
51667
51668         [BZ #14307]
51669         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
51670         the temporary buffer used to invoke __gethostbyname2_r,
51671         __gethostbyaddr_r and gethostbyname4_r to make room for struct
51672         host_data / struct gaih_addrtuple.
51673         * resolv/nss_dns/dns-host.c (global scope): Move definition of
51674         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
51675         header file nss/nsswitch.h.
51676         * nss/nsswitch.h (global scope): Add definition of implementation
51677         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
51678         resolv/nss_dns/dns-host.c).
51679
51680 2012-07-11  Andreas Jaeger  <aj@suse.de>
51681
51682         * po/fr.po: Update from translation team.
51683
51684         * po/sv.po: Update from translation team
51685         * po/fr.po: Another update from translation team.
51686
51687 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51688
51689         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
51690         for subnormals or multiply small sinh result by itself.
51691         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51693
51694 2012-07-11  David S. Miller  <davem@davemloft.net>
51695
51696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51697
51698 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
51699
51700         [BZ #14347]
51701         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
51702         (INTERNAL_MARK): Shift it here.
51703
51704 2012-07-10  Marek Polacek  <polacek@redhat.com>
51705
51706         [BZ #14151]
51707         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
51708         libc_cv_asm_global_directive with .globl.
51709         * configure: Regenerated.
51710         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
51711         with .globl.
51712         * sysdeps/i386/configure: Regenerated.
51713         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
51714         with .globl.
51715         * sysdeps/x86_64/configure: Regenerated.
51716         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
51717         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
51718         * elf/tst-unique2mod2.c: Likewise.
51719         * elf/tst-unique2mod1.c: Likewise.
51720         * elf/tst-unique1mod2.c: Likewise.
51721         * elf/tst-unique1mod1.c: Likewise.
51722         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51723         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51724         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51725         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51726         * sysdeps/mach/sysdep.h: Likewise.
51727         * sysdeps/i386/sysdep.h: Likewise.
51728         * sysdeps/i386/i386-mcount.S: Likewise.
51729         * sysdeps/x86_64/_mcount.S: Likewise.
51730         * sysdeps/x86_64/sysdep.h: Likewise.
51731         * sysdeps/sh/_mcount.S: Likewise.
51732         * sysdeps/sh/sysdep.h: Likewise.
51733         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
51734         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
51735         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
51736         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51737         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
51738         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
51739         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
51740         * locale/localeinfo.h: Likewise.
51741         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
51742         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
51743
51744 2012-07-09  Roland McGrath  <roland@hack.frob.com>
51745
51746         [BZ #14336]
51747         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
51748         system".
51749         * manual/message.texi (The Uniforum approach): Likewise.
51750         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
51751         (glibc iconv Implementation): Likewise.
51752
51753 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
51754
51755         [BZ #14337]
51756         * math/s_clog.c (__clog): Avoid scaling a value down where that
51757         could result in underflow.
51758         * math/s_clog10.c (__clog10): Likewise.
51759         * math/s_clog10f.c (__clog10f): Likewise.
51760         * math/s_clog10l.c (__clog10l): Likewise.
51761         * math/s_clogf.c (__clogf): Likewise.
51762         * math/s_clogl.c (__clogl): Likewise.
51763         * math/libm-test.inc (clog_test): Add more tests.
51764         (clog10_test): Likewise.
51765         * sysdeps/i386/fpu/libm-test-ulps: Update.
51766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51767
51768 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
51769
51770         [BZ #14283]
51771         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
51772         by 7 not 8 to examine high bit of fractional part.
51773
51774         [BZ #14042]
51775         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
51776         for call to __mcount_internal.
51777         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
51778         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
51779         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
51780
51781 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
51782
51783         [BZ #14154]
51784         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
51785         approximation for values within 0x1p-13f of an odd multiple of
51786         pi/4.
51787         * math/libm-test.inc (tan_test): Do not allow spurious underflow
51788         exception.  Add more tests.
51789         * sysdeps/i386/fpu/libm-test-ulps: Update.
51790
51791         [BZ #6778]
51792         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
51793         inputs and return -1 for them.  Do not check for +Inf in case not
51794         reachable for +Inf.
51795         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51796         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
51797         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51798         and return -1 for them.  Do not check for +Inf in case not
51799         reachable for +Inf.
51800         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
51801         define.
51802         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51803         and return -1 for them.  Do not check for +Inf in case not
51804         reachable for +Inf.
51805         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
51806         spurious underflow.
51807         * sysdeps/i386/fpu/libm-test-ulps: Update.
51808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51809
51810 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
51811
51812         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
51813
51814 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
51815
51816         [BZ #14157]
51817         [BZ #14331]
51818         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
51819         could result in spurious underflow.  Scale down values above
51820         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
51821         * math/s_csqrtf.c (__csqrtf): Likewise.
51822         * math/s_csqrtl.c (__csqrtl): Likewise.
51823         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
51824         spurious underflow.
51825         * sysdeps/i386/fpu/libm-test-ulps: Update.
51826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51827
51828 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
51829
51830         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
51831         xopen-msg.sed.
51832         * catgets/xopen-msg.awk: New file.
51833         * catgets/xopen-msg.sed: Removed.
51834
51835         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
51836         po2text.sed.
51837         * intl/po2test.awk: New file.
51838         * intl/po2test.sed: Removed.
51839
51840 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
51841
51842         [BZ #14328]
51843         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
51844         or multiply small sinh result by itself.
51845         * math/s_ctanf.c (__ctanf): Likewise.
51846         * math/s_ctanh.c (__ctanh): Likewise.
51847         * math/s_ctanhf.c (__ctanhf): Likewise.
51848         * math/s_ctanhl.c (__ctanhl): Likewise.
51849         * math/s_ctanl.c (__ctanl): Likewise.
51850         * math/libm-test.inc (ctan_test_tonearest): New function.
51851         (ctan_test_towardzero): Likewise.
51852         (ctan_test_downward): Likewise.
51853         (ctan_test_upward): Likewise.
51854         (ctanh_test_tonearest): Likewise.
51855         (ctanh_test_towardzero): Likewise.
51856         (ctanh_test_downward): Likewise.
51857         (ctanh_test_upward): Likewise.
51858         (main): Call these new functions.
51859         * sysdeps/i386/fpu/libm-test-ulps: Update.
51860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51861
51862 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
51863
51864         * .gitignore: Delete /ports entry.
51865
51866 2012-07-03  Andreas Jaeger  <aj@suse.de>
51867
51868         * po/bg.po: Update from translation team.
51869         * po/cs.po: Likewise.
51870         * po/de.po: Likewise.
51871         * po/hr.po: Likewise.
51872         * po/nl.pl: Likewise.
51873         * po/pl.po: Likewise.
51874         * po/vi.po: Likewise.
51875
51876 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
51877
51878         * Makeconfig [!+link] (+link-before-libc): New variable.
51879         [!+link] (+link-after-libc): Likewise.
51880         [!+link] (+link-tests): Likewise.
51881         [!+link] (+link): Define in terms of $(+link-before-libc) and
51882         $(+link-after-libc).
51883         [!+link-static] (+link-static-before-libc): New variable.
51884         [!+link-static] (+link-static-after-libc): Likewise.
51885         [!+link-static] (+link-static-tests): Likewise.
51886         [!+link-static] (+link-static): Define in terms of
51887         $(+link-static-before-libc) and $(+link-static-after-libc).
51888         [build-shared] (link-libc-before-gnulib): New variable.
51889         [build-shared] (link-libc-tests): Likewise.
51890         [build-shared] (link-libc): Define in terms of
51891         $(link-libc-before-gnulib).
51892         [!build-shared] (link-libc-tests): New variable.
51893         (link-libc-static-tests): New variable.
51894         [!gnulib] (gnulib-arch): New variable.
51895         [!gnulib] (gnulib-tests): Likewise.
51896         [!gnulib] (static-gnulib-arch): Likewise.
51897         [!gnulib] (static-gnulib-tests): Likewise.
51898         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
51899         Define with "=" instead of ":=".
51900         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
51901         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
51902         * Rules (binaries-all-notests): New variable.
51903         (binaries-all-tests): Likewise.
51904         (binaries-static-notests): Likewise.
51905         (binaries-static-tests): Likewise.
51906         (binaries-all): Define using $(binaries-all-notests) and
51907         $(binaries-all-tests).
51908         (binaries-static): Define using $(binaries-static-notests) and
51909         $(binaries-static-tests).
51910         (binaries-shared-tests): New variable.
51911         (binaries-shared-notests): Likewise.
51912         (binaries-shared): Remove variable.
51913         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
51914         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
51915         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
51916         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
51917         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
51918         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
51919         * elf/Makefile (sln-modules): New variable.
51920         (extra-objs): Add $(sln-modules:=.o).
51921         (ldconfig-modules): Add static-stubs.
51922         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
51923         * elf/static-stubs.c: New file.
51924
51925         [BZ #14283]
51926         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
51927         by 7 not 8 to examine high bit of fractional part.  Use volatile
51928         variables when splitting into final array of floats if
51929         __FLT_EVAL_METHOD__ != 0.
51930         * math/libm-test.inc (cos_test): Add another test.
51931         (sin_test): Likewise.
51932         * sysdeps/i386/fpu/libm-test-ulps: Update.
51933
51934         [BZ #14273]
51935         * math/libm-test.inc (cosh_test): Add more tests.
51936
51937         * version.h (RELEASE): Set to "development".
51938         (VERSION): Set to "2.16.90".
51939
51940 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
51941
51942         * NEWS: Update copyright. Remove last-updated date.
51943         Mention math library bug fixes and timezone data changes.
51944         * README: Mention GNU/Hurd, x32, and HPPA support status.
51945
51946 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
51947
51948         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
51949
51950 2012-06-27  Andreas Jaeger  <aj@suse.de>
51951
51952         * manual/contrib.texi (Contributors): Add Samuel Thibault.
51953
51954 2012-06-25  Andreas Jaeger  <aj@suse.de>
51955
51956         * sysdeps/s390/fpu/libm-test-ulps: Update.
51957
51958 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
51959             Thomas Schwinge  <thomas@codesourcery.com>
51960
51961         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
51962         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
51963         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
51964         fanotify_mark.
51965
51966 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
51967
51968         * sysdeps/mach/start.c: Remove file.
51969         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
51970         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
51971         * sysdeps/sh/init-first.c: Likewise.
51972
51973         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
51974         registers for frame unwinding purposes, add CFI directives.
51975         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
51976         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
51977         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
51978         Likewise.
51979
51980         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
51981         __fortify_fail returning.
51982         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
51983
51984         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
51985         sysdeps/sh/____longjmp_chk.S.
51986         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
51987         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
51988         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
51989         (gen-as-const-headers): Append sigaltstack-offsets.sym.
51990
51991         * sysdeps/sh/abort-instr.h: New file.
51992         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
51993         process in case exit returns.
51994
51995         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
51996         initialize the GOT register before use.
51997
51998         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
51999         calculation of ARGC > 4.
52000
52001         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
52002         meaningful names to some local labels.
52003
52004 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52005             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52006
52007         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52008         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52009         (__arch_compare_and_exchange_val_16_acq): Likewise.
52010         (__arch_compare_and_exchange_val_32_acq): Likewise.
52011         (atomic_exchange_and_add): Fix gUSA sequence.
52012         (atomic_add): Likewise.
52013         (atomic_add_negative): Likewise.
52014         (atomic_add_zero): Likewise.
52015         (atomic_bit_test_set): Likewise.
52016
52017 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52018
52019         [BZ #13579]
52020         * include/link.h (struct link_map): Add l_free_initfini.
52021         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52022         l_initfini.
52023         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52024         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52025         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52026         set.
52027
52028 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52029
52030         * configure.in: Use AC_LANG_SOURCE.
52031         * configure: Regenerate.
52032
52033 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52034
52035         * configure.in (libc_cv_localstatedir): New substituted variable.
52036         * configure: Regenerated.
52037         * config.make.in (localstatedir): New variable, substituted from
52038         libc_cv_localstatedir.
52039         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52040         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52041         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52042         * sysdeps/gnu/configure: Regenerated.
52043
52044 2012-06-21  Jeff Law  <law@redhat.com>
52045
52046         [BZ #14277]
52047         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52048         free.  Simplify list management for _LIBC case.
52049
52050 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52051
52052         [BZ #14273]
52053         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52054         Clear sign bit of 64-bit integer value before comparing against
52055         overflow value.
52056
52057         * sysdeps/mach/configure: Regenerated.
52058
52059 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52060
52061         [BZ #14278]
52062         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52063
52064 2012-06-21  Jeff Law  <law@redhat.com>
52065
52066         [BZ #13882]
52067         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52068         uint16_t for elements in the "seen" array to avoid char overflows.
52069         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52070         * elf/dl-open.c (dl_open_worker): Likewise.
52071
52072 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52073
52074         * scripts/list-sources.sh: Scan PORTS for translations.
52075         * po/libc.pot: Regenerated.
52076
52077 2012-06-21  Andreas Jaeger  <aj@suse.de>
52078
52079         [BZ #12194]
52080         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52081         warning.
52082         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52083         * bits/byteswap-16.h (__bswap_16): Likewise.
52084         * bits/byteswap.h (__bswap_constant_16): Likewise.
52085
52086 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52087
52088         [BZ #14117]
52089         * sysdeps/i386/fpu_control.h: Removed.
52090         * sysdeps/x86_64/fpu_control.h: Moved to ...
52091         * sysdeps/x86/fpu_control.h: Here.
52092
52093         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52094         (_FPU_SETCW): Likewise.
52095
52096 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52097
52098         [BZ #14117]
52099         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52100         * sysdeps/x86/fpu/bits/mathinline.h: This.
52101         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52102
52103         [BZ #14050]
52104         [BZ #14117]
52105         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52106         functions if __x86_64__ is defined.
52107
52108 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52109
52110         * string/endian.h: Add !__ASSEMBLER__ condition for including
52111         conversion interfaces.
52112
52113 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52114
52115         [BZ #14241]
52116         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52117         of ABS(x) in calculating zero to negative powers other than odd
52118         integers.
52119         * math/libm-test.inc (pow_test): Add more tests.
52120
52121 2012-06-15  Andreas Jaeger  <aj@suse.de>
52122
52123         * manual/contrib.texi (Contributors): Update entry of Liubov
52124         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52125         Machado Filho.
52126
52127 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52128
52129         * string/string.h: Add __wur to GNU version of strerror_r.
52130
52131 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52132
52133         [BZ #14229]
52134         * string/Makefile (tests): Add tst-strtok_r.
52135         * string/tst-strtok_r.c: New file.
52136         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52137         RAX_LP/RDX_LP on SAVE_PTR.
52138
52139 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52140
52141         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52142
52143 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52144
52145         * libm_test.inc (csqrt_test): Allow more spurious underflow
52146         exceptions.
52147         (j0_test): Likewise.
52148         (j1_test): Likewise.
52149         (y0_test): Likewise.
52150         (y1_test): Likewise.
52151
52152 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52153
52154         * po/Makefile (libc.pot): Use UTF-8 charset.
52155
52156 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52157
52158         [BZ #14210]
52159         Suppress sign-conversion warning from FD_SET.
52160         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52161         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52162         not unsigned long int.
52163         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52164
52165 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52166
52167         [BZ #14050]
52168         [BZ #14117]
52169         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52170         __extern_always_inline instead of __extern_inline.
52171         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52172         (__signbit): Likewise.
52173         (__signbitl): Support C++ namespace.
52174         (lrintf): New inline function.
52175         (lrint): Likewise.
52176         (llrintf): Likewise.
52177         (llrint): Likewise.
52178         (fmaxf): Likewise.
52179         (fmax): Likewise.
52180         (fminf): Likewise.
52181         (fmin): Likewise.
52182         (rint): Likewise.
52183         (rintf): Likewise.
52184         (ceil): Likewise.
52185         (ceilf): Likewise.
52186         (floor): Likewise.
52187         (floorf): Likewise.
52188         (nearbyint): Likewise.
52189         (nearbyintf): Likewise.
52190
52191 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
52192
52193         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
52194         non-default versions.
52195
52196 2012-06-11  Roland McGrath  <roland@hack.frob.com>
52197
52198         [BZ #14218]
52199         * manual/argp.texi (Argp): Reword argp_parse description slightly.
52200
52201 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
52202
52203         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
52204         (FE_UPWARD, FE_DOWNWARD): Don't define.
52205         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
52206         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52207
52208         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
52209         reading it.
52210         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52211         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52212
52213 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52214
52215         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52216         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
52217         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
52218         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
52219
52220 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
52221
52222         [BZ #14117]
52223         * sysdeps/i386/fpu/bits/fenv.h: Removed.
52224         * sysdeps/i386/fpu/Implies: New file.
52225         * sysdeps/x86_64/fpu/Implies: Likewise.
52226         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
52227         * sysdeps/x86/fpu/bits/fenv.h: This.
52228
52229         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
52230         __SSE_MATH__.
52231
52232 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52233
52234         [BZ #14134]
52235         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
52236         character 0xffff that matches the last element of the
52237         conversion table.
52238
52239 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52240
52241         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
52242         fmodl commit.
52243
52244 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52245
52246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
52247         values higher than 25.6283.
52248
52249 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52250
52251         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
52252         subnormal exponent extraction and add some __builtin_expect.
52253         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
52254         Fix for subnormal mantissa calculation.
52255
52256 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
52257
52258         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
52259         cpu2 is -1 and errno is not ENOSYS.
52260
52261 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
52262
52263         [BZ #14117]
52264         * sysdeps/i386/i486/bits/string.h: Renamed to ...
52265         * sysdeps/x86/bits/string.h: This.
52266         * sysdeps/x86_64/bits/string.h: Removed.
52267
52268         * sysdeps/i386/i486/bits/string.h: Define inline functions only
52269         if not compiling for x86-64, but compiling for >= i486.
52270
52271         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
52272         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
52273
52274         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
52275         New macro from Linux kernel 3.4.0.
52276         (FP_XSTATE_MAGIC2): Likewise.
52277         (FP_XSTATE_MAGIC2_SIZE): Likewise.
52278         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
52279         (struct _fpx_sw_bytes): New struct.
52280         (struct _xsave_hdr): Likewise.
52281         (struct _ymmh_state): Likewise.
52282         (struct _xstate): Likewise.
52283
52284         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
52285         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
52286         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
52287         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
52288         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
52289         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
52290
52291         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
52292         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
52293         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
52294         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
52295         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
52296         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
52297
52298 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52299
52300         [BZ #13743]
52301         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
52302         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
52303         (sysdep_headers): Include sys/platform/ppc.h.
52304         * sysdeps/powerpc/test-gettimebase.c: Test for
52305         __ppc_get_timebase() to catch future ISA opcode/insn changes.
52306         * manual/Makefile (appendices): Include platform.texi.
52307         * manual/contrib.texi (Contributors): Update @node pointers.
52308         * manual/maint.texi (Maintenance): Likewise.
52309         (Platform): New node.
52310         * manual/platform.texi: New file.  Document the new features.
52311
52312 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52313             Jakub Jelinek  <jakub@redhat.com>
52314
52315         [BZ #14188]
52316         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
52317         where __builtin_expect is unavailable.
52318
52319 2012-06-03  David S. Miller  <davem@davemloft.net>
52320
52321         * stdlib/longlong.h: Updated from GCC.
52322
52323 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
52324
52325         [BZ #14042]
52326         * sysdeps/powerpc/powerpc32/mcount.c: New file.
52327         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
52328         __mcount_internal.
52329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52330         (GLIBC_2.16): Likewise.
52331
52332 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52333
52334         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
52335
52336 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52337
52338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52339         (default-abi): New variable.
52340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
52341         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
52342         variable.
52343         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
52344         Likewise.
52345         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
52346         Likewise.
52347         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
52348         Likewise.
52349
52350         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
52351         definition.  Document in comment.
52352
52353 2012-06-01  David S. Miller  <davem@davemloft.net>
52354
52355         * stdlib/longlong.h: Updated from GCC.
52356
52357 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52358
52359         [BZ #14117]
52360         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
52361         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
52362         sys/debugreg.h sys/io.h here.
52363         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
52364         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
52365         sys/io.h.
52366         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
52367         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
52368         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
52369         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
52370         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
52371         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
52372
52373         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52374         Define only if __x86_64__ is defined.
52375
52376 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52377
52378         [BZ #14048]
52379         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
52380         Use int64_t for variable i.
52381         * math/libm-test.inc (fmod_test): Add more tests.
52382
52383         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
52384         z computation is not scheduled after fetestexcept.
52385         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
52386         Use math_force_eval instead of asm to ensure calculation scheduled
52387         before exception test.
52388         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
52389         Ensure a1 + u.d computation is not scheduled after fetestexcept.
52390
52391 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
52392
52393         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
52394         computation is not scheduled after fetestexcept.
52395
52396 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52397
52398         [BZ #14117]
52399         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
52400         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
52401
52402 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52403
52404         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
52405         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52406
52407 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52408
52409         [BZ #14117]
52410         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
52411         <bits/wordsize.h>.
52412         (__WCHAR_MIN): Support __WORDSIZE == 64.
52413         (__WCHAR_MAX): Likewise.
52414
52415         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
52416         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
52417
52418         [BZ #14183]
52419         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
52420         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52421
52422         [BZ #14117]
52423         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
52424         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
52425
52426         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
52427         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
52428
52429         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
52430         Defined to 1 if __x86_64__ isn't defined.
52431         (_STAT_VER_LINUX_OLD): New.
52432         (st_atime): Remove duplicate.
52433         (st_mtime): Likewise.
52434         (st_ctime): Likewise.
52435
52436 2012-05-31  David S. Miller  <davem@davemloft.net>
52437
52438         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
52439         entries.
52440
52441 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
52442
52443         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
52444         gen-libm-test.pl.
52445
52446         [BZ #14132]
52447         * elf/dl-reloc.c: Include <_itoa.h>.
52448         (_dl_reloc_bad_type): Remove use of INTUSE.
52449         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
52450         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
52451         * stdio-common/psiginfo.c (psiginfo): Likewise.
52452         * stdio-common/psignal.c (psignal): Likewise.
52453         * string/strsignal.c (strsignal): Likewise.
52454         * include/signal.h (_sys_siglist): Declare hidden proto.
52455         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
52456         INTVARDEF with libc_hidden_data_def.
52457         * stdio-common/itoa-udigits.c: Likewise.
52458         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
52459         (_itoa_lower_digits_internal): Remove declaration.
52460         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
52461         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
52462         (_sys_sigabbrev_internal): Remove aliases.
52463         (_sys_siglist): Define hidden alias.
52464
52465 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
52466
52467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52468         bits/sysctl.h.
52469
52470 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52471
52472         [BZ #14117]
52473         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
52474         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
52475
52476         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
52477         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
52478         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
52479         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
52480         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
52481         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
52482
52483         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
52484         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
52485         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
52486
52487         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
52488         with __addr.
52489         (insw): Likewise.
52490         (insl): Likewise.
52491         (outsb): Likewise.
52492         (outsw): Likewise.
52493         (outsl): Likewise.
52494
52495         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
52496         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
52497         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
52498
52499         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
52500         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
52501         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
52502         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
52503         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
52504         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
52505
52506         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
52507         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
52508
52509         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
52510         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
52511
52512         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
52513         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
52514         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
52515
52516         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
52517         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
52518         to ...
52519         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
52520
52521         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
52522         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
52523         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
52524
52525         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
52526         for x86-64.
52527         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
52528
52529 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
52530
52531         * math/math.h (M_El): Use two more decimal places.
52532         (M_LOG2El): Likewise.
52533         (M_LOG10El): Likewise.
52534         (M_LN2l): Likewise.
52535         (M_LN10l): Likewise.
52536         (M_PIl): Likewise.
52537         (M_PI_2l): Likewise.
52538         (M_PI_4l): Likewise.
52539         (M_1_PIl): Likewise.
52540         (M_2_PIl): Likewise.
52541         (M_2_SQRTPIl): Likewise.
52542         (M_SQRT2l): Likewise.
52543         (M_SQRT1_2l): Likewise.
52544
52545 2012-05-31  David S. Miller  <davem@davemloft.net>
52546
52547         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
52548         values between float registers.
52549         * sysdeps/sparc/sparc64/memset.S: Likewise.
52550         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52551
52552 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
52553
52554         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
52555         -D_FORTIFY_SOURCE=1.
52556         (CPPFLAGS-tst-longjmp_chk.c): Define.
52557         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
52558         (CPPFLAGS-tst-longjmp_chk2.c): Define.
52559         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
52560         CFLAGS-tst-wchar-h.c.
52561
52562 2012-05-31  Marek Polacek  <polacek@redhat.com>
52563
52564         [BZ #14132]
52565         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
52566         __endmntent_internal): Remove declaration.
52567         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
52568         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
52569         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
52570
52571 2012-05-30  David S. Miller  <davem@davemloft.net>
52572
52573         * sysdeps/sparc/sparc32/soft-fp/q_util.c
52574         (___Q_simulate_exceptions): Use real FP ops rather than writing
52575         into the %fsr.
52576         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
52577         Likewise.
52578
52579 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52580
52581         [BZ #14117]
52582         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
52583         * sysdeps/x86/bits/xtitypes.h: This.
52584
52585         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
52586         * sysdeps/x86/bits/wordsize.h: This.
52587
52588         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
52589         * sysdeps/x86/bits/huge_vall.h: This.
52590
52591         * sysdeps/i386/bits/select.h: Removed.
52592         * sysdeps/x86_64/bits/select.h: Renamed to ...
52593         * sysdeps/x86/bits/select.h: This.
52594
52595         * sysdeps/i386/bits/setjmp.h: Removed.
52596         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
52597         * sysdeps/x86/bits/setjmp.h: This.
52598
52599         * sysdeps/i386/bits/mathdef.h: Removed.
52600         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
52601         * sysdeps/x86/bits/mathdef.h: This.
52602
52603 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
52604
52605         [BZ #14132]
52606         * include/sys/socket.h (__connect_internal)
52607         (__libc_sa_len_internal): Remove declaration.
52608         (__connect, __libc_sa_len): Declare hidden_proto.
52609         (SA_LEN): Remove use of INTUSE.
52610         * socket/connect.c: Add libc_hidden_def.
52611         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
52612         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
52613         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
52614         alias.
52615         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
52616         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
52617         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
52618         of adding _internal alias.
52619
52620 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52621
52622         [BZ #14117]
52623         * sysdeps/i386/bits/link.h: Removed.
52624         * sysdeps/i386/bits/linkmap.h: Likewise.
52625         * sysdeps/x86_64/bits/link.h: Renamed to ...
52626         * sysdeps/x86/bits/link.h: This.
52627         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
52628         * sysdeps/x86/bits/linkmap.h: This.
52629
52630         * sysdeps/i386/bits/endian.h: Removed.
52631         * sysdeps/x86_64/bits/endian.h: Renamed to ...
52632         * sysdeps/x86/bits/endian.h: This.
52633
52634         * sysdeps/i386/bits/byteswap.h: Removed.
52635         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52636         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
52637         * sysdeps/x86/bits/byteswap.h: This.
52638         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
52639         * sysdeps/x86/bits/byteswap-16.h: This.
52640         * sysdeps/i386/Implies: Add x86.
52641         * sysdeps/x86_64/Implies: Likewise.
52642
52643 2012-05-30  David S. Miller  <davem@davemloft.net>
52644
52645         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
52646         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
52647         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52648         (FP_TRAPPING_EXCEPTIONS): Define.
52649         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52650         (FP_TRAPPING_EXCEPTIONS): Define.
52651         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
52652         subnormals only when inexact has been signalled or underflow
52653         exceptions are enabled.
52654         (_FP_PACK_CANONICAL): Likewise.
52655
52656 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52657
52658         [BZ #14183]
52659         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
52660         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
52661
52662 2012-05-30  Richard Henderson  <rth@twiddle.net>
52663
52664         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
52665         with #ifndef NOT_IN_libc.
52666
52667         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
52668         marked to avoid plt entry.
52669
52670 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52671
52672         [BZ #14112]
52673         * Makeconfig (default-abi): New macro.
52674         (abi-includes): Likewise.
52675         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
52676         $(abi-$(default-abi)-lib-soname) for soname if defined.
52677         ($(common-objpfx)gnu/lib-names.stmp): Generate from
52678         abi-variants.
52679         * Makefile (installed-stubs): Likewise.
52680         * include/stubs-biarch.h: Removed.
52681         * scripts/lib-names.awk: Only handle one library at a time.
52682         * scripts/soversions.awk: Remove WORDSIZE support.
52683         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
52684         entries.
52685         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
52686         Removed.
52687         (syscall-list-default-condition): Likewise.
52688         (syscall-list-default-condition): Likewise.
52689         (syscall-list-includes): Likewise.
52690         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
52691         syscall-list-* with abi-*.  Handle undefined abi-variants.
52692         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
52693         * sysdeps/unix/sysv/linux/i386/Implies: New file.
52694         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
52695         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
52696         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
52697         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
52698         Removed.
52699         (syscall-list-32-options): Likewise.
52700         (syscall-list-32-condition): Likewise.
52701         (syscall-list-64-options): Likewise.
52702         (syscall-list-64-condition): Likewise.
52703         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
52704         macro.
52705         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
52706         Renamed to ...
52707         (abi-*): This.
52708         (abi-64-ld-soname): New macro.
52709         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
52710         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
52711         Renamed to ...
52712         (abi-*): This.
52713         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
52714         * sysdeps/x86_64/x32/shlib-versions: Likewise.
52715
52716 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
52717
52718         * sysdeps/unix/sysv/linux/kernel-features.h
52719         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
52720         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
52721         include <kernel-features.h>.
52722         [!__NR_ftruncate64]: Remove conditional code.
52723         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52724         [__NR_ftruncate64]: Make code unconditional.
52725         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52726         * sysdeps/unix/sysv/linux/truncate64.c: Do not
52727         include <kernel-features.h>.
52728         [!__NR_ftruncate64]: Remove conditional code.
52729         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52730         [__NR_ftruncate64]: Make code unconditional.
52731         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
52733         include <kernel-features.h>.
52734         [!__NR_ftruncate64]: Remove conditional code.
52735         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52736         [__NR_ftruncate64]: Make code unconditional.
52737         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52739         include <kernel-features.h>.
52740         [!__NR_ftruncate64]: Remove conditional code.
52741         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52742         [__NR_ftruncate64]: Make code unconditional.
52743         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52744
52745         * configure.in (libc_cv_fpie): Weaken to a compile test using
52746         LIBC_TRY_CC_OPTION.
52747         * configure: Regenerated.
52748
52749 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52750
52751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
52752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
52753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
52754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52755         Refreshed.
52756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
52757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
52758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
52759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
52760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
52761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52762         Refreshed.
52763
52764 2012-05-27  David S. Miller  <davem@davemloft.net>
52765
52766         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
52767         (___Q_zero): New.
52768         (__Q_simulate_exceptions): Return void.  Change to simulate
52769         exceptions by writing into the %fsr.
52770         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
52771         (__Qp_handle_exceptions): Likewise.
52772         (numbers): Delete.
52773         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
52774         __Qp_handle_exceptions.
52775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
52776         __Qp_handle_exceptions.
52777         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52778         as unused and give dummy FP_RND_NEAREST initializer.
52779         (FP_INHIBIT_RESULTS): Define.
52780         (___Q_simulate_exceptions): Update declaration.
52781         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
52782         formatting.
52783         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52784         as unused and give dummy FP_RND_NEAREST initializer.
52785         (__Qp_handle_exceptions): Update declaration.
52786         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
52787         formatting.
52788
52789 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
52790
52791         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
52792         the temporary FPU control word.
52793         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52794         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
52795         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
52796         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52797         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52798         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
52799         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
52800         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52801         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
52802         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
52803         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52804
52805 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52806
52807         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
52808         fields.
52809
52810 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
52811
52812         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
52813         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
52814         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
52815         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
52816         Likewise.
52817         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
52818         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
52819         Likewise.
52820
52821 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
52822
52823         * po/h.po: Update from translation team.
52824
52825 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
52826
52827         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
52828
52829         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
52830         handling of denormals.
52831         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52832         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52833         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52834         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52835         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
52837         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
52838         Likewise.
52839
52840 2012-05-26  Marek Polacek  <polacek@redhat.com>
52841
52842         [BZ #14152]
52843         * math/libm-test.inc (fma_test): Don't always expect underflow
52844         exception.
52845
52846 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52847
52848         [BZ #12416]
52849         * elf/tst-execstack.c: Include stackinfo.h.
52850         (do_test): Adjust test case to ensure that pthread_getattr_np
52851         behaviour remains the same after marking stack executable.
52852
52853 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
52854
52855         * sysdeps/unix/sysv/linux/kernel-features.h
52856         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
52857         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
52858         kernel-features.h.
52859         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52860         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52861         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
52862         kernel-features.h.
52863         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52864         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52865
52866 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
52867
52868         * configure.in: Define the default includes to being none.
52869         * configure: Regenerated.
52870
52871 2012-05-25  Roland McGrath  <roland@hack.frob.com>
52872
52873         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
52874         * sysdeps/x86_64/setjmp.S: Likewise.
52875         * sysdeps/i386/bsd-setjmp.S: Likewise.
52876         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52877         * sysdeps/i386/setjmp.S: Likewise.
52878         * sysdeps/i386/__longjmp.S: Likewise.
52879         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
52880         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
52881
52882         * include/stap-probe.h: New file.
52883         * configure.in: Handle --enable-systemtap.
52884         * configure: Regenerated.
52885         * config.h.in (USE_STAP_PROBE): New #undef.
52886         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
52887         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
52888         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
52889
52890 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
52891
52892         [BZ #13717]
52893         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52894         to 2.4.0 where earlier.
52895         * sysdeps/unix/sysv/linux/configure: Regenerated.
52896         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52897         <kernel-features.h>.
52898         [__ASSUME_32BITUIDS]: Make code unconditional.
52899         [!__ASSUME_32BITUIDS]: Remove conditional code.
52900         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
52901         <kernel-features.h>.
52902         [__ASSUME_32BITUIDS]: Make code unconditional.
52903         [!__ASSUME_32BITUIDS]: Remove conditional code.
52904         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
52905         [__ASSUME_32BITUIDS]: Make code unconditional.
52906         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
52907         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
52908         <kernel-features.h>.
52909         [__ASSUME_32BITUIDS]: Make code unconditional.
52910         [!__ASSUME_32BITUIDS]: Remove conditional code.
52911         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
52912         <kernel-features.h>.
52913         [__ASSUME_32BITUIDS]: Make code unconditional.
52914         [!__ASSUME_32BITUIDS]: Remove conditional code.
52915         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
52916         <kernel-features.h>.
52917         [__ASSUME_32BITUIDS]: Make code unconditional.
52918         [!__ASSUME_32BITUIDS]: Remove conditional code.
52919         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
52920         <kernel-features.h>.
52921         [__ASSUME_32BITUIDS]: Make code unconditional.
52922         [!__ASSUME_32BITUIDS]: Remove conditional code.
52923         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52924         <kernel-features.h>.
52925         [__ASSUME_32BITUIDS]: Make code unconditional.
52926         [!__ASSUME_32BITUIDS]: Remove conditional code.
52927         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52928         <kernel-features.h>.
52929         [__ASSUME_32BITUIDS]: Make code unconditional.
52930         [!__ASSUME_32BITUIDS]: Remove conditional code.
52931         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
52932         <kernel-features.h>.
52933         [__ASSUME_32BITUIDS]: Make code unconditional.
52934         [!__ASSUME_32BITUIDS]: Remove conditional code.
52935         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52936         <kernel-features.h>.
52937         [__ASSUME_32BITUIDS]: Make code unconditional.
52938         [!__ASSUME_32BITUIDS]: Remove conditional code.
52939         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52940         <kernel-features.h>.
52941         [__ASSUME_32BITUIDS]: Make code unconditional.
52942         [!__ASSUME_32BITUIDS]: Remove conditional code.
52943         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
52944         <kernel-features.h>.
52945         [__ASSUME_32BITUIDS]: Make code unconditional.
52946         [!__ASSUME_32BITUIDS]: Remove conditional code.
52947         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
52948         <kernel-features.h>.
52949         [__NR_setresgid] (__setresgid): Do not declare.
52950         [__ASSUME_32BITUIDS]: Make code unconditional.
52951         [!__ASSUME_32BITUIDS]: Remove conditional code.
52952         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
52953         <kernel-features.h>.
52954         [__NR_setresuid] (__setresuid): Do not declare.
52955         [__ASSUME_32BITUIDS]: Make code unconditional.
52956         [!__ASSUME_32BITUIDS]: Remove conditional code.
52957         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
52958         <kernel-features.h>.
52959         [__ASSUME_32BITUIDS]: Make code unconditional.
52960         [!__ASSUME_32BITUIDS]: Remove conditional code.
52961         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
52962         <kernel-features.h>.
52963         [__ASSUME_32BITUIDS]: Make code unconditional.
52964         [!__ASSUME_32BITUIDS]: Remove conditional code.
52965         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
52966         <kernel-features.h>.
52967         [__ASSUME_32BITUIDS]: Make code unconditional.
52968         [!__ASSUME_32BITUIDS]: Remove conditional code.
52969         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
52970         <kernel-features.h>.
52971         [__ASSUME_32BITUIDS]: Make code unconditional.
52972         [!__ASSUME_32BITUIDS]: Remove conditional code.
52973         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
52974         <kernel-features.h>.
52975         [__ASSUME_32BITUIDS]: Make code unconditional.
52976         [!__ASSUME_32BITUIDS]: Remove conditional code.
52977         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
52978         <kernel-features.h>.
52979         [__ASSUME_32BITUIDS]: Make code unconditional.
52980         [!__ASSUME_32BITUIDS]: Remove conditional code.
52981         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
52982         <kernel-features.h>.
52983         [__ASSUME_32BITUIDS]: Make code unconditional.
52984         [!__ASSUME_32BITUIDS]: Remove conditional code.
52985         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
52986         <kernel-features.h>.
52987         [__ASSUME_32BITUIDS]: Make code unconditional.
52988         [!__ASSUME_32BITUIDS]: Remove conditional code.
52989         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
52990         <kernel-features.h>.
52991         [__ASSUME_32BITUIDS]: Make code unconditional.
52992         [!__ASSUME_32BITUIDS]: Remove conditional code.
52993         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52994         <kernel-features.h>.
52995         [__ASSUME_32BITUIDS]: Make code unconditional.
52996         [!__ASSUME_32BITUIDS]: Remove conditional code.
52997         * sysdeps/unix/sysv/linux/kernel-features.h
52998         (__ASSUME_SETRESUID_SYSCALL): Remove.
52999         (__ASSUME_SETRESGID_SYSCALL): Likewise.
53000         (__ASSUME_32BITUIDS): Likewise.
53001         (__ASSUME_LDT_WORKS): Likewise.
53002         (__ASSUME_O_DIRECTORY): Likewise.
53003         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53004         architecture but not kernel version.
53005         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53006         (__ASSUME_MMAP2_SYSCALL): Likewise.
53007         (__ASSUME_STAT64_SYSCALL): Likewise.
53008         (__ASSUME_IPC64): Likewise.
53009         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53010         <kernel-features.h>.
53011         [__ASSUME_32BITUIDS]: Make code unconditional.
53012         [!__ASSUME_32BITUIDS]: Remove conditional code.
53013         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53014         <kernel-features.h>.
53015         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53016         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53017         132096]: Remove conditional code.
53018         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53019         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53020         <kernel-features.h>.
53021         [__ASSUME_32BITUIDS]: Make code unconditional.
53022         [!__ASSUME_32BITUIDS]: Remove conditional code.
53023         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53024         <kernel-features.h>.
53025         [__ASSUME_32BITUIDS]: Make code unconditional.
53026         [!__ASSUME_32BITUIDS]: Remove conditional code.
53027         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53028         <kernel-features.h>.
53029         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53030         unconditional.
53031         (__setresgid): Do not declare.
53032         [__ASSUME_32BITUIDS]: Make code unconditional.
53033         [!__ASSUME_32BITUIDS]: Remove conditional code.
53034         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53035         <kernel-features.h>.
53036         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53037         unconditional.
53038         (__setresuid): Do not declare.
53039         [__ASSUME_32BITUIDS]: Make code unconditional.
53040         [!__ASSUME_32BITUIDS]: Remove conditional code.
53041         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53042         <kernel-features.h>.
53043         [__ASSUME_32BITUIDS]: Make code unconditional.
53044         [!__ASSUME_32BITUIDS]: Remove conditional code.
53045         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53046         <kernel-features.h>.
53047         [__ASSUME_32BITUIDS]: Make code unconditional.
53048         [!__ASSUME_32BITUIDS]: Remove conditional code.
53049
53050 2012-05-25  Richard Henderson  <rth@twiddle.net>
53051
53052         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53053         dl_hwcap to ifunc resolver.
53054         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53055         elf_ifunc_invoke.
53056         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53057         dl_hwcap to ifunc resolver.
53058         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53059
53060 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53061
53062         [BZ #14153]
53063         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53064         for |x| <= 2**-26, not 2**-57.
53065         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53066         exception.
53067
53068 2012-05-24  Jeff Law  <law@redhat.com>
53069
53070         * stdio-common/Makefile (tests): Add bug25.
53071         * stdio-common/bug25.c: New test.
53072
53073 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53074
53075         [BZ #13576]
53076         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53077         multiple of MALLOC_ALIGNMENT in size.
53078         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53079
53080 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53081
53082         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53083         Require >= 256.
53084         (FILENAME_MAX): Use macro-int-constant.
53085         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53086         (_IOFBF): Use macro-int-constant.
53087         (_IOLBF): Likewise.
53088         (_IONBF): Likewise.
53089         (SEEK_CUR): Likewise.
53090         (SEEK_END): Likewise.
53091         (SEEK_SET): Likewise.
53092         (TMP_MAX): Likewise.
53093         (EOF): Use macro-int-constant.  Require < 0.
53094         (NULL): Use macro-constant.  Require == 0.
53095         (stdin): Require type to be FILE *.
53096         (stdout): Likewise.
53097         (stderr): Likewise.
53098         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53099         macro-int-constant.
53100         (EXIT_SUCCESS): Likewise.
53101         (NULL): Use macro-constant.  Require == 0.
53102         (RAND_MAX): Use macro-int-constant.
53103         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53104         [C99-based standards] (strtof): Require function.
53105         [C99-based standards] (strtold): Likewise.
53106         [C99-based standards] (strtoll): Likewise.
53107         [C99-based standards] (strtoull): Likewise.
53108         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53109         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53110         [ISO || ISO99 || ISO11] (math.h): Likewise.
53111         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53112         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53113         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53114
53115 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53116
53117         [BZ #14132]
53118         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53119         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53120         * intl/dgettext.c (DCGETTEXT): Likewise.
53121         * intl/gettext.c (DCGETTEXT): Likewise.
53122         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53123         * posix/regex_internal.h (gettext): Likewise.
53124         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53125         Remove declaration.
53126         * include/argz.h (__argz_count_internal)
53127         (__argz_stringify_internal): Remove declaration.
53128         (__argz_count, __argz_stringify): Declare hidden proto.
53129         * intl/dcgettext.c: Remove use of INTDEF.
53130         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53131         * string/argz-stringify.c: Likewise.
53132         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53133         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53134         Declare hidden proto.
53135         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53136         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53137         Declare hidden proto.
53138         * include/stdio.h (__asprintf_internal): Don't declare.
53139         (__asprintf): Don't define as macro.  Declare hidden proto.
53140         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53141         (__fsetlocking): Declare hidden proto.
53142         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53143         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53144         hidden proto.
53145         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53146         (_IO_setlinebuf): Remove use of INTUSE.
53147         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53148         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53149         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53150         Remove declaration.
53151         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53152         (_IO_do_flush): Remove use of INTUSE.
53153         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53154         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53155         (_IO_adjust_column, _IO_least_wmarker)
53156         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53157         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53158         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53159         (_IO_default_doallocate, _IO_wdefault_doallocate)
53160         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53161         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53162         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53163         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53164         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53165         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53166         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53167         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53168         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53169         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53170         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53171         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53172         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53173         proto.
53174         (_IO_flush_all_internal, _IO_adjust_column_internal)
53175         (_IO_default_uflow_internal, _IO_default_finish_internal)
53176         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53177         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53178         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
53179         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
53180         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
53181         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
53182         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
53183         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
53184         (_IO_file_close_internal, _IO_file_close_it_internal)
53185         (_IO_file_underflow_internal, _IO_file_overflow_internal)
53186         (_IO_file_init_internal, _IO_file_attach_internal)
53187         (_IO_file_fopen_internal, _IO_file_read_internal)
53188         (_IO_file_sync_internal, _IO_file_seek_internal)
53189         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
53190         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
53191         (_IO_str_underflow_internal, _IO_str_overflow_internal)
53192         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
53193         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
53194         (_IO_list_all_internal, _IO_link_in_internal)
53195         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
53196         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
53197         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
53198         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
53199         (_IO_do_write_internal, _IO_padn_internal)
53200         (_IO_getline_info_internal, _IO_getline_internal)
53201         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
53202         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
53203         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
53204         (_IO_vfscanf_internal, _IO_vfprintf_internal)
53205         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
53206         (_IO_init_internal, _IO_un_link_internal): Don't declare.
53207         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
53208         with libc_hidden_ver, remove use of INTUSE.
53209         * libio/genops.c: Likewise.
53210         * libio/freopen.c: Likewise.
53211         * libio/freopen64.c: Likewise.
53212         * libio/iofclose.c: Likewise.
53213         * libio/iofdopen.c: Likewise.
53214         * libio/iofflush.c: Likewise.
53215         * libio/iofflush_u.c: Likewise.
53216         * libio/iofgets.c: Likewise.
53217         * libio/iofgets_u.c: Likewise.
53218         * libio/iofopen.c: Likewise.
53219         * libio/iofopncook.c: Likewise.
53220         * libio/iofread.c: Likewise.
53221         * libio/iofread_u.c: Likewise.
53222         * libio/ioftell.c: Likewise.
53223         * libio/iofwrite.c: Likewise.
53224         * libio/iogetline.c: Likewise.
53225         * libio/iogets.c: Likewise.
53226         * libio/iogetwline.c: Likewise.
53227         * libio/iopadn.c: Likewise.
53228         * libio/iopopen.c: Likewise.
53229         * libio/ioseekoff.c: Likewise.
53230         * libio/ioseekpos.c: Likewise.
53231         * libio/iosetbuffer.c: Likewise.
53232         * libio/iosetvbuf.c: Likewise.
53233         * libio/ioungetc.c: Likewise.
53234         * libio/ioungetwc.c: Likewise.
53235         * libio/iovdprintf.c: Likewise.
53236         * libio/iovsprintf.c: Likewise.
53237         * libio/iovsscanf.c: Likewise.
53238         * libio/memstream.c: Likewise.
53239         * libio/obprintf.c: Likewise.
53240         * libio/oldfileops.c: Likewise.
53241         * libio/oldiofclose.c: Likewise.
53242         * libio/oldiofdopen.c: Likewise.
53243         * libio/oldiofopen.c: Likewise.
53244         * libio/oldiopopen.c: Likewise.
53245         * libio/oldstdfiles.c: Likewise.
53246         * libio/putc.c: Likewise.
53247         * libio/setbuf.c: Likewise.
53248         * libio/setlinebuf.c: Likewise.
53249         * libio/stdfiles.c: Likewise.
53250         * libio/strops.c: Likewise.
53251         * libio/vasprintf.c: Likewise.
53252         * libio/vscanf.c: Likewise.
53253         * libio/vsnprintf.c: Likewise.
53254         * libio/vswprintf.c: Likewise.
53255         * libio/wfiledoalloc.c: Likewise.
53256         * libio/wfileops.c: Likewise.
53257         * libio/wgenops.c: Likewise.
53258         * libio/wmemstream.c: Likewise.
53259         * libio/wstrops.c: Likewise.
53260         * libio/__fpurge.c: Likewise.
53261         * libio/__fsetlocking.c: Likewise.
53262         * assert/assert.c: Likewise.
53263         * debug/fgets_chk.c: Likewise.
53264         * debug/fgets_u_chk.c: Likewise.
53265         * debug/fread_chk.c: Likewise.
53266         * debug/fread_u_chk.c: Likewise.
53267         * debug/gets_chk.c: Likewise.
53268         * debug/obprintf_chk.c: Likewise.
53269         * debug/vasprintf_chk.c: Likewise.
53270         * debug/vdprintf_chk.c: Likewise.
53271         * debug/vsnprintf_chk.c: Likewise.
53272         * debug/vsprintf_chk.c: Likewise.
53273         * malloc/mtrace.c: Likewise.
53274         * misc/error.c: Likewise.
53275         * misc/syslog.c: Likewise.
53276         * stdio-common/asprintf.c: Likewise.
53277         * stdio-common/fxprintf.c: Likewise.
53278         * stdio-common/getw.c: Likewise.
53279         * stdio-common/isoc99_fscanf.c: Likewise.
53280         * stdio-common/isoc99_scanf.c: Likewise.
53281         * stdio-common/isoc99_vfscanf.c: Likewise.
53282         * stdio-common/isoc99_vscanf.c: Likewise.
53283         * stdio-common/isoc99_vsscanf.c: Likewise.
53284         * stdio-common/printf-prs.c: Likewise.
53285         * stdio-common/printf_fp.c: Likewise.
53286         * stdio-common/printf_fphex.c: Likewise.
53287         * stdio-common/printf_size.c: Likewise.
53288         * stdio-common/putw.c: Likewise.
53289         * stdio-common/scanf.c: Likewise.
53290         * stdio-common/sprintf.c: Likewise.
53291         * stdio-common/tmpfile.c: Likewise.
53292         * stdio-common/vfprintf.c: Likewise.
53293         * stdio-common/vfscanf.c: Likewise.
53294         * stdlib/strfmon_l.c: Likewise.
53295         * sunrpc/openchild.c: Likewise.
53296         * sunrpc/xdr_stdio.c: Likewise.
53297         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
53298         * sysdeps/mach/hurd/tmpfile.c: Likewise.
53299
53300 2012-05-24  Roland McGrath  <roland@hack.frob.com>
53301
53302         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53303
53304         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
53305         in the third column, to generate for the shared library an IFUNC
53306         that uses _dl_vdso_vsym.
53307         * Makerules (COMPILE.c, compile-stdin.c): New variables.
53308         * Makeconfig (object-suffixes-noshared): New variable.
53309
53310         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
53311         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
53312         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
53313         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
53314
53315         [BZ #14132]
53316         * include/sys/time.h (__gettimeofday): Remove macro.
53317         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
53318         * time/gettimeofday.c (__gettimeofday): Remove #undef.
53319         Remove INTDEF.
53320         (__gettimeofday): Add libc_hidden_def.
53321         (gettimeofday): Add libc_hidden_weak.
53322         * sysdeps/mach/gettimeofday.c: Likewise.
53323         * sysdeps/posix/gettimeofday.c: Likewise.
53324         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
53325         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
53326         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
53327         (__gettimeofday_internal): Remove strong_alias.
53328         (__gettimeofday): Add libc_hidden_def.
53329         (gettimeofday): Add libc_hidden_weak.
53330         * sysdeps/unix/syscalls.list (gettimeofday):
53331         Remove __gettimeofday_internal alias.
53332
53333 2012-05-24  Daniel Jacobowitz  <drow@false.org>
53334             H.J. Lu  <hongjiu.lu@intel.com>
53335
53336         [BZ #12495]
53337         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
53338         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
53339         (largebin_index_32_big): New.
53340         (largebin_index): Use it for 16-byte alignment.
53341         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
53342         correction with front_misalign.
53343
53344 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53345
53346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
53347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
53348         Likewise.
53349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
53350         Likewise.
53351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53352         Likewise.
53353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
53354         Likewise.
53355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
53356         Likewise.
53357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
53358         Likewise.
53359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
53360         Likewise.
53361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53362         Likewise.
53363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
53364         Likewise.
53365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
53366         Likewise.
53367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
53368         Likewise.
53369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
53370         Likewise.
53371
53372         * scripts/data/c++-types-x32-linux-gnu.data: New file.
53373         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
53374
53375 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53376
53377         [BZ #10846]
53378         [BZ #14036]
53379         * math/libm-test.inc (exp_test): Add test from bug 14036.
53380         (pow_test): Add test from bug 10846.
53381
53382         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
53383         and other flags.
53384         (special_function): Do not include flags in test name.
53385         (parse_args): Likewise.
53386         * sysdeps/i386/fpu/libm-test-ulps: Update.
53387         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53388         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53389         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53391
53392         * math/gen-libm-test.pl (%beautify): Add entries for underflow
53393         exceptions.
53394         * math/libm-test.inc ("Philosophy"): Update comment about
53395         exception testing.
53396         (UNDERFLOW_EXCEPTION): New macro.
53397         (UNDERFLOW_EXCEPTION_OK): Likewise.
53398         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
53399         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
53400         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
53401         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
53402         (INVALID_EXCEPTION_OK): Update value.
53403         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53404         (OVERFLOW_EXCEPTION_OK): Likewise.
53405         (IGNORE_ZERO_INF_SIGN): Likewise.
53406         (test_exceptions): Handle underflow exceptions.
53407         (acos_test): Update for underflow exception expectations.
53408         (cexp_test): Likewise.
53409         (clog_test): Likewise.
53410         (clog10_test): Likewise.
53411         (csqrt_test): Likewise.
53412         (ctan_test): Likewise.
53413         (ctanh_test): Likewise.
53414         (exp_test): Likewise.
53415         (exp10_test): Likewise.
53416         (exp2_test): Likewise.
53417         (expm1_test): Likewise.
53418         (fma_test): Likewise.
53419         (j0_test): Likewise.
53420         (jn_test): Likewise.
53421         (nexttoward_test): Likewise.
53422         (pow_test): Likewise.
53423         (scalbn_test): Likewise.
53424         (scalbln_test): Likewise.
53425         (tan_test): Likewise.
53426         (y1_test): Likewise.
53427         * sysdeps/i386/fpu/libm-test-ulps: Update.
53428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53429
53430 2012-05-23  David S. Miller  <davem@davemloft.net>
53431
53432         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53433         (__libc_sigaction): Remove unused local variables.
53434
53435 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53436
53437         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
53438
53439 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
53440
53441         mktime: avoid signed integer overflow
53442         * time/mktime.c (__mktime_internal): Do not mishandle the case
53443         where diff == INT_MIN.
53444
53445         mktime: simplify computation of average
53446         * time/mktime.c (ranged_convert): Use new time_t_avg function
53447         instead of rolling our own (probably-slower) code.
53448
53449         mktime: do not assume signed right shift propagates sign bit
53450         * time/mktime.c (isdst_differ): New static function.
53451         (__mktime_internal): No need to normalize tm_isdst now.
53452         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
53453         tm_isdst values.
53454
53455         mktime: merge another wrapv change from gnulib
53456         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
53457         from some compilers.
53458
53459         mktime: remove incorrect attempt at unusual arithmetics
53460         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
53461         The code didn't really work on such machines anyway.
53462         (TYPE_MINIMUM): Assume two's complement.
53463         (twos_complement_arithmetic): Verify that long_int and time_t
53464         are two's complement (or unsigned, in the latter case).
53465
53466         mktime: check signed shifts on long_int and time_t, too
53467         * time/mktime.c (SHR): Check that shifts work as desired
53468         on the types long_int and time_t too, as SHR is used on
53469         such types.
53470
53471         mktime: do not assume 'long' is wide enough
53472         * time/mktime.c (verify): Move decl up.
53473         (long_int): New type.
53474         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
53475         to remove assumption in the code that 'long' is wide enough to
53476         store year values.  This assumption is not true on x32 and on
53477         some non-glibc platforms.
53478
53479         mktime: merge wrapv change from gnulib
53480         * time/mktime.c (WRAPV): New macro.
53481         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
53482         (guess_time_tm, __mktime_internal): Do not assume that signed
53483         integer overflow wraps around; modern compilers generate code
53484         where this assumption is no longer valid.
53485
53486 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53487
53488         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53489         Replace "jmp L(pseudo_end)" with "ret".
53490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
53491         Likewise.
53492
53493 2012-05-23  Andreas Jaeger  <aj@suse.de>
53494
53495         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
53496         * sysdeps/unix/sysv/linux/poll.c: Remove file.
53497
53498 2012-05-23  Andreas Jaeger  <aj@suse.de>
53499             Maximilian Attems  <max@stro.at>
53500
53501         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
53502         New macros.
53503
53504 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53505
53506         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
53507         code so that pseudo_end is just ret and the stack pointer is
53508         correct also for static library in error case.
53509
53510 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
53511
53512         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
53513         move to syscalls.list.
53514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
53515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
53516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
53517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
53518
53519         * manual/install.texi (Running make install): Do not mention Linux
53520         kernel version for which pt_chown is not needed.
53521         (Linux): Do not mention problems with nscd with 2.0 kernels.
53522         * INSTALL: Regenerated.
53523
53524 2012-05-23  Andreas Jaeger  <aj@suse.de>
53525
53526         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
53527         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
53528         macro.
53529         * sysdeps/unix/sysv/linux/s390/bits/mman.h
53530         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53531         * sysdeps/unix/sysv/linux/sh/bits/mman.h
53532         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53533         * sysdeps/unix/sysv/linux/i386/bits/mman.h
53534         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53535         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
53536         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53537         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
53538         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53539         * sysdeps/unix/sysv/linux/bits/in.h
53540         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
53541
53542 2012-05-22  Roland McGrath  <roland@hack.frob.com>
53543
53544         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
53545         (PREPARE_VERSION): Just use assert instead, it will be elided
53546         under [NDEBUG] anyway.
53547
53548 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53549
53550         * sysdeps/unix/sysv/linux/Makefile: Include
53551         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
53552         (sysdep_routines): Remove sysctl.
53553         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
53554         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
53555         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
53556         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
53557         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
53558
53559 2012-05-22  Andreas Jaeger  <aj@suse.de>
53560
53561         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
53562         that pseudo_end is just ret and the stack pointer is correct also
53563         for static library in error case.
53564
53565 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
53566
53567         [BZ #14122]
53568         * nss/nsswitch.c (defconfig_entries): New variable.
53569         (__nss_database_lookup): Don't leak defconfig entries.
53570         (nss_parse_service_list): Don't leak on error paths.
53571         (free_database_entries): New function.
53572         (free_defconfig): New function.
53573         (free_mem): Move common code to free_database_entries.
53574
53575 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53576
53577         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
53578         Add arch_prctl.
53579         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
53580
53581         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53582         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
53583         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
53584         New macro.
53585         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
53586         (INTERNAL_SYSCALL_TYPES): Likewise.
53587         (LOAD_ARGS_TYPES_[1-6]): Likewise.
53588         (LOAD_REGS_TYPES_[1-6]): Likewise.
53589         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
53590         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
53591
53592 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53593
53594         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
53595         copysignl for GLIBC_2_0.
53596         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
53597         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
53598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
53599         logbl for GLIBC_2_0.
53600         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
53601         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
53602
53603 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53604
53605         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
53606         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
53607
53608         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53609         Use "neg %eax".
53610
53611         * time/mktime.c: Update copyright years.
53612
53613 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
53614
53615         mktime: merge comment-quoting-style change from gnulib
53616         * time/mktime.c: Quote 'like this' in comments.
53617         The GNU coding standards suggest that we no longer quote `like this',
53618         as "`" and "'" are typically rendered asymmetrically nowadays.
53619         The typical gnulib style is to quote 'like this' when quoting
53620         code, and "like this" when quoting English.
53621
53622         * time/mktime.c (compile-command): Add "-I.".
53623
53624         mktime: merge mktime-internal.h change from gnulib
53625         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
53626
53627         mktime: merge time_r change from gnulib
53628         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
53629
53630         mktime: merge DEBUG change from gnulib
53631         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
53632         case system <time.h> has a #define.
53633
53634         mktime: merge <sys/types.h> change from gnulib
53635         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
53636         since <time.t> is now guaranteed to define time_t.
53637
53638         mktime: merge HAVE_CONFIG_H change from gnulib
53639         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
53640
53641 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53642
53643         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53644         Use "neg %eax".
53645
53646         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
53647         __rlim_t cast.
53648         (struct rusage): Use anonymous union to pad each field to
53649         __syscall_slong_t.
53650
53651 2012-05-21  David S. Miller  <davem@davemloft.net>
53652
53653         * Makefules (o-iterator): Remove .s cases.
53654         (compile-command.s): Delete.
53655         (COMPILE.s): Delete.
53656         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
53657
53658 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
53659
53660         * configure.in (libc_cv_predef_stack_protector): Only consider
53661         "foobar" and "__stack_chk_fail" lines in libc_undefs.
53662         * configure: Regenerated.
53663
53664 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53665
53666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53667         New macro.  Use R*LP on int and pointer.
53668         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
53669         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
53670         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
53671         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
53672
53673         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
53674         [__WORDSIZE_TIME64_COMPAT32] instead of
53675         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
53676         (struct utmp): Likewise.
53677         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
53678         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
53679         Renamed to ...
53680         (__WORDSIZE_TIME64_COMPAT32): This.
53681         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
53682         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
53683         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
53684         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
53685         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
53686         (__WORDSIZE_TIME64_COMPAT32): New macro.
53687
53688 2012-05-21  Andreas Jaeger  <aj@suse.de>
53689
53690         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
53691         only if [SHARED]. Add prototype for __wcschr_ia32.
53692
53693 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53694
53695         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
53696         of %rbp unmolested in the jmp_buf while mangling the low bits.
53697         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
53698         unmolested high bits of %rbp while demangling the low bits.
53699         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53700
53701 2012-05-21  Andreas Jaeger  <aj@suse.de>
53702
53703         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
53704         * sunrpc/svc_simple.c: Use it for registerrpc.
53705         * sunrpc/xcrypt.c: Use it for passwd2des.
53706
53707         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
53708
53709 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53710
53711         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
53712         Don't define if [__SYSCALL_WORDSIZE != 32].
53713         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
53714         New macro.
53715
53716 2012-05-21  Bruno Haible  <bruno@clisp.org>
53717             Andreas Jaeger  <aj@suse.de>
53718
53719         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
53720         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
53721         inptr and inend for must_buffer_ch.
53722         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
53723         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
53724         * stdio-common/Makefile (tests): Remove bug15.
53725         (bug15-ENV): Remove macro.
53726         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
53727         anymore.
53728
53729 2012-05-19  Andreas Jaeger  <aj@suse.de>
53730             Roland McGrath  <roland@hack.frob.com>
53731
53732         * manual/contrib.texi: Completely rewritten. It contains now an
53733         alphabetical list of contributors and their contributions.
53734
53735 2012-05-21  Richard Henderson  <rth@twiddle.net>
53736
53737         * misc/getauxval.c (__getauxval): Use unsigned long int.
53738         * misc/sys/auxv.h: Include <sys/cdefs.h>.
53739         (getauxval): Use unsigned long int.
53740
53741 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53742
53743         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53744
53745 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53746
53747         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
53748         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
53749         __alignof__ (long double).
53750
53751 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53752
53753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53754
53755 2012-05-20  Richard Henderson  <rth@twiddle.net>
53756
53757         * misc/getauxval.c: New file.
53758         * misc/sys/auxv.h: New file.
53759         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
53760         (routines): Add getauxval.
53761         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
53762         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
53763         * elf/dl-sysdep.c (_dl_auxv): Remove.
53764         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
53765         * elf/dl-support.c (_dl_auxv): New variable.
53766         (_dl_aux_init): Initialize it.
53767         * manual/startup.texi (Auxiliary Vector): New node.
53768         * sysdeps/generic/bits/hwcap.h: New file.
53769         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
53770         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
53771         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
53772         * sysdeps/sparc/sysdep.h: ... here.  Include it.
53773         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
53774         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
53775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53776         Update.
53777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
53778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
53779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
53780         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
53781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
53784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
53785
53786 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53787
53788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53789
53790 2012-05-19  David S. Miller  <davem@davemloft.net>
53791
53792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53793
53794 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
53795
53796         [BZ #14123]
53797         * math/s_ccosh.c: Include <float.h>
53798         (__ccosh): Avoid internal overflow calculating sinh and cosh
53799         values before multiplying by sin and cos values.
53800         * math/s_ccoshf.c: Likewise.
53801         * math/s_ccoshl.c: Likewise.
53802         * math/s_csin.c: Likewise.
53803         * math/s_csinf.c: Likewise.
53804         * math/s_csinl.c: Likewise.
53805         * math/s_csinh.c: Likewise.
53806         * math/s_csinhf.c: Likewise.
53807         * math/s_csinhl.c: Likewise.
53808         * math/libm-test.inc (ccos_test): Add more tests.
53809         (ccosh_test): Likewise.
53810         (csin_test): Likewise.
53811         (csinh_test): Likewise.
53812         * sysdeps/i386/fpu/libm-test-ulps: Update.
53813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53814
53815 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
53816
53817         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
53818         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
53819
53820         * sysdeps/x86_64/x32/_itoa.h: Add comment.
53821
53822 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
53823
53824         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
53825         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
53826         * sysdeps/powerpc/soft-fp/Versions: Likewise.
53827         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
53828         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
53829         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
53830         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
53831         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
53832         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
53833         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
53834         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
53835         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
53836         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
53837         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
53838         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
53839         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
53840         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
53841         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
53842         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
53843         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
53844         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
53845         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
53846         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
53847         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
53848         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
53849         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
53850         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
53851         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
53852         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
53853         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
53854         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
53855
53856 2012-05-18  Andreas Jaeger  <aj@suse.de>
53857
53858         * csu/.gitignore: Delete.
53859
53860 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53861
53862         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
53863         (timex): Use __syscall_slong_t.
53864
53865 2012-05-18  Andreas Jaeger  <aj@suse.de>
53866             Carlos O'Donell  <carlos_odonell@mentor.com>
53867
53868         * manual/install.texi (Configuring and compiling): Update
53869         description about files modified in the source directory.
53870         * INSTALL: Regenerated.
53871
53872 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53873
53874         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
53875         value.  Use "or" to set return value to -1.
53876         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
53877         negate return value.
53878
53879 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53880
53881         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
53882         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
53883         failure if the compiler has Graphite support disabled.
53884         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
53885         Likewise.
53886         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
53887         (CFLAGS-memmove.c): Likewise.
53888         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
53889         Likewise.
53890
53891 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53892
53893         * sysdeps/x86_64/x32/_itoa.h: New file.
53894
53895         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
53896         getdents system call only if kernel and user dirents have the
53897         same d_ino and d_off.
53898
53899         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53900         LLONG_MAX != LONG_MAX.
53901         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53902         (_fitoa_word): Likewise.
53903
53904         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
53905         years.
53906         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
53907         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
53908         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
53909
53910         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
53911         include <bits/wordsize.h>.  Check __x86_64__ instead of
53912         __WORDSIZE.
53913         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
53914         if __x86_64__ is defined.  Use anonymous union on fpstate.
53915
53916         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
53917         anonymous union.
53918
53919 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
53920
53921         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
53922         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
53923         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
53924         Refer to _rtld_local_ro instead of _rtld_global_ro.
53925         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
53926         Likewise.
53927         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
53928         Likewise.
53929         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
53930         Likewise.
53931         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
53932         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
53933         of _rtld_global, and rtld_progname instead of _dl_argv[0].
53934
53935         [BZ #10882]
53936         * sysdeps/powerpc/powerpc32/dl-machine.c
53937         (__elf_machine_runtime_setup) [PROF]: Don't reference
53938         _dl_prof_resolve.
53939
53940 2012-05-18  Andreas Jaeger  <aj@suse.de>
53941
53942         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
53943         function only available for GCCs before 3.4 since GCC 3.4
53944         introduced a builtin.
53945         (lrint): Likewise.
53946         (llrintf): Likewise.
53947         (llrint): Likewise.
53948         (fmaxf): Likewise.
53949         (fmax): Likewise.
53950         (fminf): Likewise.
53951         (fmin): Likewise.
53952         (rint): Likewise.
53953         (rintf): Likewise.
53954         (nearbyint): Likewise.
53955         (nearbyintf): Likewise.
53956         (ceil): Likewise.
53957         (ceilf): Likewise.
53958         (floor): Likewise.
53959         (floorf): Likewise.
53960
53961 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53962
53963         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
53964         on both fields and cast pointer to __syscall_ulong_t.
53965
53966         * bits/types.h (__fsword_t): New type.
53967         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
53968         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
53969         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53970         (__FSWORD_T_TYPE): Likewise.
53971         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53972         (__FSWORD_T_TYPE): Likewise.
53973         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53974         (__FSWORD_T_TYPE): Likewise.
53975         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
53976         (__FSWORD_T_TYPE): Likewise.
53977         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
53978         __SWORD_TYPE with __fsword_t.
53979         (statfs64): Likewise.
53980
53981 2012-05-17  David S. Miller  <davem@davemloft.net>
53982
53983         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
53984
53985 2012-05-17  Andreas Jaeger  <aj@suse.de>
53986
53987         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
53988         warning.
53989
53990 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53991
53992         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
53993
53994 2012-05-17  Andreas Jaeger  <aj@suse.de>
53995
53996         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
53997         when it is used.
53998
53999 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54000
54001         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54002
54003 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54004
54005         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54006         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54007
54008 2012-05-17  Andreas Jaeger  <aj@suse.de>
54009             Carlos O'Donell  <carlos_odonell@mentor.com>
54010
54011         [BZ #14059]
54012         * sysdeps/x86_64/multiarch/init-arch.h
54013         (bit_YMM_Usable): Rename to...
54014         (bit_AVX_Usable): ... this.
54015         (bit_FMA4_Usable): New macro.
54016         (bit_XMM_state): New macro.
54017         (bit_YMM_state): New macro.
54018         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54019         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54020         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54021         (CPUID_OSXSAVE): New macro.
54022         (CPUID_AVX): New macro.
54023         (CPUID_FMA4): New macro.
54024         (index_YMM_Usable): Rename to...
54025         (index_AVX_Usable): ... this.
54026         (HAS_AVX): Use HAS_ARCH_FEATURE.
54027         (HAS_FMA4): Likewise.
54028         (HAS_YMM_USABLE): Remove.
54029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54030         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54031         are present.
54032         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54033         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54034         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54035         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54036         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54037
54038 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54039
54040         * math/libm-test.c: Support platforms without multiple rounding modes.
54041         * math/bug-nextafter.c: Support platforms without FP exceptions.
54042         * math/bug-nexttoward.c: Likewise.
54043         * math/test-fenv.c: Likewise.
54044         * math/test-misc.c: Likewise.
54045         * stdlib/bug-getcontext.c: Likewise.
54046
54047 2012-05-17  Andreas Jaeger  <aj@suse.de>
54048
54049         * manual/examples/search.c (critter_cmp): Change signature to
54050         avoid warnings.
54051         * manual/string.texi (Collation Functions): Likewise.
54052
54053 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54054
54055         * bits/types.h: Fold copyright years.
54056         * bits/typesizes.h: Likewise.
54057         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54058         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54059         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54060         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54061         * time/time.h: Likewise.
54062
54063 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54064
54065         [BZ #208]
54066         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54067         in instead of returning them.  Return void.
54068         (__libc_mallinfo): Accumulate over all arenas.
54069         (__malloc_stats): Adjust for change in int_mallinfo interface.
54070
54071 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54072
54073         [BZ #10375]
54074         * configure.in (NM): Add AC_CHECK_TOOL for it.
54075         (libc_extra_cflags): New substituted variable.
54076         Check for -fstack-protector being used implicitly.
54077         * configure: Regenerated.
54078         * config.make.in (config-extra-cflags): New variable,
54079         gets @libc_extra_cflags@.
54080         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54081
54082         [BZ #10375]
54083         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54084         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54085         * configure: Regenerated.
54086         * config.make.in (CPPUNDEFS): New substituted variable.
54087         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54088         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54089         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54090
54091 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54092
54093         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54094         (mq_attr): Use __syscall_slong_t.
54095
54096 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54097
54098         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54099         Check __x86_64__ instead of __WORDSIZE.
54100         (_STAT_VER_LINUX): Likewise.
54101         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54102         __syscall_ulong_t and __syscall_slong_t.
54103         (stat64): Likewise.
54104
54105 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54106
54107         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54108
54109 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54110
54111         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54112
54113 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54114
54115         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54116         __syscall_ulong_t.
54117
54118         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54119         include <bits/wordsize.h>.  Check __x86_64__ instead of
54120         __WORDSIZE.
54121         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54122         defined.
54123         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54124
54125         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54126         include <bits/wordsize.h>.  Check __x86_64__ instead of
54127         __WORDSIZE.
54128         (user_regs_struct): Use "__extension__ unsigned long long"
54129         instead of "unsigned long" if __x86_64__ is defined.
54130         (user): Likewise.  Pad after pointer field if __ILP32__ is
54131         defined.
54132
54133 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54134
54135         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54136         versions 5 to 9.
54137         * configure: Regenerated.
54138         * manual/install.texi (texinfo): Increase version requirement to
54139         4.5 or later.
54140         * INSTALL: Regenerated.
54141
54142         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54143
54144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54145
54146         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54147
54148         * sysdeps/x86_64/x32/ffs.c: New file.
54149
54150         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54151         __syscall_ulong_t.
54152         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54153         defined.  Use __syscall_ulong_t.
54154         (shminfo): Use __syscall_ulong_t.
54155         (shm_info): Likewise.
54156
54157         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54158         __syscall_ulong_t.
54159
54160         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54161         <bits/wordsize.h>.
54162         (msgqnum_t): Use __syscall_ulong_t.
54163         (msglen_t): Likewise.
54164         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54165         __syscall_ulong_t.
54166
54167         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54168         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54169
54170         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54171
54172         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54173         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54174
54175         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54176         __syscall_slong_t.
54177
54178         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
54179         include <bits/wordsize.h>.  Check __x86_64__ instead of
54180         __WORDSIZE.
54181
54182         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
54183         "unsigned long long int" if __x86_64__ is defined.
54184         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
54185
54186         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
54187         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54188         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
54189
54190         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
54191         <stdint.h>.
54192         (GET_PC): Cast to uintptr_t first.
54193         (GET_FRAME): Likewise.
54194         (GET_STACK): Likewise.
54195
54196         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
54197         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
54198         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
54199         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
54200         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
54201         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
54202         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
54203         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
54204         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
54205         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
54206         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
54207         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
54208         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54209         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
54210         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
54211         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
54212         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
54213         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
54214         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
54215         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
54216         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
54217         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
54218         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
54219         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
54220         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
54221         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
54222         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
54223         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
54224         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
54225
54226 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
54227
54228         * Makerules (+depfiles): Also collect depfiles from .oS in
54229         $(extra-objs).
54230         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
54231         .oS, $(libnldbl-routines)).
54232
54233         * Makerules (native-compile-mkdep-flags): Define.
54234         * sunrpc/Makefile (extra-objs): Add $(addprefix
54235         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
54236         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
54237         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
54238         calling $(make-target-directory).
54239
54240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54241
54242         * bits/types.h (__snseconds_t): Removed.
54243         * time/time.h (struct timespec): Replace __snseconds_t with
54244         __syscall_slong_t.
54245         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
54246         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
54247         Likewise.
54248         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54249         (__SNSECONDS_T_TYPE): Likewise.
54250         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54251         (__SNSECONDS_T_TYPE): Likewise.
54252         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54253         (__SNSECONDS_T_TYPE): Likewise.
54254
54255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54256
54257         * sysdeps/mach/hurd/bits/typesizes.h
54258         (__SYSCALL_SLONG_TYPE): New macro.
54259         (__SYSCALL_ULONG_TYPE): Likewise.
54260
54261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54262
54263         * bits/types.h (__syscall_slong_t): New type.
54264         (__syscall_ulong_t): Likewise.
54265
54266         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
54267         (__SYSCALL_ULONG_TYPE): Likewise.
54268         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54269         (__SYSCALL_SLONG_TYPE): Likewise.
54270         (__SYSCALL_ULONG_TYPE): Likewise.
54271         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54272         (__SYSCALL_SLONG_TYPE): Likewise.
54273         (__SYSCALL_ULONG_TYPE): Likewise.
54274         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54275         (__SYSCALL_SLONG_TYPE): Likewise.
54276         (__SYSCALL_ULONG_TYPE): Likewise.
54277
54278 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54279
54280         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
54281         Add sigaltstack-offsets.sym.
54282         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
54283         <sigaltstack-offsets.h>.
54284         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
54285         longjmp_msg pointer.
54286         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
54287         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
54288         signal stack.
54289         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
54290
54291 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54292
54293         * elf/stackguard-macros.h: Remove file.
54294         * sysdeps/generic/stackguard-macros.h: New file.
54295         * sysdeps/i386/stackguard-macros.h: Likewise.
54296         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54297         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54298         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54299         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54300         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54301         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54302         * sysdeps/x86_64/stackguard-macros.h: Likewise.
54303         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
54304         <elf/stackguard-macros.h>.
54305
54306         [BZ #14109]
54307         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
54308         __aligned__ in attribute.
54309         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
54310         (gregset_t): Likewise.
54311
54312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54313
54314         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
54315         * sysdeps/x86_64/64/Implies-after: Here.  New file.
54316         * sysdeps/x86_64/x32/Implies-after: New file.
54317
54318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54319
54320         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
54321         and access return value for _dl_profile_fixup.  Use R10_LP to
54322         load frame size.
54323
54324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54325
54326         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
54327
54328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54329
54330         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54331         * sysdeps/x86_64/x32/sysdep.h: New file.
54332
54333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54334
54335         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
54336         * sysdeps/x86_64/setjmp.S: Likewise.
54337
54338 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54339
54340         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
54341         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
54342         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
54343         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
54344         remove unused global constant.
54345
54346 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
54347
54348         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
54349         include of <not-cancel.h>.
54350
54351 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54352
54353         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
54354
54355 2012-05-15  Jeff Law  <law@redhat.com>
54356             Andreas Jaeger  <aj@suse.de>
54357
54358         [BZ #13594]
54359         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
54360         out from...
54361         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
54362         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54363         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
54364         code changing __hst_map_handle.map.
54365
54366 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54367
54368         * configure.in (sysnames): Look for Implies-before and Implies-after
54369         files.
54370         * configure: Regenerated.
54371
54372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54373
54374         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
54375         8-byte data alignment with LP_SIZE alignment.
54376
54377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54378
54379         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
54380         into R10_LP.
54381
54382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54383
54384         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
54385
54386 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54387
54388         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
54389         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
54390         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54391         Likewise.
54392         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54393
54394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54395
54396         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
54397         (stackinfo_sub_sp): Likewise.
54398
54399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54400
54401         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
54402         RAX_LP.
54403
54404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54405
54406         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
54407         into R*_LP.
54408
54409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54410
54411         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
54412         sizes into R*_LP.
54413
54414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54415
54416         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
54417
54418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54419
54420         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
54421         into R11_LP and load __x86_64_shared_cache_size_half into
54422         R8_LP.
54423
54424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54425
54426         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
54427         R8_LP.
54428
54429 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54430
54431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
54432         logb for POWER7.
54433         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
54434         logbf for POWER7.
54435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
54436         logbl for POWER7.
54437         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
54438         powerpc32/power7/fpu/s_logb.c via #include.
54439         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
54440         powerpc32/power7/fpu/s_logbf.c via #include.
54441         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
54442         powerpc32/power7/fpu/s_logbl.c via #include.
54443
54444 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54445
54446         * README.libm: Remove file.
54447
54448 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54449
54450         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
54451         count for x32.  Use R*_LP and omit operand-size suffix.
54452
54453 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54454
54455         * shlib-versions: Move x86_64-.*-linux.* entries to ...
54456         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
54457         * sysdeps/x86_64/x32/shlib-versions: New file.
54458
54459 2012-05-14  Roland McGrath  <roland@hack.frob.com>
54460
54461         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
54462         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
54463         Use _dl_fatal_printf instead.
54464
54465 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54466
54467         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
54468         set if not set by the user.  Do not allow for being unset.
54469         * sysdeps/unix/sysv/linux/configure: Regenerated.
54470
54471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54472
54473         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
54474         the `q' suffix from lea and replace .quad with ASM_ADDR.
54475
54476 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54477
54478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
54479         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
54480         instead of $17.
54481         (PTR_DEMANGLE): Likewise.
54482
54483 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54484
54485         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
54486         (LP_OP): Likewise.
54487         (ASM_ADDR): Likewise.
54488         (RAX_LP): Likewise.
54489         (RBP_LP): Likewise.
54490         (RBX_LP): Likewise.
54491         (RCX_LP): Likewise.
54492         (RDI_LP): Likewise.
54493         (RSI_LP): Likewise.
54494         (RSP_LP): Likewise.
54495         (R8_LP): Likewise.
54496         (R9_LP): Likewise.
54497         (R10_LP): Likewise.
54498         (R10_LP): Likewise.
54499         (R11_LP): Likewise.
54500         (R12_LP): Likewise.
54501         (R13_LP): Likewise.
54502         (R14_LP): Likewise.
54503         (R15_LP): Likewise.
54504
54505 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54506
54507         * sysdeps/x86_64/x32/dl-machine.h: New file.
54508
54509 2012-05-14  Andreas Jaeger  <aj@suse.de>
54510
54511         * manual/Makefile (subdir): Remove export of subdir.
54512         (all): Remove target.
54513         (.PHONY): Remove all from list.
54514         (mkinstalldirs): Remove.
54515         (.PHONY): Remove installdirs from list.
54516         ($(inst_infodir)/libc.info): Use make-target-directory.
54517         (installdirs): Remove.
54518         (subdir_%): Remove.
54519         (glibc-targets): Remove.
54520         (lib): Remove.
54521         (stubs): Remove.
54522         ($(objpfx)stubs ../po/manual.pot): Remove.
54523         ($(objpfx)stamp%): Remove.
54524         (make-target-directory): Remove.
54525         (subdir_install): Remove.
54526         (routines): Remove.
54527         (aux): Remove.
54528         (sources): Remove.
54529         (objects): Remove.
54530         (headers): Remove.
54531
54532         [BZ #13750]
54533         * manual/.gitignore: Remove, it's not needed anymore.
54534         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
54535         all files in it.
54536         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
54537         directory.
54538         (texis): Renamed to $(objpfx)texis.
54539         (texis-path): New, contains path to generated files.
54540         (chapters.%): Use texis-path for complete path, add extra argument
54541         libc-texinfo.sh.
54542         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
54543         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
54544         (summary,texi, stamp-summary): Use complete path of
54545         files. Generate files in build dir.
54546         (dir-add.texi): Build in build dir.
54547         (libm-err.texi,stamp-libm-err): Likewise.
54548         (version.texi, stamp-version): Likewise.
54549         (.%c.texi): Likewise.
54550         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
54551         (mostlyclean): Remove target.
54552         (realclean): Remove target.
54553         (generated): Add new variable with contents from mostlyclean and
54554         realclean, remove entries duplicated in common-mostlyclean, add
54555         stamp-libm-err and stamp-version.
54556         (generated-dirs): Add libc directory.
54557         ($(inst_infodir)/libc.info): Install files from build dir.
54558
54559         * manual/install.texi (Configuring and compiling): Adjust since
54560         the info files are not part of the tar ball anymore.
54561
54562 2012-05-14  Andreas Jaeger  <aj@suse.de>
54563
54564         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
54565         variable.
54566
54567 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54568
54569         [BZ #13717]
54570         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54571         to 2.2.0 where earlier.
54572         * sysdeps/unix/sysv/linux/configure: Regenerated.
54573         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
54574         Remove conditional code.
54575         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
54576         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
54577         Remove conditional code.
54578         [!__NR_lchown]: Likewise.
54579         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54580         [__NR_lchown]: Likewise.
54581         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
54582         comment referencing __ASSUME_LCHOWN_SYSCALL.
54583         * sysdeps/unix/sysv/linux/i386/sigaction.c
54584         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54585         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54586         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
54587         Remove conditional code.
54588         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
54589         (__protocol_available): Remove #if 0 code.
54590         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
54591         conditional code.
54592         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
54593         * sysdeps/unix/sysv/linux/kernel-features.h
54594         (__ASSUME_GETCWD_SYSCALL): Don't define.
54595         (__ASSUME_REALTIME_SIGNALS): Likewise.
54596         (__ASSUME_PREAD_SYSCALL): Likewise.
54597         (__ASSUME_PWRITE_SYSCALL): Likewise.
54598         (__ASSUME_POLL_SYSCALL): Likewise.
54599         (__ASSUME_LCHOWN_SYSCALL): Likewise.
54600         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
54601         non-SPARC.
54602         (__ASSUME_SIOCGIFNAME): Don't define.
54603         (__ASSUME_MSG_NOSIGNAL): Likewise.
54604         (__ASSUME_SENDFILE): Define unconditionally.
54605         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
54606         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
54607         conditional code.
54608         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
54609         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
54610         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54611         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54612         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
54613         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54614         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
54616         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54617         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
54619         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54620         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
54622         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54623         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
54625         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54626         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
54628         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54629         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
54631         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54632         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
54634         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54635         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
54637         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54638         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54639         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
54640         Remove conditional code.
54641         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54642         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54643         Remove conditional code.
54644         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54645         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
54646         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
54647         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54648         Remove conditional code.
54649         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54650         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
54651         Remove conditional code.
54652         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54653         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
54654         Remove conditional code.
54655         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54656         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54657         Remove conditional code.
54658         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54659         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54660         Remove conditional code.
54661         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54662         * sysdeps/unix/sysv/linux/sh/pwrite64.c
54663         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54664         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54665         * sysdeps/unix/sysv/linux/sigaction.c
54666         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54667         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54668         * sysdeps/unix/sysv/linux/sigpending.c
54669         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54670         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54671         * sysdeps/unix/sysv/linux/sigprocmask.c
54672         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54673         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54674         * sysdeps/unix/sysv/linux/sigsuspend.c
54675         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54676         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54677         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54678         (__libc_missing_rt_sigs): Remove.
54679         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
54680         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
54681         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
54682         Remove conditional code.
54683         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
54684         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
54685         return 1.
54686         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
54687         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
54688         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
54689         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
54690
54691 2012-05-14  Andreas Jaeger  <aj@suse.de>
54692
54693         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
54694         it's not used in glibc.
54695         (__coshm1): Likewise.
54696         (__acosh1p): Likewise.
54697         (__sgn): Likewise.
54698
54699         * manual/string.texi (Copying and Concatenation): Add missing
54700         variable in concat example.
54701         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
54702
54703 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54704
54705         [BZ #14103]
54706         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
54707         __builtin_clzl with __builtin_clzll.
54708
54709 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54710
54711         [BZ #14104]
54712         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
54713         libc_freeres_ptr.
54714
54715 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54716
54717         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
54718         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
54719         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
54720         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
54721
54722 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
54723
54724         * NEWS: Update ia64 info.
54725
54726 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
54727
54728         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
54729         used as bcopy.
54730
54731 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
54732
54733         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
54734         * sysdeps/unix/syscalls.list (dup3): Likewise.
54735         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
54736         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
54737
54738 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54739
54740         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
54741         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
54742
54743 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54744
54745         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
54746         thread pointer.
54747         (TLS_IE): Use mov/add instead of movq/addq to load thread
54748         pointer.
54749         (TLS_GD_PREFIX): New.
54750         (TLS_GD): Use it.
54751
54752 2012-05-11  David S. Miller  <davem@davemloft.net>
54753
54754         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
54755         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
54756         (_FPU_SETCW): Likewise.
54757
54758 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54759
54760         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
54761         is 32-byte aligned.
54762
54763 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
54764
54765         [BZ #11837]
54766         * iconvdata/gb18030.c: Update tables.
54767         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
54768         characters specially.
54769         (BODY for TO_LOOP): Add encoding of missing ranges.
54770
54771 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
54772
54773         [BZ #13673]
54774         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
54775         * sysdeps/mach/hurd/dup3.c: Likewise.
54776         * sysdeps/mach/hurd/readlinkat.c: Likewise.
54777         * sysdeps/powerpc/memmove.c:: Likewise.
54778
54779 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54780
54781         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
54782         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
54783
54784 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54785
54786         * elf/elf.h (R_X86_64_RELATIVE64): New.
54787         (R_X86_64_NUM): Updated.
54788         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54789         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
54790         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
54791         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
54792         tst-quad1pie tst-quad2pie
54793         (modules-names): Add tst-quadmod1 tst-quadmod2.
54794         ($(objpfx)tst-quad1): New dependency.
54795         ($(objpfx)tst-quad2): Likewise.
54796         ($(objpfx)tst-quad1pie): Likewise.
54797         ($(objpfx)tst-quad2pie): Likewise.
54798         * sysdeps/x86_64/tst-quad1.c: New file.
54799         * sysdeps/x86_64/tst-quad1pie.c: New file.
54800         * sysdeps/x86_64/tst-quad2.c: Likewise.
54801         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
54802         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
54803         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
54804         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
54805         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
54806
54807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54808
54809         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
54810         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
54811         * streams/stropts.h (t_scalar_t): Define type.
54812
54813         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
54814         (_PATH_PRESERVE): Set to "/var/lib".
54815         (_PATH_RWHODIR): Set to "/var/spool/rwho".
54816
54817         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
54818         instead of int.
54819
54820         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
54821         if __dir_mkfile succeeded.
54822
54823         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
54824         checking for _hurd_dtablesize.  Unlock it right after having
54825         finished _hurd_dtable allocation.
54826
54827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54828
54829         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
54830         * sysdeps/mach/hurd/configure: Regenerated.
54831         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
54832         special-casing to...
54833         * sysdeps/gnu/configure.in: ... this new file.
54834         * sysdeps/unix/sysv/linux/configure: Regenerated.
54835         * sysdeps/gnu/configure: New generated file.
54836
54837         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
54838         for Linux: use nsec instead of usec, as well as:
54839         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
54840         members of type struct timespec.
54841         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
54842         New macros.
54843         (struct stat64): Likewise.
54844         (_STATBUF_ST_NSEC): New macro.
54845         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
54846
54847         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54848         __strtoul_internal rather than strtoul.
54849
54850 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54851
54852         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
54853         and reject them.
54854
54855 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54856
54857         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
54858         which preserves existing values.
54859         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
54860
54861 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54862
54863         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
54864         TIMEOUT values.  Return EINVAL for NFDS values either negative or
54865         greater than FD_SETSIZE.
54866
54867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54868
54869         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
54870         allocated, call __vm_protect to finish enabling the existing space, and
54871         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
54872         allocate the remainder.
54873
54874 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54875
54876         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
54877         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
54878
54879 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54880
54881         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
54882         sysdeps/mach/hurd/readlink.c.
54883
54884         * posix/tst-sysconf.c (posix_options): Only use
54885         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
54886         _POSIX_SYNCHRONIZED_IO when they are defined
54887         * sysdeps/mach/hurd/bits/posix_opt.h:
54888         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
54889         (_XOPEN_REALTIME): Undefine macro.
54890         (_XOPEN_REALTIME_THREADS): Undefine macro.
54891         (_XOPEN_SHM): Undefine macro.
54892         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
54893         macro to -1.
54894         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
54895         macro to -1.
54896         (_POSIX_ASYNC_IO): Undefine macro.
54897         (_POSIX_PRIORITIZED_IO): Undefine macro.
54898         (_POSIX_SPIN_LOCKS): Define macro to -1.
54899
54900         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
54901         SA_NODEFER, SA_RESETHAND.
54902         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
54903         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
54904         F_DUPFD_CLOEXEC.
54905
54906 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54907
54908         * elf/Makefile (pldd-modules): Define unconditionally.
54909
54910 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54911
54912         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
54913
54914 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54915
54916         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
54917         Return ENOENT when name is empty.
54918         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
54919
54920 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54921
54922         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
54923
54924         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
54925
54926 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54927
54928         Fix mlock in all cases except non-readable pages.
54929         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
54930         instead of VM_PROT_ALL as parameter to __vm_wire function.
54931
54932         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
54933         (__mkdir): When path is `/', just fail with EEXIST.
54934         * sysdeps/mach/hurd/mkdirat.c: Likewise.
54935
54936 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54937
54938         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
54939         <sys/uio.h> (for writev).
54940         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
54941         and <sys/param.h> (for MIN).
54942
54943 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54944
54945         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
54946         REQUESTED_TIME.  Properly set the remaining time and return EINTR
54947         if interrupted.
54948
54949 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54950
54951         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
54952         Depend on against $(link-rpcuserlibs).
54953
54954 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54955
54956         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
54957         (__libc_stack_end): Do not use attribute_relro.
54958         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
54959         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
54960         to libthread-provided value.
54961         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
54962         attribute_relro.
54963
54964 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54965
54966         [BZ #3748]
54967         * bits/libc-lock.h (__libc_once_get): New macro.
54968         * sysdeps/mach/bits/libc-lock.h: Likewise.
54969         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
54970         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
54971         instead of using implementation details.
54972
54973         * libio/fileops.c: Unconditionally include <kernel-features.h>.
54974         * libio/freopen.c: Likewise.
54975         * libio/freopen64.c: Likewise.
54976         * misc/syslog.c: Likewise.
54977         * nscd/connections.c: Likewise.
54978         * nscd/netgroupcache.c: Likewise.
54979         * sysdeps/posix/getcwd.c: Likewise.
54980
54981 2012-05-10  Roland McGrath  <roland@hack.frob.com>
54982
54983         * math/w_ilogbf.c: Add #include <limits.h>.
54984
54985 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54986
54987         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
54988         path instead of returning without unlocking.
54989
54990         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
54991         immediate-write ioctls.
54992         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
54993
54994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54995
54996         * sysdeps/mach/hurd/i386/init-first.c (init): Use
54997         __builtin_frame_address instead of making assumptions about the
54998         location of the return address relative to DATA.  Force early load of
54999         the return address.
55000         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
55001         __builtin_frame_address.
55002
55003         dup3 for GNU Hurd.
55004         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55005         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55006         implement dup3 and do some further code clean-ups.
55007         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55008         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55009
55010 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55011
55012         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55013
55014         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55015         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55016         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55017         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55018         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55019         d->port.lock.
55020
55021         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55022         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55023         when handler == SIG_ERR, not when handler != SIG_ERR.
55024
55025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55026
55027         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55028         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55029         definitions.
55030
55031         accept4 for GNU Hurd.
55032         * include/sys/socket.h (__libc_accept4): New prototype.
55033         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55034         to implement __libc_accept4.
55035         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55036         __libc_accept4.
55037         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55038
55039         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55040         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55041         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55042         signal-defines.sym.
55043
55044 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55045
55046         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55047
55048 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55049
55050         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55051         assertion on O_CLOEXEC flag.
55052         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55053         * hurd/intern-fd.c: Likewise.
55054         * hurd/port2fd.c: Likewise.
55055
55056 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55057
55058         [BZ #3906]
55059         * bits/in.h (IPV6_PKTINFO): Define new macro.
55060         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55061
55062 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55063
55064         [BZ #13954]
55065         [BZ #13955]
55066         [BZ #13956]
55067         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55068         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55069         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55070         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55071         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55072         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55073         * math/libm-test.inc (logb_test) : Additional logb tests.
55074
55075 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55076             Andreas Jaeger  <aj@suse.de>
55077
55078         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55079         * configure: Regenerated.
55080         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55081         * config.make.in (link-obsolete-rpc): New substituted variable.
55082         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55083         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55084         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55085         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55086         so that libc.a contains the symbols.
55087         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55088         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55089         * sunrpc/auth_none.c: Likewise.
55090         * sunrpc/auth_unix.c: Likewise.
55091         * sunrpc/authdes_prot.c: Likewise.
55092         * sunrpc/authuxprot.c: Likewise.
55093         * sunrpc/clnt_gen.c: Likewise.
55094         * sunrpc/clnt_perr.c: Likewise.
55095         * sunrpc/clnt_raw.c: Likewise.
55096         * sunrpc/clnt_simp.c: Likewise.
55097         * sunrpc/clnt_tcp.c: Likewise.
55098         * sunrpc/clnt_udp.c: Likewise.
55099         * sunrpc/clnt_unix.c: Likewise.
55100         * sunrpc/des_crypt.c: Likewise.
55101         * sunrpc/des_soft.c: Likewise.
55102         * sunrpc/get_myaddr.c: Likewise.
55103         * sunrpc/key_call.c: Likewise.
55104         * sunrpc/key_prot.c: Likewise.
55105         * sunrpc/netname.c: Likewise.
55106         * sunrpc/pm_getmaps.c: Likewise.
55107         * sunrpc/pm_getport.c: Likewise.
55108         * sunrpc/pmap_clnt.c: Likewise.
55109         * sunrpc/pmap_prot.c: Likewise.
55110         * sunrpc/pmap_prot2.c: Likewise.
55111         * sunrpc/pmap_rmt.c: Likewise.
55112         * sunrpc/publickey.c: Likewise.
55113         * sunrpc/rpc_cmsg.c: Likewise.
55114         * sunrpc/rpc_common.c: Likewise.
55115         * sunrpc/rpc_dtable.c: Likewise.
55116         * sunrpc/rpc_prot.c: Likewise.
55117         * sunrpc/rpc_thread.c: Likewise.
55118         * sunrpc/rtime.c: Likewise.
55119         * sunrpc/svc.c: Likewise.
55120         * sunrpc/svc_auth.c: Likewise.
55121         * sunrpc/svc_raw.c: Likewise.
55122         * sunrpc/svc_run.c: Likewise.
55123         * sunrpc/svc_tcp.c: Likewise.
55124         * sunrpc/svc_udp.c: Likewise.
55125         * sunrpc/svc_unix.c: Likewise.
55126         * sunrpc/svcauth_des.c: Likewise.
55127         * sunrpc/xcrypt.c: Likewise.
55128         * sunrpc/xdr.c: Likewise.
55129         * sunrpc/xdr_array.c: Likewise.
55130         * sunrpc/xdr_float.c: Likewise.
55131         * sunrpc/xdr_intXX_t.c: Likewise.
55132         * sunrpc/xdr_mem.c: Likewise.
55133         * sunrpc/xdr_rec.c: Likewise.
55134         * sunrpc/xdr_ref.c: Likewise.
55135         * sunrpc/xdr_sizeof.c: Likewise.
55136         * sunrpc/xdr_stdio.c: Likewise.
55137
55138 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55139
55140         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55141         change.  Update copyright years.
55142
55143 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55144
55145         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55146
55147 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55148             Joseph Myers  <joseph@codesourcery.com>
55149             Paul Pluzhnikov  <ppluzhnikov@google.com>
55150
55151         [BZ #14012]
55152         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55153         requiring rpcgen.
55154         [cross-compiling] (extra-libs): Likewise.
55155         [cross-compiling] (extra-libs-others): Likewise.
55156         [cross-compiling] (librpcsvc-routines): Likewise.
55157         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55158         [cross-compiling] (omit-deps): Likewise.
55159         (sunrpc-CPPFLAGS): New variable.
55160         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55161         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55162         (cross-rpcgen-objs): New variable.
55163         (extra-objs): Append $(cross-rpcgen-objs).
55164         ($(cross-rpcgen-objs)): New rule.
55165         ($(objpfx)cross-rpcgen): Likewise.
55166         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55167         comment.
55168         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55169         ($(objpfx)x%.stmp): Likewise.
55170         * sunrpc/proto.h [IS_IN_build] (_): Define.
55171         [IS_IN_build] (_libc_intl_domainname): Likewise.
55172
55173 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55174
55175         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55176         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55177         and R_X86_64_TPOFF64.
55178
55179 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55180
55181         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
55182         sysdeps/unix/sysv/syscalls.list.
55183         (stime): Likewise.
55184         (utime): Likewise.
55185         * sysdeps/unix/sysv/syscalls.list: Remove file.
55186
55187 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
55188
55189         [BZ #3440]
55190         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
55191         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
55192         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
55193         (__LC_IDENTIFICATION): Make these macros useful in #if
55194         expressions, as required by C99.
55195
55196 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
55197
55198         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
55199         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
55200         after this.
55201
55202 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
55203
55204         * stdlib/longlong.h: Updated from GCC.
55205
55206 2012-05-09  Andreas Jaeger  <aj@suse.de>
55207
55208         * nscd/nscd.c (run_modes): Make named enum, reorder so that
55209         default is first entry.
55210         (run_mode): Set type.
55211         (main): Remove informal message about syslog.
55212         (options): Fix typo.
55213
55214         [BZ #14053]
55215         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
55216         to asm.
55217         (lrint): Likewise.
55218         (llrintf): Likewise.
55219         (llrint): Likewise.
55220         (rint): Likewise.
55221         (rintf): Likewise.
55222         (nearbyint): Likewise.
55223         (nearbyintf): Likewise.
55224
55225 2012-05-09  Andreas Jaeger  <aj@suse.de>
55226             Pedro Alves  <palves@redhat.com>
55227
55228         * nscd/nscd.c (run_mode): Use enum.
55229         (main): Cleanup coding style issue.
55230
55231 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
55232             Andreas Jaeger  <aj@suse.de>
55233
55234         * nscd/nscd.c (go_background): Replaced with...
55235         (run_mode): ... this.
55236         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
55237         (options): Add -F --foreground.
55238         (main): Implement it.
55239         (parse_opt): Parse it.
55240
55241 2012-05-09  Andreas Jaeger  <aj@suse.de>
55242
55243         [BZ #14083]
55244         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
55245         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
55246         -Wconversion warning.
55247         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
55248         Likewise.
55249
55250 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
55251
55252         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
55253         == 0.
55254         (LC_ALL): Use macro-int-constant.
55255         (LC_COLLATE): Likewise.
55256         (LC_CTYPE): Likewise.
55257         (LC_MESSAGES): Likewise.
55258         (LC_MONETARY): Likewise.
55259         (LC_NUMERIC): Likewise.
55260         (LC_TIME): Likewise.
55261         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
55262         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55263         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55264         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
55265         Specify type.
55266         [C99-based standards] (float_t): Expect type.
55267         [C99-based standards] (double_t): Expect type.
55268         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
55269         type.
55270         [C99-based standards] (HUGE_VALL): Likewise.
55271         [C99-based standards] (INFINITY): Likewise.
55272         [C99-based standards] (NAN): Likewise.
55273         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
55274         [C99-based standards] (FP_NAN): Likewise.
55275         [C99-based standards] (FP_NORMAL): Likewise.
55276         [C99-based standards] (FP_SUBNORMAL): Likewise.
55277         [C99-based standards] (FP_ZERO): Likewise.
55278         [C99-based standards] (FP_FAST_FMA): Use
55279         optional-macro-int-constant.  Specify type.  Require == 1.
55280         [C99-based standards] (FP_FAST_FMAF): Likewise.
55281         [C99-based standards] (FP_FAST_FMAL): Likewise.
55282         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
55283         [C99-based standards] (FP_ILOGBNAN): Likewise.
55284         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55285         Specify type.
55286         [C99-based standards] (MATH_ERREXCEPT): Likewise.
55287         [C99-based standards] (math_errhandling): Specify type.
55288         [ISO99 || ISO11] (signgam): Do not allow.
55289         [non-C99-based standards] (copysignf): Do not allow.
55290         [non-C99-based standards] (exp2f): Likewise.
55291         [non-C99-based standards] (log2f): Likewise.
55292         [non-C99-based standards] (modff): Allow.
55293         [non-C99-based standards] (erff): Do not allow.
55294         [non-C99-based standards] (erfcf): Likewise.
55295         [non-C99-based standards] (gammaf): Likewise.
55296         [non-C99-based standards] (hypotf): Likewise.
55297         [non-C99-based standards] (j0f): Likewise.
55298         [non-C99-based standards] (j1f): Likewise.
55299         [non-C99-based standards] (jnf): Likewise.
55300         [non-C99-based standards] (lgammaf): Likewise.
55301         [non-C99-based standards] (tgammaf): Likewise.
55302         [non-C99-based standards] (y0f): Likewise.
55303         [non-C99-based standards] (y1f): Likewise.
55304         [non-C99-based standards] (ynf): Likewise.
55305         [non-C99-based standards] (isnanf): Likewise.
55306         [non-C99-based standards] (acoshf): Likewise.
55307         [non-C99-based standards] (asinhf): Likewise.
55308         [non-C99-based standards] (atanhf): Likewise.
55309         [non-C99-based standards] (cbrtf): Likewise.
55310         [non-C99-based standards] (expm1f): Likewise.
55311         [non-C99-based standards] (ilogbf): Likewise.
55312         [non-C99-based standards] (log1pf): Likewise.
55313         [non-C99-based standards] (logbf): Likewise.
55314         [non-C99-based standards] (nextafterf): Likewise.
55315         [non-C99-based standards] (remainderf): Likewise.
55316         [non-C99-based standards] (rintf): Likewise.
55317         [non-C99-based standards] (scalbf): Likewise.
55318         [non-C99-based standards] (copysignl): Likewise.
55319         [non-C99-based standards] (exp2l): Likewise.
55320         [non-C99-based standards] (log2l): Likewise.
55321         [non-C99-based standards] (modfl): Allow.
55322         [non-C99-based standards] (erfl): Do not allow.
55323         [non-C99-based standards] (erfcl): Likewise.
55324         [non-C99-based standards] (gammal): Likewise.
55325         [non-C99-based standards] (hypotl): Likewise.
55326         [non-C99-based standards] (j0l): Likewise.
55327         [non-C99-based standards] (j1l): Likewise.
55328         [non-C99-based standards] (jnl): Likewise.
55329         [non-C99-based standards] (lgammal): Likewise.
55330         [non-C99-based standards] (tgammal): Likewise.
55331         [non-C99-based standards] (y0l): Likewise.
55332         [non-C99-based standards] (y1l): Likewise.
55333         [non-C99-based standards] (ynl): Likewise.
55334         [non-C99-based standards] (isnanl): Likewise.
55335         [non-C99-based standards] (acoshl): Likewise.
55336         [non-C99-based standards] (asinhl): Likewise.
55337         [non-C99-based standards] (atanhl): Likewise.
55338         [non-C99-based standards] (cbrtl): Likewise.
55339         [non-C99-based standards] (expm1l): Likewise.
55340         [non-C99-based standards] (ilogbl): Likewise.
55341         [non-C99-based standards] (log1pl): Likewise.
55342         [non-C99-based standards] (logbl): Likewise.
55343         [non-C99-based standards] (nextafterl): Likewise.
55344         [non-C99-based standards] (remainderl): Likewise.
55345         [non-C99-based standards] (rintl): Likewise.
55346         [non-C99-based standards] (scalbl): Likewise.
55347         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55348         [non-C99-based standards] (FP_*): Do not allow.
55349         [C99-based standards] (FP_*): Change to
55350         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55351         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55352         allow.
55353         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
55354         (SIG_ERR): Likewise.
55355         [X/Open-based standards] (SIG_HOLD): Likewise.
55356         (SIG_IGN): Likewise.
55357         (SIGABRT): Use macro-int-constant.  Specify type.  Require
55358         positive value.
55359         (SIGFPE): Likewise.
55360         (SIGILL): Likewise.
55361         (SIGINT): Likewise.
55362         (SIGSEGV): Likewise.
55363         (SIGTER): Likewise.
55364         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
55365         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
55366         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
55367         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
55368         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
55369         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
55370         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
55371         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
55372         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
55373         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
55374         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
55375         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
55376         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
55377         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
55378         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
55379         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
55380         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
55381         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
55382         [X/Open-based standards] (SIGTRAP): Likewise.
55383         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
55384         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
55385         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
55386         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
55387         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55388         allow.
55389
55390 2012-05-08  Ian Wienand  <ianw@vmware.com>
55391
55392         [BZ #14080]
55393         * time/tzset.c (__tzset_parse_tz): Update default rules for
55394         daylight time changes in the Energy Policy Act of 2005.
55395
55396 2012-05-09  Andreas Jaeger  <aj@suse.de>
55397
55398         [BZ #13983]
55399         * elf/ldconfig.c (parse_conf): Change string to make clear that
55400         ldconfig only issued a warning if ld.so.conf does not exist.
55401
55402 2012-05-08  David S. Miller  <davem@davemloft.net>
55403
55404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
55405         movxtod instead of popping the value on the stack.
55406
55407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55408
55409 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
55410
55411         * config.h.in: Add HAVE_ARM_PCS_VFP.
55412
55413 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
55414
55415         [BZ #13979]
55416         * include/features.h: Warn if user requests __FORTIFY_SOURCE
55417         checking but the checks are disabled for any reason.
55418
55419 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
55420
55421         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
55422         and ELF64_R_TYPE with ELFW(R_TYPE).
55423
55424 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
55425
55426         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
55427         (ulimit): Likewise.
55428
55429         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
55430         (settimeofday): Likewise.
55431
55432 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
55433
55434         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
55435         a struct th_u2 inside the union, and move tu_block/tu_code into
55436         a new th_u3 union of tu_block/tu_code inside of that.  Move
55437         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
55438         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
55439         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
55440         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
55441         (th_stuff): Change to th_u1.tu_stuff.
55442         (th_data): Define.
55443         (th_msg): Change to th_u1.th_u2.tu_data.
55444
55445 2012-05-07  David S. Miller  <davem@davemloft.net>
55446
55447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55448
55449         [BZ #14074]
55450         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
55451         (SETUP_PIC_REG): Use it.
55452         (SETUP_PIC_REG_LEAF): Use it.
55453
55454 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
55455
55456         [BZ #13885]
55457         [BZ #13923]
55458         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55459         USE_AS_EXPM1L.
55460         (EXPL_FINITE): Likewise.
55461         (FLDLOG): Likewise.
55462         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55463         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55464         e_expl.S.
55465         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55466         USE_AS_EXPM1L.
55467         (EXPL_FINITE): Likewise.
55468         (FLDLOG): Likewise.
55469         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55470         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55471         e_expl.S.
55472         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
55473         test of -max_value argument for long double.
55474         * sysdeps/i386/fpu/libm-test-ulps: Update.
55475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55476
55477 2012-05-06  David S. Miller  <davem@davemloft.net>
55478
55479         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
55480         quad soft-float symbols whose references which are compiler
55481         generated.
55482         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55483
55484 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
55485
55486         [BZ #13884]
55487         [BZ #13914]
55488         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55489         USE_AS_EXP10L.
55490         (EXPL_FINITE): Likewise.
55491         (FLDLOG): Likewise.
55492         (c0): Likewise.
55493         (c1): Likewise.
55494         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55495         Adjust comments for base varying.
55496         (__expl_finite): Change alias to EXPL_FINITE.
55497         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
55498         e_expl.S.
55499         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
55500         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
55501         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55502         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
55503         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55504         USE_AS_EXP10L.
55505         (EXPL_FINITE): Likewise.
55506         (FLDLOG): Likewise.
55507         (c0): Likewise.
55508         (c1): Likewise.
55509         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55510         Adjust comments for base varying.
55511         (__expl_finite): Change alias to EXPL_FINITE.
55512         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
55513         tests for bugs.
55514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55515
55516         [BZ #14064]
55517         * math/libm-test.inc (check_float_internal): Correct ulp
55518         calculation for subnormal expected results.
55519
55520 2012-05-06  Andreas Jaeger  <aj@suse.de>
55521
55522         * Makeconfig (+math-flags): New, set to -frounding-math.
55523         (+cflags): Add +math-flags so that all of glibc gets compiled with
55524         it.
55525
55526         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
55527
55528 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
55529
55530         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
55531         Disable one test.
55532
55533         [BZ #13787]
55534         [BZ #13922]
55535         [BZ #14036]
55536         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
55537         (__ieee754_expl): Allow for and saturate large arguments.
55538         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
55539         (u_threshold): Likewise.
55540         (__exp): Call __ieee754_exp before checking for overflow and
55541         underflow.
55542         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
55543         (u_threshold): Likewise.
55544         (__expf): Call __ieee754_expf before checking for overflow and
55545         underflow.
55546         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
55547         (u_threshold): Likewise.
55548         (__expl): Call __ieee754_expl before checking for overflow and
55549         underflow.
55550         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
55551         (__ieee754_expl): Allow for and saturate large arguments.
55552         * math/libm-test.inc (exp_test): Add another test.  Do not allow
55553         missing overflow exception on overflow.
55554         (expm1_test): Do not allow missing overflow exception on overflow.
55555
55556         * sysdeps/i386/fpu/e_expl.c: Move to ...
55557         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
55558         rather than using inline asm.
55559         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
55560         * sysdeps/x86_64/fpu/e_expl.S: Copy from
55561         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
55562
55563         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
55564         (nice): Likewise.
55565         (poll): Likewise.
55566         (signal): Likewise.
55567         (time): Likewise.
55568         (times): Likewise.
55569
55570 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55571
55572         * sysdeps/unix/syscalls.list (adjtime): Add entry from
55573         sysdeps/unix/common/syscalls.list.
55574         (fchmod): Likewise.
55575         (fchown): Likewise.
55576         (ftruncate): Likewise.
55577         (getrusage): Likewise.
55578         (gettimeofday): Likewise.
55579         (setpgid): Likewise.
55580         (setregid): Likewise.
55581         (setreuid): Likewise.
55582         (sigaction): Likewise.
55583         (truncate): Likewise.
55584         (vhangup): Likewise.
55585         * sysdeps/unix/common/syscalls.list: Remove file.
55586         * sysdeps/unix/bsd/Implies: Don't include unix/common.
55587         * sysdeps/unix/sysv/linux/Implies: Likewise.
55588
55589 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
55590
55591         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
55592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
55593         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
55594         Moved to ...
55595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
55596         Here.
55597         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
55598         to ...
55599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
55600         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
55601         to ...
55602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
55603         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
55604         to ...
55605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
55606         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
55607         to ...
55608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
55609         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
55610         to ...
55611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
55612         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
55613         to ...
55614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
55615         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
55616         to ...
55617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55618         Here.
55619         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
55620         to ...
55621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
55622         Here.
55623         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
55624         to ...
55625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
55626         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
55627         Moved to ...
55628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
55629         Here.
55630         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
55631         to ...
55632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
55633
55634 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55635
55636         * sysdeps/unix/common/bits/dirent.h: Remove file.
55637         * sysdeps/unix/common/bits/fcntl.h: Likewise.
55638
55639         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
55640         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
55641         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
55642         * sysdeps/unix/bsd/isatty.c: Likewise.
55643         * sysdeps/unix/bsd/tcdrain.c: Likewise.
55644         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
55645         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
55646
55647 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55648
55649         [BZ #13563]
55650         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
55651         long double comparison inaccuracies.
55652         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55654
55655 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
55656
55657         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
55658         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
55659
55660 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55661
55662         [BZ #14049]
55663         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
55664         nonzero digits before rounding a hex value.
55665         * stdlib/tst-strtod.c (tests): Add another test.
55666
55667 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55668
55669         * sysdeps/s390/fpu/libm-test-ulps: Update.
55670
55671 2012-05-03  Andreas Jaeger  <aj@suse.de>
55672
55673         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
55674         does not get optimized out.
55675         (malloc_opt_barrier): New.
55676
55677 2012-05-03  Andreas Jaeger  <aj@suse.de>
55678             Roland McGrath  <roland@hack.frob.com>
55679
55680         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
55681         intermediate file deletion.
55682         (generated): Add .symlist files.
55683
55684 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
55685
55686         [BZ #13775]
55687         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
55688         Redirect under this condition.
55689         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55690         [__USE_GNU] (__dprintf_chk): Not under this condition.
55691         [__USE_GNU] (__vdprintf_chk): Likewise.
55692         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
55693         under this condition.
55694         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55695         [__USE_XOPEN2K8] (dprintf): Define under this condition.
55696         [__USE_XOPEN2K8] (vdprintf): Likewise.
55697         [__USE_GNU] (__dprintf_chk): Not under this condition.
55698         [__USE_GNU] (__vdprintf_chk): Likewise.
55699         [__USE_GNU] (dprintf): Likewise.
55700         [__USE_GNU] (vdprintf): Likewise.
55701
55702 2012-05-03  Roland McGrath  <roland@hack.frob.com>
55703
55704         * elf/Makefile (common-generated): Set this instead of generated for
55705         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
55706         $(all-built-dso)-derived lists.
55707
55708 2012-05-03  Andreas Jaeger  <aj@suse.de>
55709
55710         * sysdeps/i386/fpu/libm-test-ulps: Update.
55711
55712         * FAQ: Removed.
55713         * FAQ.in: Likewise.
55714         * scripts/gen-FAQ.pl: Likewise.
55715         * manual/install.texi (Installation): Point to online location of
55716         FAQ.
55717         * Makefile (files-for-dist): Remove FAQ.
55718         (FAQ): Remove.
55719
55720 2012-05-02  Allan McRae  <allan@archlinux.org>
55721
55722         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
55723         (LDFLAGS-reldepmod5.so): Likewise.
55724         (LDFLAGS-reldep6mod1.so): Likewise.
55725         (LDFLAGS-reldep6mod4.so): Likewise.
55726         (LDFLAGS-reldep8mod3.so): Likewise.
55727         (LDFLAGS-unload4mod1.so): Likewise.
55728         (LDFLAGS-unload4mod2.so): Likewise.
55729         (LDFLAGS-tst-initorder): Likewise.
55730         (LDFLAGS-tst-initordera2.so): Likewise.
55731         (LDFLAGS-tst-initordera3.so): Likewise.
55732         (LDFLAGS-tst-initordera4.so): Likewise.
55733         (LDFLAGS-tst-initorderb2.so): Likewise.
55734         (LDFLAGS-noload): Likewise.
55735         (LDFLAGS-next): Likewise.
55736         (LDFLAGS-order2mod1.so): Likewise.
55737         (LDFLAGS-order2mod2.so): Likewise.
55738         (LDFLAGS-tst-initorder2): Likewise.
55739         (LDFLAGS-tst-initorder2a.so): Likewise.
55740         (LDFLAGS-tst-initorder2b.so): Likewise.
55741         (LDFLAGS-tst-initorder2c.so): Likewise.
55742         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
55743
55744 2012-05-02  David S. Miller  <davem@davemloft.net>
55745
55746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55747
55748 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
55749
55750         [BZ #14055]
55751         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
55752
55753 2012-05-02  Andreas Jaeger  <aj@suse.de>
55754
55755         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
55756         since we manipulate rounding mode.
55757         (CPPFLAGS-test-idouble.c): Likewise.
55758         (CPPFLAGS-test-ifloat.c): Likewise.
55759         (CFLAGS-test-ldouble.c): Likewise.
55760         (CFLAGS-test-double.c): Likewise.
55761         (CFLAGS-test-float.c): Likewise.
55762         (CFLAGS-test-misc.c): Likewise.
55763         (CFLAGS-test-test-fenv.c): Likewise.
55764
55765 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55766
55767         [BZ #2550]
55768         [BZ #2570]
55769         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
55770         comparisons to determine direction to adjust input.
55771
55772 2012-05-01  Roland McGrath  <roland@hack.frob.com>
55773
55774         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
55775         output to the target.
55776
55777         * scripts/localplt.awk: New file.
55778         * elf/Makefile ($(objpfx)check-localplt): Target removed.
55779         (check-localplt-CFLAGS): Variable removed.
55780         ($(all-built-dso:=.jmprel)): New static pattern rule.
55781         (generated): Add those targets.
55782         (localplt-built-dso): New variable.
55783         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
55784
55785         * elf/check-localplt.c: File removed.
55786
55787         * scripts/check-execstack.awk: New file.
55788         * elf/Makefile ($(objpfx)check-execstack): Target removed.
55789         (check-execstack-CFLAGS): Variable removed.
55790         ($(objpfx)check-execstack.h): Target removed.
55791         ($(objpfx)execstack-default): New target.
55792         (generated): Add that instead of check-execstack.h.
55793         ($(all-built-dso:=.phdr)): New static pattern rule.
55794         (generated): Add those targets.
55795         * elf/check-execstack.c: File removed.
55796
55797         * scripts/check-textrel.awk: New file.
55798         * elf/Makefile ($(objpfx)check-textrel): Target removed.
55799         (check-textrel-CFLAGS): Variable removed.
55800         (all-built-dso): Use := to define.o
55801         ($(all-built-dso:=.dyn)): New static pattern rule.
55802         (generated): Add those targets.
55803         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
55804         * config.make.in (READELF): New substituted variable.
55805         * elf/check-textrel.c: File removed.
55806
55807 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
55808
55809         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55810         allow.
55811         * conform/data/ctype.h-data [C99-based standards] (isblank):
55812         Expect function.
55813         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
55814         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
55815         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55816         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
55817         Specify type.  Require positive value.
55818         (EILSEQ): Likewise.
55819         (ERANGE): Likewise.
55820         [ISO || POSIX] (EILSEQ): Do not expect.
55821         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
55822         Specify type.  Require positive value.
55823         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
55824         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
55825         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
55826         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
55827         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
55828         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
55829         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
55830         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
55831         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
55832         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
55833         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
55834         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
55835         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
55836         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
55837         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
55838         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
55839         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
55840         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
55841         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
55842         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
55843         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
55844         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
55845         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
55846         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
55847         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
55848         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
55849         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
55850         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
55851         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
55852         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
55853         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
55854         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
55855         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
55856         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
55857         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
55858         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
55859         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
55860         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
55861         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
55862         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
55863         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
55864         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
55865         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
55866         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
55867         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
55868         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
55869         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
55870         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
55871         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
55872         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
55873         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
55874         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
55875         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
55876         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
55877         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
55878         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
55879         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
55880         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
55881         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
55882         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
55883         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
55884         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
55885         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
55886         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
55887         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
55888         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
55889         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
55890         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
55891         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
55892         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
55893         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
55894         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
55895         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
55896         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
55897         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
55898         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
55899         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
55900         Require >= 2.
55901         (FLT_ROUNDS): Expect as macro, not constant.
55902         (FLT_MANT_DIG): Use macro-int-constant.
55903         (DBL_MANT_DIG): Likewise.
55904         (LDBL_MANT_DIG): Likewise.
55905         (FLT_DIG): Likewise.
55906         (DBL_DIG): Likewise.
55907         (LDBL_DIG): Likewise.
55908         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
55909         (DBL_MIN_EXP): Likewise.
55910         (LDBL_MIN_EXP): Likewise.
55911         (FLT_MAX_EXP): Use macro-int-constant.
55912         (DBL_MAX_EXP): Likewise.
55913         (LDBL_MAX_EXP): Likewise.
55914         (FLT_MAX_10_EXP): Likewise.
55915         (DBL_MAX_10_EXP): Likewise.
55916         (LDBL_MAX_10_EXP): Likewise.
55917         (FLT_MAX): Use macro-constant.
55918         (DBL_MAX): Likewise.
55919         (LDBL_MAX): Likewise.
55920         (FLT_EPSILON): Use macro-constant.  Give upper bound.
55921         (DBL_EPSILON): Likewise.
55922         (LDBL_EPSILON): Likewise.
55923         (FLT_MIN): Likewise.
55924         (DBL_MIN): Likewise.
55925         (LDBL_MIN): Likewise.
55926         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
55927         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
55928         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
55929         [ISO11] (FLT_HAS_SUBNORM): Likewise.
55930         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
55931         [ISO11] (DBL_DECIMAL_DIG): Likewise.
55932         [ISO11] (FLT_DECIMAL_DIG): Likewise.
55933         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
55934         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
55935         [ISO11] (FLT_TRUE_MIN): Likewise.
55936         [ISO11] (LDBL_TRUE_MIN): Likewise.
55937         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55938         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
55939         (SCHAR_MIN): Use macro-int-constant.  Specify type.
55940         (SCHAR_MAX): Likewise.
55941         (UCHAR_MAX): Likewise.
55942         (CHAR_MIN): Likewise.
55943         (CHAR_MAX): Likewise.
55944         (MB_LEN_MAX): Use macro-int-constant.
55945         (SHRT_MIN): Use macro-int-constant.  Specify type.
55946         (SHRT_MAX): Likewise.
55947         (USHRT_MAX): Likewise.
55948         (INT_MAX): Likewise.
55949         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
55950         bound negative.
55951         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55952         bound with "U".
55953         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55954         bound with "L".
55955         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
55956         bound negative.  Suffix upper bound with "L".
55957         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55958         bound with "UL".
55959         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
55960         Specify type.
55961         [C99-based standards] (LLONG_MAX): Likewise.
55962         [C99-based standards] (ULLONG_MAX): Likewise.
55963         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
55964         == 0.
55965         [ISO11] (max_align_t): Require type.
55966         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55967
55968         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
55969         from $CFLAGS, without defining away __attribute__ calls.
55970         (checknamespace): Use $CFLAGS_namespace.
55971
55972         * conform/conformtest.pl (@keywords): Only include C99 keywords
55973         for standards based on C99 or C11.
55974
55975         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
55976         Disable tests.
55977         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
55978         UNIX98]: Likewise.
55979
55980         * conform/conformtest.pl: Handle "macro-int-constant" and test for
55981         usability of symbols in #if.
55982
55983         * conform/conformtest.pl: If macro or constant types start
55984         "promoted:", expect the symbol to be of the following type
55985         promoted by the integer promotions.
55986
55987         * conform/conformtest.pl: Parse all "constant" and "macro" lines
55988         in one place.  Also handle "macro-constant".
55989
55990         * conform/conformtest.pl: Only accept expected macro values with
55991         "==".  Parse all "macro" lines in one place.
55992         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
55993
55994         * conform/conformtest.pl: Handle braced types on "constant" lines
55995         instead of handling "typed-constant".
55996         * conform/data/signal.h-data: Use "constant" instead of
55997         "typed-constant".
55998
55999         * conform/conformtest.pl: Handle "optional-" at start of lines in
56000         one place rather than duplicating several cases.  Handle each
56001         format of "macro" line with initial "optional-".
56002
56003         * conform/conformtest.pl: Only accept expected constant or
56004         optional-constant values with "==".  Parse all "constant" lines in
56005         one place.  Parse all "optional-constant" lines in one place.
56006         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56007         * conform/data/fmtmsg.h-data: Likewise.
56008         * conform/data/netinet/in.h-data: Likewise.
56009         * conform/data/tar.h-data: Likewise.
56010         * conform/data/limits.h-data: Use "==" form on "constant" and
56011         "optional-constant" lines.
56012
56013         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56014         Use -std=c99 for XOPEN2K.
56015         (@knownproblems): Remove.
56016         (newtoken): Don't check %isknown.
56017
56018         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56019         Do not expect macro.
56020         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56021         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56022         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56023         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56024         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56025         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56026         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56027         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56028         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56029         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56030         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56031         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56032         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56033         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56034         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56035         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56036         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56037         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56038         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56039         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56040         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56041         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56042         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56043         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56044         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56045         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56046         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56047         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56048         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56049         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56050         [XPG3] (acosh): Likewise.
56051         [XPG3] (asinh): Likewise.
56052         [XPG3] (atanh): Likewise.
56053         [XPG3] (cbrt): Likewise.
56054         [XPG3] (expm1): Likewise.
56055         [XPG3] (ilogb): Likewise.
56056         [XPG3] (log1p): Likewise.
56057         [XPG3] (logb): Likewise.
56058         [XPG3] (nextafter): Likewise.
56059         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56060         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56061         [XPG3] (remainder): Likewise.
56062         [XPG3] (rint): Likewise.
56063         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56064         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56065         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56066         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56067         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56068         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56069         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56070         [UNIX98 || XOPEN2K] (scalb): Expect.
56071         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56072         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56073         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56074         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56075         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56076         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56077         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56078         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56079         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56080         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56081         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56082         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56083         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56084         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56085         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56086         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56087         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56088         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56089         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56090         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56091         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56092         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56093         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56094         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56095         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56096         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56097         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56098         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56099         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56100         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56101         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56102         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56103         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56104         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56105         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56106         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56107         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56108         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56109         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56110         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56111         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56112         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56113         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56114         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56115         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56116         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56117         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56118         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56119         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56120         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56121         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56122         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56123         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56124         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56125         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56126         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56127         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56128         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56129         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56130         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56131         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56132         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56133         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56134         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56135         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56136         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56137         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56138         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56139         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56140         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56141         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56142         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56143         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56144         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56145         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56146         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56147         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56148         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56149         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56150         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56151         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56152         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56153         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56154         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56155         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56156         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56157         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56158         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56159         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56160         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56161         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56162         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56163         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56164         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56165         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56166         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56167         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56168         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56169         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56170         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56171         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56172         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56173         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56174         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56175         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56176         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56177         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56178         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
56179         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
56180         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
56181         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
56182         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
56183         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
56184         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
56185         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
56186         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
56187         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
56188         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
56189         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
56190         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
56191         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
56192         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
56193         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
56194         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
56195         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
56196         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
56197         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
56198         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
56199         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
56200         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
56201         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
56202         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
56203         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
56204         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
56205         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
56206         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
56207         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
56208
56209         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
56210         _XOPEN_SOURCE_EXTENDED for XPG4.
56211
56212         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
56213
56214         * Makeconfig (localtime): Remove variable.
56215         (inst_localtime-file): Likewise.
56216
56217 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56218
56219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
56220         Update.
56221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56222         Update.
56223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
56224         Update.
56225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56226         Update.
56227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
56228         Update.
56229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
56230         Update.
56231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56232         Update.
56233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
56234         Update.
56235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56236         Update.
56237
56238 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56239
56240         [BZ #2550]
56241         [BZ #2570]
56242         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
56243         comparisons to determine direction to adjust input.
56244         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
56245         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
56246         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
56247         Likewise.
56248         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
56249         Likewise.
56250         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56251         Likewise.
56252         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
56253         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
56254         Likewise.
56255         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
56256         Likewise.
56257         * math/libm-test.inc (nexttoward_test): Add more tests.
56258
56259 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56260
56261         [BZ #14040]
56262         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
56263         in version GLIBC_2.1, not GLIBC_2.0.
56264         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56265         Likewise.
56266
56267 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
56268
56269         [BZ #13942]
56270         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
56271         (1 - x) * (1 + x).
56272         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56273         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
56274         * math/libm-test.inc (acos_test): Add more tests.
56275         (asin_test): Likewise.
56276         * sysdeps/i386/fpu/libm-test-ulps: Update.
56277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56278
56279         [BZ #14034]
56280         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
56281         of square root.
56282         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
56283         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56284         * math/libm-test.inc (acos_test_tonearest): New function.
56285         (acos_test_towardzero): Likewise.
56286         (acos_test_downward): Likewise.
56287         (acos_test_upward): Likewise.
56288         (asin_test_tonearest): Likewise.
56289         (asin_test_towardzero): Likewise.
56290         (asin_test_downward): Likewise.
56291         (asin_test_upward): Likewise.
56292         (main): Call the new functions.
56293         * sysdeps/i386/fpu/libm-test-ulps: Update.
56294         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56295
56296         [BZ #13884]
56297         [BZ #13924]
56298         * math/e_exp10.c: Include <float.h>.
56299         (__ieee754_exp10): Handle underflow here rather than multiplying
56300         large negative argument by M_LN10.
56301         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
56302         of __ieee754_expf.
56303         * math/e_exp10l.c: Include <float.h>.
56304         (__ieee754_exp10l): Handle underflow here rather than multiplying
56305         large negative argument by M_LN10l.
56306         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
56307         spurious overflow exception on underflow.
56308
56309 2012-04-29  Marek Polacek  <polacek@redhat.com>
56310
56311         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
56312         (__fortify_function): New macro.
56313         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
56314         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
56315         __extern_always_inline.
56316         * libio/bits/stdio2.h: Likewise.
56317         * libio/bits/stdio.h: Likewise.
56318         * string/string.h: Likewise.
56319         * string/bits/string3.h: Likewise.
56320         * include/stdio.h: Likewise.
56321         * stdlib/bits/stdlib.h: Likewise.
56322         * stdlib/stdlib.h: Likewise.
56323         * rt/bits/mqueue2.h: Likewise.
56324         * rt/mqueue.h: Likewise.
56325         * posix/bits/unistd.h: Likewise.
56326         * posix/unistd.h: Likewise.
56327         * io/bits/poll2.h: Likewise.
56328         * io/bits/fcntl2.h: Likewise.
56329         * io/fcntl.h: Likewise.
56330         * io/sys/poll.h: Likewise.
56331         * misc/bits/syslog.h: Likewise.
56332         * misc/bits/syslog-ldbl.h: Likewise.
56333         * misc/sys/syslog.h: Likewise.
56334         * socket/bits/socket2.h: Likewise.
56335         * socket/sys/socket.h: Likewise.
56336         * debug/tst-chk1.c: Likewise.
56337         * wcsmbs/bits/wchar2.h: Likewise.
56338         * wcsmbs/bits/wchar-ldbl.h: Likewise.
56339         * wcsmbs/wchar.h: Likewise.
56340
56341 2012-04-29  Andreas Jaeger  <aj@suse.de>
56342
56343         * Makerules (tests): Remove enable-check-abi protection.
56344         (check-abi-warn): Remove.
56345         (check-abi-%): Remove check-abi-warn usage.
56346
56347         * configure.in: Remove check-abi configure option.
56348         * configure: Regenerated.
56349         * config.make.in (enable-check-abi): Remove.
56350
56351 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
56352
56353         [BZ #14033]
56354         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
56355         double functions to double *_finite functions.
56356
56357         [BZ #13941]
56358         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
56359         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
56360         LDBL_MIN_EXP.
56361         * stdio-common/Makefile (tests): Add tst-sprintf3.
56362         * stdio-common/tst-sprintf3.c: New file.
56363
56364         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56365         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
56366
56367 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56368
56369         * conform/conformtest.pl: Remove duplicate typed-constant
56370         handling.
56371
56372 2012-04-28  David S. Miller  <davem@davemloft.net>
56373
56374         * Makerules (%.abilist): Add vpath on sysdep_dirs.
56375         (check-abi-%): Remove AWK script prerequisite and explicit
56376         abilist directory.
56377         (check-abi): Rewrite to just diff the symlist with the abilist.
56378         (config-tls, config-abi-config): Delete, no longer used.
56379         (update-abi-%): Remove AWK script and explicit abilist directory.
56380         (update-abi): Rewrite to simply compare and conditionally copy the
56381         symlist and the sysdep abilist file.  Remove update-abi-config
56382         checks.
56383         * abilist/ld.abilist: Remove.
56384         * abilist/libBrokenLocale.abilist: Remove.
56385         * abilist/libanl.abilist: Remove.
56386         * abilist/libcrypt.abilist: Remove.
56387         * abilist/libdl.abilist: Remove.
56388         * abilist/librt.abilist: Remove.
56389         * abilist/libthread_db.abilist: Remove.
56390         * abilist/libutil.abilist: Remove.
56391         * scripts/extract-abilist.awk: Remove.
56392         * scripts/merge-abilist.awk: Remove.
56393         * sysdeps/generic/libcidn.abilist: New file.
56394         * sysdeps/generic/libnss_compat.abilist: New file.
56395         * sysdeps/generic/libnss_db.abilist: New file.
56396         * sysdeps/generic/libnss_dns.abilist: New file.
56397         * sysdeps/generic/libnss_files.abilist: New file.
56398         * sysdeps/generic/libnss_hesiod.abilist: New file.
56399         * sysdeps/generic/libnss_nis.abilist: New file.
56400         * sysdeps/generic/libnss_nisplus.abilist: New file.
56401         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
56402         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
56403         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
56404         file.
56405         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
56406         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56407         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
56408         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
56409         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
56410         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
56411         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
56412         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
56413         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
56414         file.
56415         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
56416         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
56417         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
56418         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
56419         file.
56420         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
56421         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56422         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
56423         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
56424         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
56425         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
56426         file.
56427         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
56428         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
56429         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
56430         file.
56431         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
56432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
56433         New file.
56434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
56435         New file.
56436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
56437         New file.
56438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
56439         New file.
56440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
56441         New file.
56442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
56443         New file.
56444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
56445         New file.
56446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
56447         New file.
56448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
56449         New file.
56450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
56451         New file.
56452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
56453         New file.
56454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
56455         New file.
56456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
56457         New file.
56458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
56459         file.
56460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
56461         New file.
56462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
56463         New file.
56464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
56465         file.
56466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
56467         New file.
56468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
56469         New file.
56470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
56471         file.
56472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
56473         New file.
56474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56475         New file.
56476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
56477         New file.
56478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
56479         New file.
56480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
56481         New file.
56482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
56483         New file.
56484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
56485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
56486         file.
56487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
56488         New file.
56489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
56490         file.
56491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
56492         file.
56493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
56494         file.
56495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
56496         file.
56497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
56498         file.
56499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56500         New file.
56501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
56502         file.
56503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
56504         file.
56505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
56506         New file.
56507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
56508         file.
56509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
56510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
56511         file.
56512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
56513         New file.
56514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
56515         file.
56516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
56517         file.
56518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
56519         file.
56520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
56521         file.
56522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
56523         file.
56524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56525         New file.
56526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
56527         file.
56528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
56529         file.
56530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
56531         New file.
56532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
56533         file.
56534         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56535         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
56536         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
56537         file.
56538         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
56539         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
56540         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
56541         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
56542         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
56543         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
56544         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
56545         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
56546         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
56547         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
56548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
56549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
56550         file.
56551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
56552         New file.
56553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
56554         file.
56555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
56556         file.
56557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
56558         file.
56559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
56560         file.
56561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
56562         file.
56563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56564         New file.
56565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
56566         New file.
56567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
56568         file.
56569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
56570         New file.
56571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
56572         file.
56573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
56574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
56575         file.
56576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
56577         New file.
56578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
56579         file.
56580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
56581         file.
56582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
56583         file.
56584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
56585         file.
56586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
56587         file.
56588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56589         New file.
56590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
56591         New file.
56592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
56593         file.
56594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
56595         New file.
56596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
56597         file.
56598
56599 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56600
56601         * conform/conformtest.pl: Fix typo in handling typed-constant from
56602         allow-header.
56603
56604 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56605
56606         * README: Cut down references to pre-2.6 Linux kernels and
56607         Linuxthreads.  Update lists of configurations in libc and ports
56608         and sort alphabetically.  Say "or newer" with Linux kernel version
56609         requirements.
56610
56611         * config.h.in [IS_IN_build]: Allow compiling without optimization.
56612
56613 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56614
56615         [BZ #887]
56616         * math/libm-test.inc (logb_test_downward): New test to expose
56617         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
56618         rounding mode.
56619
56620 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56621
56622         [BZ #14027]
56623         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
56624         to be done.
56625         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
56626         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
56627
56628 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
56629
56630         * sysdeps/unix/i386/brk.S: Remove file.
56631         * sysdeps/unix/i386/dl-brk.S: Likewise.
56632         * sysdeps/unix/i386/pipe.S: Likewise.
56633         * sysdeps/unix/i386/sigreturn.S: Likewise.
56634         * sysdeps/unix/i386/syscall.S: Likewise.
56635         * sysdeps/unix/i386/vfork.S: Likewise.
56636         * sysdeps/unix/i386/wait.S: Likewise.
56637
56638         * sysdeps/unix/common/tcsendbrk.c: Move to ...
56639         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
56640
56641         * configure.in (arm*-none*): Do not allow without
56642         --enable-hacker-mode.
56643         (netbsd*): Remove case setting base_os.
56644         (386bsd*): Likewise.
56645         (freebsd*): Likewise.
56646         (bsdi*): Likewise.
56647         (osf*): Likewise.
56648         (sunos*): Likewise.
56649         (ultrix*): Likewise.
56650         (newsos*): Likewise.
56651         (dynix*): Likewise.
56652         (*bsd*): Likewise.
56653         (sysv*): Likewise.
56654         (isc*): Likewise.
56655         (esix*): Likewise.
56656         (sco*): Likewise.
56657         (minix*): Likewise.
56658         (irix4*): Likewise.
56659         (irix6*): Likewise.
56660         (solaris[2-9]*): Likewise.
56661         (none): Likewise.
56662         * configure: Regenerated.
56663
56664 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56665
56666         [BZ #11521]
56667         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
56668         overflow or cancellation in calculating denominator.
56669         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
56670         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
56671         down expression to avoid unexpected rounding in newer GCCs.
56672         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
56673
56674 2012-04-26  David S. Miller  <davem@davemloft.net>
56675
56676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
56677         long-double compat symbols.
56678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
56682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
56684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
56685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
56686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
56687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
56688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
56689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
56690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56691
56692 2012-04-25  David S. Miller  <davem@davemloft.net>
56693
56694         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
56695         HWCAP_* values only after the memory barriers have been defined.
56696         (atomic_full_barrier): Define.
56697         (atomic_read_barrier): Define.
56698         (atomic_write_barrier): Define.
56699
56700 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56701
56702         * shlib-versions: Add libgcc_s version information.
56703         * sysdeps/generic/libgcc_s.h: Remove.
56704         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
56705         libgcc_s.h.
56706         * sysdeps/gnu/unwind-resume.c: Likewise.
56707         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
56708
56709 2012-04-25  David S. Miller  <davem@davemloft.net>
56710
56711         * sysdeps/unix/sparc/brk.S: Delete.
56712         * sysdeps/unix/sparc/dl-brk.S: Delete.
56713         * sysdeps/unix/sparc/pipe.S: Delete.
56714         * sysdeps/unix/sparc/sysdep.S: Delete.
56715         * sysdeps/unix/sparc/sysdep.h: Delete.
56716         * sysdeps/unix/sparc/vfork.S: Delete.
56717         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
56718         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
56719         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
56720         (ret_ERRVAL, r0, r1, MOVE): Define.
56721         (JUMPTARGET): Remove.
56722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
56723         sysdeps/unix/sparc/sysdep.h
56724         (ENTRY, END): Remove.
56725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56726
56727 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
56728
56729         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
56730         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
56731         -DIS_IN_build.
56732
56733         * timezone/README: Update upstream location and email address for
56734         tzcode and tzdata.
56735         * timezone/zdump.c: Update from tzcode 2012b.
56736         * timezone/zic.c: Likewise.
56737
56738         * configure.in (libc_cv_as_needed): Remove test.
56739         * configure: Regenerated.
56740         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
56741         conditional definition.
56742         [$(have-as-needed) != yes] (no-as-needed): Likewise.
56743         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
56744         * config.make.in (have-as-needed): Remove variable.
56745
56746 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56747             Paul Pluzhnikov  <ppluzhnikov@google.com>
56748
56749         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
56750         strings correctly.
56751
56752 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
56753
56754         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
56755         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
56756         * sysdeps/sh/strlen.S: Likewise.
56757
56758 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56759
56760         * sysdeps/unix/fork.S: Remove file.
56761         * sysdeps/unix/i386/fork.S: Likewise.
56762         * sysdeps/unix/sparc/fork.S: Likewise.
56763
56764         * sysdeps/unix/system.c: Remove file.
56765         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
56766
56767         * sysdeps/unix/getegid.S: Remove file.
56768         * sysdeps/unix/geteuid.S: Likewise.
56769
56770 2012-04-24  Roland McGrath  <roland@hack.frob.com>
56771
56772         * scripts/check-localplt.awk: New file.
56773         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
56774         of diff.
56775         * scripts/data/localplt-generic.data: Add a comment.
56776
56777         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
56778         NODE when __dir_mkfile failed.
56779         * sysdeps/mach/hurd/symlinkat.c: Likewise.
56780         Reported by Ludovic Courtès <ludo@gnu.org>.
56781
56782 2012-04-24  Andreas Jaeger  <aj@suse.de>
56783
56784         * Makerules (common-clean): Also remove gen-as-const-headers
56785         files.
56786
56787 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56788
56789         * Makerules (native-compile): Do not change working directory for
56790         build.  Use $(OUTPUT_OPTION) in command.
56791         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
56792
56793 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56794
56795         [BZ #13886]
56796         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
56797         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
56798         * math/libm-test.inc (floor_test): Add more tests.
56799         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
56800
56801 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56802
56803         * sysdeps/unix/getdents.c: Remove file.
56804         * sysdeps/unix/sysv/getdents.c: Likewise.
56805         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
56806
56807         * sysdeps/unix/syscalls.list (madvise): Add syscall from
56808         sysdeps/unix/mman/syscalls.list.
56809         (mmap): Likewise.
56810         (mprotect): Likewise.
56811         (msync): Likewise.
56812         (munmap): Likewise.
56813         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
56814         * sysdeps/unix/mman/syscalls.list: Remove.
56815         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
56816
56817         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
56818         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
56819         * configure: Regenerated.
56820         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
56821         $(libgcc_s_suffix).
56822         * config.make.in (libgcc_s_suffix): Remove variable.
56823
56824 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
56825
56826         * sysdeps/unix/sysv/gethostname.c: Move to ...
56827         * sysdeps/posix/gethostname.c: ... here.
56828
56829         * sysdeps/unix/execve.S: Remove file.
56830
56831         * sysdeps/unix/_exit.S: Remove file.
56832
56833 2012-04-23  Andreas Jaeger  <aj@suse.de>
56834
56835         [BZ #13739]
56836         * manual/Makefile: Remove make dist support, there's no
56837         need for a stand-alone documentation tar ball.
56838         (TEXI2DVI): Define always, it's not in Makeconfig.
56839         (dist): Removed.
56840         (tar-it): Removed.
56841         (edition): Removed.
56842         (glibc-doc-$(edition).tar): Removed
56843         (%.Z): Removed.
56844         (%.gz): Removed.
56845         (%.uu): Removed.
56846         (ETAGS): Remove, it's in Makeconfig.
56847         (move-if-change): Remove, it's in Makeconfig.
56848
56849 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
56850
56851         [BZ #13970]
56852         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
56853         (strtod, strtof, strtold, strtol, strtoul, strtoq)
56854         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
56855         (strtod_l, strtof_l, strtold_l): Remove __wur.
56856         It is not necessarily an error to ignore strtol's return value.
56857         One can reliably look at the stored endptr to decide whether
56858         the number had valid syntax.
56859
56860 2012-04-21  Andreas Jaeger  <aj@suse.de>
56861
56862         [BZ #13739]
56863         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
56864
56865 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
56866
56867         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
56868         * sysdeps/unix/sysv/Versions: Remove file.
56869
56870 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
56871
56872         [BZ #13927]
56873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56874
56875 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
56876
56877         [BZ #7064]
56878         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
56879         version from __vm86.
56880
56881 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
56882
56883         * sysdeps/unix/common/lxstat.c: Remove file.
56884         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
56885
56886         * sysdeps/unix/sysv/Makefile: Remove file.
56887
56888         * sysdeps/unix/sysv/direct.h: Remove file.
56889
56890         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
56891         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
56892         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
56893         * sysdeps/unix/sysv/bits/signum.h: Likewise.
56894         * sysdeps/unix/sysv/bits/stat.h: Likewise.
56895         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
56896         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
56897
56898         * sysdeps/unix/sysv/setrlimit.c: Remove file.
56899
56900         * sysdeps/unix/xmknod.c: Remove file.
56901         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
56902
56903         * sysdeps/unix/sysv/settimeofday.c: Remove file.
56904
56905         * sysdeps/unix/sysv/i386/time.S: Remove file.
56906
56907         * sysdeps/unix/fxstat.c: Remove file.
56908         * sysdeps/unix/xstat.c: Likewise.
56909         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
56910
56911         * sysdeps/unix/sysv/sigaction.c: Remove file.
56912
56913         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
56914         (sysdep_headers): Remove variable.
56915         [termio.h not in sysdep_headers] (generated): Likewise.
56916         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
56917         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
56918         * sysdeps/unix/sysv/tcdrain.c: Likewise.
56919         * sysdeps/unix/sysv/tcflow.c: Likewise.
56920         * sysdeps/unix/sysv/tcflush.c: Likewise.
56921         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
56922         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
56923         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
56924         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
56925         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
56926
56927         * sysdeps/unix/siglist.c: Remove file.
56928
56929         * sysdeps/unix/getppid.S: Remove file.
56930
56931         * sysdeps/unix/mkdir.c: Remove file.
56932         * sysdeps/unix/rmdir.c: Likewise.
56933
56934 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
56935
56936         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
56937         ERR_MAX value.
56938         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
56939         errlist-compat value.
56940
56941 2012-04-18  David S. Miller  <davem@davemloft.net>
56942
56943         * sysdeps/generic/memcopy.h (reg_char): Delete.
56944         * debug/strcat_chk.c: Use char, not reg_char.
56945         * debug/strcpy_chk.c: Likewise.
56946         * debug/strncat_chk.c: Likewise.
56947         * debug/strncpy_chk.c: Likewise.
56948         * string/memchr.c: Likewise.
56949         * string/memrchr.c: Likewise.
56950         * string/rawmemchr.c: Likewise.
56951         * string/strcat.c: Likewise.
56952         * string/strchr.c: Likewise.
56953         * string/strchrnul.c: Likewise.
56954         * string/strcmp.c: Likewise.
56955         * string/strcpy.c: Likewise.
56956         * string/strncat.c: Likewise.
56957         * string/strncmp.c: Likewise.
56958         * string/strncpy.c: Likewise.
56959
56960 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
56961
56962         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
56963         __builtin_memcopy is called when src and dest ranges are known to not
56964         overlap.
56965
56966 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
56967
56968         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
56969         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
56970         fwd_align_merge macro call.
56971         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
56972         bwd_align_merge macro call.
56973         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56974
56975 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
56976
56977         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
56978         bwd_align_merge macros.
56979         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
56980         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
56981         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56982
56983 2012-04-18  David S. Miller  <davem@davemloft.net>
56984
56985         * sysdeps/sparc/sparc64/memcopy.h: Delete.
56986
56987 2012-04-18  Andreas Jaeger  <aj@suse.de>
56988
56989         [BZ# 6794]
56990         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
56991         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
56992         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56993
56994         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
56995         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
56996         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56997
56998         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
56999         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
57000         Adjust for changed ldbl-128 files.
57001
57002         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57003         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57004         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57005
57006 2012-04-17  David S. Miller  <davem@davemloft.net>
57007
57008         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57009
57010 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57011
57012         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57013         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57014         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57015         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57016         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57017         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57018
57019 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57020
57021         [BZ #6794]
57022         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57023         * math/libm-test.inc: Add ilogb errno and exception tests.
57024         * math/w_ilogb.c: New file: ilogb wrapper.
57025         * math/w_ilogbf.c: New file: ilogbf wrapper.
57026         * math/w_ilogbl.c: New file: ilogbl wrapper.
57027         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57028         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57029         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57030         exception being thrown with 0.0 as argument.
57031         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57032         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57033         exception being thrown with 0.0 as argument.
57034         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57035         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57036         exception being thrown with 0.0 as argument.
57037         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57038         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57039         exception being thrown with 0.0 as argument.
57040         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57041         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57042         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57043         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57044         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57045         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57046         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57047         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57048         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57049
57050 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57051
57052         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57053         with altivec.
57054
57055 2012-04-16  Marek Polacek  <polacek@redhat.com>
57056
57057         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57058
57059 2012-04-16  Marek Polacek  <polacek@redhat.com>
57060
57061         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57062         operands of fdivp instruction.
57063
57064 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57065
57066         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57067         * elf/tst-auditmod3b.c: Likewise.
57068         * elf/tst-auditmod4b.c: Likewise.
57069         * elf/tst-auditmod5b.c: Likewise.
57070         * elf/tst-auditmod6b.c: Likewise.
57071         * elf/tst-auditmod6c.c: Likewise.
57072         * elf/tst-auditmod7b.c: Likewise.
57073         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57074         * sysdeps/x86_64/preconfigure.in: Likewise.
57075         * sysdeps/x86_64/preconfigure: Regenerated.
57076
57077 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57078
57079         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57080         __ILP32__.
57081
57082 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57083
57084         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57085         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57086
57087 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57088
57089         [BZ #13973]
57090         * locale/iso-639.def: Fix gl language name. Spotted by
57091         Yaron Shahrabani.
57092
57093 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57094
57095         [BZ #2074]
57096         * libio/libio.h (__io_write_fn): Update comment.
57097
57098 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57099
57100         [BZ #2074]
57101         * stdio.texi (Hook Functions): The user provided writer function
57102         is not allowed to return -1.
57103
57104 2012-04-11  David S. Miller  <davem@davemloft.net>
57105
57106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57107
57108 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57109
57110         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57111         Add a leading slash to rtkaio.
57112
57113 2012-04-11  Jim Meyering  <meyering@redhat.com>
57114
57115         [BZ #11959]
57116         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57117         It is not necessarily an error to ignore fwrite's return
57118         value.  One can reliably use ferror to test for errors after
57119         the fact.
57120
57121 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57122
57123         * bits/types.h (__snseconds_t): New type.
57124         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57125
57126         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57127         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57128         (__SNSECONDS_T_TYPE): Likewise.
57129         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57130         (__SNSECONDS_T_TYPE): Likewise.
57131         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57132         (__SNSECONDS_T_TYPE): Likewise.
57133
57134 2012-04-10  Andreas Jaeger  <aj@suse.de>
57135
57136         [BZ #2636]
57137         * manual/time.texi (Processor Time): Return type of times is
57138         elapsed real time since an arbitrary point in the past.
57139         (CPU Time): Move CLK_TCK from here...
57140         (Processor Time): ...to here.  Correct description.
57141         * manual/conf.texi (Constants for Sysconf): Correct description of
57142         _SC_CLK_TCK.
57143
57144 2012-04-10  David S. Miller  <davem@davemloft.net>
57145
57146         [BZ #13967]
57147         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57148         where the is a gap between DT_REL(A) and DT_JMPREL.
57149
57150 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57151
57152         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57153         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57154         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57155
57156 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57157
57158         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57159         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57160         (dl_main): Handle --inhibit-cache.
57161         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57162         _dl_inhibit_cache.
57163         * elf/dl-load.c (_dl_map_object): Use it.
57164         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57165
57166 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57167
57168         [BZ #13872]
57169         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57170         (__ieee754_powl): Saturate large exponents rather than testing for
57171         overflow of y*log2(x).
57172         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57173         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57174         exceptions.
57175
57176         [BZ #11521]
57177         * math/s_ctan.c: Include <float.h>.
57178         (__ctan): Avoid internal overflow or cancellation in calculating
57179         denominator.
57180         * math/s_ctanf.c: Likewise.
57181         * math/s_ctanl.c: Likewise.
57182         * math/s_ctanh.c: Likewise.
57183         * math/s_ctanhf.c: Likewise.
57184         * math/s_ctanhl.c: Likewise.
57185         * math/libm-test.inc (ctan_test): Add more tests.
57186         (ctanh_test): Likewise.
57187         * sysdeps/i386/fpu/libm-test-ulps: Update.
57188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57189
57190 2012-04-09  Andreas Jaeger  <aj@suse.de>
57191
57192         [BZ #6894]
57193         * manual/filesys.texi (Directory Entries): Mention that d_namlen
57194         is an optional BSD extension.
57195
57196         [BZ #10254]
57197         * manual/stdio.texi (Opening Streams): Document additional fopen
57198         parameters.
57199
57200 2012-04-09  Roland McGrath  <roland@hack.frob.com>
57201
57202         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
57203         %eax without telling the compiler.
57204
57205 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
57206
57207         [BZ # 13963]
57208         * manual/install.texi: Use sourceware.org.
57209
57210 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57211
57212         [BZ #13873]
57213         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
57214         (__ieee754_pow): Generate overflow and underflow using huge*huge
57215         and tiny*tiny rather than just returning constant infinity or zero
57216         for large exponents.
57217         * math/libm-test.inc (pow_test): Require overflow exceptions for
57218         applicable cases of large exponents.
57219
57220         [BZ #706]
57221         * sysdeps/i386/fpu/e_pow.S (p10): New object.
57222         (__ieee754_pow): Use iterative multiplication algorithm only for
57223         integer exponents with absolute value below 1024.  Check for odd
57224         integer exponents when using algorithm for real exponents.
57225         * math/libm-test.inc (pow_test): Add more tests.
57226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57227
57228 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
57229
57230         [BZ #13705]
57231         * math/libm-test.inc (exp_test): Do not allow overflow exception
57232         on underflow test.
57233
57234 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
57235
57236         [BZ #13705]
57237         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
57238         instead of __kernel_standard_f.
57239
57240 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
57241
57242         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
57243         * sysdeps/x86_64/memset_chk.S: Likewise.
57244
57245 2012-04-08  Andreas Jaeger  <aj@suse.de>
57246
57247         [BZ #10153]
57248         * manual/startup.texi (Environment Access): Describe return value
57249         for putenv and setenv.
57250
57251         [BZ #6895]
57252         * manual/filesys.texi (Directory Entries): Add description for
57253         DT_LNK.
57254
57255         [BZ #6890]
57256         * manual/filesys.texi (Directory Entries): Clarify that it's file
57257         system not operating system in the description of DT_UNKNOWN.
57258
57259         [BZ #6578]
57260         * manual/syslog.texi (closelog): Fix reference, it's openlog.
57261
57262 2012-04-08  Stephen Compall  <s11@member.fsf.org>
57263
57264         [BZ #6649]
57265         * manual/llio.texi (Opening and Closing Files): Add cross
57266         reference to explain mode argument.
57267
57268 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
57269
57270         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
57271         * sysdeps/x86_64/memset_chk.S: Likewise.
57272
57273 2012-04-07  David S. Miller  <davem@davemloft.net>
57274
57275         * elf/elf.h (R_SPARC_WDISP10): Define.
57276         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
57277         R_SPARC_SIZE32.
57278         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
57279         R_SPARC_SIZE64 and R_SPARC_H34.
57280
57281 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
57282
57283         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
57284         conditions and remove no longer applicable assertion.
57285
57286 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57287
57288         * bits/byteswap.h: Include <features.h>.
57289         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57290         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57291
57292 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57293
57294         * bits/byteswap.h (__bswap_16): Removed.
57295         Include <bits/byteswap-16.h> to get __bswap_16.
57296         * sysdeps/i386/bits/byteswap.h: Likewise.
57297         * sysdeps/s390/bits/byteswap.h: Likewise.
57298         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57299         * bits/byteswap-16.h: New file.
57300         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57301         * sysdeps/s390/bits/byteswap-16.h: Likewise.
57302         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
57303         * string/Makefile (headers): Add bits/byteswap-16.h.
57304
57305 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57306
57307         [BZ #13895]
57308         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
57309         extra indirection.
57310         * nss/Makefile (tests-static, tests): Add tst-nss-static.
57311         * nss/tst-nss-static.c: New.
57312
57313 2012-04-06  Robert Millan  <rmh@gnu.org>
57314
57315         [BZ #6486]
57316         * manual/llio.texi (File Position Primitive): lseek
57317         refers to WHENCE when it really means OFFSET.
57318
57319 2012-04-06  Andreas Jaeger  <aj@suse.de>
57320
57321         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
57322         strncmp declarations.
57323
57324         * abilist/libc.abilist: Add __poll and __ppoll.
57325
57326 2012-04-05  David S. Miller  <davem@davemloft.net>
57327
57328         * scripts/check-local-headers.sh: Accept a host triplet in the
57329         path matched by the exclude regexp.
57330
57331         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
57332         definition.
57333         * sysdeps/powerpc/powerpc32/dl-machine.h
57334         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
57335         * sysdeps/s390/s390-32/dl-machine.h
57336         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57337         * sysdeps/sparc/sparc32/dl-machine.h
57338         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57339         * sysdeps/sparc/sparc64/dl-machine.h
57340         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57341
57342         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
57343         lazy binding.
57344         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
57345         undefined symbol errors.
57346
57347         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57348         DT_NEEDED entries.
57349
57350 2012-04-05  Michael Matz  <matz@suse.de>
57351
57352         [BZ #13592]
57353         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
57354
57355 2012-04-05  Andreas Jaeger  <aj@suse.de>
57356
57357         [BZ #13908]
57358         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
57359         comment.
57360
57361 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57362
57363         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
57364         which ROUND is no valid rounding mode.
57365
57366 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57367
57368         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
57369         read again.
57370         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
57371
57372 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57373
57374         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57375         an exception using FPU order intentionally.
57376
57377 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57378
57379         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
57380         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
57381         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
57382         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
57383
57384 2012-04-05  Simon Josefsson  <simon@josefsson.org>
57385
57386         [BZ #12340]
57387         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
57388         EINVAL when BUFLEN is too smal.
57389
57390 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57391
57392         [BZ #13553]
57393         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
57394         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
57395
57396 2012-04-03  Andreas Jaeger  <aj@suse.de>
57397
57398         [BZ #13938]
57399         * manual/setjmp.texi (System V contexts): Fix sentence.
57400
57401         [BZ #13926]
57402         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
57403         New macro for this case.
57404         [!__GNUC__] (__bswap_64): New inline function for this case.
57405         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57406         * bits/byteswap.h: Likewise.
57407         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
57408         ull, guard with __GLIBC_HAVE_LONG_LONG.
57409
57410         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57411         __GLIBC_HAVE_LONG_LONG.
57412
57413         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
57414         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
57415
57416 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57417
57418         [BZ #13691]
57419         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
57420         inptr and inend, rather than using last_ch.
57421
57422 2012-04-02  David S. Miller  <davem@davemloft.net>
57423
57424         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
57425         * stdio-common/printf-parse.h (read_int): Change return type to
57426         'int', return -1 on INT_MAX overflow.
57427         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
57428         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
57429         overflows INT_MAX.  Check for overflow of in-format-string precision
57430         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
57431         SIZE_MAX not INT_MAX for integer overflow test.
57432         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
57433         skip the construct in the format string but do not record anything.
57434         * stdio-common/bug22.c: Adjust to test both width/prevision
57435         INT_MAX overflow as well as total length INT_MAX overflow.  Check
57436         explicitly for proper errno values.
57437
57438 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57439
57440         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
57441         CHAR_MAX.
57442         * string/test-strcmp.c [! WIDE]: Likewise.
57443         * time/tst-mktime2.c: Likewise for INT_MAX.
57444         * string/test-string.h: #include <sys/param.h> for MIN.
57445
57446         * csu/init-first.c (__libc_init_first): Call __ctype_init.
57447         * sysdeps/i386/init-first.c (init): Likewise.
57448         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
57449         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
57450         * sysdeps/sh/init-first.c (init): Likewise.
57451
57452 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
57453
57454         * po/ru.po: Update from translation team.
57455         * po/vi.po: Likewise.
57456
57457 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57458
57459         * resolv/nss_dns/dns-host.c: Merge copyright years.
57460
57461 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57462
57463         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57464         Optimize memcpy with prefetch if
57465         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
57466         src, dst pointers have unequal 16 byte alignments.
57467
57468 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57469
57470         [BZ #13928]
57471         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
57472         from a CNAME entry and return the minimum ttl for the query.
57473         (gaih_getanswer_slice): Likewise.
57474
57475 2012-03-30  Jeff Law  <law@redhat.com>
57476
57477         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
57478         due to long keys.
57479         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
57480         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
57481
57482         * resolv/nss_dns/dns-host.c: Update copyright year.
57483
57484 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
57485
57486         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
57487         requests to save a system call.  Fix check that all bytes are sent.
57488
57489         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
57490         comments for sendmmsg.
57491
57492 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57493
57494         [BZ #13691]
57495         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
57496         with only 1 character between 0x0041 and 0x01b0.
57497         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
57498         * wcsmbs/tst-mbsnrtowcs.c: New file.
57499
57500 2012-03-29  David S. Miller  <davem@davemloft.net>
57501
57502         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
57503         small copies by hand.
57504
57505 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57506
57507         [BZ #13761]
57508         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
57509         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
57510         group memberships.
57511
57512 2012-03-28  David S. Miller  <davem@davemloft.net>
57513
57514         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
57515         that branches into memcpy.
57516         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57517         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
57518         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57519         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
57520         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
57521         bits.
57522         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
57523         implementation too.
57524         * sysdeps/sparc/mempcpy.S: New file.
57525
57526         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
57527         the IFUNC routine in the libc case.
57528         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57529
57530         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
57531         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
57532         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
57533         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
57534         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
57535         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
57536         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
57537         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
57538
57539         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
57540         loop to 256 bytes instead of 64 bytes and fix test signedness.
57541
57542         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
57543         * sysdeps/sparc/sparc32/Makefile: rather than here...
57544         * sysdeps/sparc/sparc64/Makefile: and here.
57545
57546 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
57547
57548         * malloc/mallocbug.c: Avoid warnings about unused variables.
57549
57550 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57551
57552         [BZ #13760]
57553         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
57554         in the right place. Discard and retry query if response is
57555         larger than input buffer size.
57556
57557 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
57558
57559         [BZ #369]
57560         [BZ #2678]
57561         [BZ #3866]
57562         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
57563         x for large integer exponent.
57564         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57565         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
57566         sign of result as needed afterwards.
57567         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57568         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
57569         result for underflowing pow the same as for overflow.
57570         (__kernel_standard_l): Handle powl overflow and underflow here
57571         rather than calling __kernel_standard.
57572         * math/libm-test.inc (pow_test): Add more tests.
57573
57574         [BZ #3868]
57575         [BZ #13879]
57576         [BZ #13910]
57577         [BZ #13911]
57578         [BZ #13912]
57579         [BZ #13913]
57580         [BZ #13915]
57581         [BZ #13916]
57582         [BZ #13917]
57583         [BZ #13918]
57584         [BZ #13919]
57585         [BZ #13920]
57586         [BZ #13921]
57587         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
57588         * sysdeps/ieee754/k_standard.c: Include <float.h>.
57589         (__kernel_standard_l): New function.
57590         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
57591         __kernel_standard.
57592         * math/w_acosl.c (__acosl): Likewise.
57593         * math/w_asinl.c (__asinl): Likewise.
57594         * math/w_atan2l.c (__atan2l): Likewise.
57595         * math/w_atanhl.c (__atanhl): Likewise.
57596         * math/w_coshl.c (__coshl): Likewise.
57597         * math/w_exp10l.c (__exp10l): Likewise.
57598         * math/w_exp2l.c (__exp2l): Likewise.
57599         * math/w_fmodl.c (__fmodl): Likewise.
57600         * math/w_hypotl.c (__hypotl): Likewise.
57601         * math/w_j0l.c (__j0l, __y0l): Likewise.
57602         * math/w_j1l.c (__j1l, __y1l): Likewise.
57603         * math/w_jnl.c (__jnl, __ynl): Likewise.
57604         * math/w_lgammal.c (__lgammal): Likewise.
57605         * math/w_log10l.c (__log10l): Likewise.
57606         * math/w_log2l.c (__log2l): Likewise.
57607         * math/w_logl.c (__logl): Likewise.
57608         * math/w_powl.c (__powl): Likewise.
57609         * math/w_remainderl.c (__remainderl): Likewise.
57610         * math/w_scalbl.c (sysv_scalbl): Likewise.
57611         * math/w_sinhl.c (__sinhl): Likewise.
57612         * math/w_sqrtl.c (__sqrtl): Likewise.
57613         * math/w_tgammal.c (__tgammal): Likewise.
57614         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
57615         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
57616         * math/libm-test.inc (acos_test): Add more tests.
57617         (acosh_test): Likewise.
57618         (asin_test): Likewise.
57619         (atanh_test): Likewise.
57620         (exp_test): Likewise.
57621         (exp10_test): Likewise.
57622         (exp2_test): Likewise.
57623         (expm1_test): Likewise.
57624         (lgamma_test): Likewise.
57625         (log_test): Likewise.
57626         (log10_test): Likewise.
57627         (log1p_test): Likewise.
57628         (log2_test): Likewise.
57629         (pow_test): Do not allow some spurious overflow exceptions.
57630         (sqrt_test): Add more tests.
57631         (tgamma_test): Likewise.
57632         (y0_test): Likewise.
57633         (y1_test): Likewise.
57634         (yn_test): Likewise.
57635
57636 2012-03-27  Anton Blanchard  <anton@samba.org>
57637
57638         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
57639         MAP_HUGETLB.
57640         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57641         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57642         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57643
57644 2012-03-27  David S. Miller  <davem@davemloft.net>
57645
57646         * conform/Makefile: Run run-conformtest.sh using $(BASH).
57647
57648         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
57649         have-as-vis3 check.
57650
57651 2012-03-27  Andreas Jaeger  <aj@suse.de>
57652
57653         * sysdeps/x86_64/elf/configure.in: Moved to ...
57654         * sysdeps/x86_64/configure.in: ... here.
57655         * sysdeps/x86_64/elf/start.S: Moved to ...
57656         * sysdeps/x86_64/start.S: ... here.
57657         * sysdeps/x86_64/elf/configure: Delete.
57658
57659         * sysdeps/x86_64/configure.in: Merge contents from
57660         sysdeps/i386/configure.in (without i686 check).
57661
57662         * sysdeps/i386/elf/Versions: Merge into ...
57663         * sysdeps/i386/Versions: ... this.
57664         * sysdeps/i386/elf/Versions: Delete file.
57665         * sysdeps/i386/elf/start.S: Moved to ...
57666         * sysdeps/i386/start.S: ...here.
57667         * sysdeps/i386/elf/configure.in: Merge into...
57668         * sysdeps/i386/configure.in: ...here.
57669         * sysdeps/i386/elf/configure.in: Delete file.
57670         * sysdeps/i386/elf/configure: Delete file.
57671
57672         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
57673         * debug/backtracesyms.c: ... here.
57674         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
57675         * debug/backtracesymsfd.c: ... here.
57676         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
57677         * sysdeps/generic/ifunc-sel.h: ... here.
57678
57679         * sysdeps/unix/i386/start.c: Delete file.
57680         * sysdeps/unix/sparc/start.c: Delete file.
57681         * sysdeps/unix/start.c: Delete file.
57682
57683         * sysdeps/sh/elf/configure.in: Moved to ...
57684         * sysdeps/sh/configure.in: ... here.
57685         * sysdeps/sh/elf/start.S: Moved to ...
57686         * sysdeps/sh/start.S: ... here.
57687         * sysdeps/sh/elf/configure: Delete file.
57688
57689         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
57690         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
57691         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
57692         * sysdeps/powerpc/powerpc64/entry.h: ... here.
57693         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
57694         * sysdeps/powerpc/powerpc64/start.S: here.
57695         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
57696         * sysdeps/powerpc/powerpc64/Makefile: ... this.
57697         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
57698         * sysdeps/powerpc/powerpc64/configure.in: ... this.
57699         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
57700
57701         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
57702         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
57703         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
57704         * sysdeps/powerpc/powerpc32/start.S: ... here.
57705         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
57706         * sysdeps/powerpc/powerpc32/configure.in: ... this.
57707         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
57708
57709         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
57710         * sysdeps/powerpc/ifunc-sel.h: ... here.
57711         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
57712         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
57713
57714         * sysdeps/sparc/elf/configure.in: Moved to ...
57715         * sysdeps/sparc/configure.in: ... here.
57716         * sysdeps/sparc/elf/configure: Delete file.
57717         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
57718         * sysdeps/sparc/sparc32/start.S: ... here.
57719         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
57720         * sysdeps/sparc/sparc64/start.S: ... here.
57721         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
57722         * sysdeps/sparc/sparc32/Makefile: ... this.
57723         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
57724         * sysdeps/sparc/sparc64/Makefile: ... this.
57725
57726         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
57727         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
57728         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
57729         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
57730         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
57731         * sysdeps/s390/s390-32/setjmp.S: ... here.
57732         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
57733         * sysdeps/s390/s390-32/configure.in: ... here.
57734         * sysdeps/s390/s390-32/elf/configure: Delete file.
57735         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
57736         * sysdeps/s390/s390-32/start.S: ... here.
57737
57738         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
57739         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
57740         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
57741         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
57742         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
57743         * sysdeps/s390/s390-64/setjmp.S: ... here.
57744         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
57745         * sysdeps/s390/s390-64/configure.in: ... here
57746         * sysdeps/s390/s390-64/elf/configure: Delete file.
57747         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
57748         * sysdeps/s390/s390-64/start.S: ... here.
57749         * sysdeps/s390/s390-64/elf/configure: Delete.
57750
57751         * configure.in: Remove support for elf directories in sysdeps.
57752
57753         * configure: Regenerated.
57754         * sysdeps/i386/configure: Regenerated.
57755         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57756         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57757         * sysdeps/s390/s390-32/configure: Regenerated.
57758         * sysdeps/s390/s390-64/configure: Regenerated.
57759         * sysdeps/sh/configure: Regenerated.
57760         * sysdeps/sparc/configure: Regenerated.
57761         * sysdeps/x86_64/configure: Regenerated.
57762
57763 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
57764
57765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57766
57767         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
57768         denormal result into account.
57769
57770 2012-03-25  Roland McGrath  <roland@hack.frob.com>
57771
57772         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
57773         Reported by Allan McRae <allan@archlinux.org>.
57774
57775 2012-03-23  Jeff Law  <law@redhat.com>
57776
57777         * nss/getnssent.c (__nss_getent): Fix typo.
57778
57779 2012-03-23  David S. Miller  <davem@davemloft.net>
57780
57781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57782
57783 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
57784
57785         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
57786         to pad to uint64_t for each field.
57787         (dl_tls_index): Replace unsigned long with uint64_t.
57788
57789 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
57790         Paul Pluzhnikov  <ppluzhnikov@google.com>
57791
57792         [BZ #6528]
57793         * grp/Makefile (otherlibs): Don't set it.
57794         * inet/Makefile (otherlibs): Likewise.
57795         * login/Makefile (otherlibs): Likewise.
57796         * nscd/Makefile (otherlibs): Likewise.
57797         * posix/Makefile (otherlibs): Likewise.
57798         * pwd/Makefile (otherlibs): Likewise.
57799         * rt/Makefile (otherlibs): Likewise.
57800         * sunrpc/Makefile (otherlibs): Likewise.
57801         * nss/Makefile (otherlibs): Likewise.
57802         Add libnss_files to routines and static-only-routines.
57803         ($(objpfx)getent): Remove rule.
57804         * resolv/Makefile: Add libnss_dns and libresolv to routines and
57805         static-only-routines.
57806
57807 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
57808
57809         [BZ #13892]
57810         * math/s_cexp.c: Include <float.h>.
57811         (__cexp): Handle exp result overflowing not necessarily
57812         overflowing both real and imaginary parts of result.
57813         * math/s_cexpf.c: Likewise.
57814         * math/s_cexpl.c: Likewise.
57815         * math/libm-test.inc (cexp_test): Add more tests.
57816         * sysdeps/i386/fpu/libm-test-ulps: Update.
57817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57818
57819 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57820
57821         * include/link.h (ELFW): New macro.
57822         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
57823         Replace ELF64_R_TYPE with ELFW(R_TYPE).
57824
57825 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57826
57827         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
57828         with uint64_t.
57829
57830 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57831
57832         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
57833         declaration.
57834         (struct La_x32_retval): Likewise.
57835
57836 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57837
57838         * sysdeps/x86_64/preconfigure.in: New file.
57839         * sysdeps/x86_64/preconfigure: New generated file.
57840
57841 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
57842
57843         [BZ #13824]
57844         * math/e_exp2l.c: Include <float.h>.
57845         (__ieee754_exp2l): Handle overflow and underflow cases
57846         separately.  Only pass fractional part of argument to
57847         __ieee754_expl.
57848         * math/libm-test.inc (exp2_test): Add more tests.
57849
57850         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
57851         negating x to take absolute value.
57852         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
57853         Likewise.
57854         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57855         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
57856         Likewise.
57857         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
57858         computing low part if x was negated.
57859         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57860
57861 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57862
57863         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
57864         la_x32_gnu_pltexit.
57865         (pltexit): Cast int_retval to ptrdiff_t.
57866         * elf/tst-auditmod3b.c: Likewise.
57867         * elf/tst-auditmod4b.c: Likewise.
57868         * elf/tst-auditmod5b.c: Likewise.
57869         * elf/tst-auditmod6b.c: Likewise.
57870         * elf/tst-auditmod6c.c: Likewise.
57871         * elf/tst-auditmod7b.c: Likewise.
57872
57873         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
57874         and x32_gnu_pltexit.
57875
57876         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
57877         __ELF_NATIVE_CLASS.
57878         (La_x32_regs): New macro.
57879         (La_x32_retval): Likewise.
57880         (la_x32_gnu_pltenter): New function prototype.
57881         (la_x32_gnu_pltexit): Likewise.
57882
57883 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
57884
57885         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
57886         exponent.
57887
57888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57889
57890         * configure.in (libc_cv_cc_nofma): Check for option to disable
57891         generation of FMA instructions.
57892         * configure: Regenerate.
57893         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
57894         * sysdeps/ieee754/dbl-64/Makefile: New file.
57895         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
57896         Remove brandred-fma4.
57897         (CFLAGS-brandred-fma4.c): Remove.
57898         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
57899         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
57900         define.
57901         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
57902         define.
57903
57904 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57905
57906         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57907         LLONG_MAX != LONG_MAX.
57908         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57909         (_fitoa_word): Likewise.
57910         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
57911         LLONG_MAX != LONG_MAX.
57912         * stdio-common/_itowa.h: Include <_itoa.h>.
57913         (_itowa_word): Use _ITOA_WORD_TYPE on value.
57914         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
57915         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
57916         only if not defined.
57917         (_ITOA_WORD_TYPE): Likewise.
57918         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57919         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
57920
57921 2012-03-21  David S. Miller  <davem@davemloft.net>
57922
57923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57924
57925 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57926
57927         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
57928         of x86_64 when setting libc_cv_slibdir, libdir and
57929         libc_cv_localedir.
57930         * sysdeps/unix/sysv/linux/configure: Regenerated.
57931
57932 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57933
57934         * manual/lang.texi (Old Varargs): Remove section.
57935         (How Variadic): Update menu.
57936         (va_start): Do not mention varargs.h.
57937
57938 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57939             Joseph Myers  <joseph@codesourcery.com>
57940
57941         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
57942         link test.
57943         * configure: Regenerated.
57944
57945 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57946
57947         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
57948         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
57949         conformtest.pl
57950
57951 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57952
57953         * NOTES: Remove.
57954         * Makefile (files-for-dist): Remove NOTES.
57955         (NOTES): Remove rule.
57956         * README: Don't refer to NOTES.
57957         * manual/creature.texi: Don't include macros.texi.
57958         * manual/intro.texi (creature.texi): Remove comment referring to
57959         NOTES.
57960
57961         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
57962         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
57963         * configure: Regenerated.
57964         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
57965         LIBC_TRY_CC_OPTION.
57966         (libc_cv_as_i686): Likewise.
57967         (libc_cv_cc_avx): Likewise.
57968         (libc_cv_cc_sse2avx): Likewise.
57969         (libc_cv_cc_fma4): Likewise.
57970         (libc_cv_cc_novzeroupper): Likewise.
57971         * sysdeps/i386/configure: Regenerated.
57972
57973         [BZ #13883]
57974         * sysdeps/i386/fpu/s_cexp.S: Remove.
57975         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57976         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57977         * math/libm-test.inc (cexp_test): Add more tests.
57978         * sysdeps/i386/fpu/libm-test-ulps: Update.
57979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57980
57981 2012-03-21  Allan McRae  <allan@archlinux.org>
57982
57983         * timezone/Makefile: Do not install iso3166.tab and zone.tab
57984
57985 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57986
57987         [BZ #13871]
57988         * math/w_exp2.c: Do not include <float.h>.
57989         (o_threshold, u_threshold): Remove.
57990         (__exp2): Calculate result before checking finiteness and calling
57991         __kernel_standard.
57992         * math/w_exp2f.c: Likewise.
57993         * math/w_exp2l.c: Likewise.
57994         * math/libm-test.inc (exp2_test): Require overflow exception for
57995         1e6 input.
57996
57997         [BZ #3866]
57998         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
57999         range of signed 64-bit integers before using fistpll.  Remove
58000         checks for whether integers fit in mantissa bits.
58001         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
58002         the range of signed 32-bit integers before using fistpl.  Remove
58003         checks for whether integers fit in mantissa bits.
58004         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58005         (__ieee754_powl): Test for y outside the range of signed 64-bit
58006         integers before using fistpll.  Reduce 64-bit values to 63-bit
58007         ones as needed.
58008         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58009         divide-by-zero is raised for zero to large negative powers.
58010         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
58011         (__ieee754_powl): Test for y outside the range of signed 64-bit
58012         integers before using fistpll.  Reduce 64-bit values to 63-bit
58013         ones as needed.
58014         * math/libm-test.inc (pow_test): Add more tests.
58015
58016 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58017
58018         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58019         <stdio-common/_itoa.h>.
58020         * debug/segfault.c: Likewise.
58021         * elf/dl-cache.c: Likewise.
58022         * elf/dl-minimal.c: Likewise.
58023         * elf/dl-misc.c: Likewise.
58024         * elf/dl-sysdep.c: Likewise.
58025         * elf/dl-version.c: Likewise.
58026         * elf/rtld.c: Likewise.
58027         * hurd/hurdsock.c: Likewise.
58028         * hurd/lookup-retry.c: Likewise.
58029         * malloc/malloc.c: Likewise.
58030         * malloc/mtrace.c: Likewise.
58031         * nscd/nscd_getgr_r.c: Likewise.
58032         * nscd/nscd_getpw_r.c: Likewise.
58033         * nscd/nscd_getserv_r.c: Likewise.
58034         * posix/getopt_init.c: Likewise.
58035         * posix/wordexp.c: Likewise.
58036         * stdio-common/_itoa.c: Likewise.
58037         * stdio-common/printf_fphex.c: Likewise.
58038         * stdio-common/vfprintf.c: Likewise.
58039         * string/_strerror.c: Likewise.
58040         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58041         * sysdeps/i386/i686/hp-timing.h: Likewise.
58042         * sysdeps/mach/_strerror.c: Likewise.
58043         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58044         * sysdeps/mach/hurd/sethostid.c: Likewise.
58045         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58046         * sysdeps/mach/xpg-strerror.c: Likewise.
58047         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58048         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58049         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58050         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58051         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58052         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58053         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58054         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58055         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58056         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58057         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58058         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58059         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58060         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58061         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58062         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58063         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58064         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58065         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58066         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58067         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58068
58069         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58070
58071         * stdio-common/_itoa.h: Moved to ...
58072         * sysdeps/generic/_itoa.h: Here.
58073
58074         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58075
58076         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58077         instead of "_itoa.h" and "_itowa.h".
58078         * stdio-common/vfprintf.: Likewise.
58079
58080 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58081
58082         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58083         <bits/wordsize.h>.
58084         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58085         (__signbit): Likwise.
58086         (llrintf): Likwise.
58087         (llrint): Likwise.
58088
58089 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58090
58091         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58092         __WORDSIZE != 64.
58093
58094 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58095
58096         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58097         OVERFLOW_EXCEPTION_OK.
58098         * math/libm-test.inc ("Philosophy"): Update comment about
58099         exception testing.
58100         (OVERFLOW_EXCEPTION): Define.
58101         (OVERFLOW_EXCEPTION_OK): Likewise.
58102         (INVALID_EXCEPTION_OK): Renumber.
58103         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58104         (IGNORE_ZERO_INF_SIGN): Likewise.
58105         (test_exceptions): Handle FE_OVERFLOW.
58106         (exp10_test): Expect overflow exceptions.
58107         (exp2_test): Likewise.
58108         (expm1_test): Likewise.
58109         (nextafter_test): Likewise.
58110         (pow_test): Likewise.
58111         (scalbn_test): Likewise.
58112         (scalbln_test): Likewise.
58113
58114 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58115
58116         * sysdeps/x86_64/bits/atomic.h
58117         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58118         64bit integer.
58119         (atomic_exchange_acq): Likewise.
58120         (__arch_exchange_and_add_body): Likewise.
58121         (__arch_add_body): Likewise.
58122         (atomic_add_negative): Likewise.
58123         (atomic_add_zero): Likewise.
58124
58125 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58126
58127         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58128         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58129
58130 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58131
58132         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58133         Check __x86_64__ instead of __WORDSIZE.
58134
58135 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58136
58137         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58138
58139 2012-03-19  David S. Miller  <davem@davemloft.net>
58140
58141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58142
58143         * sysdeps/sparc/fpu/fenv_private.h: New file.
58144         * sysdeps/sparc/fpu/math_private.h: Use it.
58145         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58146         Remove.
58147         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58148         (libc_feholdexcept_setroundl): Remove.
58149         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58150         Remove.
58151         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58152         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58153
58154 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58155
58156         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58157         int64_t instead of long int.
58158         (INSERT_WORDS64): Likwise.
58159
58160 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58161
58162         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58163         _Unwind_GetCFA return to _Unwind_Ptr first.
58164
58165 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58166
58167         [BZ #13629]
58168         * math/s_clog.c: Include <float.h>.
58169         (__clog): Scale large or subnormal inputs.
58170         * math/s_clogf.c: Likewise.
58171         * math/s_clogl.c: Likewise.
58172         * math/s_clog10.c: Include <float.h>.
58173         (M_LOG10_2): Define.
58174         (__clog10): Scale large or subnormal inputs.
58175         * math/s_clog10f.c: Likewise.
58176         * math/s_clog10l.c: Likewise.
58177         * math/libm-test.inc (clog_test): Add more tests.
58178         (clog10_test): Likewise.
58179         * sysdeps/i386/fpu/libm-test-ulps: Update.
58180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58181
58182         [BZ #11451]
58183         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
58184         x and y.
58185         * math/libm-test.inc (atan2_test): Add another test.
58186
58187         * Makerules (common-objdir-compile): Remove.
58188         * sysdeps/unix/Makefile (config-generated): Do not add
58189         $(unix-generated) to variable.
58190         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
58191         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
58192         Remove rule.
58193         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58194         Likewise.
58195         [generic bits/local_lim.h] (before-compile): Do not append to
58196         variable.
58197         [generic bits/local_lim.h] (common-generated): Likewise.
58198         [generic sys/param.h] (before-compile): Do not append to variable.
58199         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
58200         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
58201         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
58202         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
58203         include.
58204         [generic sys/param.h] (sys/param.h-includes): Remove variable.
58205         [generic sys/param.h] (sys/param.h-includes): Remove rule.
58206         [generic sys/param.h] ($(addprefix
58207         $(common-objpfx),$(sys/param.h-includes))): Likewise.
58208         [generic sys/param.h] (common-generated): Do not append to
58209         variable.
58210         [generic sys/param.h] (sysdep_headers): Likewise.
58211         [generic bits/errno.h] (before-compile): Do not append to
58212         variable.
58213         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
58214         rule.
58215         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
58216         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
58217         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
58218         [generic bits/errno.h] (common-generated): Do not append to
58219         variable.
58220         [generic bits/ioctls.h] (before-compile): Do not append to
58221         variable.
58222         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
58223         rule.
58224         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
58225         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
58226         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
58227         rule.
58228         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
58229         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
58230         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
58231         [generic bits/ioctls.h] (common-generated): Do not append to
58232         variable.
58233         [generic sys/syscall.h] (syscall.h): Remove variable.
58234         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
58235         rule.
58236         [generic sys/syscall.h] (before-compile): Do not append to
58237         variable.
58238         [generic sys/syscall.h] (common-generated): Likewise.
58239         * sysdeps/unix/errnos-tmpl.c: Remove file.
58240         * sysdeps/unix/errnos.awk: Likewise.
58241         * sysdeps/unix/ioctls-tmpl.c: Likewise.
58242         * sysdeps/unix/ioctls.awk: Likewise.
58243         * sysdeps/unix/mk-local_lim.c: Likewise.
58244         * sysdeps/unix/snarf-ioctls: Likewise.
58245
58246 2012-03-19  Richard Henderson  <rth@twiddle.net>
58247
58248         * sysdeps/i386/fpu/fenv_private.h: New file.
58249         * sysdeps/i386/fpu/math_private.h: Use it.
58250         (math_opt_barrier, math_force_eval): Remove.
58251         (libc_feholdexcept_setround_53bit): Remove.
58252         (libc_feupdateenv_53bit): Remove.
58253         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58254         (math_opt_barrier, math_force_eval): Remove.
58255         (libc_feholdexcept): Remove.
58256         (libc_feholdexcept_setround): Remove.
58257         (libc_fetestexcept, libc_fesetenv): Remove.
58258         (libc_feupdateenv_test): Remove.
58259         (libc_feupdateenv, libc_feholdsetround): Remove.
58260         (libc_feresetround): Remove.
58261
58262         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
58263         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
58264
58265         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
58266         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
58267         (libc_feupdateenv_testl): New.
58268         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
58269         (libc_feupdateenv_testf): New.
58270         (libc_feupdateenv): Use libc_feupdateenv_test.
58271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
58272         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
58273
58274         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
58275         (libc_feholdsetroundf, libc_feholdsetroundl): New.
58276         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
58277         (libc_feresetround_noex): New.
58278         (libc_feresetround_noexf): New.
58279         (libc_feresetround_noexl): New.
58280         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
58281         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
58282         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
58283         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
58284         SET_RESTORE_ROUND.
58285         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58286         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
58287         (__cos): Likewise.
58288         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
58289         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
58290         SET_RESTORE_ROUND_NOEX.
58291         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
58292         SET_RESTORE_ROUND_NOEXF.
58293         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
58294         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
58295         (libc_feholdsetroundf): New.
58296         (libc_feresetround, libc_feresetroundf): New.
58297
58298         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
58299         (libc_feholdexcept_setround_53bit): Convert from macro to function.
58300         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
58301
58302         * sysdeps/generic/math_private.h: Include <fenv.h>.
58303         (default_libc_feholdexcept): New.
58304         (default_libc_feholdexcept_setround): New.
58305         (default_libc_fesetenv, default_libc_feupdateenv): New.
58306         (libc_feholdexcept): Only define if undefined.
58307         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
58308         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
58309         (libc_feholdexcept_setroundl): Likewise.
58310         (libc_feholdexcept_setround_53bit): Likewise.
58311         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
58312         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
58313         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
58314         (libc_feupdateenv_53bit): Likewise.
58315         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
58316         (libc_feholdexcept): Convert from macro to inline function.
58317         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
58318         (libc_fesetenv, libc_feupdateenv): Likewise.
58319
58320         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
58321         not previously defined.
58322         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
58323         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
58324         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
58325         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
58326         * sysdeps/ieee754/flt-32/math_private.h: New file.
58327         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
58328         math_private.h below SET_FLOAT_WORD.
58329         (__isnan, __isinf_ns, __finite): Remove.
58330         (__isnanf, __isinf_nsf, __finitef): Remove.
58331
58332 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
58333
58334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58335
58336 2012-03-17  David S. Miller  <davem@davemloft.net>
58337
58338         [BZ #6471]
58339         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
58340         for 2.16.
58341
58342 2012-03-16  David S. Miller  <davem@davemloft.net>
58343
58344         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
58345         warnings.
58346
58347         [BZ #6471]
58348         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
58349         properly.
58350         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
58351         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
58352         sysdep_routines when subdir is sysvipc.
58353         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
58354         __getshmlba helper.
58355
58356         * sysdeps/sparc/fpu/libm-test/ulps: Update.
58357
58358 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58359
58360         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
58361         [__LP64__].
58362
58363 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58364
58365         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
58366         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
58367         (__lround): Renamed to ...
58368         (__llround): This.  Replace long int with long long int.
58369         Define lround functions as aliases of llround functions.
58370         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
58371
58372 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58373
58374         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58375         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
58376         adresses to uintptr_t.  Replace "long int" and "unsigned long
58377         int" with "greg_t" on va_arg.
58378
58379 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58380
58381         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
58382         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
58383
58384         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
58385         Move e_machine check before EI_CLASS check.  Handle x32
58386         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
58387         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
58388         SKIP_EM_IA_64 and include
58389         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
58390
58391         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
58392         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
58393         (add_system_dir): New macro.
58394
58395         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
58396         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
58397
58398 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58399
58400         [BZ #2551]
58401         [BZ #2552]
58402         [BZ #2553]
58403         [BZ #2554]
58404         [BZ #2562]
58405         [BZ #2563]
58406         [BZ #2565]
58407         [BZ #2566]
58408         [BZ #2576]
58409         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
58410         (y0): Likewise.
58411         * math/w_j0f.c (j0f): Likewise.
58412         (y0f): Likewise.
58413         * math/w_j0l.c (__j0l): Likewise.
58414         (__y0l): Likewise.
58415         * math/w_j1.c (j1): Likewise.
58416         (y1): Likewise.
58417         * math/w_j1f.c (j1f): Likewise.
58418         (y1f): Likewise.
58419         * math/w_j1l.c (__j1l): Likewise.
58420         (__y1l): Likewise.
58421         * math/w_jn.c (jn): Likewise.
58422         (yn): Likewise.
58423         * math/w_jnf.c (jnf): Likewise.
58424         (ynf): Likewise.
58425         * math/w_jnl.c (__jnl): Likewise.
58426         (__ynl): Likewise.
58427         * math/libm-test.inc (j0_test): Add more tests.
58428         (j1_test): Likewise.
58429         (jn_test): Likewise.  Add trailing semicolon to existing test.
58430         (y0_test): Likewise.
58431         (y1_test): Likewise.
58432         * sysdeps/i386/fpu/libm-test-ulps: Update.
58433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58434
58435         [BZ #13851]
58436         [BZ #13854]
58437         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
58438         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
58439         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
58440         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
58441         (__tanl): Set errno for infinite argument.
58442         * sysdeps/i386/fpu/mptan.c: Remove.
58443         * sysdeps/i386/fpu/s_tan.S: Likewise.
58444         * sysdeps/i386/fpu/s_tanl.S: Likewise.
58445         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
58446         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
58447         * math/libm-test.inc (tan_test): Add more tests and enable more
58448         tests for double and long double.
58449         * sysdeps/i386/fpu/libm-test-ulps: Update.
58450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58451
58452 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
58453
58454         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
58455         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
58456
58457 2012-03-16  Roland McGrath  <roland@hack.frob.com>
58458
58459         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
58460         * configure.in: Use it for both main tree and add-ons.
58461         * configure: Regenerated.
58462
58463 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58464
58465         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
58466
58467 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58468
58469         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
58470         in comment.
58471
58472         [BZ #13851]
58473         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
58474         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
58475         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
58476         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
58477         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
58478         infinite argument.
58479         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
58480         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
58481         != 0 for prec == 2.
58482         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
58483         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
58484         * sysdeps/i386/fpu/s_cosl.S: Likewise.
58485         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
58486         * sysdeps/i386/fpu/s_sinl.S: Likewise.
58487         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
58488         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
58489         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
58490         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
58491         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
58492         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
58493         * math/libm-test.inc (cos_test): Add more tests and enable more
58494         tests for long double.
58495         (sin_test): Likewise.
58496         (sincos_test): Likewise.
58497         * sysdeps/i386/fpu/libm-test-ulps: Update.
58498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58499
58500 2012-03-16  David S. Miller  <davem@davemloft.net>
58501
58502         * sysdeps/sparc/fpu/math_private.h: New file.
58503
58504 2012-03-15  David S. Miller  <davem@davemloft.net>
58505
58506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
58507         file.
58508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
58509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
58510         file.
58511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
58512         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
58513         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
58514         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
58515         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
58516         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
58517         sysdep routines.
58518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58519
58520         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
58521         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
58522
58523         * sysdeps/sparc/sparc-ifunc.h: New file.
58524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
58525         sparc-ifunc.h
58526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
58528         Likewise.
58529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
58530         Likewise.
58531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
58532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
58533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58535         Likewise.
58536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
58538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
58540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
58541         Likewise.
58542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
58543         Likewise.
58544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
58546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
58547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
58548         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58550         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
58551         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
58552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58553         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
58555         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
58556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
58557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
58558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
58559         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
58560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
58561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
58562         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
58563         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
58564         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
58565         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
58566         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
58567         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
58568
58569 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58570
58571         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
58572         scaling.
58573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58574
58575 2012-03-15  Andreas Jaeger  <aj@suse.de>
58576
58577         [BZ #13852]
58578         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
58579         ieee754/flt-32 implementation for sin, cos and sincos.
58580         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
58581         * sysdeps/i386/fpu/s_cosf.S: Likewise.
58582         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
58583         * sysdeps/i386/fpu/s_sinf.S: Likewise.
58584         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
58585         ieee754/flt-32 implementation for tan.
58586
58587         * math/libm-test.inc (cos_test): Enable some large input tests for
58588         float as well
58589         (sin_test): Likewise.
58590         (sincos_test): Likewise.
58591         (tan_test): Add tests for large input.
58592
58593         * sysdeps/i386/fpu/libm-test-ulps: Update.
58594
58595 2012-03-15  Andreas Jaeger  <aj@suse.de>
58596
58597         [BZ #13658]
58598         * math/libm-test.inc (cos_test): Add more test cases.
58599         (sin_test): Likewise.
58600         (sincos_test): Likewise.
58601
58602 2012-03-15  Andreas Jaeger  <aj@suse.de>
58603
58604         [BZ #13837]
58605         * math/libm-test.inc (cos_test): Add a test case for large input
58606         value.
58607         (sin_test): Likewise.
58608         (sincos_test): Likewise.
58609
58610 2012-03-15  Andreas Jaeger  <aj@suse.de>
58611             Joseph Myers  <joseph@codesourcery.com>
58612
58613         [BZ #13658]
58614         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
58615         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
58616         * sysdeps/i386/fpu/branred.c: Likewise.
58617         * sysdeps/i386/fpu/dosincos.c: Likewise.
58618         * sysdeps/i386/fpu/mpa.c: Likewise.
58619         * sysdeps/i386/fpu/s_cos.S: Likewise.
58620         * sysdeps/i386/fpu/s_sin.S: Likewise.
58621         * sysdeps/i386/fpu/s_sincos.S: Likewise.
58622         * sysdeps/i386/fpu/sincos32.c: Likewise.
58623
58624         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
58625         Define.
58626         (libc_feupdateenv_53bit): Define.
58627         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
58628         Define.
58629         (libc_feupdateenv_53bit): Define.
58630
58631         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
58632         53 bit (without extend i386 double precision).
58633
58634         * math/libm-test.inc (sincos_test): Add tests for large input.
58635         (sin): Likewise.
58636         (cos): Likewise.
58637
58638         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
58639
58640 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58641
58642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58643
58644 2012-03-15  David S. Miller  <davem@davemloft.net>
58645
58646         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
58647         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
58648         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
58649         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
58650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
58651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
58652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
58653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
58654         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
58655         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
58656         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
58657         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
58658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
58659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
58660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
58661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
58662         file.
58663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
58664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
58665         file.
58666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
58667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
58668         file.
58669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
58670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
58671         file.
58672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
58673         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
58674         fmin/fmax sysdep routines.
58675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58676
58677 2012-03-14  David S. Miller  <davem@davemloft.net>
58678
58679         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
58680         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
58681         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
58682         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
58683         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
58684         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
58685         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
58686         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
58687         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
58688         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
58689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
58690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
58691         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
58692         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
58693         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
58694         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
58695         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
58696         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
58697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
58698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
58699         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
58700         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
58701         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
58702         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
58703         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
58704         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
58705         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
58706         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
58707         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
58708         routines.
58709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
58710         file.
58711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
58712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
58713         file.
58714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
58715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
58716         file.
58717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
58718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
58719         file.
58720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
58721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
58722         file.
58723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
58724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
58725         file.
58726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
58727         file.
58728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
58729         file.
58730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
58731         file.
58732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
58733         New file.
58734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
58735         file.
58736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
58737         file.
58738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
58739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
58740         file.
58741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
58742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
58743         file.
58744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
58745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
58746         file.
58747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
58748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
58749         VIS3 routines.
58750
58751         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58752         New file.
58753
58754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58755
58756         * sysdeps/sparc/configure.in: New file.
58757         * sysdeps/sparc/configure: Generate.
58758         * configure.in (libc_cv_sparc_as_vis3): Substitute.
58759         * configure: Regenerate.
58760         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
58761         * config.make.in (have-as-vis3): New.
58762         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
58763         available use -Av9d instead of -Av9a.
58764         * sysdeps/sparc/sparc64/Makefile: Likewise.
58765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
58766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
58767         New file.
58768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
58769         file.
58770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
58771         New file.
58772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
58773         file.
58774         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
58775         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
58776         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
58777         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
58778         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
58779
58780         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
58781         fzeros/fnegs to load 0x80000000 into a float register instead of
58782         using the stack.
58783         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
58784
58785 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
58786
58787         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58788         bits/syscall.h.
58789         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
58790         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
58791         ($(inst_includedir)/bits/syscall.h): Remove rule.
58792         ($(objpfx)bits/syscall.d): Include instead of
58793         $(objpfx)syscall-list.d.
58794         (generated): Change syscall-list.h and syscall-list.d to
58795         bits/syscall.h and bits/syscall.d.
58796
58797 2012-03-14  Roland McGrath  <roland@hack.frob.com>
58798
58799         [BZ #13846]
58800         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
58801
58802 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
58803
58804         [BZ #13841]
58805         * math/s_csqrt.c: Include <float.h>.
58806         (__csqrt): Scale large or subnormal inputs.
58807         * math/s_csqrtf.c: Likewise.
58808         * math/s_csqrtl.c: Likewise.
58809         * math/libm-test.inc (csqrt_test): Add more tests.
58810         * sysdeps/i386/fpu/libm-test-ulps: Update.
58811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58812
58813         [BZ #13840]
58814         * math/libm-test.inc (hypot_test): Add more tests.
58815
58816 2012-03-13  David S. Miller  <davem@davemloft.net>
58817
58818         [BZ #13840]
58819         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
58820         double-precision for the calculation instead of scaling.
58821
58822 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
58823
58824         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
58825         manipulate bits before adding and subtracting TWO52[sx].
58826         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
58827         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
58828         Likewise.
58829         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
58830
58831 2012-03-13  David S. Miller  <davem@davemloft.net>
58832
58833         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
58834         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
58835         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
58836         rtld-global-offsets.h
58837         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58838
58839         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
58840         large parameters.
58841
58842         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
58843
58844         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
58845         'err' in the ifdef scope in which it is actually used.
58846
58847         * nss/nss_db/db-init.c: Include string.h
58848
58849 2012-03-12  David S. Miller  <davem@davemloft.net>
58850
58851         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58852         masking out of the most significant byte of random value used.
58853         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58854         Fix coding style in previous change.
58855
58856         * sysdeps/unix/sysv/linux/kernel-features.h
58857         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
58858         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
58859         expression.
58860         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
58861         later.
58862
58863 2012-03-11  David S. Miller  <davem@davemloft.net>
58864
58865         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58866         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
58867         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
58868         for 'resultvar' otherwise things get truncated on 64-bit.
58869
58870         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58871         Fix masking out of the most significant byte of random value used.
58872
58873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58874
58875 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
58876
58877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58878
58879 2012-03-09  David S. Miller  <davem@davemloft.net>
58880
58881         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
58882         variables with appropriate CPP guards.
58883         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
58884         from the frame pointer, not the stack pointer.  Correct layout
58885         comments.  Fix test on resulting framesize and the management of
58886         the outregs buffer for pltexit.  Preserve floating point return
58887         values across _dl_call_pltexit call.
58888         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
58889         framesize and the management of the outregs buffer for pltexit.
58890         Preserve floating point return values across _dl_call_pltexit
58891         call.
58892         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
58893         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
58894         (la_sparc64_gnu_pltexit): New functions.
58895         (print_exit): Fix format string for return register value.
58896
58897 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
58898
58899         * sunrpc/Makefile (others): Add rpcgen.
58900         ($(objpfx)rpcgen): Remove special build rule and dependency on
58901         libc.
58902         * sunrpc/rpcgen.c: New file.
58903
58904 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
58905
58906         [BZ #13673]
58907         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
58908         * stdio-common/bug-vfprintf-nargs.c: Likewise.
58909         * sysdeps/i386/crti.S: Likewise.
58910         * sysdeps/i386/crtn.S: Likewise.
58911         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
58912         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
58913         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
58914         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
58915         * sysdeps/sh/crti.S: Likewise.
58916         * sysdeps/sh/crtn.S: Likewise.
58917         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58918
58919         [BZ #13673]
58920         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
58921         with URL.
58922         * locale/programs/locfile-kw.gperf: Likewise.
58923         * locale/programs/charmap-kw.h: Regenerated.
58924         * locale/programs/locfile-kw.h: Likewise.
58925
58926         [BZ #13673]
58927         * intl/plural.y: Replace FSF snail mail address with URL.
58928         * intl/plural.c: Regenerated.
58929
58930 2012-03-09  Richard Henderson  <rth@twiddle.net>
58931
58932         * include/math_private.h: Remove file.
58933         * math/math_private.h: Move file ...
58934         * sysdeps/generic/math_private.h: ... here.
58935
58936         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
58937         * sysdeps/powerpc/fpu/math_private.h: Likewise.
58938         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58939
58940         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
58941         and <math_private.h>.
58942         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58943         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58944         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58945         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58946         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58947         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
58948         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58949         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58950         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58951         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58952         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58953         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58954         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58955         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58956         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58957         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58958         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58959         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58960         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58961         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58962         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58963         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58964         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58965         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58966         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58967         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58968         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58969         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58970         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58971         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58972         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58973         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58974         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58975         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58976         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58977         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58978         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58979         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58980         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58981         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58982         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
58983         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58984         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58985         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58986         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58987         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58988         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
58989         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58990         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58991         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58992         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58993         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
58994         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58995         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58996         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58997         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58998         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58999         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59000         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59001         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
59002         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59003         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59004         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59005         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59006         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59007         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59008         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59009         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59010         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59011         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59012         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59013         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59014         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59015         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59016         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59017         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59018         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59019         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59020         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59021         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59022         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59023         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59024         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59025         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59026         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59027         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59028         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59029         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59030         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59031         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59032         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59033         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59034         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59035         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59036         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59037         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59038         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59039         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59040         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59041         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59042         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59043         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59044         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59045         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59046         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59047         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59048         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59049         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59050         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59051         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59052         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59053         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59054         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59055         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59056         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59057         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59058         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59059         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59060         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59061         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59062         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59063         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59064         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59065         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59066         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59067         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59068         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59069         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59070         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59071         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59072         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59073         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59074         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59075         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59076         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59077         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59078         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59079         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59080         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59081         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59082         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59083         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59084         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59085         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59086         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59087         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59088         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59089         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59090         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59091         * sysdeps/ieee754/k_standard.c: Likewise.
59092         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59093         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59094         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59095         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59096         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59097         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59098         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59099         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59100         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59101         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59102         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59103         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59104         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59105         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59106         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59107         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59108         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59109         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59110         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59111         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59112         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59113         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59114         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59115         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59116         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59117         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59118         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59119         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59120         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59121         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59122         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59123         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59124         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59125         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59126         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59127         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59128         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59129         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59130         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59131         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59132         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59133         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59134         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59135         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59136         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59137         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59138         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59139         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59140         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59141         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59142         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59143         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59144         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59145         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59146         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59147         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59148         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59149         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59150         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59151         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59152         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59153         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59154         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59155         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59156         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59157         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59158         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59159         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59160         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59161         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59162         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59163         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59164         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59165         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59166         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59167         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59168         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59169         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59170         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59171         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59172         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59173         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59174         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59175         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59176         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59177         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59178         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59179         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
59180         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59181         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59182         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
59183         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59184         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
59185         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59186         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59187         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59188         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
59189         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
59190         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
59191         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
59192         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59193         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59194         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59195         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59196         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
59197         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59198         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59199         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
59200         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
59201         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59202         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59203         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59204         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59205         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59206         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59207         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59208         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59209         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59210         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59211         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59212         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59213         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59214         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59215         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59216         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59217         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
59218         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59219         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59220         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59221         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59222         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59223         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59224         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59225         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59226         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59227         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59228         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
59229         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59230         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59231         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
59232         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
59233         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59234         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
59235         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
59236         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59237         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59238         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59239         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59240         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59241         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
59242         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59243         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59244         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59245         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59246         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
59247         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
59248         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59249         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59250         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59251         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59252         * sysdeps/ieee754/s_lib_version.c: Likewise.
59253         * sysdeps/ieee754/s_matherr.c: Likewise.
59254         * sysdeps/ieee754/s_signgam.c: Likewise.
59255         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59256         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59257         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
59258         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
59259         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
59260         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59261         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
59262         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
59263         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
59264         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
59265         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59266         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
59267         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59268         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59269         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
59270         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59271         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59272         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59273         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59274         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59275         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59276
59277 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59278
59279         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
59280         * sunrpc/rpc_main.c: Likewise.
59281         * sunrpc/rpc_svcout.c: Likewise.
59282
59283 2012-03-09  David S. Miller  <davem@davemloft.net>
59284
59285         * include/math_private.h: New file.
59286
59287 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59288
59289         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
59290         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
59291         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
59292         from <bits/socket_type.h>.
59293         (enum __socket_type): Don't define here.
59294         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
59295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59296         bits/socket_type.h.
59297
59298         [BZ #13566]
59299         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
59300         checking __USE_GNU.
59301
59302         * Makerules ($(inst_includedir)/%.h): New rule.
59303         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
59304         (install-others): Remove variable setting.
59305         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
59306
59307 2012-03-08  Richard Henderson  <rth@twiddle.net>
59308
59309         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
59310         from macro to inline function; merge with the
59311         !__LIBC_INTERNAL_MATH_INLINES version.
59312         (__ieee754_sqrtf): Likewise.
59313
59314         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
59315         to inline function.
59316         (__rintf, __floor, __floorf): Likewise.
59317
59318         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
59319         macro to inline function.
59320         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
59321
59322         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
59323         not <math/math_private.h>.
59324
59325 2012-03-08  David S. Miller  <davem@davemloft.net>
59326
59327         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
59328         copyright year.
59329         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
59330
59331 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
59332
59333         * resolv/gai_misc.c (handle_requests): Fix struct timespec
59334         normalization.
59335         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
59336         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
59337
59338 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
59339
59340         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
59341         be defined individually, they must be defined as a block.  Define
59342         S for printing a string instead of hidint the different by using a
59343         macro for adding the 'l'.
59344         * stdio-common/tst-fphex-wide.c: Adjust.
59345
59346 2012-03-07  Marek Polacek  <polacek@redhat.com>
59347
59348         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
59349
59350 2012-03-08  Marek Polacek  <polacek@redhat.com>
59351
59352         [BZ #13806]
59353         * stdio-common/Makefile (tests): Add tst-fphex-wide.
59354         * stdio-common/tst-fphex.c: Define a few macros to make the
59355         test reusable.  Use them.
59356         * stdio-common/tst-fphex-wide.c: New file.
59357
59358 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
59359
59360         [BZ #6911]
59361         * manual/macros.texi (gnusystems): New macro.
59362         (nongnusystems): Likewise.
59363         (gnulinuxhurdsystems): Likewise.
59364         (gnuhurdsystems): Likewise..
59365         (gnulinuxsystems): Likewise.
59366         * manual/charset.texi: Use new macros or @theglibc{} to refer to
59367         variants of the GNU system, not "GNU system".
59368         * manual/conf.texi: Likewise.
59369         * manual/errno.texi: Likewise.  Update example of errno macro
59370         expansion.
59371         * manual/filesys.texi: Likewise.
59372         (getumask): Document as specific to GNU/Hurd.
59373         * manual/install.texi: Likewise.  Reword some references to
59374         GNU/Linux.
59375         * manual/intro.texi: Likewise.
59376         * manual/io.texi: Likewise.
59377         (File Name Portability): Detail which constraints are inapplicable
59378         to all GNU systems and which are only inapplicable to GNU/Hurd.
59379         * manual/job.texi: Likewise.
59380         * manual/llio.texi: Likewise.
59381         (O_NOCTTY): Document as present on GNU/Linux.
59382         * manual/maint.texi: Likewise.
59383         * manual/memory.texi: Likewise.
59384         * manual/pattern.texi: Likewise.
59385         * manual/pipe.texi: Likewise.
59386         * manual/process.texi: Likewise.
59387         * manual/resource.texi: Likewise.
59388         (RUSAGE_CHILDREN): Remove statement about specifying a particular
59389         child on GNU/Hurd.
59390         * manual/setjmp.texi: Likewise.
59391         * manual/signal.texi: Likewise.
59392         * manual/startup.texi: Likewise.
59393         * manual/stdio.texi: Likewise.
59394         * manual/terminal.texi: Likewise.
59395         (ONLCR): Document as POSIX.
59396         (OXTABS): Document availability on GNU/Linux as XTABS.
59397         (ONOEOT): Document availability separately from other bits.
59398         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
59399         * manual/time.texi: Likewise.
59400         * manual/users.texi: Likewise.
59401         * INSTALL: Regenerated.
59402         * sysdeps/gnu/errlist.c: Regenerated.
59403
59404         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
59405         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
59406         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
59407         puts.
59408         * configure: Regenerated.
59409
59410 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
59411
59412         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
59413         default includes instead of AC_HEADER_CHECK.
59414         * sysdeps/i386/configure: Regenerated.
59415
59416         [BZ #10716]
59417         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
59418         * math/s_cacoshf.c (__cacoshf): Likewise.
59419         * math/s_cacoshl.c (__cacoshl): Likewise.
59420         * math/s_casinh.c (__casinh): Set signs of result from argument.
59421         * math/s_casinhf.c (__casinhf): Likewise.
59422         * math/s_casinhl.c (__casinhl): Likewise.
59423         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
59424         (casinh_test): Add more tests.
59425         * sysdeps/i386/fpu/libm-test-ulps: Update.
59426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59427
59428 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
59429
59430         * po/zh_TW.po: Update from translation team.
59431
59432         * login/Makefile (distribute): Remove variable.
59433         * catgets/Makefile: Likewise.
59434         * mach/Makefile: Likewise.
59435         * malloc/Makefile: Likewise.
59436         * misc/Makefile: Likewise.
59437         * iconv/Makefile: Likewise.
59438         * nscd/Makefile: Likewise.
59439         * hurd/Makefile: Likewise.
59440         * manual/Makefile: Likewise.
59441         * locale/Makefile: Likewise.
59442         * intl/Makefile: Likewise.
59443         * conform/Makefile: Likewise.
59444         * nss/Makefile: Likewise.
59445         * time/Makefile: Likewise.
59446         * soft-fp/Makefile: Likewise.
59447         * dirent/Makefile: Likewise.
59448         * gmon/Makefile: Likewise.
59449         * po/Makefile: Likewise.
59450         * rt/Makefile: Likewise.
59451         * socket/Makefile: Likewise.
59452         * math/Makefile: Likewise.
59453         * signal/Makefile: Likewise.
59454         * debug/Makefile: Likewise.
59455         * elf/Makefile: Likewise.
59456         * timezone/Makefile: Likewise.
59457         * stdlib/Makefile: Likewise.
59458         * iconvdata/Makefile: Likewise.
59459         * sunrpc/Makefile: Likewise.
59460         * io/Makefile: Likewise.
59461         * argp/Makefile: Likewise.
59462         * inet/Makefile: Likewise.
59463         * hesiod/Makefile: Likewise.
59464         * grp/Makefile: Likewise.
59465         * csu/Makefile: Likewise.
59466         * wctype/Makefile: Likewise.
59467         * crypt/Makefile: Likewise.
59468         * libio/Makefile: Likewise.
59469         * string/Makefile: Likewise.
59470         * nis/Makefile: Likewise.
59471         * resolv/Makefile: Likewise.
59472         * stdio-common/Makefile: Likewise.
59473         * wcsmbs/Makefile: Likewise.
59474         * dlfcn/Makefile: Likewise.
59475         * posix/Makefile: Likewise.
59476
59477         [BZ #6959]
59478         * timezone/Makefile: Don't install timezone files, just the programs
59479         and scripts.
59480
59481 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
59482
59483         * nss/databases.def: Add missing gshadow entry.
59484
59485         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
59486
59487 2012-03-06  Marek Polacek  <polacek@redhat.com>
59488
59489         [BZ #13726]
59490         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
59491         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59492         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
59493         * stdio-common/tst-long-dbl-fphex.c: New file.
59494
59495 2012-03-06  David S. Miller  <davem@davemloft.net>
59496
59497         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59498         (set_obp_int): New function.
59499         (get_obp_int): New function.
59500         (__get_clockfreq_via_dev_openprom): Likewise.
59501         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
59502         Avoid unused variable warnings on 'val' and use builtin_expect.
59503         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
59504         __builtin_expect.
59505         (INLINE_CLONE_SYSCALL): Likewise.
59506
59507 2012-03-05  David S. Miller  <davem@davemloft.net>
59508
59509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59510
59511 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
59512
59513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59514
59515         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
59516         only for |x| >= 40.
59517         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59518
59519 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
59520
59521         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
59522         Replace gettimeofday with __vdso_gettimeofday.
59523
59524         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59525         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
59526         __vdso_clock_gettime and __vdso_getcpu.
59527
59528         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
59529         time with __vdso_time.
59530
59531 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59532
59533         * manual/lang.texi (size_t): Note types to which size_t may be
59534         equivalent with the GNU C Library, but do not describe when
59535         differences between them are significant.
59536
59537 2012-03-05  Andreas Jaeger  <aj@suse.de>
59538
59539         * sysdeps/i386/fpu/libm-test-ulps: Update.
59540
59541 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59542
59543         [BZ #3976]
59544         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
59545         (__ieee754_pow): Save and restore rounding mode and use
59546         round-to-nearest for main computations.
59547         * math/libm-test.inc (pow_test_tonearest): New function.
59548         (pow_test_towardzero): Likewise.
59549         (pow_test_downward): Likewise.
59550         (pow_test_upward): Likewise.
59551         (main): Call the new functions.
59552         * sysdeps/i386/fpu/libm-test-ulps: Update.
59553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59554
59555         [BZ #3976]
59556         * math/libm-test.inc (cosh_test_tonearest): New function.
59557         (cosh_test_towardzero): Likewise.
59558         (cosh_test_downward): Likewise.
59559         (cosh_test_upward): Likewise.
59560         (sinh_test_tonearest): Likewise.
59561         (sinh_test_towardzero): Likewise.
59562         (sinh_test_downward): Likewise.
59563         (sinh_test_upward): Likewise.
59564         (main): Call the new functions.
59565         * sysdeps/i386/fpu/libm-test-ulps: Update.
59566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59567
59568 2012-03-05  Tom de Vries  <tom@codesourcery.com>
59569
59570         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
59571         default stack guard is set in last bytes.
59572         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
59573
59574 2012-03-05  Kees Cook  <keescook@chromium.org>
59575
59576         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
59577
59578         [BZ #13656]
59579         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
59580         possibly allocate from heap instead of stack.
59581         * stdio-common/bug-vfprintf-nargs.c: New file.
59582         * stdio-common/Makefile (tests): Add nargs overflow test.
59583
59584 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
59585
59586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59587
59588 2012-03-03  Marek Polacek  <polacek@redhat.com>
59589
59590         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
59591         * math/math_private.h: Likewise.
59592         * stdlib/tst-strtod.c: Likewise.
59593         * sysdeps/i386/i486/bits/atomic.h: Likewise.
59594         * sysdeps/x86_64/bits/atomic.h: Likewise.
59595
59596 2012-03-02  David S. Miller  <davem@davemloft.net>
59597
59598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
59599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
59600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
59601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
59602         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
59603         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
59604         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
59605         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
59606
59607 2012-03-02  Roland McGrath  <roland@hack.frob.com>
59608
59609         [BZ #13792]
59610         * manual/examples/README: New file, says the example source files
59611         can be used under GPL>=2.
59612         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
59613         line containing just "*/".
59614         * manual/examples/add.c: Add copyright header (GPL>=2).
59615         * manual/examples/argp-ex1.c: Likewise.
59616         * manual/examples/argp-ex2.c: Likewise.
59617         * manual/examples/argp-ex3.c: Likewise.
59618         * manual/examples/argp-ex4.c: Likewise.
59619         * manual/examples/atexit.c: Likewise.
59620         * manual/examples/db.c: Likewise.
59621         * manual/examples/dir.c: Likewise.
59622         * manual/examples/dir2.c: Likewise.
59623         * manual/examples/execinfo.c: Likewise.
59624         * manual/examples/filecli.c: Likewise.
59625         * manual/examples/filesrv.c: Likewise.
59626         * manual/examples/fmtmsgexpl.c: Likewise.
59627         * manual/examples/genpass.c: Likewise.
59628         * manual/examples/inetcli.c: Likewise.
59629         * manual/examples/inetsrv.c: Likewise.
59630         * manual/examples/isockad.c: Likewise.
59631         * manual/examples/longopt.c: Likewise.
59632         * manual/examples/memopen.c: Likewise.
59633         * manual/examples/memstrm.c: Likewise.
59634         * manual/examples/mkfsock.c: Likewise.
59635         * manual/examples/mkisock.c: Likewise.
59636         * manual/examples/mygetpass.c: Likewise.
59637         * manual/examples/pipe.c: Likewise.
59638         * manual/examples/popen.c: Likewise.
59639         * manual/examples/rprintf.c: Likewise.
59640         * manual/examples/search.c: Likewise.
59641         * manual/examples/select.c: Likewise.
59642         * manual/examples/setjmp.c: Likewise.
59643         * manual/examples/sigh1.c: Likewise.
59644         * manual/examples/sigusr.c: Likewise.
59645         * manual/examples/stpcpy.c: Likewise.
59646         * manual/examples/strdupa.c: Likewise.
59647         * manual/examples/strftim.c: Likewise.
59648         * manual/examples/strncat.c: Likewise.
59649         * manual/examples/subopt.c: Likewise.
59650         * manual/examples/swapcontext.c: Likewise.
59651         * manual/examples/termios.c: Likewise.
59652         * manual/examples/testopt.c: Likewise.
59653         * manual/examples/testpass.c: Likewise.
59654         * manual/examples/timeval_subtract.c: Likewise.
59655
59656         [BZ #13792]
59657         * manual/time.texi (Elapsed Time): Move timeval_subtract example
59658         function to ...
59659         * manual/timeval_subtract.c.texi: ... here, new file.
59660
59661 2012-03-02  David S. Miller  <davem@davemloft.net>
59662
59663         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
59664
59665 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
59666
59667         [BZ #3976]
59668         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
59669         (__sin): Save and restore rounding mode and use round-to-nearest
59670         for all computations.
59671         (__cos): Save and restore rounding mode and use round-to-nearest
59672         for all computations.
59673         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
59674         <fenv.h>.
59675         (tan): Save and restore rounding mode and use round-to-nearest for
59676         all computations.
59677         * math/libm-test.inc (cos_test_tonearest): New function.
59678         (cos_test_towardzero): Likewise.
59679         (cos_test_downward): Likewise.
59680         (cos_test_upward): Likewise.
59681         (sin_test_tonearest): Likewise.
59682         (sin_test_towardzero): Likewise.
59683         (sin_test_downward): Likewise.
59684         (sin_test_upward): Likewise.
59685         (tan_test_tonearest): Likewise.
59686         (tan_test_towardzero): Likewise.
59687         (tan_test_downward): Likewise.
59688         (tan_test_upward): Likewise.
59689         (main): Call the new functions.
59690         * sysdeps/i386/fpu/libm-test-ulps: Update.
59691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59692
59693         [BZ #10135]
59694         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
59695         small n, then large n, before computing and testing k+n.
59696         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
59697         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
59698         Likewise.
59699         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
59700         Likewise.
59701         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
59702         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
59703         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
59704         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
59705         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59706         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59707         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
59708         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
59709         * math/libm-test.inc (scalbn_test): Add more tests.
59710         (scalbln_test): Likewise.
59711
59712         * manual/filesys.texi (mode_t): Describe constraints on size and
59713         signedness, not exact equivalence to a particular type.
59714         (ino_t): Likewise.
59715         (ino64_t): Likewise.
59716         (dev_t): Likewise.
59717         (nlink_t): Likewise.
59718         (blkcnt_t): Likewise.
59719         (blkcnt64_t): Likewise.
59720         * manual/llio.texi (off_t): Likewise.
59721
59722         [BZ #3976]
59723         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
59724         (__ieee754_exp): Save and restore rounding mode and use
59725         round-to-nearest for all computations.
59726         * math/libm-test.inc (exp_test_tonearest): New function.
59727         (exp_test_towardzero): Likewise.
59728         (exp_test_downward): Likewise.
59729         (exp_test_upward): Likewise.
59730         (main): Call the new functions.
59731         * sysdeps/i386/fpu/libm-test-ulps: Update.
59732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59733
59734 2012-03-01  Chris Demetriou  <cgd@google.com>
59735
59736         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
59737         have predictable order.
59738
59739 2012-03-01  David S. Miller  <davem@davemloft.net>
59740
59741         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
59742
59743         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
59744         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
59745         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
59746         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
59747
59748         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
59749         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
59750         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
59751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
59752         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
59753         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
59754         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
59755         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
59756         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
59757
59758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59759
59760         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
59761         * sysdeps/sparc/fpu/libm-test-ulps: to here.
59762         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
59763
59764         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
59765         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59766         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
59767         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
59768         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
59769         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
59770         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
59771         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59772         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
59773         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
59774         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
59775         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59777         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
59778         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59780         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
59781         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
59782         * sysdeps/sparc/elf/configure: Regenerated.
59783
59784 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
59785
59786         * configure.in (AS, LD): Require binutils 2.20 or later.
59787         * configure: Regenerated.
59788         * manual/install.texi (Tools for Compilation): Give binutils 2.20
59789         as required minimum version.
59790         * INSTALL: Regenerated.
59791
59792         [BZ #2541]
59793         [BZ #4108]
59794         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
59795         before squaring exponent.
59796         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
59797         bottom long double and 27 bits of top long double before squaring
59798         exponent.
59799         * math/libm-test.inc (erfc_test): Add more tests.
59800         * sysdeps/i386/fpu/libm-test-ulps: Update.
59801         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59803
59804 2012-03-01  Kai Tietz  <ktietz@redhat.com>
59805
59806         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
59807         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
59808         containing bit-fields.
59809         * soft-fp/extended.h (_FP_UNION_E): Likewise.
59810         * soft-fp/single.h (_FP_UNION_S): Likewise.
59811         * soft-fp/double.h (_FP_UNION_D): Likewise.
59812
59813 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
59814
59815         [BZ #13786]
59816         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
59817         not include ../strcmp.S.
59818         [USE_AS_STRNCASECMP_L]: Likewise.
59819         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
59820         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
59821         * sysdeps/i386/i686/multiarch/strncase_l-c.c
59822         (__strncasecmp_l_ia32): Define as alias to
59823         __strncasecmp_l_nonascii.
59824
59825         [BZ #5794]
59826         * math/libm-test.inc (expm1_test): Add test for bug 5794.
59827         * sysdeps/i386/fpu/libm-test-ulps: Update.
59828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59829
59830         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
59831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59832
59833 2012-02-29  Jeff Law  <law@redhat.com>
59834
59835         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
59836         out of bounds read.
59837
59838 2012-02-29  Marek Polacek  <polacek@redhat.com>
59839
59840         [BZ #13706]
59841         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
59842         * elf/Makefile: Add rules to run tst-unused-dep.out.
59843
59844 2012-02-28  David S. Miller  <davem@davemloft.net>
59845
59846         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
59847         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
59848         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
59849         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
59850         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
59851         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
59852
59853 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
59854
59855         * math/libm-test.inc (llround_test): Move one test from
59856         lround_test.  Use TEST_f_L in moved test.
59857         (lround_test): Move misplaced test to llround_test.  Add testcase
59858         from bug 2561.
59859
59860 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
59861
59862         * sysdeps/x86_64/fpu/e_expf.S: New file.
59863         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
59864
59865 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
59866
59867         [BZ #13637]
59868         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
59869         of remain_len that may cause incomplete multi-byte character and
59870         false match.
59871         * posix/bug-regex33.c: New file.
59872         * posix/Makefile (tests): Add bug-regex33.
59873
59874 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
59875
59876         * manual/macros.texi: New file.
59877         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
59878         * manual/libc.texinfo: Include macros.texi.
59879         * manual/creatute.texi: Likewise.
59880         * manual/install.texi: Likewise.
59881         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
59882         @glibcadj{} in references to the GNU C Library.
59883         * manual/charset.texi: Likewise.
59884         * manual/conf.texi: Likewise.
59885         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
59886         when not using those macros.
59887         * manual/creature.texi: Likewise.
59888         * manual/crypt.texi: Likewise.
59889         * manual/errno.texi: Likewise.
59890         * manual/filesys.texi: Likewise.
59891         * manual/header.texi: Likewise.
59892         * manual/install.texi: Likewise.
59893         * manual/intro.texi: Likewise.
59894         * manual/io.texi: Likewise.
59895         * manual/job.texi: Likewise.
59896         * manual/lang.texi: Likewise.
59897         * manual/libc.texiinfo: Likewise.
59898         * manual/llio.texi: Likewise.
59899         * manual/locale.texi: Likewise.
59900         * manual/maint.texi: Likewise.
59901         * manual/math.texi: Likewise.
59902         * manual/memory.texi: Likewise.
59903         * manual/message.texi: Likewise.
59904         * manual/nss.texi: Likewise.
59905         * manual/pattern.texi: Likewise.
59906         * manual/process.texi: Likewise.
59907         * manual/resource.texi: Likewise.
59908         * manual/search.texi: Likewise.
59909         * manual/setjmp.texi: Likewise.
59910         * manual/signal.texi: Likewise.
59911         * manual/socket.texi: Likewise.
59912         * manual/startup.texi: Likewise.
59913         * manual/stdio.texi: Likewise.
59914         * manual/string.texi: Likewise.
59915         * manual/sysinfo.texi: Likewise.
59916         * manual/syslog.texi: Likewise.
59917         * manual/terminal.texi: Likewise.
59918         * manual/time.texi: Likewise.
59919         * manual/users.texi: Likewise.
59920         * INSTALL: Regenerated.
59921         * NOTES: Regenerated.
59922         * sysdeps/gnu/errlist.c: Regenerated.
59923
59924 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
59925
59926         * include/dirent.h: Include <dirstream.h> before
59927         <dirent/dirent.h>.
59928
59929 2012-02-28  David S. Miller  <davem@davemloft.net>
59930
59931         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
59932         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
59933         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
59934         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
59935
59936 2012-02-27  David S. Miller  <davem@davemloft.net>
59937
59938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
59939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
59940         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
59941         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
59942
59943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
59944         frame pointer instead of stack pointer relative arg slot.
59945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59946         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
59947         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59948
59949 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
59950
59951         [BZ #3992]
59952         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
59953
59954 2012-02-27  David S. Miller  <davem@davemloft.net>
59955
59956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
59957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
59960         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
59961         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59962         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
59963         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
59964
59965 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
59966
59967         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
59968         later.  Allow versions 5-9.
59969         * configure: Regenerated.
59970         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
59971         required minimum version and 4.6 as recommended version.  Do not
59972         mention bugs in GCC 2.7 and 2.8.
59973         * INSTALL: Regenerated.
59974
59975 2012-02-27  David S. Miller  <davem@davemloft.net>
59976
59977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
59978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
59979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
59980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
59981         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
59982         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
59983         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
59984         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
59985
59986         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
59987         manipulate bits before adding and subtracting TWO112[sx].
59988         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59989
59990 2012-02-27  Roland McGrath  <roland@hack.frob.com>
59991
59992         [BZ #13775]
59993         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
59994         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
59995         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
59996         being in POSIX, because they are in 1003.1-2008.
59997
59998         * rt/tst-aio.c: Include <fcntl.h>.
59999         * rt/tst-aio7.c: Likewise.
60000         * rt/tst-aio64.c: Likewise.
60001
60002         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60003
60004 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60005
60006         * manual/install.texi (--with-headers): Describe headers as
60007         interface headers, not private headers.
60008         (Specific advice for GNU/Linux systems): Describe use of headers
60009         from "make headers_install", not private headers from older
60010         kernels.
60011         * INSTALL: Regenerated.
60012         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60013         Change to 2.6.19.
60014         * sysdeps/unix/sysv/linux/configure: Regenerated.
60015
60016         * manual/llio.texi (fclean): Remove documentation.
60017
60018         * manual/Makefile (libc-texi-generated): New variable.  Include
60019         version.texi.
60020         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60021         $(libc-texi-generated), not duplicated list of files.
60022         (version.texi, stamp-version): New rules.
60023         (realclean): Remove $(libc-texi-generated), not individual files
60024         from that list.  Do not remove dir-add.texinfo.
60025         * manual/libc.texinfo: Comment out uses of edition numbers and
60026         references to printed manual.  Remove last-updated dates.
60027         (EDITION): Comment out.
60028         (ISBN): Likewise.
60029         (VERSION, UPDATED): Remove.
60030         (version.texi): Include.
60031
60032 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60033
60034         * sysdeps/posix/spawni.c: Include <signal.h>.
60035         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60036         * sysdeps/pthread/aio_fsync.c: Likewise.
60037
60038 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60039
60040         * conform/Makefile (tests): Run only when not cross-compiling and
60041         when fast-check is not defined.
60042
60043         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60044         * conform/data/limits.h-data: Fixes for POSIX2008.
60045         * conform/run-conformtest.sh: Run all tests.
60046         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60047         headers.
60048         * include/bits/dlfcn.h: Likewise.
60049         * include/langinfo.h: Likewise.
60050         * include/monetary.h: Likewise.
60051         * include/sys/poll.h: Likewise.
60052
60053         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60054         for __USE_GNU.
60055         * posix/spawn.h: Define __need_sigset_t.
60056         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60057         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60058         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60059         to get sigevent_t only.
60060         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60061         only for __USE_GNU.
60062         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60063         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60064         process_vm_writev only for __USE_GNU.
60065         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60066
60067         * conform/Makefile: For now ignore errors from run-conformtest.
60068         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60069         POSIX to avoid namespace pollution.  Don't prepend headers.
60070         * conform/data/aio.h-data: Fixes for POSIX testing.
60071         * conform/data/fcntl.h-data: Likewise.
60072         * conform/data/glob.h-data: Likewise.
60073         * conform/data/grp.h-data: Likewise.
60074         * conform/data/pthread.h-data: Likewise.
60075         * conform/data/pwd.h-data: Likewise.
60076         * conform/data/signal.h-data: Likewise.
60077         * conform/data/spawn.h-data: Likewise.
60078         * conform/data/stdio.h-data: Likewise.
60079         * conform/data/stdlib.h-data: Likewise.
60080         * conform/data/stropts.h-data: Likewise.
60081         * conform/data/sys/mman.h-data: Likewise.
60082         * conform/data/sys/stat.h-data: Likewise.
60083         * conform/data/sys/types.h-data: Likewise.
60084         * conform/data/sys/wait.h-data: Likewise.
60085         * conform/data/time.h-data: Likewise.
60086         * conform/data/unistd.h-data: Likewise.
60087         * conform/data/utime.h-data: Likewise.
60088
60089         * io/sys/stat.h: fchmod was always in POSIX.
60090         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60091         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60092         * rt/aio.h: Define __need_timespec before including <time.h>.
60093         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60094         struct.  Add forward declaration of pthread_attr_t and use it in
60095         sigevent.
60096         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60097         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60098         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60099         always remove CLK_TCK definition.
60100
60101 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60102
60103         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60104
60105 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60106
60107         * conform/run-conformtest.sh: New file.
60108         * conform/Makefile: Run run-conformtest for tests.
60109         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60110         support.
60111
60112         * conform/data/uchar.h-data: New file.
60113         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60114         * conform/data/arpa/inet.h-data: Likewise.
60115         * conform/data/assert.h-data: Likewise.
60116         * conform/data/complex.h-data: Likewise.
60117         * conform/data/cpio.h-data: Likewise.
60118         * conform/data/ctype.h-data: Likewise.
60119         * conform/data/dirent.h-data: Likewise.
60120         * conform/data/dlfcn.h-data: Likewise.
60121         * conform/data/errno.h-data: Likewise.
60122         * conform/data/fcntl.h-data: Likewise.
60123         * conform/data/float.h-data: Likewise.
60124         * conform/data/fmtmsg.h-data: Likewise.
60125         * conform/data/fnmatch.h-data: Likewise.
60126         * conform/data/ftw.h-data: Likewise.
60127         * conform/data/glob.h-data: Likewise.
60128         * conform/data/grp.h-data: Likewise.
60129         * conform/data/iconv.h-data: Likewise.
60130         * conform/data/inttypes.h-data: Likewise.
60131         * conform/data/langinfo.h-data: Likewise.
60132         * conform/data/libgen.h-data: Likewise.
60133         * conform/data/limits.h-data: Likewise.
60134         * conform/data/locale.h-data: Likewise.
60135         * conform/data/math.h-data: Likewise.
60136         * conform/data/monetary.h-data: Likewise.
60137         * conform/data/mqueue.h-data: Likewise.
60138         * conform/data/ndbm.h-data: Likewise.
60139         * conform/data/net/if.h-data: Likewise.
60140         * conform/data/netdb.h-data: Likewise.
60141         * conform/data/netinet/in.h-data: Likewise.
60142         * conform/data/nl_types.h-data: Likewise.
60143         * conform/data/poll.h-data: Likewise.
60144         * conform/data/pthread.h-data: Likewise.
60145         * conform/data/pwd.h-data: Likewise.
60146         * conform/data/regex.h-data: Likewise.
60147         * conform/data/sched.h-data: Likewise.
60148         * conform/data/search.h-data: Likewise.
60149         * conform/data/semaphore.h-data: Likewise.
60150         * conform/data/setjmp.h-data: Likewise.
60151         * conform/data/signal.h-data: Likewise.
60152         * conform/data/spawn.h-data: Likewise.
60153         * conform/data/stdarg.h-data: Likewise.
60154         * conform/data/stdio.h-data: Likewise.
60155         * conform/data/stdlib.h-data: Likewise.
60156         * conform/data/string.h-data: Likewise.
60157         * conform/data/strings.h-data: Likewise.
60158         * conform/data/stropts.h-data: Likewise.
60159         * conform/data/sys/ipc.h-data: Likewise.
60160         * conform/data/sys/mman.h-data: Likewise.
60161         * conform/data/sys/msg.h-data: Likewise.
60162         * conform/data/sys/resource.h-data: Likewise.
60163         * conform/data/sys/select.h-data: Likewise.
60164         * conform/data/sys/sem.h-data: Likewise.
60165         * conform/data/sys/shm.h-data: Likewise.
60166         * conform/data/sys/socket.h-data: Likewise.
60167         * conform/data/sys/stat.h-data: Likewise.
60168         * conform/data/sys/statvfs.h-data: Likewise.
60169         * conform/data/sys/time.h-data: Likewise.
60170         * conform/data/sys/timeb.h-data: Likewise.
60171         * conform/data/sys/times.h-data: Likewise.
60172         * conform/data/sys/types.h-data: Likewise.
60173         * conform/data/sys/uio.h-data: Likewise.
60174         * conform/data/sys/un.h-data: Likewise.
60175         * conform/data/sys/utsname.h-data: Likewise.
60176         * conform/data/sys/wait.h-data: Likewise.
60177         * conform/data/syslog.h-data: Likewise.
60178         * conform/data/tar.h-data: Likewise.
60179         * conform/data/termios.h-data: Likewise.
60180         * conform/data/utime.h-data: Likewise.
60181         * conform/data/utmpx.h-data: Likewise.
60182         * conform/data/varargs.h-data: Likewise.
60183         * conform/data/wchar.h-data: Likewise.
60184         * conform/data/wctype.h-data: Likewise.
60185         * conform/data/wordexp.h-data: Likewise.
60186
60187         * include/stropts.h: New file.
60188         * include/uchar.h: New file.
60189         * include/aio.h: Changes to allow conformtest.pl to use the headers.
60190         * include/assert.h: Likewise.
60191         * include/ctype.h: Likewise.
60192         * include/dirent.h: Likewise.
60193         * include/dlfcn.h: Likewise.
60194         * include/fcntl.h: Likewise.
60195         * include/fnmatch.h: Likewise.
60196         * include/glob.h: Likewise.
60197         * include/grp.h: Likewise.
60198         * include/libio.h: Likewise.
60199         * include/locale.h: Likewise.
60200         * include/math.h: Likewise.
60201         * include/net/if.h: Likewise.
60202         * include/netdb.h: Likewise.
60203         * include/netinet/in.h: Likewise.
60204         * include/pthread.h: Likewise.
60205         * include/pwd.h: Likewise.
60206         * include/regex.h: Likewise.
60207         * include/sched.h: Likewise.
60208         * include/search.h: Likewise.
60209         * include/setjmp.h: Likewise.
60210         * include/signal.h: Likewise.
60211         * include/stdio.h: Likewise.
60212         * include/stdlib.h: Likewise.
60213         * include/string.h: Likewise.
60214         * include/sys/cdefs.h: Likewise.
60215         * include/sys/mman.h: Likewise.
60216         * include/sys/msg.h: Likewise.
60217         * include/sys/resource.h: Likewise.
60218         * include/sys/select.h: Likewise.
60219         * include/sys/socket.h: Likewise.
60220         * include/sys/stat.h: Likewise.
60221         * include/sys/statvfs.h: Likewise.
60222         * include/sys/time.h: Likewise.
60223         * include/sys/times.h: Likewise.
60224         * include/sys/uio.h: Likewise.
60225         * include/sys/utsname.h: Likewise.
60226         * include/sys/wait.h: Likewise.
60227         * include/termios.h: Likewise.
60228         * include/time.h: Likewise.
60229         * include/ulimit.h: Likewise.
60230         * include/unistd.h: Likewise.
60231         * include/utime.h: Likewise.
60232         * include/wchar.h: Likewise.
60233         * include/wctype.h: Likewise.
60234         * include/wordexp.h: Likewise.
60235
60236         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
60237
60238         * time/time.h: TIME_UTC must be a macro.
60239         Make timespec_get available for ISO C11 only as well.
60240
60241 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
60242
60243         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
60244         Reported by Peng Haitao <penght@cn.fujitsu.com>.
60245
60246 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60247
60248         * configure.in: Use -o not -a in test for unsupported multi-arch.
60249
60250 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60251
60252         * manual/texinfo.tex: Update to version 2012-01-19.16.
60253
60254 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60255
60256         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
60257
60258 2012-02-24  Roland McGrath  <roland@hack.frob.com>
60259
60260         [BZ #13738]
60261         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
60262         * manual/fdl-1.3.texi: New file.
60263         * manual/fdl-1.1.texi: File removed.
60264
60265         [BZ #13738]
60266         * manual/libc.texinfo (FDL_VERSION): New @set.
60267         Use it for mention of FDL in cover text.
60268         (Documentation License): Use it in @include file name.
60269
60270 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60271             Roland McGrath  <roland@hack.frob.com>
60272
60273         [BZ #5461]
60274         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
60275         (not LONG_LONG_MAX and LONG_LONG_MIN.
60276         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
60277         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
60278         name.
60279         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
60280
60281 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60282
60283         [BZ #2547]
60284         [BZ #11365]
60285         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
60286         manipulate bits before adding and subtracting TWO23[sx].
60287         * math/libm-test.inc (nearbyint_test): Add more tests.
60288
60289 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60290
60291         [BZ #2548]
60292         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
60293         bits before adding and subtracting TWO23[sx].
60294         * math/libm-test.inc (rint_test): Add more tests.
60295         (rint_test_tonearest): Likewise.
60296         (rint_test_towardzero): Likewise.
60297         (rint_test_downward): Likewise.
60298         (rint_test_upward: Likewise.
60299
60300 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60301
60302         [BZ #10110]
60303         * include/stdc-predef.h: New file.  Extracted from features.h.
60304         * include/features.h: Include stdc-predef.h.
60305         * Makefile (headers): Add stdc-predef.h.
60306         * CONFORMANCE (Compiler limitations): Update.
60307
60308 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60309
60310         * manual/libc.texinfo (VERSION, UPDATED): Revert.
60311
60312 2012-02-21  David S. Miller  <davem@davemloft.net>
60313
60314         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
60315         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60316
60317 2012-02-20  David S. Miller  <davem@davemloft.net>
60318
60319         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
60320         using a normal save/restore sequence, rather than allocating a
60321         dummy stack frame just to store a frame pointer and restore.
60322         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60323
60324 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60325
60326         * manual/install.texi: Fix stray word in line-wrapped comment.
60327
60328 2012-02-20  David S. Miller  <davem@davemloft.net>
60329
60330         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
60331         both binutils and gcc support GOTDATA.
60332
60333         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
60334         "rd %pc" in the PIC register setup sequences.
60335
60336         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
60337         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
60338         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60339         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
60340         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60341         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60342         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60343         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
60345         (SYSCALL_ERROR_HANDLER): Likewise.
60346         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60347         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60348         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
60349         (SYSCALL_ERROR_HANDLER): Likewise.
60350
60351         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
60352         (HAVE_GCC_GOTDATA): New.
60353         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
60354         relocation support in both binutils and gcc.
60355         * sysdeps/sparc/elf/configure: Regenerate.
60356
60357         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
60358         * sysdeps/sparc/sparc32/elf/configure: Delete.
60359         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
60360         * sysdeps/sparc/sparc64/elf/configure: Delete.
60361         * sysdeps/sparc/elf/configure.in: New file.
60362         * sysdeps/sparc/elf/configure: Generate.
60363
60364         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
60365         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
60366         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60367         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
60368         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
60369
60370 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60371
60372         * manual/install.texi: Do not mention specific glibc version
60373         numbers.
60374         * manual/libc.texinfo (VERSION, UPDATED): Update.
60375         (@copying): Use @copyright{} and range of years.
60376
60377 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60378
60379         [BZ #13695]
60380         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
60381         [crti.S not in sysdirs] (generated): Do not append.
60382         [crti.S not in sysdirs] (omit-deps): Likewise.
60383         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
60384         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
60385         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
60386         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
60387         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
60388         Likewise.
60389         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
60390         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
60391         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
60392         * csu/defs.awk: Remove file.
60393         * sysdeps/generic/initfini.c: Likewise.
60394         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
60395         variable.
60396         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
60397         Likewise.
60398
60399 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60400
60401         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
60402         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
60403         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
60404         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
60405         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60406         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
60407         <bits/epoll.h>.
60408         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
60409         (__EPOLL_PACKED): Define to empty if not defined by
60410         <bits/epoll.h>.
60411         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
60412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60413         bits/epoll.h.
60414
60415 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60416
60417         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
60418         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
60419         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
60420         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
60421         <bits/timerfd.h>.
60422         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
60423         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60424         bits/timerfd.h.
60425
60426 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60427
60428         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
60429         in C locale.
60430         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60431         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60432         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
60433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60434
60435 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
60436
60437         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60438         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60439
60440 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
60441
60442         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
60443         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
60444         defined.
60445         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
60446         Likewise.
60447         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
60448         entry for 2.16.
60449
60450 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
60451
60452         * math/w_acos.c: Use non-signaling floating-point comparisons.
60453         * math/w_acosf.c: Likewise.
60454         * math/w_acosh.c: Likewise.
60455         * math/w_acoshf.c: Likewise.
60456         * math/w_acoshl.c: Likewise.
60457         * math/w_acosl.c: Likewise.
60458         * math/w_asin.c: Likewise.
60459         * math/w_asinf.c: Likewise.
60460         * math/w_asinl.c: Likewise.
60461         * math/w_atanh.c: Likewise.
60462         * math/w_atanhf.c: Likewise.
60463         * math/w_atanhl.c: Likewise.
60464         * math/w_exp2.c: Likewise.
60465         * math/w_exp2f.c: Likewise.
60466         * math/w_exp2l.c: Likewise.
60467         * math/w_j0.c: Likewise.
60468         * math/w_j0f.c: Likewise.
60469         * math/w_j0l.c: Likewise.
60470         * math/w_j1.c: Likewise.
60471         * math/w_j1f.c: Likewise.
60472         * math/w_j1l.c: Likewise.
60473         * math/w_jn.c: Likewise.
60474         * math/w_jnf.c: Likewise.
60475         * math/w_log.c: Likewise.
60476         * math/w_log10.c: Likewise.
60477         * math/w_log10f.c: Likewise.
60478         * math/w_log10l.c: Likewise.
60479         * math/w_log2.c: Likewise.
60480         * math/w_log2f.c: Likewise.
60481         * math/w_log2l.c: Likewise.
60482         * math/w_logf.c: Likewise.
60483         * math/w_logl.c: Likewise.
60484         * math/w_sqrt.c: Likewise.
60485         * math/w_sqrtf.c: Likewise.
60486         * math/w_sqrtl.c: Likewise.
60487         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60488         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
60489         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60490         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60491         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60492
60493 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60494
60495         [BZ #9739]
60496         * manual/string.texi (strnlen): Use correct parameter name in
60497         equivalent expression.
60498
60499 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60500
60501         [BZ #11174]
60502         * manual/users.texi (seteuid): Consistently use neweuid for
60503         argument name.
60504
60505 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60506
60507         [BZ #13704]
60508         * manual/nss.texi (Services in the NSS configuration): Correct
60509         list of services in example configuration file.
60510
60511 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
60512
60513         [BZ #11322]
60514         * manual/arith.texi: Remove statements about negative zero
60515         behaving identically to zero.
60516
60517 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60518
60519         [BZ #5993]
60520         * manual/install.texi: Do not document upgrading from libc5.
60521
60522 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60523
60524         [BZ #4596]
60525         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
60526
60527 2012-02-18  David S. Miller  <davem@davemloft.net>
60528
60529         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
60530         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
60531         %o7 across the call.
60532         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
60533         instead.
60534         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
60535         SETUP_PIC_REG_LEAF.
60536         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60537         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
60538         * sysdeps/sparc/crtn.S: Likewise.
60539
60540 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
60541
60542         * aout/Makefile: Remove.
60543
60544 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
60545
60546         [BZ #13058]
60547         * manual/examples/argp-ex1.c (main): Format definition in GNU
60548         style.
60549         * manual/examples/argp-ex2.c (main): Likewise.
60550         * manual/examples/argp-ex3.c (main): Likewise.
60551         * manual/examples/argp-ex4.c (main): Likewise.
60552         * manual/examples/longopt.c (main): Use new-style prototype
60553         definition.
60554         * manual/examples/strncat.c (main): Specify return type and use
60555         (void) for arguments.
60556         * manual/examples/subopt.c (main): Use char **argv argument.
60557
60558 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60559
60560         [BZ #5077]
60561         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
60562         rounding modes.
60563
60564 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
60565
60566         [BZ #6907]
60567         * manual/string.texi (strchr): Change when strchrnul is
60568         recommended.
60569
60570 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
60571
60572         [BZ #174]
60573         * manual/locale.texi (setlocale): Document LOCPATH.
60574
60575 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60576
60577         [BZ #10210]
60578         * manual/process.texi (execle): Move @dots{} before last argument.
60579
60580 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
60581
60582         [BZ #12047]
60583         * manual/charset.texi (Generic Charset Conversion): Fix typo
60584         (LC_TYPE -> LC_CTYPE).
60585
60586 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
60587
60588         [BZ #5805]
60589         * manual/arith.texi (scalbn): Use @var{} on parameter names.
60590         (scalbnf): Likewise.
60591         (scalbnl): Likewise.
60592         (scalbln): Likewise.
60593         (scalblnf): Likewise.
60594         (scalblnl): Likewise.
60595         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
60596         (vwarnx): Likewise.
60597         (verr): Likewise.
60598         (verrx): Likewise.
60599         * manual/filesys.texi (telldir): Use braces around return type.
60600         * manual/llio.texi (mmap): Add space after comma.
60601         (mmap64): Likewise.
60602         * manual/math.texi (jn): Use @var{} on parameter names.
60603         (jnf): Likewise.
60604         (jnl): Likewise.
60605         (yn): Likewise.
60606         (ynf): Likewise.
60607         (ynl): Likewise.
60608         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
60609         line.
60610         * manual/resource.texi (ulimit): Use @dots{} instead of literal
60611         "...".
60612         (sched_get_priority_min): Remove semicolon on @deftypefun line.
60613         (sched_get_priority_max): Likewise.
60614         * manual/signal.texi (sigvec): Add space after comma.
60615         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
60616         names.
60617         (if_indextoname): Likewise.
60618         (if_freenameindex): Likewise.
60619         (sendto): Use ',' instead of '.' in prototype.
60620         * manual/startup.texi (syscall): Use @dots{} instead of literal
60621         "...".
60622         * manual/stdio.texi (__fpending): Separate initial words of
60623         paragraph from @deftypefun line.
60624         * manual/syslog.texi (syslog): Use @dots{} instead of literal
60625         "...".
60626         (vsyslog): Use @var{} on parameter names.
60627         * manual/terminal.texi (stty): Use @var{} on parameter names.
60628         * manual/users.texi (getutmp): Use @var{} on parameter names.
60629         (getutmpx): Likewise.
60630
60631 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60632
60633         [BZ #6884]
60634         * manual/stdio.texi (fopen): Fix typos in description of
60635         ",ccs=STRING".
60636
60637 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
60638
60639         [BZ #4026]
60640         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
60641         get clock_id definition.
60642
60643 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
60644
60645         [BZ #4822]
60646         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
60647         (madvise): Cast every argument to void on its own.
60648
60649 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60650
60651         [BZ #9902]
60652         * manual/startup.texi (Exit Status): Fix typo.
60653
60654 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60655
60656         [BZ #10140]
60657         * manual/examples/argp-ex1.c: Include <stdlib.h>.
60658         * manual/examples/argp-ex2.c: Likewise.
60659         * manual/examples/argp-ex3.c: Likewise.
60660
60661 2012-02-16  Richard Henderson  <rth@redhat.com>
60662
60663         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
60664         * sysdeps/s390/s390-32/initfini.c: Remove.
60665         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
60666         * sysdeps/s390/s390-64/initfini.c: Remove.
60667
60668 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60669
60670         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
60671         compiler output for sysdeps/generic/initfini.c.
60672         * sysdeps/sh/elf/initfini.c: Remove file.
60673
60674 2012-02-16  David S. Miller  <davem@davemloft.net>
60675
60676         [BZ #11494]
60677         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
60678
60679         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
60680         * sysdeps/sparc/crti.S: New file.
60681         * sysdeps/sparc/crtn.S: New file.
60682         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
60683         * sysdeps/sparc/sparc64/Makefile: Likewise.
60684
60685 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
60686
60687         [BZ #3335]
60688         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
60689
60690 2012-02-15  Roland McGrath  <roland@hack.frob.com>
60691
60692         [BZ #4822]
60693         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
60694
60695         * mach/devstream.c (cookie_io_functions_t): Macro removed.
60696         (write, read, close): Likewise.
60697         Patch by Aurelien Jarno <aurelien@aurel32.net>.
60698
60699 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
60700
60701         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
60702         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
60703         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
60704         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
60705         <bits/signalfd.h>.
60706         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
60707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60708         bits/signalfd.h.
60709
60710 2012-02-14  Marek Polacek  <polacek@redhat.com>
60711
60712         * sysdeps/x86_64/crti.S: New file.
60713         * sysdeps/x86_64/crtn.S: New file.
60714         * sysdeps/x86_64/elf/initfini.c: Remove file.
60715
60716 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60717
60718         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
60719         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
60720         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
60721         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
60722         <bits/inotify.h>.
60723         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
60724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60725         bits/inotify.h.
60726
60727 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60728
60729         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
60730         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
60731         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
60732         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
60733         <bits/eventfd.h>.
60734         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
60735         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60736         bits/eventfd.h.
60737
60738 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
60739
60740         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
60741         __feraiseexcept instead of feraiseexcept.
60742
60743         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
60744         nanosleep invocations.
60745         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
60746         strings, and add error checking for a nanosleep invocations.
60747
60748 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
60749
60750         Replace FSF snail mail address with URLs, as per GNU coding standards.
60751         Most of the snail mail addresses were wrong anyway, and omitting
60752         them makes the source code easier to maintain.  Almost all of the
60753         changes are to license notices and to locale LC_IDENTIFICATION
60754         addresses, except for this one:
60755         * manual/libc.texinfo: In "Published by", give the FSF's URL,
60756         not its snail mail address.
60757
60758 2012-02-09  Richard Henderson  <rth@twiddle.net>
60759
60760         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
60761         of kernel-features.h.
60762
60763         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
60764
60765 2012-02-08  Marek Polacek  <polacek@redhat.com>
60766
60767         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
60768         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
60769         * sysdeps/gnu/_G_config.h: Likewise.
60770         * sysdeps/generic/_G_config.h: Likewise.
60771
60772 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
60773
60774         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
60775         tests.
60776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60777
60778         * sysdeps/powerpc/powerpc32/crti.S: New file.
60779         * sysdeps/powerpc/powerpc32/crtn.S: New file.
60780         * sysdeps/powerpc/powerpc64/crti.S: New file.
60781         * sysdeps/powerpc/powerpc64/crtn.S: New file.
60782
60783         * Makeconfig (have-initfini): Don't set.
60784         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
60785         * configure.in (nopic_initfini): Don't substitute.
60786         * config.h.in (HAVE_INITFINI): Don't #undef.
60787         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
60788         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
60789
60790 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
60791
60792         Support crti.S and crtn.S provided directly by architectures.
60793         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
60794         [crti.S in sysdirs] (omit-deps): Likewise.
60795         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
60796         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
60797         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
60798         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
60799         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
60800         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
60801         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
60802         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
60803         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
60804         compiler output for sysdeps/generic/initfini.c.
60805         * sysdeps/i386/elf/Makefile: Remove file.
60806         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
60807
60808 2012-02-07  Marek Polacek  <polacek@redhat.com>
60809
60810         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
60811         * sysdeps/gnu/_G_config.h: Likewise.
60812         * sysdeps/mach/hurd/_G_config.h: Likewise.
60813
60814 2012-02-07  Marek Polacek  <polacek@redhat.com>
60815
60816         * math/Makefile (tests): Add tst-CMPLX2.
60817         * math/tst-CMPLX2.c: New file.
60818
60819 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
60820
60821         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60822
60823         * math/libm-test.inc (jn_test): Add missing L suffix.
60824
60825 2012-02-06  Marek Polacek  <polacek@redhat.com>
60826
60827         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
60828         * sysdeps/i386/fpu/e_powf.S: Likewise.
60829         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60830         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60831         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60832         * sysdeps/i386/fpu/e_pow.S: Likewise.
60833         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60834         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60835         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60836         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60837         * sysdeps/i386/fpu/e_log2.S: Likewise.
60838         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60839         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60840         * sysdeps/i386/fpu/e_powl.S: Likewise.
60841         * sysdeps/i386/fpu/s_log1p.S: Likewise.
60842         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60843         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60844         * sysdeps/i386/fpu/e_logl.S: Likewise.
60845         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60846         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
60847         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60848         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60849         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60850         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60851         * sysdeps/i386/fpu/e_log.S: Likewise.
60852         * sysdeps/i386/fpu/s_cexp.S: Likewise.
60853         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60854         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
60855         * sysdeps/i386/fpu/e_logf.S: Likewise.
60856         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60857         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60858         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
60859         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60860         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60861         * sysdeps/i386/fpu/e_log10.S: Likewise.
60862         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60863         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60864         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60865         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60866         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60867         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60868         * sysdeps/i386/asm-syntax.h: Likewise.
60869         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60870         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60871         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60872         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
60873         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
60874         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60875         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60876         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60877         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60878         * sysdeps/powerpc/sysdep.h: Likewise.
60879         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
60880         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60881
60882 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
60883
60884         [BZ #411]
60885         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
60886
60887 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
60888
60889         * sysdeps/i386/sysdep.h: Include <features.h>.
60890         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
60891         version.
60892
60893 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
60894
60895         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
60896         Define.
60897         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
60898         LOAD_PIC_REG_STR.
60899
60900 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60901
60902         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
60903         (SETUP_PIC_REG): Use GET_PC_THUNK.
60904         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
60905         macro.
60906
60907 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60908
60909         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
60910         for non-PIC compilation.
60911         (SETUP_PIC_REG): Add .p2align directive.
60912         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
60913         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
60914         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60915         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60916         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60917         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60918         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
60919         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60920         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60921         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60922         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60923         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60924         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60925         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60926         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60927         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60928         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60929         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60930         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60931         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60932         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60933         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60934         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60935         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60936         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60937         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60938         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60939         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60940         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60941         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60942         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60943         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60944         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60945         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60946         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60947         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60948         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60949         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60950         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60951         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60952         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60953
60954 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60955
60956         * math/tst-CMPLX.c: Include <stdio.h>.
60957
60958 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
60959
60960         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
60961         float.
60962         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
60963         * sysdeps/sparc/bits/mathdef.h: Likewise.
60964
60965 2012-01-31  Marek Polacek  <polacek@redhat.com>
60966
60967         * libio/libio.h: Don't define _PARAMS.
60968         * locale/programs/config.h: Don't define PARAMS.
60969         * stdlib/strtol_l.c: Likewise.
60970         (__strtol_l): Remove PARAMS from the prototype.
60971
60972 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
60973
60974         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
60975         names.  Just use the correct names.  Remove unnecessary wrapper
60976         functions.
60977         * malloc/arena.c: Likewise.
60978         * malloc/hooks.c: Likewise.
60979
60980         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
60981         ARENA_TEST says not to.  Simplify test for creation of a new arena.
60982         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
60983
60984 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
60985
60986         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
60987         into tail calls.
60988         (update_get_addr): New function.
60989         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
60990         GET_ADDR_MODULE parameter.
60991
60992 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
60993
60994         * crypt/cert.c: Remove __STDC__ conditionals.
60995         * crypt/crypt-entry.c: Likewise.
60996         * crypt/crypt_util.c: Likewise.
60997         * libio/filedoalloc.c: Likewise.
60998         * libio/fileops.c: Likewise.
60999         * libio/genops.c: Likewise.
61000         * libio/iofclose.c: Likewise.
61001         * libio/iofdopen.c: Likewise.
61002         * libio/iofopen.c: Likewise.
61003         * libio/iofopen64.c: Likewise.
61004         * libio/iogetdelim.c: Likewise.
61005         * libio/iopopen.c: Likewise.
61006         * libio/obprintf.c: Likewise.
61007         * libio/oldfileops.c: Likewise.
61008         * libio/oldiofclose.c: Likewise.
61009         * libio/oldiofdopen.c: Likewise.
61010         * libio/oldiofopen.c: Likewise.
61011         * libio/oldiopopen.c: Likewise.
61012         * libio/wfiledoalloc.c: Likewise.
61013         * libio/wgenops.c: Likewise.
61014         * locale/programs/xmalloc.c: Likewise.
61015         * misc/syslog.c: Likewise.
61016         * stdio-common/xbug.c: Likewise.
61017         * string/memchr.c: Likewise.
61018         * string/memcmp.c: Likewise.
61019         * string/memrchr.c: Likewise.
61020         * string/rawmemchr.c: Likewise.
61021         * sysdeps/posix/getcwd.c: Likewise.
61022         * time/strftime_l.c: Likewise.
61023
61024 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61025
61026         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61027         * config.make.in (config-cflags-sse2avx): Define.
61028         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61029         Fix typo.
61030
61031 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61032
61033         * scripts/config.guess: Update from upstream config git repository.
61034         * scripts/config.sub: Likewise.
61035
61036 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61037
61038         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61039         (EM_NUM): Update.
61040         (R_TILEPRO_*, R_TILEGX_*): New macros.
61041
61042         * scripts/firstversions.awk: Fix bug in version range handling.
61043
61044         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61045
61046         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61047
61048         * include/sys/epoll.h: New file.
61049         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61050         libc_hidden_def.
61051
61052 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61053
61054         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61055         Avoid unnecessary __WORDSIZE == 64 test.
61056         (fmaxf): Use VEX format if possible.
61057         (fmax): Likewise.
61058         (fminf): Likewise.
61059         (fmin): Likewise.
61060
61061         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61062         * math/math_private.h: Remove libc_fegetround* and
61063         libc_fesetround*.
61064         * sysdeps/i386/configure.in: Check for -msse2avx.
61065         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61066         also if SSE2AVX is defined.
61067         Remove libc_fegetround* and libc_fesetround*.
61068         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61069         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61070         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61071         of HAS_YMM_USABLE.
61072         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61073         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61074         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61075         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61076         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61077
61078         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61079
61080 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61081
61082         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61083         size is not set.
61084         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61085
61086 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61087
61088         [BZ #13618]
61089         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61090         relocation.
61091         * Makeconfig (libm): Define.
61092         * elf/Makefile: Add rules to build and run tst-relsort1.
61093         * elf/tst-relsort1.c: New file.
61094         * elf/tst-relsort1mod1.c: New file.
61095         * elf/tst-relsort1mod2.c: New file.
61096
61097 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61098
61099         * math/s_ldexp.c: Remove __STDC__ conditionals.
61100         * math/s_ldexpf.c: Likewise.
61101         * math/s_ldexpl.c: Likewise.
61102         * math/s_nextafter.c: Likewise.
61103         * math/s_nexttowardf.c: Likewise.
61104         * math/s_significand.c: Likewise.
61105         * math/s_significandf.c: Likewise.
61106         * math/s_significandl.c: Likewise.
61107         * math/w_jnl.c: Likewise.
61108         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61109         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61110         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61111         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61112         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61113         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61114         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61115         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61116         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61117         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61118         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61119         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61120         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61121         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61122         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61123         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61124         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61125         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61126         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61127         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61128         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61129         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61130         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61131         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61132         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61133         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61134         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61135         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61136         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61137         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61138         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61139         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61140         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61141         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61142         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61143         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61144         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61145         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61146         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61147         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61148         * sysdeps/ieee754/k_standard.c: Likewise.
61149         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61150         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61151         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61152         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61153         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61154         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61155         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61156         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61157         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61158         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61159         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61160         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61161         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61162         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61163         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61164         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61165         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61166         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61167         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61168         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61169         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61170         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61171         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61172         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61173         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61174         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61175         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61177         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61178         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61179         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61180         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
61181         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61182         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61183         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61184         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61185         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
61186         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61187         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61188         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
61189         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
61190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61191         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
61192         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
61193         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61194         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61195         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61196         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61197         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61198         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
61199         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
61200         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61201         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61202         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61203         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61204         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61205         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
61206         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61207         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61208         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61209         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61210         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61211         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61212         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61213         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61214         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61215         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61216         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61217         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61218         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61219         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61220         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61221         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61222         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61223         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61224         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61225         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61226         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61227         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61228         * sysdeps/ieee754/s_matherr.c: Likewise.
61229         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61230         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61231         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61232         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61233
61234 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61235
61236         * crypt/md5.h: Remove __STDC__ conditionals.
61237         * libio/libioP.h: Likewise.
61238         * locale/programs/config.h: Likewise.
61239         * sysdeps/generic/sysdep.h: Likewise.
61240         * sysdeps/i386/asm-syntax.h: Likewise.
61241         * sysdeps/s390/asm-syntax.h: Likewise.
61242         * sysdeps/unix/sysdep.h: Likewise.
61243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
61244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61245
61246 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61247
61248         * libio/libio.h: Remove __STDC__ conditionals.
61249         * malloc/obstack.h: Likewise.
61250         * math/complex.h: Likewise.
61251         * math/math.h: Likewise.
61252         * sysdeps/generic/_G_config.h: Likewise.
61253         * sysdeps/gnu/_G_config.h: Likewise.
61254         * sysdeps/mach/hurd/_G_config.h: Likewise.
61255         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61256         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61257         * sysdeps/sparc/bits/mathdef.h: Likewise.
61258
61259 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
61260
61261         [BZ #13583]
61262         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
61263         Clean up HAS_* macros.
61264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
61265         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
61266         possible.
61267         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
61268         HAS_AVX.
61269         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61270         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61271         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61272         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61273         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61274
61275 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
61276
61277         * elf/tst-unique3.cc (gets): Remove declaration.
61278         * elf/tst-unique3lib.cc (gets): Likewise.
61279         * elf/tst-unique3lib2.cc (gets): Likewise.
61280         * elf/tst-unique4.cc (gets): Likewise.
61281
61282 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
61283
61284         * include/stdio.h: Add C++ protection.  Add gets declarations and
61285         definitions.
61286         * debug/tst-chk1.c: Don't declare gets here.
61287         * stdio-common/tst-gets.c: Likewise.
61288
61289 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61290
61291         * posix/glob: Remove directory.
61292
61293 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61294
61295         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
61296
61297 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
61298
61299         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
61300         of the non-standard EPFNOSUPPORT.
61301
61302 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61303
61304         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
61305         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
61306         ANYWHERE set to 1 only on KERN_NO_SPACE error.
61307
61308 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
61309
61310         * wcsmbs/uchar.h: Test __STDC_VERSION__.
61311
61312 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
61313
61314         * nscd/aicache.c (addhstaiX): Do not cache negative results of
61315         transient errors.
61316         * nscd/grpcache.c (cache_addgr): Likewise.
61317         * nscd/hstcache.c (cache_addhst): Likewise.
61318         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61319         * nscd/pwdcache.c (cache_addpw): Likewise.
61320         * nscd/servicescache.c (cache_addserv): Likewise.
61321
61322 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
61323
61324         * malloc/malloc.c: Various cleanups.
61325         * malloc/hooks.c: Likewise.
61326
61327         * stdlib/Makefile (tests): Add bug-fmtmsg1.
61328         * stdlib/bug-fmtmsg1.c: New file.
61329
61330         * stdlib/fmtmsg.c (init): Add missing unlock.
61331         Patch by Peng Haitao <penght@cn.fujitsu.com>.
61332
61333 2012-01-12  Marek Polacek  <polacek@redhat.com>
61334
61335         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
61336         and _GNU_SOURCE.
61337
61338 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61339
61340         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
61341         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
61342         macro to ensure uniqueness of label name.
61343         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61344         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61345
61346 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
61347
61348         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
61349
61350         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
61351         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61352         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61353         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
61354
61355 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
61356
61357         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
61358
61359         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
61360         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61361         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61362
61363         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
61364
61365         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
61366         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61367         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61368         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
61369
61370         * math/bits/math-finite.h: Add ldexp support.
61371
61372 2012-01-10  Marek Polacek  <polacek@redhat.com>
61373
61374         * locale/programs/localedef.h (show_archive_content): Add noreturn
61375         attribute.
61376
61377 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
61378
61379         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
61380
61381 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61382
61383         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
61384
61385         * io/Makefile (headers): Add bits/poll2.h.
61386
61387 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
61388
61389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
61390         typo #include statement.
61391
61392 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61393
61394         * include/sys/cdefs.h: Define __attribute_alloc_size.
61395         * catgets/gencat.c: Add alloc_size attribute and apply consistently
61396         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
61397         * elf/pldd.c: Likewise.
61398         * iconv/iconv_charmap.c: Likewise.
61399         * iconv/iconvconfig.c: Likewise.
61400         * iconv/strtab.c: Likewise.
61401         * locale/programs/locale.c: Likewise.
61402         * locale/programs/localedef.h: Likewise.
61403         * locale/programs/simple-hash.c: Likewise.
61404         * nscd/nscd.h: Likewise.
61405         * nss/makedb.c: Likewise.
61406         * sysdeps/generic/ldconfig.h: Likewise.
61407         * locale/programs/localedef.c: Remove xmalloc prototype.
61408         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
61409
61410 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61411
61412         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
61413         appropriate.
61414
61415 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61416
61417         * math/Makefile (tests): Add tst-CMPLX.
61418         * math/tst-CMPLX.c: New file.
61419
61420         * math/complex.h (CMPLXL): Fix typo.
61421
61422         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
61423         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
61424         GLIBC_2.16.
61425         * debug/tst-chk1.c: Add poll and ppoll tests.
61426         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
61427         * include/sys/poll.h: Add hidden proto for ppoll.
61428         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
61429         * sysdeps/mach/hurd/ppoll.c: Likewise.
61430         * io/ppoll.c: Likewise.
61431         * debug/poll_chk.c: New file.
61432         * debug/ppoll_chk.c: New file.
61433         * include/bits/poll2.h: New file.
61434         * io/bits/poll2.h: New file.
61435
61436         [BZ #1350]
61437         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
61438
61439         * configure.in: static is always set to yes.  Remove.
61440         * config.make.in: Don't set build-static.
61441         * Makeconfig: Remove use of build-static.
61442         * dlfcn/Makefile: Likewise.
61443         * elf/Makefile: Likewise.
61444         * math/Makefile: Likewise.
61445         * misc/Makefile: Likewise.
61446         * nptl/Makefile: Likewise.
61447         * sysdeps/mach/hurd/Makefile: Likewise.
61448
61449         * configure.in: PWD_P is not used anymore.
61450         * config.make.in: Remove PWD_P entry.
61451
61452         * configure.in: Remove last remnants of RANLIB.
61453         No need to check for signed size_t anymore.
61454         Don't set libc_commonpagesize and libc_relro_required here for Alpha
61455         and IA-64.
61456         Remove __builtin_expect test because we require at least gcc 3.4.
61457         * aclocal.m4: Likewise.
61458
61459         * wcsmbs/mbrtoc16.c: Implement using towc function.
61460         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
61461         * wcsmbs/wcsmbsload.c: Likewise.
61462         * iconv/gconv_simple.c: Likewise.
61463         * iconv/gconv_int.h: Likewise.
61464         * iconv/gconv_builtin.h: Likewise.
61465         * iconv/iconv_prog.c: Remove CHAR16 handling.
61466
61467         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
61468
61469         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
61470
61471         * configure.in: Remove --with-elf and --enable-bounded options.
61472         Dont set base_machine for ia64.  More non-ELF conditions removed.
61473         Remove testing and setting of leading underscore information.
61474         * config.make.in (build-bounded): Set to no.
61475         * config.h.in: Remove NO_UNDERSCORES entry.
61476         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
61477         them.
61478         * csu/start.c: Remove !NO_UNDERSCORE code.
61479         * locale/localeinfo.h: Likewise.
61480         * sysdeps/generic/machine-gmon.h: Likewise.
61481         * sysdeps/generic/sysdep.h: Likewise.
61482         * sysdeps/i386/sysdep.h: Likewise.
61483         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61484         * sysdeps/mach/sysdep.h: Likewise.
61485         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61486         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61487         * sysdeps/sh/sysdep.h: Likewise.
61488         * sysdeps/sparc/sparc32/alloca.S: Likewise.
61489         * sysdeps/unix/i386/sysdep.S: Likewise.
61490         * sysdeps/unix/sparc/start.c: Likewise.
61491         * sysdeps/unix/sparc/sysdep.S: Likewise.
61492         * sysdeps/unix/sparc/sysdep.h: Likewise.
61493         * sysdeps/unix/start.c: Likewise.
61494         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61495         * sysdeps/x86_64/sysdep.h: Likewise.
61496
61497 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
61498
61499         [BZ #13553]
61500         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
61501         for non-gcc.
61502         * argp/argp-fmtstream.h: Use const instead __const.
61503         * argp/argp.h: Likewise.
61504         * assert/assert.h: Likewise.
61505         * bits/fenv.h: Likewise.
61506         * bits/sched.h: Likewise.
61507         * bits/sigset.h: Likewise.
61508         * bits/sigthread.h: Likewise.
61509         * catgets/nl_types.h: Likewise.
61510         * conform/data/pthread.h-data: Likewise.
61511         * crypt/crypt-private.h: Likewise.
61512         * crypt/crypt.h: Likewise.
61513         * crypt/crypt_util.c: Likewise.
61514         * ctype/ctype.h: Likewise.
61515         * debug/execinfo.h: Likewise.
61516         * debug/mbsnrtowcs_chk.c: Likewise.
61517         * debug/mbsrtowcs_chk.c: Likewise.
61518         * debug/wcsnrtombs_chk.c: Likewise.
61519         * debug/wcsrtombs_chk.c: Likewise.
61520         * debug/wcstombs_chk.c: Likewise.
61521         * dirent/dirent.h: Likewise.
61522         * dlfcn/dlfcn.h: Likewise.
61523         * elf/neededtest4.c: Likewise.
61524         * grp/grp.h: Likewise.
61525         * gshadow/gshadow.h: Likewise.
61526         * iconv/gconv.h: Likewise.
61527         * iconv/gconv_int.h: Likewise.
61528         * iconv/gconv_simple.c: Likewise.
61529         * iconv/iconv.h: Likewise.
61530         * iconv/loop.c: Likewise.
61531         * iconv/skeleton.c: Likewise.
61532         * include/aio.h: Likewise.
61533         * include/aliases.h: Likewise.
61534         * include/argz.h: Likewise.
61535         * include/arpa/inet.h: Likewise.
61536         * include/assert.h: Likewise.
61537         * include/dirent.h: Likewise.
61538         * include/dlfcn.h: Likewise.
61539         * include/execinfo.h: Likewise.
61540         * include/fcntl.h: Likewise.
61541         * include/fenv.h: Likewise.
61542         * include/glob.h: Likewise.
61543         * include/grp.h: Likewise.
61544         * include/libintl.h: Likewise.
61545         * include/mntent.h: Likewise.
61546         * include/netdb.h: Likewise.
61547         * include/pwd.h: Likewise.
61548         * include/rpc/netdb.h: Likewise.
61549         * include/sched.h: Likewise.
61550         * include/search.h: Likewise.
61551         * include/shadow.h: Likewise.
61552         * include/signal.h: Likewise.
61553         * include/stdio.h: Likewise.
61554         * include/stdlib.h: Likewise.
61555         * include/string.h: Likewise.
61556         * include/sys/socket.h: Likewise.
61557         * include/sys/stat.h: Likewise.
61558         * include/sys/statfs.h: Likewise.
61559         * include/sys/statvfs.h: Likewise.
61560         * include/sys/syslog.h: Likewise.
61561         * include/sys/time.h: Likewise.
61562         * include/sys/uio.h: Likewise.
61563         * include/time.h: Likewise.
61564         * include/unistd.h: Likewise.
61565         * include/utmp.h: Likewise.
61566         * include/wchar.h: Likewise.
61567         * include/wctype.h: Likewise.
61568         * inet/aliases.h: Likewise.
61569         * inet/arpa/inet.h: Likewise.
61570         * inet/netinet/ether.h: Likewise.
61571         * inet/netinet/in.h: Likewise.
61572         * intl/libintl.h: Likewise.
61573         * io/bits/fcntl2.h: Likewise.
61574         * io/fcntl.h: Likewise.
61575         * io/ftw.h: Likewise.
61576         * io/sys/poll.h: Likewise.
61577         * io/sys/stat.h: Likewise.
61578         * io/sys/statfs.h: Likewise.
61579         * io/sys/statvfs.h: Likewise.
61580         * io/utime.h: Likewise.
61581         * libio/bits/stdio.h: Likewise.
61582         * libio/bits/stdio2.h: Likewise.
61583         * libio/libio.h: Likewise.
61584         * libio/libioP.h: Likewise.
61585         * libio/stdio.h: Likewise.
61586         * locale/lc-ctype.c: Likewise.
61587         * locale/locale.h: Likewise.
61588         * login/utmp.h: Likewise.
61589         * malloc/arena.c: Likewise.
61590         * malloc/malloc.c: Likewise.
61591         * malloc/malloc.h: Likewise.
61592         * malloc/mcheck.c: Likewise.
61593         * malloc/mtrace.c: Likewise.
61594         * math/bits/mathcalls.h: Likewise.
61595         * math/fenv.h: Likewise.
61596         * math/math_private.h: Likewise.
61597         * misc/bits/error.h: Likewise.
61598         * misc/bits/syslog.h: Likewise.
61599         * misc/err.h: Likewise.
61600         * misc/error.h: Likewise.
61601         * misc/fstab.h: Likewise.
61602         * misc/mntent.h: Likewise.
61603         * misc/regexp.h: Likewise.
61604         * misc/search.h: Likewise.
61605         * misc/sgtty.h: Likewise.
61606         * misc/sys/mman.h: Likewise.
61607         * misc/sys/syslog.h: Likewise.
61608         * misc/sys/uio.h: Likewise.
61609         * misc/sys/xattr.h: Likewise.
61610         * misc/ttyent.h: Likewise.
61611         * nis/rpcsvc/ypclnt.h: Likewise.
61612         * nss/nss.h: Likewise.
61613         * posix/bits/unistd.h: Likewise.
61614         * posix/fnmatch.h: Likewise.
61615         * posix/glob.h: Likewise.
61616         * posix/sched.h: Likewise.
61617         * posix/spawn.h: Likewise.
61618         * posix/sys/wait.h: Likewise.
61619         * posix/unistd.h: Likewise.
61620         * posix/wordexp.h: Likewise.
61621         * pwd/pwd.h: Likewise.
61622         * resolv/netdb.h: Likewise.
61623         * resource/sys/resource.h: Likewise.
61624         * rt/aio.h: Likewise.
61625         * rt/bits/mqueue2.h: Likewise.
61626         * rt/mqueue.h: Likewise.
61627         * shadow/shadow.h: Likewise.
61628         * signal/signal.h: Likewise.
61629         * socket/send.c: Likewise.
61630         * socket/sendto.c: Likewise.
61631         * socket/sys/socket.h: Likewise.
61632         * stdio-common/printf.h: Likewise.
61633         * stdlib/bits/stdlib.h: Likewise.
61634         * stdlib/fmtmsg.h: Likewise.
61635         * stdlib/monetary.h: Likewise.
61636         * stdlib/stdlib.h: Likewise.
61637         * stdlib/ucontext.h: Likewise.
61638         * streams/stropts.h: Likewise.
61639         * string/argz.h: Likewise.
61640         * string/bits/string2.h: Likewise.
61641         * string/string.h: Likewise.
61642         * string/strings.h: Likewise.
61643         * sunrpc/rpc/auth.h: Likewise.
61644         * sunrpc/rpc/auth_des.h: Likewise.
61645         * sunrpc/rpc/clnt.h: Likewise.
61646         * sunrpc/rpc/netdb.h: Likewise.
61647         * sunrpc/rpc/pmap_clnt.h: Likewise.
61648         * sunrpc/rpc/xdr.h: Likewise.
61649         * sysdeps/generic/inttypes.h: Likewise.
61650         * sysdeps/generic/net/if.h: Likewise.
61651         * sysdeps/generic/sys/swap.h: Likewise.
61652         * sysdeps/gnu/net/if.h: Likewise.
61653         * sysdeps/gnu/utmpx.h: Likewise.
61654         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
61655         * sysdeps/i386/i486/bits/string.h: Likewise.
61656         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
61657         * sysdeps/s390/bits/string.h: Likewise.
61658         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
61659         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
61660         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
61661         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
61662         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
61663         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
61664         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
61665         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
61666         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
61667         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
61668         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
61669         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61670         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
61671         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61672         * sysdeps/unix/sysv/linux/readv.c: Likewise.
61673         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
61674         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61675         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61676         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
61677         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
61678         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
61679         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
61680         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
61681         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
61682         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
61683         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
61684         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
61685         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61686         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
61687         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
61688         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
61689         * sysvipc/sys/ipc.h: Likewise.
61690         * sysvipc/sys/msg.h: Likewise.
61691         * sysvipc/sys/sem.h: Likewise.
61692         * sysvipc/sys/shm.h: Likewise.
61693         * termios/termios.h: Likewise.
61694         * time/sys/time.h: Likewise.
61695         * time/time.h: Likewise.
61696         * wcsmbs/bits/wchar2.h: Likewise.
61697         * wcsmbs/uchar.h: Likewise.
61698         * wcsmbs/wchar.h: Likewise.
61699         * wctype/wctype.h: Likewise.
61700
61701         [BZ #13551]
61702         * Makeconfig: Remove all but ELF support including AIX support.
61703         * Makerules: Likewise.
61704         * config.h.in: Likewise.
61705         * config.make.in: Likewise.
61706         * configure: Likewise.
61707         * configure.in: Likewise.
61708         * csu/Makefile: Likewise.
61709         * csu/version.c: Likewise.
61710         * debug/Makefile: Likewise.
61711         * dlfcn/Makefile: Likewise.
61712         * elf/Makefile: Likewise.
61713         * extra-lib.mk: Likewise.
61714         * iconv/Makefile: Likewise.
61715         * include/libc-symbols.h: Likewise.
61716         * include/shlib-compat.h: Likewise.
61717         * resolv/Makefile: Likewise.
61718         * resolv/res_libc.c: Likewise.
61719         * rt/Makefile: Likewise.
61720         * sysdeps/i386/asm-syntax.h: Likewise.
61721         * sysdeps/i386/sysdep.h: Likewise.
61722         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61723         * sysdeps/mach/sysdep.h: Likewise.
61724         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
61725         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
61726         * sysdeps/s390/asm-syntax.h: Likewise.
61727         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61728         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61729         * sysdeps/sh/sysdep.h: Likewise.
61730         * sysdeps/unix/sparc/sysdep.h: Likewise.
61731         * sysdeps/wordsize-32/divdi3.c: Likewise.
61732         * sysdeps/x86_64/sysdep.h: Likewise.
61733
61734         * argp/Versions: Remove _argp_unlock_xxx.
61735
61736         [BZ #13559]
61737         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
61738         * abilist/libBrokenLocale.abilist: Likewise.
61739         * abilist/libanl.abilist: Likewise.
61740         * abilist/libc.abilist: Likewise.
61741         * abilist/libcrypt.abilist: Likewise.
61742         * abilist/libdl.abilist: Likewise.
61743         * abilist/libm.abilist: Likewise.
61744         * abilist/libnsl.abilist: Likewise.
61745         * abilist/libpthread.abilist: Likewise.
61746         * abilist/libresolv.abilist: Likewise.
61747         * abilist/librt.abilist: Likewise.
61748         * abilist/libthread_db.abilist: Likewise.
61749         * abilist/libutil.abilist: Likewise.
61750         * abilist/libnss_db.abilist: New file.
61751
61752         * scripts/abilist.awk: Add support for indirect functions.
61753
61754         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
61755
61756         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
61757
61758         * shlib-versions: Remove entries for ports architectures.
61759
61760         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
61761         files in ports.
61762         * elf/stackguard-macros.h: Remove support for IA-64.
61763         * elf/tst-auditmod1.c: Likewise.
61764         * sysdeps/generic/ldsodefs.h: Likewise.
61765
61766         * sysdeps/unix/sysv/linux/configure.in: Ports should define
61767         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
61768         configure files.
61769
61770         [BZ #13552]
61771         * configure.in: Remove --enable-omitfp support.
61772         * FAQ.in: Adjust.
61773         * config.make.in: Likewise.
61774         * Makeconfig: Likewise.
61775         * manual/install.texi: Likewise.
61776
61777         In case anyone cares, the IA-64 architecture could move to ports.
61778         * sysdeps/ia64/*: Removed.
61779         * sysdeps/unix/sysv/linux/ia64/*: Removed.
61780         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
61781
61782         [BZ #13555]
61783         * configure.in: Remove entries for unsupported architectures.
61784
61785         [BZ #13533]
61786         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
61787         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
61788         routines.
61789         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
61790         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
61791         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
61792         fall back to using wcrtomb.
61793         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
61794         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
61795         renaming.
61796         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
61797         * wcsmbs/tst-c16c32-1.c: New file.
61798
61799         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
61800         local variable.
61801
61802         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
61803
61804         * elf/tst-unique3.cc: Add explicit declaration of gets.
61805         * elf/tst-unique3lib.cc: Likewise.
61806         * elf/tst-unique3lib2.cc: Likewise.
61807         * elf/tst-unique4.cc: Likewise.
61808
61809         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
61810
61811 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
61812
61813         [BZ #13566]
61814         * assert/assert.h (static_assert): Don't define for C++.
61815         * libio/stdio.h (gets): Do declare for C++ <= C++11.
61816         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
61817
61818 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
61819
61820         * iconv/loop.c (single loop): Fix assertion in storing of
61821         remaining bytes.
61822
61823         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
61824
61825 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
61826
61827         * posix/getconf.c: Update copyright year.
61828         * nss/getent.c: Likewise.
61829         * nss/makedb.c: Likewise.
61830         * iconv/iconvconfig.c: Likewise.
61831         * iconv/iconv_prog.c: Likewise.
61832         * elf/ldconfig.c: Likewise.
61833         * elf/pldd.c: Likewise.
61834         * elf/sotruss.ksh: Likewise.
61835         * catgets/gencat.c: Likewise.
61836         * csu/version.c: Likewise.
61837         * elf/ldd.bash.in: Likewise.
61838         * elf/sprof.c (print_version): Likewise.
61839         * locale/programs/locale.c: Likewise.
61840         * locale/programs/localedef.c: Likewise.
61841         * login/programs/pt_chown.c: Likewise.
61842         * nscd/nscd.c (print_version): Likewise.
61843         * debug/xtrace.sh: Likewise.
61844         * malloc/memusage.sh: Likewise.
61845         * malloc/mtrace.pl: Likewise.
61846         * debug/catchsegv.sh: Likewise.
61847
61848 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
61849
61850         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
61851         pure attribute.
61852
61853 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
61854
61855         [BZ #13533]
61856         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
61857         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
61858         transformations.
61859         * iconv/gconv_int.h: Likewise.
61860         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
61861         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
61862         from libc for GLIBC_2.16.
61863         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
61864         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
61865         * wcsmbs/uchar.h: Really define mbstate_t.
61866         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
61867         * wcsmbs/c16rtomb.c: New file.
61868         * wcsmbs/mbrtoc16.c: New file.
61869         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
61870         for C/POSIX locale.
61871         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
61872         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
61873
61874         * wcsmbs/wchar.h: Add missing __restrict.
61875
61876 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
61877
61878         [BZ #13532]
61879         * time/Makefile (routines): Add timespec_get.
61880         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
61881         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
61882         timespec for ISO C11.
61883         * time/timespec_get.c: New file.
61884         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
61885         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
61886
61887         [BZ #13531]
61888         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
61889         * stdlib/stdlib.h: Declare aligned_alloc.
61890         * Versions.def: Add GLIBC_2.16 for libc.
61891         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
61892
61893         [BZ 13527]
61894         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
61895         ISO C11.
61896
61897         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
61898         code.
61899
61900         [BZ #13528]
61901         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
61902
61903         [BZ #13529]
61904         * assert/assert.h (static_assert): Define.
61905
61906         * version.h: Update for 2.16 development version.
61907
61908         [BZ #13526]
61909         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
61910         _ISOC11_SOURCE.
61911
61912         * version.h (RELEASE): Bump for 2.15 release.
61913         * include/features.h (__GLIBC_MINOR__): Bump to 15.
61914
61915         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
61916         Patch by Marek Polacek <mpolacek@redhat.com>.
61917
61918         * bits/byteswap.h: Protect long long constants with __extension__.
61919         * sysdeps/i386/bits/byteswap.h: Likewise.
61920         * sysdeps/ia64/bits/byteswap.h: Likewise.
61921         * sysdeps/s390/bits/byteswap.h: Likewise.
61922         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61923
61924 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61925
61926         [BZ #13540]
61927         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
61928         destination buffer.
61929         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
61930
61931 2011-12-23  Marek Polacek  <polacek@redhat.com>
61932
61933         * elf/dl-addr.c (determine_info): Add inline keyword.
61934         * elf/tst-auditmod4b.c (check_avx): Likewise.
61935         * elf/tst-auditmod6b.c (check_avx): Likewise.
61936         * elf/tst-auditmod6c.c (check_avx): Likewise.
61937         * elf/tst-auditmod7b.c (check_avx): Likewise.
61938
61939 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
61940
61941         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
61942         !__SSE_MATH__.
61943
61944 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61945
61946         [BZ #13540]
61947         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
61948         processing for last bytes.
61949
61950 2011-08-06  Bruno Haible  <bruno@clisp.org>
61951
61952         [BZ #13061]
61953         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
61954         U+0385, not to U+1FEE.
61955
61956         [BZ #13062]
61957         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
61958         entry for U+00A5 U+0301.
61959
61960 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
61961
61962         [BZ #13166]
61963         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
61964         buffer for the output is too small.
61965
61966         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
61967         optimization.
61968
61969         [BZ #13185]
61970         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
61971         SSE flags if possible.
61972
61973 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61974
61975         [BZ #13540]
61976         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
61977         processing for last bytes.
61978
61979 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
61980
61981         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
61982         (syscall-list-default-options, syscall-list-default-condition)
61983         (syscall-list-includes): Define.
61984         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
61985         list of ABIs and options and #if conditions for each ABI.  Do not
61986         handle common syscalls between ABIs specially.
61987         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
61988         Remove.
61989         (syscall-list-variants, syscall-list-32bit-options)
61990         (syscall-list-32bit-condition, syscall-list-64bit-options)
61991         (syscall-list-64bit-condition): Define.
61992         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
61993         (syscall-list-variants, syscall-list-32bit-options)
61994         (syscall-list-32bit-condition, syscall-list-64bit-options)
61995         (syscall-list-64bit-condition): Define.
61996         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
61997         Remove.
61998         (syscall-list-variants, syscall-list-32bit-options)
61999         (syscall-list-32bit-condition, syscall-list-64bit-options)
62000         (syscall-list-64bit-condition): Define.
62001         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
62002         Remove.
62003         (syscall-list-variants, syscall-list-32bit-options)
62004         (syscall-list-32bit-condition, syscall-list-64bit-options)
62005         (syscall-list-64bit-condition): Define.
62006
62007 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62008
62009         * locale/iso-639.def: Add brx entry.
62010
62011         [BZ #13328]
62012         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62013         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62014
62015         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62016         __feraiseexcept_renamed.
62017
62018 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62019
62020         [BZ #13538]
62021         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62022         EPOLLET with unsigned values.
62023         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62024         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62025
62026         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62027         to large cancellation.
62028         * math/s_cacoshf.c: Likewise.
62029         * math/s_cacoshl.c: Likewise.
62030
62031 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62032
62033         [BZ #13305]
62034         [BZ #12786]
62035         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62036         * math/s_cacoshf.c: Likewise.
62037         * math/s_cacoshl.c: Likewise.
62038
62039 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62040
62041         [BZ #13439]
62042         * iconv/gconv.h: Define __GCONV_SWAP.
62043         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62044         * iconvdata/utf-16.c: Likewise.
62045         * iconvdata/utf-32.c: Likewise.
62046
62047 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62048
62049         [BZ #13524]
62050         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62051         numerator after shifting it by one limb.
62052
62053 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62054
62055         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62056         under [__USE_EXTERN_INLINES].
62057
62058 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62059
62060         [BZ #13446]
62061         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62062
62063 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62064
62065         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62066         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62067         optimized code.
62068         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62069         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62070         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62071         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62072         for strncasecmp/strncasecmp_l compilation.
62073         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62074         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62075
62076 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62077
62078         [BZ #13484]
62079         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62080         of __asm__.
62081
62082 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62083
62084         [BZ #13506]
62085         * time/tzfile.c (__tzfile_read): Check values from file header.
62086
62087 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62088
62089         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62090         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62091         * powerpc/powerpc32/dl-start.S: Likewise.
62092         * powerpc/powerpc32/elf/start.S: Likewise.
62093         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62094         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62095         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62096         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62097         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62098         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62099         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62100         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62101         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62102         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62103         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62104         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62105         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62106         * powerpc/powerpc32/memset.S: Likewise.
62107         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62108         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62109         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62110         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62111         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62112         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62113         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62114         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62115         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62116         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62117         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62118         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62119         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62120
62121 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62122
62123         * math/libm-test.inc: Added more nearbyint tests.
62124         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62125         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62126         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62127         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62128
62129 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62130
62131         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62132         FD_CLOEXEC.
62133
62134 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62135
62136         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62137         Add wcscpy-ssse3 wcscpy-c.
62138         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62139         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62140         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62141         * sysdeps/x86_64/wcschr.S: New file.
62142         * sysdeps/x86_64/wcsrchr.S: New file.
62143         * string/test-strcmp.c: Remove checking of wcscmp function for
62144         wrong alignments.
62145         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62146         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62147         wcsrchr-sse2 wcsrchr-c.
62148         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62149         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62150         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62151         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62152         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62153         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62154         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62155         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62156         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62157         * wcsmbc/wcschr.c (WCSCHR): New macro.
62158
62159 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62160
62161         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62162         * wcsmbs/test-wcsrchr.c: New file.
62163         * string/test-strrchr.c: Add wcsrchr support.
62164         (WIDE): New macro.
62165         * wcsmbs/test-wcscpy.c: New file.
62166         * string/test-strcpy.c: Add wcscpy support.
62167         (WIDE): New macro.
62168
62169 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62170
62171         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62172         the inner loop.
62173
62174 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62175
62176         [BZ #13472]
62177         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
62178
62179 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
62180
62181         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
62182         Minor optimizations.
62183
62184         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
62185         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
62186         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
62187
62188 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
62189
62190         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
62191         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
62192         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
62193         for gcc to avoid warnings.
62194         * inet/Makefile (tests): Add tst-checks.
62195         * inet/tst-checks.c: New file.
62196
62197         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
62198         warning.
62199
62200         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
62201         __wmemcmp_sse2.
62202
62203         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
62204         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
62205
62206         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
62207
62208 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
62209
62210         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
62211         problem.
62212
62213         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
62214
62215 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
62216
62217         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
62218         conditional on GCC version.
62219         (__arch_compare_and_exchange_val_8_acq)
62220         (__arch_compare_and_exchange_val_16_acq)
62221         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
62222         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
62223         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
62224
62225 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
62226
62227         * sysdeps/sh/backtrace.c: New file.
62228
62229 2011-12-02  Andreas Schwab  <schwab@redhat.com>
62230
62231         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
62232         parenthesis.
62233
62234 2011-12-01  Andreas Schwab  <schwab@redhat.com>
62235
62236         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
62237         falling back to utime.
62238
62239 2011-11-30  Andreas Schwab  <schwab@redhat.com>
62240
62241         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
62242         expectations for float.
62243
62244 2011-11-29  Andreas Schwab  <schwab@redhat.com>
62245
62246         * locale/weight.h (findidx): Add parameter len.
62247         * locale/weightwc.h (findidx): Likewise.
62248         * posix/fnmatch_loop.c (FCT): Adjust caller.
62249         * posix/regcomp.c (build_equiv_class): Likewise.
62250         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
62251         * posix/regexec.c (check_node_accept_bytes): Likewise.
62252         * string/strcoll_l.c (STRCOLL): Likewise.
62253         * string/strxfrm_l.c (STRXFRM): Likewise.
62254
62255 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
62256
62257         * Makefile.in: Remove CVSOPT handling.
62258         * configure.in: Remove use of AC_REVISION.
62259         * iconvdata/Makefile (distribute): No need to filter out CVS.
62260         * scripts/list-sources.sh: Remove CVS, subversion and monotone
62261         handling.
62262
62263 2011-11-16  Andreas Schwab  <schwab@redhat.com>
62264
62265         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
62266         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
62267         [USE_AS_STRNCASECMP_L]: Likewise.
62268         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
62269         NO_TLS_DIRECT_SEG_REFS.
62270         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
62271         Fix argument offsets for non-PIC.
62272         [USE_AS_STRNCASECMP_L]: Likewise.
62273         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
62274         NO_TLS_DIRECT_SEG_REFS.
62275
62276 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62277
62278         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
62279         O_CLOEXEC.
62280         * locale/loadlocale.c (_nl_load_locale): Likewise.
62281
62282 2011-11-15  Andreas Schwab  <schwab@redhat.com>
62283
62284         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
62285         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
62286         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
62287         (SYSCALL_GETTIME): Set errno on error.
62288
62289         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
62290         count references to noai6ai_cached.
62291
62292 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62293
62294         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
62295
62296         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
62297         FD_CLOEXEC for /proc/self/maps.
62298
62299         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
62300         FD_CLOEXEC for /proc/meminfo.
62301
62302         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
62303         gai.conf.
62304
62305         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
62306         FD_CLOEXEC for given file.
62307
62308         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
62309
62310         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
62311         FD_CLOEXEC for /etc/hosts.
62312         (_gethtent): Likewise.
62313
62314         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
62315
62316         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
62317         cancellation and set FD_CLOEXEC for /etc/netgroup.
62318
62319         * nss/nss_files/files-key.c (search): Don't allow cancellation when
62320         reading /etc/publickey.
62321
62322         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
62323         allow cancellation when reading /etc/group.
62324
62325         * nss/nss_files/files-alias.c (internal_setent): Don't allow
62326         cancellation.
62327         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
62328
62329         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
62330         when using data file.
62331
62332         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
62333
62334         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
62335         (write_nis_obj): Use "c" and "e" in fopen.
62336
62337         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
62338
62339         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
62340
62341         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
62342
62343         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
62344
62345         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
62346         locale.alias.
62347
62348         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
62349
62350         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
62351
62352         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
62353
62354         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
62355         file parsing and set FD_CLOEXEC.
62356
62357 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62358
62359         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
62360
62361 2011-11-14  Andreas Schwab  <schwab@redhat.com>
62362
62363         * malloc/arena.c (arena_get2): Don't call reused_arena when
62364         _int_new_arena failed.
62365
62366 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62367
62368         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
62369         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
62370         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
62371         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62372         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62373         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
62374         to compile strcasecmp and strncasecmp.
62375         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
62376         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
62377
62378         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
62379
62380 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
62381
62382         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
62383         locale-defines.sym to gen-as-const-headers.
62384         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
62385         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
62386         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
62387         to compile strcasecmp and strncasecmp.
62388         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
62389         strcasecmp_l and strncasecmp_l.
62390         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
62391         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
62392         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
62393         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
62394         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
62395         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
62396         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
62397         * sysdeps/i386/i686/multiarch/strncase.S: New file.
62398         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
62399         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
62400         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
62401
62402 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
62403
62404         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
62405         result of SYSDEP_GETTIME_CPU to retval.
62406         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
62407         parameter list to macro.  Remove trailing semicolon.  Adjust users.
62408
62409         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
62410         variable.
62411
62412         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
62413         mantissa words.
62414         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
62415
62416         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
62417         from unused variable.
62418
62419         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
62420         DWARF definitions.
62421         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
62422         for assembling.
62423
62424         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
62425         over namespaces.
62426
62427         * sunrpc/rpc_prot.c (rejected): Fix case value.
62428
62429         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
62430         unsigned long long int to avoid warnings in shift.
62431
62432         * posix/regex_internal.c (re_string_reconstruct): Actually use result
62433         of use of trans.
62434         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
62435         variable tmp.
62436
62437         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
62438         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
62439         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
62440
62441         * nis/nis_table.c (nis_list): Use variable of correct type for
62442         result of __follow_path call.
62443
62444 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62445
62446         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
62447         of math functions ceil, trunc, floor, round, and sqrt, when
62448         avaliable on the platform.
62449         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
62450         name clash.
62451         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62452         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62453         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62454
62455 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
62456
62457         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
62458         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62459
62460 2011-11-11  Roland McGrath  <roland@hack.frob.com>
62461
62462         * include/unistd.h: Fix __readlink return type.
62463         Reported by Chris Metcalf <cmetcalf@tilera.com>.
62464
62465 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
62466
62467         * stdlib/ucontext.h: Undo last change for makecontext.
62468
62469 2011-11-11  Andreas Schwab  <schwab@redhat.com>
62470
62471         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
62472
62473         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
62474         * setjmp/setjmp.h: Mark functions as non-leaf.
62475         * setjmp/bits/setjmp2.h: Likewise.
62476         * stdlib/ucontext.h: Likewise.
62477
62478 2011-11-10  Andreas Schwab  <schwab@redhat.com>
62479
62480         * malloc/arena.c (_int_new_arena): Don't increment narenas.
62481         (reused_arena): Don't check arena limit.
62482         (arena_get2): Atomically check arena limit.
62483
62484 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
62485
62486         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
62487         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
62488
62489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
62490         instructions.
62491
62492 2011-11-07  Andreas Schwab  <schwab@redhat.com>
62493
62494         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
62495         handler when locking.
62496
62497         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62498         Fix size of allocated buffer.
62499
62500 2011-11-04  Andreas Schwab  <schwab@redhat.com>
62501
62502         [BZ #10103]
62503         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
62504         declarations for long double functions.
62505         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
62506
62507         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
62508
62509 2011-11-03  Andreas Schwab  <schwab@redhat.com>
62510
62511         * nscd/nscd.c (main): Don't start AVC thread until credentials are
62512         installed.
62513
62514         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
62515         is disabled.
62516
62517 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62518
62519         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
62520
62521 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62522
62523         * include/alloca.h (stackinfo_alloca_round): Define.
62524         (extend_alloca): Use it.
62525         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
62526         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
62527         here.
62528
62529         * scripts/check-local-headers.sh: Ignore libaudit.h.
62530
62531         * nscd/Makefile (extra-objs): Make recursively expanded.
62532
62533 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
62534
62535         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
62536         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62537
62538         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
62539         * posix/tst-rfc3484-2.c: Likewise.
62540         * posix/tst-rfc3484-3.c: Likewise.
62541
62542         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62543         process_vm_writev.
62544         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
62545         process_vm_writev.
62546         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
62547         process_vm_writev from libc using GLIBC_2.15 version.
62548
62549         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
62550
62551 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
62552
62553         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
62554         stack usage.
62555
62556 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
62557
62558         [BZ #13367]
62559         * nss/getent.c (initgroups_keys): Show error message in case no group
62560         names are given.
62561
62562         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
62563         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
62564         __bump_nl_timestamp.
62565         * nscd/connections (nscd_init): When host database is served open
62566         netlink socket and request notification about configuration changes.
62567         (main_loop_poll): Track netlink file descriptor and bump timestamp
62568         in case data becomes available.
62569         (main_loop_epoll): Likewise.
62570         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
62571         (database_pers_head): Add extra_data fileds.
62572         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
62573         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
62574         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
62575         Adjust caller.
62576         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
62577         in6ai data, call __free_in6ai.
62578         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
62579         Add -DHAVE_NETLINK.
62580         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
62581         interface information.  Reuse previous data if netlink timestamp
62582         is not changed.
62583         (__bump_nl_timestamp): New function.
62584         (__free_in6ai): New function.
62585
62586 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
62587
62588         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
62589         close_not_cancel_no_status here.
62590         (__check_pf): Reorganize code a bit to not call close twice if OOM.
62591
62592 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62593
62594         [BZ #13276]
62595         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
62596         return value.
62597
62598         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
62599         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
62600         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
62601
62602 2011-07-03  Andreas Jaeger  <aj@suse.de>
62603
62604         [BZ #10709]
62605         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
62606         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
62607         * math/libm-test.inc (sin_test): Add test case.
62608
62609 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62610
62611         [BZ #13337]
62612         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
62613         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62614
62615         * elf/chroot_canon.c (chroot_canon): Cleanups.
62616
62617         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
62618
62619         [BZ #13335]
62620         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
62621         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62622
62623         * string/test-strchr.c: Make usable for strchrnul testing.
62624         * string/test-strchrnul.c: New file.
62625         * string/Makefile (strop-tests): Add strchrnul.
62626
62627         * po/it.po: Update from translation team.
62628         * po/es.po: Likewise.
62629
62630 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
62631
62632         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
62633         the three constants needed as parameters.  Drop the others.
62634         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
62635         __m128i_strloadu_tolower.
62636         Create and initialize variable zero and use it in all the places
62637         where _mm_setzero_si128 was used.
62638
62639         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
62640         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
62641         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
62642         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
62643         anymore.
62644         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
62645         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
62646         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
62647         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
62648         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
62649         __mpranred, __mptan.
62650         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
62651         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
62652         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
62653         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
62654         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
62655         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
62656         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
62657         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
62658         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
62659
62660 2011-10-28  Andreas Schwab  <schwab@redhat.com>
62661
62662         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
62663         redefine if SHARED.
62664         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
62665
62666         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
62667         wide char related routines to wcsmbs subdir.
62668
62669 2011-10-27  Andreas Schwab  <schwab@redhat.com>
62670
62671         [BZ #13344]
62672         * misc/sys/cdefs.h (__THROWNL): Define.
62673         * posix/unistd.h: Use __THREADNL instead of __THREAD
62674         for memory synchronization functions.
62675
62676 2011-10-26  Roland McGrath  <roland@hack.frob.com>
62677
62678         [BZ #13349]
62679         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
62680         doesn't exist.
62681         * manual/stdio.texi (Obstack Streams): Node removed.
62682
62683 2011-10-26  Andreas Schwab  <schwab@redhat.com>
62684
62685         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
62686         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62687         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62688
62689         * math/math_private.h (math_force_eval): Allow non-addressable
62690         arguments.
62691         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
62692
62693 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62694
62695         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
62696         file is not needed.
62697
62698         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
62699         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
62700         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62701         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62702         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62703         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62704         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62705         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
62706         Add AVX variants.
62707         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
62708         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
62709         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
62710         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
62711         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
62712         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
62713         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
62714         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
62715         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
62716         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
62717         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
62718         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
62719         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
62720         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
62721         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
62722         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
62723         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
62724         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
62725         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
62726
62727         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
62728         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
62729
62730         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
62731         place.  Use VEX encoding when compiling for AVX.
62732
62733 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62734
62735         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
62736         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62737
62738         * string/test-strchr.c (do_test): Don't generate NUL bytes.
62739
62740 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62741
62742         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
62743         useless if() expression.
62744         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62745         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62746         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62747         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62748         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62749         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62750         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62751         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62752         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62753         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62754         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62755         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62756         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62757         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62758         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62759         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62760         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62761         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62762         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62763
62764         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
62765
62766 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62767
62768         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
62769         condition.
62770         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62771
62772 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62773
62774         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
62775         .text section.  Avoid duplicate constants.
62776         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62777         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62778         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62779         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62780         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62781         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62782         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62783         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62784         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62785         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
62786         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62787         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62788         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62789         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62790         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62791         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62792         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62793         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62794         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62795         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62796         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62797         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62798         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62799         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
62800         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
62801         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
62802         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
62803         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
62804         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
62805         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
62806         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
62807         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
62808         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62809         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
62810         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
62811         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
62812         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
62813         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
62814         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
62815         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
62816         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
62817         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
62818         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
62819         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
62820         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
62821
62822 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
62823
62824         * sysdeps/x86_64/dla.h: Move to ...
62825         * sysdeps/x86_64/fpu/dla.h: ...here.
62826         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
62827         situations.  Use __builtin_fma only for gcc 4.6 and up.
62828
62829         * config.make.in: Add have-mfma4 entry.
62830         * configure.in: Substitute libc_cv_cc_fma4.
62831         * math/Makefile (dbl-only-routines): Add sincostab.
62832         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
62833         Use __sincostab not sincos.
62834         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
62835         name is a macro.
62836         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62837         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62838         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62839         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
62840         using __copysign.
62841         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
62842         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
62843         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
62844         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
62845         and __inv.
62846         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
62847         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
62848         __copysign.
62849         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
62850         define aliases when function name is a macro.
62851         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
62852         sysdeps/ieee754/dbl-64/sincos.tbl.
62853         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
62854         fma4-enabled routines.
62855         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
62856         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
62857         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
62858         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
62859         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
62860         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
62861         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
62862         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
62863         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
62864         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
62865         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
62866         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
62867         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
62868         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
62869         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
62870         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
62871         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
62872         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
62873         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
62874         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
62875         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
62876         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
62877         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
62878         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
62879         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
62880         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
62881         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
62882         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
62883         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
62884         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
62885
62886         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
62887         rename.
62888         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62889         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62894         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62895         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62896
62897 2011-10-24  Andreas Schwab  <schwab@redhat.com>
62898
62899         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
62900
62901 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62902
62903         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
62904
62905         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
62906         prediction.
62907         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
62908
62909         * string/strnlen.c: Don't define STRNLEN, reverse logic.
62910         Remove unused variable magic_bits.
62911         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
62912
62913         * string/strnlen.c: Define and use STRNLEN macro.
62914         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
62915         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
62916         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
62917         * wcsmbs/wcslen.c: Define and use WCSLEN.
62918         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
62919         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
62920         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
62921         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
62922         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
62923         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
62924         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
62925
62926 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62927
62928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62929         strnlen-sse2-no-bsf.
62930         Rename strlen-no-bsf to strlen-sse2-no-bsf.
62931         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
62932         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
62933         Add strnlen support.
62934         (USE_AS_STRNLEN): New macro.
62935         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
62936         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
62937         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
62938         * sysdeps/x86_64/wcslen.S: New file.
62939
62940 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
62941
62942         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62943         XMM-moves are used for copying on small sizes.
62944
62945 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62946
62947         * wcsmbs/Makefile (strop-tests): Add wcschr.
62948         * wcsmbs/test-wcschr.c: New file.
62949         * string/test-strchr.c: Update.
62950         Add wcschr support.
62951         (WIDE): New macro.
62952
62953 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62954
62955         * wcsmbs/Makefile (strop-tests): Add wcslen.
62956         * wcsmbs/test-wcslen.c: New file.
62957         * string/test-strlen.c: Update.
62958         Add wcslen support.
62959         (WIDE): New macro.
62960
62961 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62962
62963         * po/it.po: Update from translation team.
62964
62965 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62966
62967         * sysdeps/x86_64/wcscmp.S: Update.
62968         Fix wrong comparison semantics.
62969         wcscmp shall use signed comparison not unsigned.
62970         Don't use substraction to avoid overflow bug.
62971         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
62972         * wcsmbc/wcscmp.c: Likewise.
62973         * string/test-strcmp.c: Likewise.
62974         Add new tests to check cases with negative values.
62975
62976 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62977
62978         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
62979         * sysdeps/x86_64/dla.h: ...here.  New file.
62980         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
62981         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62982         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62983         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62984         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62985         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62986         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62987         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62988         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62989
62990 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
62991
62992         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
62993         __ynl_finite aliases.
62994
62995 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
62996
62997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62998
62999         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
63000         define DLA_FMA.
63001         [DLA_FMA] (EMULV): Use DLA_FMA.
63002         [DLA_FMA] (MUL12): Use EMULV.
63003         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63004         that are not needed.
63005         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63006         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63007         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63008         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63009         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63010         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63011         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63012
63013 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63014
63015         * math/s_nan.c: Undef __nan.
63016         * math/s_nanf.c: Undef __nanf.
63017         * math/s_nanl.c: Undef __nanl.
63018         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63019         "math_private.h".
63020
63021 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63022
63023         * math/s_catan.c: Add branch predictions.
63024         * math/s_catanf.c: Likewise.
63025         * math/s_catanh.c: Likewise.
63026         * math/s_catanhf.c: Likewise.
63027         * math/s_catanhl.c: Likewise.
63028         * math/s_catanl.c: Likewise.
63029         * math/s_cexp.c: Likewise.
63030         * math/s_cexpf.c: Likewise.
63031         * math/s_cexpl.c: Likewise.
63032         * math/s_clog.c: Likewise.
63033         * math/s_clog10.c: Likewise.
63034         * math/s_clog10f.c: Likewise.
63035         * math/s_clog10l.c: Likewise.
63036         * math/s_clogf.c: Likewise.
63037         * math/s_clogl.c: Likewise.
63038         * math/s_csqrt.c: Likewise.
63039         * math/s_csqrtf.c: Likewise.
63040         * math/s_csqrtl.c: Likewise.
63041         * math/s_ctanf.c: Likewise.
63042         * math/s_ctanh.c: Likewise.
63043         * math/s_ctanhf.c: Likewise.
63044         * math/s_ctanhl.c: Likewise.
63045         * math/s_ctanl.c: Likewise.
63046
63047         * math/math_private.h: Define __nan, __nanf, __nanl.
63048         * math/s_cacosh.c: Include <math_private.h>.
63049         * math/s_cacoshl.c: Likewise.
63050         * math/s_casinh.c: Likewise.
63051         * math/s_casinhf.c: Likewise.
63052         * math/s_casinhl.c: Likewise.
63053         * math/s_ccos.c: Rely entire on ccosh.
63054         * math/s_ccosf.c: Rely entire on ccoshf.
63055         * math/s_ccosl.c: Rely entirely on ccoshl.
63056         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63057         Remove tests for FE_INVALID.
63058         * math/s_ccoshf.c: Likewise.
63059         * math/s_ccoshl.c: Likewise.
63060         * math/s_csin.c: Likewise.
63061         * math/s_csinf.c: Likewise.
63062         * math/s_csinh.c Likewise.
63063         * math/s_csinhf.c: Likewise.
63064         * math/s_csinhl.c: Likewise.
63065         * math/s_csinl.c: Likewise.
63066         * math/s_ctan.c: Likewise.
63067         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63068         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63069         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63070
63071 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63072
63073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63074         compilation problems.
63075
63076         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63077         __builtin_expect.
63078
63079 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63080
63081         * sysdeps/i386/configure.in: Test for -mfma4 option.
63082         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63083         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63084         COMMON_CPUID_INDEX_80000001.
63085         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63086         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63087         use it if FMA3 is not supported.
63088         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63089
63090         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63091         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63092
63093 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63094
63095         [BZ #12892]
63096         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63097         it would create a cycle with a link time dependency.
63098
63099 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63100
63101         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63102         instruction.
63103         * string/Makefile (strop-tests): Add rawmemchr.
63104         * string/test-rawmemchr.c: New file.
63105
63106         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63107         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63108         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63109         when compiling str{,n}casecmp and when AVX is available.  Hook up
63110         new optimized code in initializers.
63111
63112 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63113
63114         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63115         __feraiseexcept instead of feraiseexcept.
63116
63117 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63118
63119         * math/math_private.h: Define defaults for libc_fetestexcept and
63120         libc_feupdateenv.
63121         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63122         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63123         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63124         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63125         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63126         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63127         libc_fetestexcept and libc_feupdateenv.
63128
63129         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63130         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63131         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63132         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63133         libc_feholdexcept_setround.
63134
63135         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63136         Add s_nearbyint-c and s_nearbyintf-c.
63137         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63138         nearbyintf inlines.
63139         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63140         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63141         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63142         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63143
63144         * math/math_private.h: Define defaults for libc_fegetround,
63145         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63146         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63147         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63148         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63149         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63150         standard functions.
63151         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63152         Remove comments and hacks for old compiler versions.
63153         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63154         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63155         libc_feholdexceptl.
63156
63157 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63158
63159         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63160         (__feraiseexcept_renamed): Add __NTH.
63161         (feraiseexcept): Add __NTH.  Rename local variables to fix
63162         namespace violations.
63163
63164 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63165
63166         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63167
63168         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63169
63170         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63171         recently added interfaces.
63172         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63173
63174         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63175         about macro parameter expansion.
63176
63177         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63178         __NO_MATH_INLINES is defined.  Cleanups.
63179
63180         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
63181         and __floorf is target has SSE4.1.
63182         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
63183         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
63184         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
63185         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
63186
63187         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
63188         name.
63189         (floorf): Likewise.
63190
63191         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
63192
63193 2011-10-17  Andreas Schwab  <schwab@redhat.com>
63194
63195         * misc/sys/cdefs.h: Fix last change.
63196
63197         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
63198         database lookup.
63199
63200 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
63201
63202         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
63203
63204         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
63205         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63206         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63207         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63208         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63209         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63210         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63211         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63212         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63213         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
63214         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
63215         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
63216         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
63217         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
63218         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
63219         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
63220         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
63221         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
63222         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
63223         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
63224         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
63225         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
63226
63227         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
63228         ceil, ceilf, floor, floorf.
63229
63230         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
63231         Perform IRELATIVE relocations last.
63232
63233         * elf/do-rel.h: Add another parameter nrelative, replacing the
63234         local variable with the same name.  Change name of the function
63235         to end in Rel or Rela (uppercase).
63236         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
63237         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
63238         elf_dynamic_do_##reloc function.
63239
63240 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63241
63242         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
63243         is sufficient, at least on modern CPUs.
63244
63245         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
63246
63247         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
63248         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
63249
63250         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
63251         __expl_finite.
63252         * math/bits/math-finite.h: Add entries for exp.
63253         * math/e_expl.c: Add __*_finite alias.
63254         * sysdeps/i386/fpu/e_exp.S: Likewise.
63255         * sysdeps/i386/fpu/e_expf.S: Likewise.
63256         * sysdeps/i386/fpu/e_expl.c: Likewise.
63257         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63258         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63259         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63260         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63261         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
63262         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63263         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63264
63265         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
63266         is sufficient, at least on modern CPUs.
63267
63268         * ctype/ctype-info.c (__ctype_init): Define.
63269         * include/ctype.h (__ctype_init): Declare.
63270         (__ctype_b_loc): The variable is always initialized.
63271         (__ctype_toupper_loc): Likewise.
63272         (__ctype_tolower_loc): Likewise.
63273         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
63274         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
63275
63276 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
63277
63278         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
63279
63280         * configure.in: Also look in $cxxmachine/include for C++ system
63281         headers.
63282
63283 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63284
63285         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
63286         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
63287         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
63288         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
63289         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
63290         (USE_AS_WMEMCMP): New macro.
63291         Fixing indents.
63292         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
63293         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
63294         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
63295         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
63296         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63297         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
63298         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
63299         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
63300         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
63301         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
63302         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
63303         (USE_AS_WMEMCMP): New macro.
63304         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
63305         * sysdeps/string/test-memcmp.c: Update.
63306         Fix simple_wmemcmp.
63307         Add new tests.
63308         * wcsmbs/wmemcmp.c: Update.
63309         (WMEMCMP): New macro.
63310         Fix overflow bug.
63311
63312 2011-10-12  Andreas Jaeger  <aj@suse.de>
63313
63314         [BZ #13268]
63315         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
63316
63317 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63318
63319         * libio/iofwide.c (do_length): Avoid warning.
63320
63321         * ctype/ctype.h (__isctype_f): Add missing __THROW.
63322
63323 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
63324
63325         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
63326
63327         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
63328         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
63329         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
63330         * sysdeps/i386/i686/fpu/e_log.S: New file.
63331         * sysdeps/i386/i686/fpu/e_logf.S: New file.
63332         * sysdeps/i386/i686/fpu/e_logl.S: New file.
63333
63334         * ctype/ctype.h: Add support for inlined isXXX functions when
63335         compiling C++ code.
63336
63337 2011-10-14  Andreas Schwab  <schwab@redhat.com>
63338
63339         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63340
63341         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
63342
63343 2011-10-13  Roland McGrath  <roland@hack.frob.com>
63344
63345         [BZ #13291]
63346         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
63347
63348 2011-10-13  Andreas Schwab  <schwab@redhat.com>
63349
63350         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
63351         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
63352         feraiseexcept.
63353
63354         * sysdeps/x86_64/memrchr.S: Check for zero size.
63355
63356         * string/stratcliff.c: Add memrchr tests.
63357
63358 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63359
63360         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63361         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
63362         rawmemchr-sse2 rawmemchr-sse2-bsf.
63363         * sysdeps/i386/i686/multiarch/memchr.S: New file.
63364         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
63365         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
63366         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
63367         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
63368         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
63369         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
63370         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
63371         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
63372         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
63373         * string/memrchr.c (MEMRCHR): New macro.
63374
63375 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
63376
63377         Add integration with gcc's -ffinite-math-only and optimize wrapper
63378         functions in libm.
63379         * Versions.def: Define GLIBC_2.15 version for libm.
63380         * math/Makefile (headers): Add bits/math-finite.h.
63381         * math/bits/math-finite.h: New file.
63382         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
63383         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
63384         * math/e_acoshl.c: Add __*_finite alias.
63385         * math/e_acosl.c: Likewise.
63386         * math/e_asinl.c: Likewise.
63387         * math/e_atan2l.c: Likewise.
63388         * math/e_atanhl.c: Likewise.
63389         * math/e_coshl.c: Likewise.
63390         * math/e_exp10.c: Likewise.
63391         * math/e_exp10f.c: Likewise.
63392         * math/e_exp10l.c: Likewise.
63393         * math/e_exp2l.c: Likewise.
63394         * math/e_fmodl.c: Likewise.
63395         * math/e_gammal_r.c: Likewise.
63396         * math/e_hypotl.c: Likewise.
63397         * math/e_j0l.c: Likewise.
63398         * math/e_j1l.c: Likewise.
63399         * math/e_jnl.c: Likewise.
63400         * math/e_lgammal_r.c: Likewise.
63401         * math/e_log10l.c: Likewise.
63402         * math/e_log2l.c: Likewise.
63403         * math/e_logl.c: Likewise.
63404         * math/e_powl.c: Likewise.
63405         * math/e_sinhl.c: Likewise.
63406         * math/e_sqrtl.c: Likewise.
63407         * math/e_scalb.c: Completely rewritten and optimized.
63408         * math/e_scalbf.c: Likewise.
63409         * math/e_scalbl.c: Likewise.
63410         * math/w_acos.c: Likewise.
63411         * math/w_acosf.c: Likewise.
63412         * math/w_acosl.c: Likewise.
63413         * math/w_acosh.c: Likewise.
63414         * math/w_acoshf.c: Likewise.
63415         * math/w_acoshl.c: Likewise.
63416         * math/w_asin.c: Likewise.
63417         * math/w_asinf.c: Likewise.
63418         * math/w_asinl.c: Likewise.
63419         * math/w_atan2.c: Likewise.
63420         * math/w_atan2f.c: Likewise.
63421         * math/w_atan2l.c: Likewise.
63422         * math/w_atanh.c: Likewise.
63423         * math/w_atanhf.c: Likewise.
63424         * math/w_atanhl.c: Likewise.
63425         * math/w_exp10.c: Likewise.
63426         * math/w_exp10f.c: Likewise.
63427         * math/w_exp10l.c: Likewise.
63428         * math/w_fmod.c: Likewise.
63429         * math/w_fmodf.c: Likewise.
63430         * math/w_fmodl.c: Likewise.
63431         * math/w_j0.c: Likewise.
63432         * math/w_j0f.c: Likewise.
63433         * math/w_j0l.c: Likewise.
63434         * math/w_j1.c: Likewise.
63435         * math/w_j1f.c: Likewise.
63436         * math/w_j1l.c: Likewise.
63437         * math/w_jn.c: Likewise.
63438         * math/w_jnf.c: Likewise.
63439         * math/w_log.c: Likewise.
63440         * math/w_logf.c: Likewise.
63441         * math/w_logl.c: Likewise.
63442         * math/w_log10.c: Likewise.
63443         * math/w_log10f.c: Likewise.
63444         * math/w_log10l.c: Likewise.
63445         * math/w_log2.c: Likewise.
63446         * math/w_log2f.c: Likewise.
63447         * math/w_log2l.c: Likewise.
63448         * math/w_pow.c: Likewise.
63449         * math/w_powf.c: Likewise.
63450         * math/w_powl.c: Likewise.
63451         * math/w_remainder.c: Likewise.
63452         * math/w_remainderf.c: Likewise.
63453         * math/w_remainderl.c: Likewise.
63454         * math/w_scalb.c: Likewise.
63455         * math/w_scalbf.c: Likewise.
63456         * math/w_scalbl.c: Likewise.
63457         * math/w_sqrt.c: Likewise.
63458         * math/w_sqrtf.c: Likewise.
63459         * math/w_sqrtl.c: Likewise.
63460         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
63461         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
63462         used.
63463         * math/math_private.h: Declare __kernel_standard_f.
63464         * math/w_cosh.c: Remove cruft and optimize a bit.
63465         * math/w_coshf.c: Likewise.
63466         * math/w_coshl.c: Likewise.
63467         * math/w_exp2.c: Likewise.
63468         * math/w_exp2f.c: Likewise.
63469         * math/w_exp2l.c: Likewise.
63470         * math/w_hypot.c: Likewise.
63471         * math/w_hypotf.c: Likewise.
63472         * math/w_hypotl.c: Likewise.
63473         * math/w_lgamma.c: Likewise.
63474         * math/w_lgamma_r.c: Likewise.
63475         * math/w_lgammaf.c: Likewise.
63476         * math/w_lgammaf_r.c: Likewise.
63477         * math/w_lgammal.c: Likewise.
63478         * math/w_lgammal_r.c: Likewise.
63479         * math/w_sinh.c: Likewise.
63480         * math/w_sinhf.c: Likewise.
63481         * math/w_sinhl.c: Likewise.
63482         * math/w_tgamma.c: Likewise.
63483         * math/w_tgammaf.c: Likewise.
63484         * math/w_tgammal.c: Likewise.
63485         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63486         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63487         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
63488         Minor optimizations.  Pretty printing.  Remove cruft.
63489         * sysdeps/i386/fpu/e_acosf.S: Likewise.
63490         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63491         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63492         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63493         * sysdeps/i386/fpu/e_acosl.c: Likewise.
63494         * sysdeps/i386/fpu/e_asin.S: Likewise.
63495         * sysdeps/i386/fpu/e_asinf.S: Likewise.
63496         * sysdeps/i386/fpu/e_atan2.S: Likewise.
63497         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
63498         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
63499         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63500         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63501         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63502         * sysdeps/i386/fpu/e_exp10.S: Likewise.
63503         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
63504         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
63505         * sysdeps/i386/fpu/e_exp2.S: Likewise.
63506         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
63507         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
63508         * sysdeps/i386/fpu/e_fmod.S: Likewise.
63509         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
63510         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
63511         * sysdeps/i386/fpu/e_hypot.S: Likewise.
63512         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
63513         * sysdeps/i386/fpu/e_log.S: Likewise.
63514         * sysdeps/i386/fpu/e_log10.S: Likewise.
63515         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63516         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63517         * sysdeps/i386/fpu/e_log2.S: Likewise.
63518         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63519         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63520         * sysdeps/i386/fpu/e_logf.S: Likewise.
63521         * sysdeps/i386/fpu/e_logl.S: Likewise.
63522         * sysdeps/i386/fpu/e_pow.S: Likewise.
63523         * sysdeps/i386/fpu/e_powf.S: Likewise.
63524         * sysdeps/i386/fpu/e_powl.S: Likewise.
63525         * sysdeps/i386/fpu/e_remainder.S: Likewise.
63526         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
63527         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
63528         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63529         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63530         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63531         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
63532         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
63533         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
63534         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63535         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63536         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63537         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63538         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63539         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63540         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
63541         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63542         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63543         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63544         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63545         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63546         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63547         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63548         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63549         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63550         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63551         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63552         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63553         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63554         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63555         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63556         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63557         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63558         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63559         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63560         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63561         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63562         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
63563         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63564         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63565         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63566         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63567         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63568         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63569         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63570         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63571         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63572         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63573         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63574         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63575         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63576         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63577         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63578         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63579         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63580         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63581         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63582         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63583         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
63584         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63585         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63586         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63587         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63588         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63589         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63590         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63591         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63592         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63593         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63594         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63595         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63596         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63597         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63598         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63599         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63600         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63601         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63602         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
63603         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63604         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63605         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63606         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63607         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63608         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63609         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63610         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63611         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63612         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63613         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63614         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63615         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63616         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
63617         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63618         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63619         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63620         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63621         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63622         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63623         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63624         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63625         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63626         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63627         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63628         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63629         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63630         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63631         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
63632         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
63633         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
63634         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
63635         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
63636         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
63637         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
63638         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63639         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63640         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63641         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63642         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
63643         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63644         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
63645         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
63646         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
63647         (__isnanf): Likewise.
63648         (__isinf_ns): Likewise.
63649         (__isinf_nsf): Likewise.
63650         (__finite): Likewise.
63651         (__finitef): Likewise.
63652         (__ieee754_sqrt): Define as macro.
63653         (__ieee754_sqrtf): Define as macro.
63654         (__ieee754_sqrtl): Define as macro.
63655         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
63656         inlined copy.
63657         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
63658         __FINITE_MATH_ONLY__ consistent.
63659         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
63660
63661 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
63662
63663         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
63664         of rawmemchr.
63665
63666         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
63667
63668 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
63669
63670         * po/ja.po: Update from translation team.
63671
63672 2011-10-08  Roland McGrath  <roland@hack.frob.com>
63673
63674         * locale/programs/locarchive.c (prepare_address_space): New function.
63675         (create_archive, enlarge_archive, open_archive): Use it.
63676
63677         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
63678         inside [SHARED], where it is used.
63679
63680         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
63681
63682         * nss/getent.c (netgroup_keys): Remove unused variable.
63683         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63684
63685 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
63686
63687         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
63688         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
63689         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
63690         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
63691         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
63692         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
63693         * math/Makefile (libm-calls): Add s_isinf_ns.
63694         * math/divtc3.c: Use __isinf_nsl instead of isinf.
63695         * math/multc3.c: Likewise.
63696         * math/s_casin.c: Likewise.
63697         * math/s_casinf.c: Likewise.
63698         * math/s_casinl.c: Likewise.
63699         * math/s_ccos.c: Likewise.
63700         * math/s_ccosf.c: Likewise.
63701         * math/s_ccosl.c: Likewise.
63702         * math/s_ctan.c: Likewise.
63703         * math/s_ctanf.c: Likewise.
63704         * math/s_ctanh.c: Likewise.
63705         * math/s_ctanhf.c: Likewise.
63706         * math/s_ctanhl.c: Likewise.
63707         * math/s_ctanl.c: Likewise.
63708         * math/w_fmod.c: Likewise.
63709         * math/w_fmodf.c: Likewise.
63710         * math/w_fmodl.c: Likewise.
63711         * math/w_remainder.c: Likewise.
63712         * math/w_remainderf.c: Likewise.
63713         * math/w_remainderl.c: Likewise.
63714         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
63715         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
63716         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
63717         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
63718         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
63719         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
63720         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
63721         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
63722
63723         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
63724         of the number.
63725         * stdio-common/printf_fphex.c: Likewise.
63726         * stdio-common/printf_size.c: Likewise.
63727
63728         * math/e_exp10.c: Include math_private.h using <...> not "...".
63729         * math/e_exp10f.c: Likewise.
63730         * math/e_exp10l.c: Likewise.
63731         * math/e_exp2l.c: Likewise.
63732         * math/e_j0l.c: Likewise.
63733         * math/e_j1l.c: Likewise.
63734         * math/e_jnl.c: Likewise.
63735         * math/e_lgammal_r.c: Likewise.
63736         * math/e_rem_pio2l.c: Likewise.
63737         * math/e_scalb.c: Likewise.
63738         * math/e_scalbf.c: Likewise.
63739         * math/e_scalbl.c: Likewise.
63740         * math/k_cosl.c: Likewise.
63741         * math/k_sinl.c: Likewise.
63742         * math/k_tanl.c: Likewise.
63743         * math/s_cacoshf.c: Likewise.
63744         * math/s_catan.c: Likewise.
63745         * math/s_catanf.c: Likewise.
63746         * math/s_catanh.c: Likewise.
63747         * math/s_catanhf.c: Likewise.
63748         * math/s_catanhl.c: Likewise.
63749         * math/s_catanl.c: Likewise.
63750         * math/s_ccosh.c: Likewise.
63751         * math/s_ccoshf.c: Likewise.
63752         * math/s_ccoshl.c: Likewise.
63753         * math/s_cexp.c: Likewise.
63754         * math/s_cexpf.c: Likewise.
63755         * math/s_cexpl.c: Likewise.
63756         * math/s_clog.c: Likewise.
63757         * math/s_clog10.c: Likewise.
63758         * math/s_clog10f.c: Likewise.
63759         * math/s_clog10l.c: Likewise.
63760         * math/s_clogf.c: Likewise.
63761         * math/s_clogl.c: Likewise.
63762         * math/s_csin.c: Likewise.
63763         * math/s_csinf.c: Likewise.
63764         * math/s_csinh.c: Likewise.
63765         * math/s_csinhf.c: Likewise.
63766         * math/s_csinhl.c: Likewise.
63767         * math/s_csinl.c: Likewise.
63768         * math/s_csqrt.c: Likewise.
63769         * math/s_csqrtf.c: Likewise.
63770         * math/s_csqrtl.c: Likewise.
63771         * math/s_ctan.c: Likewise.
63772         * math/s_ctanf.c: Likewise.
63773         * math/s_ctanh.c: Likewise.
63774         * math/s_ctanhf.c: Likewise.
63775         * math/s_ctanhl.c: Likewise.
63776         * math/s_ctanl.c: Likewise.
63777         * math/s_ldexp.c: Likewise.
63778         * math/s_ldexpf.c: Likewise.
63779         * math/s_ldexpl.c: Likewise.
63780         * math/s_significand.c: Likewise.
63781         * math/s_significandf.c: Likewise.
63782         * math/s_significandl.c: Likewise.
63783         * math/w_acos.c: Likewise.
63784         * math/w_acosf.c: Likewise.
63785         * math/w_acosh.c: Likewise.
63786         * math/w_acoshf.c: Likewise.
63787         * math/w_acoshl.c: Likewise.
63788         * math/w_acosl.c: Likewise.
63789         * math/w_asin.c: Likewise.
63790         * math/w_asinf.c: Likewise.
63791         * math/w_asinl.c: Likewise.
63792         * math/w_atan2.c: Likewise.
63793         * math/w_atan2f.c: Likewise.
63794         * math/w_atan2l.c: Likewise.
63795         * math/w_atanh.c: Likewise.
63796         * math/w_atanhf.c: Likewise.
63797         * math/w_atanhl.c: Likewise.
63798         * math/w_cosh.c: Likewise.
63799         * math/w_coshf.c: Likewise.
63800         * math/w_coshl.c: Likewise.
63801         * math/w_dremf.c: Likewise.
63802         * math/w_exp10.c: Likewise.
63803         * math/w_exp10f.c: Likewise.
63804         * math/w_exp10l.c: Likewise.
63805         * math/w_exp2.c: Likewise.
63806         * math/w_exp2f.c: Likewise.
63807         * math/w_fmod.c: Likewise.
63808         * math/w_fmodf.c: Likewise.
63809         * math/w_fmodl.c: Likewise.
63810         * math/w_hypot.c: Likewise.
63811         * math/w_hypotf.c: Likewise.
63812         * math/w_hypotl.c: Likewise.
63813         * math/w_j0.c: Likewise.
63814         * math/w_j0f.c: Likewise.
63815         * math/w_j0l.c: Likewise.
63816         * math/w_j1.c: Likewise.
63817         * math/w_j1f.c: Likewise.
63818         * math/w_j1l.c: Likewise.
63819         * math/w_jn.c: Likewise.
63820         * math/w_jnf.c: Likewise.
63821         * math/w_jnl.c: Likewise.
63822         * math/w_lgamma.c: Likewise.
63823         * math/w_lgamma_r.c: Likewise.
63824         * math/w_lgammaf.c: Likewise.
63825         * math/w_lgammaf_r.c: Likewise.
63826         * math/w_lgammal.c: Likewise.
63827         * math/w_lgammal_r.c: Likewise.
63828         * math/w_log.c: Likewise.
63829         * math/w_log10.c: Likewise.
63830         * math/w_log10f.c: Likewise.
63831         * math/w_log10l.c: Likewise.
63832         * math/w_log2.c: Likewise.
63833         * math/w_log2f.c: Likewise.
63834         * math/w_log2l.c: Likewise.
63835         * math/w_logf.c: Likewise.
63836         * math/w_logl.c: Likewise.
63837         * math/w_pow.c: Likewise.
63838         * math/w_powf.c: Likewise.
63839         * math/w_powl.c: Likewise.
63840         * math/w_remainder.c: Likewise.
63841         * math/w_remainderf.c: Likewise.
63842         * math/w_remainderl.c: Likewise.
63843         * math/w_scalb.c: Likewise.
63844         * math/w_scalbf.c: Likewise.
63845         * math/w_scalbl.c: Likewise.
63846         * math/w_sinh.c: Likewise.
63847         * math/w_sinhf.c: Likewise.
63848         * math/w_sinhl.c: Likewise.
63849         * math/w_sqrt.c: Likewise.
63850         * math/w_sqrtf.c: Likewise.
63851         * math/w_sqrtl.c: Likewise.
63852         * math/w_tgamma.c: Likewise.
63853         * math/w_tgammaf.c: Likewise.
63854         * math/w_tgammal.c: Likewise.
63855
63856         * po/ja.po: Update from translation team.
63857
63858 2011-09-29  Andreas Jaeger  <aj@suse.de>
63859
63860         [BZ #13179]
63861         * sunrpc/netname.c (netname2host): Fix logic.
63862
63863         [BZ #6779]
63864         [BZ #6783]
63865         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
63866         correctly.
63867         * math/w_remainder.c (__remainder): Likewise.
63868         * math/w_remainderf.c (__remainderf): Likewise.
63869         * math/libm-test.inc (remainder_test): Add test cases.
63870
63871 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63872
63873         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
63874         sdiv_qrnnd.
63875
63876 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
63877
63878         * string/test-memcmp.c: Avoid unncessary #defines.
63879         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63880
63881 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63882
63883         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
63884         Use new sse2 version for core i3 - i7 as it's faster
63885         than sse42 version.
63886         (bit_Prefer_PMINUB_for_stringop): New.
63887         * sysdeps/x86_64/rawmemchr.S: Update.
63888         Replace with faster SSE2 version.
63889         * sysdeps/x86_64/memrchr.S: New file.
63890         * sysdeps/x86_64/memchr.S: Update.
63891         Replace with faster SSE2 version.
63892
63893 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
63894
63895         * elf/dl-load.c (lose): Add cast to avoid warning.
63896
63897 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
63898
63899         * po/ca.po: Update from translation team.
63900
63901         * inet/getnetgrent_r.c: Hook up nscd.
63902         * nscd/Makefile (routines): Add nscd_netgroup.
63903         (nscd-modules): Add netgroupcache.
63904         (CFLAGS-netgroupcache.c): Define.
63905         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
63906         (cache_search): Add const to second parameter.
63907         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
63908         INNETGR.
63909         (dbs): Add netgrdb entry.
63910         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
63911         (verify_persistent_db): Handle netgrdb.
63912         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
63913         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
63914         GETFDNETGR.
63915         (netgroup_response_header): Define.
63916         (innetgroup_response_header): Define.
63917         (datahead): Add netgroup_response_header and innetgroup_response_header
63918         elements.
63919         * nscd/nscd.conf: Add entries for netgroup cache.
63920         * nscd/nscd.h (dbtype): Add netgrdb.
63921         (_PATH_NSCD_NETGROUP_DB): Define.
63922         (netgroup_iov_disabled): Declare.
63923         (xmalloc, xcalloc, xrealloc): Move declarations here.
63924         (cache_search): Adjust prototype.
63925         Add netgroup-related prototypes.
63926         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
63927         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
63928         (__nscd_innetgr): Declare.
63929         * nscd/selinux.c (perms): Use access_vector_t as element type and
63930         add netgroup-related initializers.
63931         * nscd/netgroupcache.c: New file.
63932         * nscd/nscd_netgroup.c: New file.
63933         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
63934         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
63935         For four parameters use innetgr.
63936         * nss/nss_files/files-init.c: Add definition and callback for netgr.
63937         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
63938         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
63939         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
63940
63941         * nscd/connections.c (register_traced_file): Don't register file
63942         for disabled databases.
63943
63944 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
63945
63946         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
63947
63948         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
63949         from tree and freeing node.
63950
63951 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
63952
63953         * nss/nsswitch.c (__nss_database_lookup): Handle
63954         nss_parse_service_list out of memory case.
63955
63956 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
63957
63958         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
63959         out of memory case.
63960
63961 2011-10-04  Andreas Schwab  <schwab@redhat.com>
63962
63963         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
63964         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
63965         pass it down.
63966         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
63967         elf_machine_rela, elf_machine_lazy_rel.
63968         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
63969         (ELF_DYNAMIC_DO_REL): Likewise.
63970         (ELF_DYNAMIC_DO_RELA): Likewise.
63971         (ELF_DYNAMIC_RELOCATE): Likewise.
63972         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
63973         to ELF_DYNAMIC_DO_REL.
63974         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
63975         (dl_main): In trace mode always set __RTLD_NOIFUNC.
63976         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
63977         elf_machine_rela.
63978         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
63979         skip_ifunc, don't call ifunc function if non-zero.
63980         (elf_machine_rela): Likewise.
63981         (elf_machine_lazy_rel): Likewise.
63982         (elf_machine_lazy_rela): Likewise.
63983         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
63984         (elf_machine_lazy_rel): Likewise.
63985         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
63986         Likewise.
63987         (elf_machine_lazy_rel): Likewise.
63988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63989         Likewise.
63990         (elf_machine_lazy_rel): Likewise.
63991         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
63992         (elf_machine_lazy_rel): Likewise.
63993         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
63994         (elf_machine_lazy_rel): Likewise.
63995         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63996         (elf_machine_lazy_rel): Likewise.
63997         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
63998         (elf_machine_lazy_rel): Likewise.
63999         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
64000         (elf_machine_lazy_rel): Likewise.
64001         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64002         (elf_machine_lazy_rel): Likewise.
64003
64004 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64005
64006         * nss/nss_files/files-init.c (_nss_files_init): Use static
64007         initialization for all the *_traced_file variables.
64008
64009 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64010
64011         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64012
64013 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64014
64015         [BZ #13226]
64016         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64017
64018 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64019
64020         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64021         Reread the line before reparsing it.
64022
64023 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64024
64025         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64026
64027 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64028             Maxim Kuvyrkov  <maxim@codesourcery.com>
64029             Joseph Myers  <joseph@codesourcery.com>
64030
64031         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64032         if needed for __stack_chk_guard.
64033
64034 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64035
64036         * sysdeps/posix/spawni.c (script_execute): Always define it.
64037         It will be optimized away if unused.
64038         (maybe_script_execute): New function.
64039         (__spawni): Call it.
64040
64041         * Makerules: Don't include tls.make.
64042         (config-tls): Always set to thread.
64043         * tls.make.c: File removed.
64044
64045 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64046
64047         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64048         * config.make.in (CPPFLAGS-config): New substituted variable.
64049
64050 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64051
64052         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64053
64054         [BZ #13192]
64055         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64056         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64057
64058 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64059
64060         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64061         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64062         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64063         (CALL_FAIL): Likewise.
64064         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64065         (CALL_FAIL): Macro removed.
64066         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64067
64068 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64069
64070         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64071         for __FINITE_MATH_ONLY__ == 1.
64072
64073 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64074
64075         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64076         __ieee754_sqrt instead of sqrt.
64077         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64078         __ieee754_sqrtf instead of sqrtf.
64079         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64080         __floorf instead of floorf.
64081         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64082         __floorf, __truncf instead of floorf, truncf.
64083
64084 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64085
64086         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64087
64088         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64089         __extern_always_inline.
64090         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64091         32-bit.
64092
64093 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64094
64095         * elf/rtld.c (dl_main): Also relocate in dependency order when
64096         doing symbol dependency testing.
64097
64098 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64099
64100         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64101         Always define `refsym'.
64102
64103 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64104
64105         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64106         (__FD_ELT): Renamed from __FDELT.
64107         * misc/bits/select2.h (__FD_ELT): Likewise.
64108         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64109         __FD_MASK instead of __FDELT, __FDMASK.
64110         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64111         Likewise.
64112         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64113         Likewise.
64114
64115         * elf/Makefile (gen-ldd): Fix pattern.
64116
64117         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64118         (init_tls): Likewise.
64119
64120 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64121
64122         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64123
64124 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64125
64126         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64127         `struct cmsghdr *' instead of `void *'.
64128         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64129         Likewise.
64130
64131 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64132
64133         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64134         if non-absolute.
64135         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64136         ldd_rewrite_script.
64137
64138 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64139
64140         * configure.in: Remove --with-tls option.
64141         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64142         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64143         out in case it is missing.
64144         * sysdeps/ia64/elf/configure.in: Likewise.
64145         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64146         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64147         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64148         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64149         * sysdeps/sh/elf/configure.in: Likewise.
64150         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64151         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64152         * sysdeps/x86_64/elf/configure.in: Likewise.
64153         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64154         * sysdeps/mach/hurd/tls.h: Likewise.
64155
64156         [BZ #13067]
64157         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64158
64159         [BZ #13090]
64160         * configure.in: Fix use of AC_INIT.
64161
64162         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64163
64164 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64165
64166         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64167         __set_errno.
64168         * malloc/hooks.c: Likewise.
64169
64170         [BZ #11929]
64171         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64172         variables statically.
64173         (narenas): Initialize.
64174         (list_lock): Initialize.
64175         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64176         initializtion of main_arena and list_lock.  Small cleanups.
64177         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64178         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
64179         Add initializers to main_arena and mp_.
64180         (malloc_state): Remove pagesize member.  Change all users to use
64181         GLRO(dl_pagesize).
64182
64183         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
64184         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
64185         is always initialized.
64186
64187         * malloc/malloc.c: Removed unused configurations and dead code.
64188         * malloc/arena.c: Likewise.
64189         * malloc/hooks.c: Likewise.
64190         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
64191
64192         * include/tls.h: Removed.  USE___THREAD must always be defined.
64193         * bits/libc-tsd.h: Don't handle !USE___THREAD.
64194         * elf/dl-libc.c: Likewise.
64195         * elf/dl-tsd.c: Likewise.
64196         * include/errno.h: Likewise.
64197         * include/netdb.h: Likewise.
64198         * include/resolv.h: Likewise.
64199         * inet/herrno-loc.c: Likewise.
64200         * inet/herrno.c: Likewise.
64201         * malloc/arena.c: Likewise.
64202         * malloc/hooks.c: Likewise.
64203         * malloc/malloc.c: Likewise.
64204         * resolv/res-state.c: Likewise.
64205         * resolv/res_libc.c: Likewise.
64206         * sysdeps/i386/dl-machine.h: Likewise.
64207         * sysdeps/ia64/dl-machine.h: Likewise.
64208         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64209         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64210         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
64211         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64212         * sysdeps/sh/dl-machine.h: Likewise.
64213         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64214         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64215         * sysdeps/unix/i386/sysdep.S: Likewise.
64216         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
64217         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
64218         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
64219         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
64220         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
64221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
64222         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
64223         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64224         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
64226         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64227         * sysdeps/x86_64/dl-machine.h: Likewise.
64228         * tls.make.c: Likewise.
64229
64230         * configure.in: Remove --with-__thread option.  Make tests for
64231         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
64232         tls_model attribute fail if no support is available.  Remove
64233         USE_IN_LIBIO.
64234         * Makeconfig: Adjust for dropped configure option.  All features are
64235         now mandatory.
64236         * Makerules: Likewise.
64237         * Versions.def: Likewise.
64238         * argp/argp-fmtstream.c: Likewise.
64239         * argp/argp-fmtstream.h: Likewise.
64240         * argp/argp-help.c: Likewise.
64241         * assert/assert.c: Likewise.
64242         * config.h.in: Likewise.
64243         * config.make.in: Likewise.
64244         * configure: Likewise.
64245         * configure.in: Likewise.
64246         * csu/Versions: Likewise.
64247         * csu/init.c: Likewise.
64248         * elf/tst-audit2.c: Likewise.
64249         * elf/tst-tls10.c: Likewise.
64250         * elf/tst-tls10.h: Likewise.
64251         * elf/tst-tls11.c: Likewise.
64252         * elf/tst-tls12.c: Likewise.
64253         * elf/tst-tls14.c: Likewise.
64254         * elf/tst-tlsmod11.c: Likewise.
64255         * elf/tst-tlsmod12.c: Likewise.
64256         * elf/tst-tlsmod13.c: Likewise.
64257         * elf/tst-tlsmod13a.c: Likewise.
64258         * elf/tst-tlsmod14a.c: Likewise.
64259         * elf/tst-tlsmod15b.c: Likewise.
64260         * elf/tst-tlsmod16a.c: Likewise.
64261         * elf/tst-tlsmod16b.c: Likewise.
64262         * elf/tst-tlsmod7.c: Likewise.
64263         * elf/tst-tlsmod8.c: Likewise.
64264         * elf/tst-tlsmod9.c: Likewise.
64265         * gmon/gmon.c: Likewise.
64266         * grp/fgetgrent_r.c: Likewise.
64267         * grp/putgrent.c: Likewise.
64268         * hurd/fopenport.c: Likewise.
64269         * include/libc-symbols.h: Likewise.
64270         * include/tls.h: Likewise.
64271         * intl/gettextP.h: Likewise.
64272         * intl/loadinfo.h: Likewise.
64273         * locale/global-locale.c: Likewise.
64274         * locale/localeinfo.h: Likewise.
64275         * mach/devstream.c: Likewise.
64276         * malloc/arena.c: Likewise.
64277         * malloc/set-freeres.c: Likewise.
64278         * misc/err.c: Likewise.
64279         * misc/getttyent.c: Likewise.
64280         * misc/mntent_r.c: Likewise.
64281         * posix/getopt.c: Likewise.
64282         * posix/wordexp.c: Likewise.
64283         * pwd/fgetpwent_r.c: Likewise.
64284         * resolv/Versions: Likewise.
64285         * resolv/res_hconf.c: Likewise.
64286         * shadow/fgetspent_r.c: Likewise.
64287         * shadow/putspent.c: Likewise.
64288         * stdio-common/printf_fphex.c: Likewise.
64289         * stdio-common/tmpfile.c: Likewise.
64290         * stdlib/abort.c: Likewise.
64291         * stdlib/fmtmsg.c: Likewise.
64292         * sunrpc/auth_unix.c: Likewise.
64293         * sunrpc/clnt_perr.c: Likewise.
64294         * sunrpc/clnt_tcp.c: Likewise.
64295         * sunrpc/clnt_udp.c: Likewise.
64296         * sunrpc/clnt_unix.c: Likewise.
64297         * sunrpc/openchild.c: Likewise.
64298         * sunrpc/svc_simple.c: Likewise.
64299         * sunrpc/svc_tcp.c: Likewise.
64300         * sunrpc/svc_udp.c: Likewise.
64301         * sunrpc/svc_unix.c: Likewise.
64302         * sunrpc/xdr.c: Likewise.
64303         * sunrpc/xdr_array.c: Likewise.
64304         * sunrpc/xdr_rec.c: Likewise.
64305         * sunrpc/xdr_ref.c: Likewise.
64306         * sunrpc/xdr_stdio.c: Likewise.
64307
64308 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64309
64310         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64311
64312 2011-07-03  Andreas Jaeger  <aj@suse.de>
64313
64314         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
64315         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
64316         regenerate with gen-libm-tests.pl.
64317
64318 2010-05-12  Petr Baudis  <pasky@suse.cz>
64319
64320         [BZ #11589]
64321         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
64322         around j0() zero points by switching to j1().
64323         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64324         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64325         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64326         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64327
64328 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64329
64330         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
64331         instead of 0.
64332         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
64333         instead of 0.
64334         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64335         Patch in part by Pavel Roskin <proski@gnu.org>.
64336
64337         [BZ #13138]
64338         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
64339         realloc.
64340         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
64341         Free memory block if necessary.
64342
64343         [BZ #12847]
64344         * libio/genops.c (INTDEF): For string streams the _lock pointer can
64345         be NULL.  Don't lock in this case.
64346
64347 2011-09-09  Roland McGrath  <roland@hack.frob.com>
64348
64349         * elf/elf.h (ELFOSABI_GNU): New macro.
64350         (ELFOSABI_LINUX): Define to that.
64351
64352 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
64353
64354         * string/strncat.c (strncat): Undef the symbol in case it has been
64355         defined in bits/string.h.
64356
64357 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64358
64359         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
64360
64361         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
64362         link map.
64363
64364 2011-08-17  Andreas Jaeger  <aj@suse.de>
64365
64366         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
64367
64368 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
64369             Ian Lance Taylor  <iant@google.com>
64370
64371         * math/libm-test.inc (lround_test): New testcase.
64372         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
64373
64374 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
64375
64376         * Makefile: Remove support for automatic cvs check-ins.
64377         * Makerules: Likewise.
64378         * config.make.in: Likewise.
64379         * configure.in: Likewise.
64380         * intl/Makefile: Likewise.
64381         * locale/Makefile: Likewise.
64382         * po/Makefile: Likewise.
64383         * posix/Makefile: Likewise.
64384         * sysdeps/gnu/Makefile: Likewise.
64385         * sysdeps/mach/hurd/Makefile: Likewise.
64386         * sysdeps/sparc/sparc32/Makefile: Likewise.
64387
64388         [BZ #13118]
64389         * posix/Makefile (bug-regex32-ENV): Define.
64390         Patch by John Stanley <jpsinthemix@verizon.net>.
64391
64392         * misc/Makefile (headers): Add bits/select2.h.
64393         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
64394         * misc/bits/select2.h: New file.
64395         * include/bits/select2.h: New file.
64396         * debug/Makefile (routines): Add fdelt_chk.
64397         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
64398         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
64399         FD_ISSET.
64400         * debug/fdelt_chk.c: New file.
64401
64402         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
64403         * wcsmbs/test-wmemcmp.c: Likewise.
64404         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
64405         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
64406
64407 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64408
64409         * string/Makefile (strop-tests): Add memcmp.
64410         * string/test-wmemcmp.c: New file.
64411         * string/test-memcmp.c: Add wmemcmp support.
64412
64413 2011-09-08  Roland McGrath  <roland@hack.frob.com>
64414
64415         [BZ #13153]
64416         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
64417         2011-07-19 change.
64418
64419         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
64420         garbage value in a __mach_port_mod_refs call in the cases of the
64421         task-self and thread-self ports.
64422
64423 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64424
64425         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
64426
64427 2011-09-08  Andreas Schwab  <schwab@redhat.com>
64428
64429         * elf/dl-load.c (lose): Check for non-null L.
64430
64431 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64432
64433         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
64434
64435         * elf/dl-libc.c (dlerror_run): Pass back error code from
64436         dl_catch_error.
64437
64438         [BZ #13123]
64439         * elf/dl-load.c (lose): Free l_origin if it is valid.
64440
64441         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
64442         names.
64443         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
64444         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64445         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64446         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64447         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
64448         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
64449
64450 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64451
64452         * sysdeps/powerpc/fpu/e_hypot.c: New file.
64453         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
64454         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
64455         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
64456         * sysdeps/powerpc/fpu/k_cosf.c: New file.
64457         * sysdeps/powerpc/fpu/k_sinf.c: New file.
64458         * sysdeps/powerpc/fpu/s_cosf.c: New file.
64459         * sysdeps/powerpc/fpu/s_sinf.c: New file.
64460         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
64461         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
64462
64463 2011-08-15  Alan Modra  <amodra@gmail.com>
64464
64465         [BZ #13092]
64466         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
64467         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
64468         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
64469         ppc_mcount to static-only-routines.
64470         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
64471         __mcount_internal.
64472         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
64473         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
64474
64475 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
64476
64477         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
64478         for finite and infinity parameters.
64479
64480 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64481
64482         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
64483         and add nop instructions for throughput optimization.
64484         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64485
64486 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
64487
64488         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
64489         aligned copy for power7 with vector-scalar instructions.
64490         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
64491
64492 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
64493
64494         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
64495         AVX check.
64496
64497 2011-09-07  Andreas Schwab  <schwab@redhat.com>
64498
64499         [BZ #13144]
64500         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
64501         last change.
64502
64503 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64504
64505         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64506         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
64507         syscall wrapper around clock_gettime in __vdso_clock_gettime.
64508         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
64509         clock_gettime.
64510
64511 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64512
64513         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
64514         Forgot to demangle the pointer.
64515
64516         * sysdeps/i386/sysdep.h: Define atom_text_section.
64517         * sysdeps/x86_64/sysdep.h: Likewise.
64518         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
64519         section with atom_text_section.
64520         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64521         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64522         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
64523         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
64524         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
64525
64526         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
64527         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
64528         already be defined.  Change to take two parameters and don't assign
64529         result to variable.  Adjust all users.
64530         Define INTERNAL_GETTIME if not already defined.
64531         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
64532         call.
64533         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
64534         HAVE_CLOCK_GETTIME_VSYSCALL.
64535         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
64536
64537         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
64538         gettimeofday vsyscall, just use time.
64539
64540 2011-09-06  Andreas Schwab  <schwab@redhat.com>
64541
64542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
64543         <errno.h>.
64544
64545 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64546
64547         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
64548         syscall on x86-64.
64549         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
64550         syscall.
64551         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
64552         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
64553         syscall if possible.
64554
64555 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64556
64557         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
64558         e_ident.  Don't pass to find_mapsXX.
64559         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
64560
64561 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64562
64563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64564         strchr-sse2-no-bsf strrchr-sse2-no-bsf
64565         * sysdeps/x86_64/multiarch/strchr.S: Update.
64566         Check bit_slow_BSF bit.
64567         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64568         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
64569         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
64570
64571 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64572
64573         [BZ #13134]
64574         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
64575         before glibc 2.15.
64576         (tryshell): Define.
64577         (__spawni): Change last parameter to be flag.  Test
64578         SPAWN_XFLAGS_USE_PATH flag to use path or not.
64579         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
64580         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
64581         * posix/spawni.c: Likewise.
64582         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
64583         * posix/spawnp.c: Likewise.  Change normal version to use
64584         SPAWN_XFLAGS_USE_PATH.
64585         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
64586         SPAWN_XFLAGS_TRY_SHELL.
64587
64588         [BZ #13150]
64589         * posix/glob.h: Remove gcc 1.x support.
64590
64591         [BZ #13068]
64592         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
64593
64594 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64595
64596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64597         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
64598         strrchr-sse2-bsf
64599         * sysdeps/i386/i686/multiarch/strchr.S: New file.
64600         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
64601         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
64602         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
64603         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
64604         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
64605
64606 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64607
64608         * sysdeps/x86_64/wcscmp.S: New file.
64609
64610         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
64611         wcscmp-c wcscmp-sse2
64612         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
64613         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
64614         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
64615         * wcsmbs/wcscmp.c: Allow renaming.
64616
64617 2011-09-05  David S. Miller  <davem@davemloft.net>
64618
64619         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
64620         stack slot, rather than the struct return pointer slot.
64621         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
64622         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
64623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
64624         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
64625
64626 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64627
64628         * po/ja.po: Update from translation team.
64629
64630         [BZ #13144]
64631         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
64632         kernel in 64-bit binaries.
64633
64634 2011-09-01  David S. Miller  <davem@davemloft.net>
64635
64636         * elf/elf.h (HWCAP_SPARC_*): Move to..
64637         * sysdeps/sparc/sysdep.h: this new file and add new values.
64638         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
64639         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
64640         _DL_HWCAP_COUNT to 24.
64641         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64642         entries.
64643         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
64644         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
64645         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
64646         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
64647         instead of magic constants.
64648         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64649
64650 2011-08-31  David S. Miller  <davem@davemloft.net>
64651
64652         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
64653         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
64654         Reimplement to do errno handling inline.
64655         (SYSCALL_ERROR_HANDLER): New macro.
64656         (__SYSCALL_STRING): Do not do errno handling in asm.
64657         (__CLONE_SYSCALL_STRING): Delete.
64658         (__INTERNAL_SYSCALL_STRING): Delete.
64659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
64660         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
64661         (PSEUDO): Reimplement to do errno handling inline.
64662         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
64663         (SYSCALL_ERROR_HANDLER): New macro.
64664         (__SYSCALL_STRING): Do not do errno handling in asm.
64665         (__CLONE_SYSCALL_STRING): Delete.
64666         (__INTERNAL_SYSCALL_STRING): Delete.
64667         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
64668         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
64669         i386.
64670         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
64671         (inline_syscall*): Add 'err' argument.
64672         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
64673         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
64674         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
64675         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
64676
64677         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
64678         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64679
64680 2011-08-30  Andreas Schwab  <schwab@redhat.com>
64681
64682         * elf/rtld.c (dl_main): Relocate objects in dependency order.
64683
64684 2011-08-29  Jiri Olsa <jolsa@redhat.com>
64685
64686         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
64687         directive.
64688
64689 2011-08-24  David S. Miller  <davem@davemloft.net>
64690
64691         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
64692
64693 2011-08-24  Andreas Schwab  <schwab@redhat.com>
64694
64695         * elf/Makefile: Add rules to build and run unload8 test.
64696         * elf/unload8.c: New file.
64697         * elf/unload8mod1.c: New file.
64698         * elf/unload8mod1x.c: New file.
64699         * elf/unload8mod2.c: New file.
64700         * elf/unload8mod3.c: New file.
64701
64702         * elf/dl-close.c (_dl_close_worker): Reset private search list if
64703         it wasn't used.
64704
64705 2011-08-23  David S. Miller  <davem@davemloft.net>
64706
64707         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
64708         subtract stack bias.
64709         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
64710         %sp not %fp in calculations.
64711         (_JMPBUF_UNWINDS_ADJ): Likewise.
64712
64713         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
64714         (aio_suspend): Call it to force an exception region around the
64715         AIO_MISC_WAIT() invocation.
64716
64717 2011-08-23  Andreas Schwab  <schwab@redhat.com>
64718
64719         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
64720         backslash.
64721
64722 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
64723
64724         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
64725         protection macro.
64726         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
64727         and <dl-machine.h>.
64728         (Elf64_FuncDesc): Remove.
64729
64730 2011-08-22  David S. Miller  <davem@davemloft.net>
64731
64732         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
64733         sigaltstack check, add missing cfi directives.
64734         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
64735         missing cfi directives, and sigaltstack handling.
64736
64737 2011-08-16  Andreas Schwab  <schwab@redhat.com>
64738
64739         [BZ #11724]
64740         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
64741         object is seen twice.
64742         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64743
64744         * elf/Makefile (distribute): Add tst-initorder2.c.
64745         (tests): Add tst-initorder2.
64746         (modules-names): Add tst-initorder2a tst-initorder2b
64747         tst-initorder2c tst-initorder2d.  Add rules to build them.
64748         ($(objpfx)tst-initorder2.out): New rule.
64749         * elf/tst-initorder2.c: New file.
64750         * elf/tst-initorder2.exp: New file.
64751
64752 2011-08-22  Andreas Schwab  <schwab@redhat.com>
64753
64754         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
64755
64756         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
64757         dependencies back to end of function.
64758
64759         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64760         $(elfobjdir)/ld.so.
64761
64762 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
64763
64764         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
64765         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
64766         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
64767         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
64768         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
64769         of __vdso_gettimeofday.
64770         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
64771         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
64772         attribute_hidden.
64773         (_libc_vdso_platform_setup): Remove initialization of
64774         __vdso_gettimeofday and __vdso_time.
64775
64776 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
64777
64778         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
64779         and fgetc_unlocked.
64780         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
64781         getc_unlocked.
64782
64783         * elf/dl-open.c (add_to_global): Report additions to the global scope
64784         for LD_DEBUG=scopes.
64785         (dl_open_worker): Also print scope of newly loaded dependencies.
64786         (_dl_show_scope): Indicate if there is no scope.
64787
64788         [BZ #13114]
64789         * stdio-common/Makefile (tests): Add bug24.
64790         * stdio-common/bug24.c: New file.
64791
64792 2011-08-19  Andreas Jaeger  <aj@suse.de>
64793
64794         [BZ #13114]
64795         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
64796         non-existant file when using close-on-exec mode.
64797
64798 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
64799
64800         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
64801         the very first instruction.
64802
64803         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
64804         the CFI state in the end.
64805         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
64806         inclusion of dl-trampoline.h.
64807         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
64808
64809 2011-08-19  Andreas Schwab  <schwab@redhat.com>
64810
64811         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
64812         expectations for long double.
64813
64814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
64815         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
64816
64817 2011-08-14  David S. Miller  <davem@davemloft.net>
64818
64819         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
64820         artificual limit depends upon the system page size.
64821
64822 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
64823
64824         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
64825         * resolv/Makefile: Define CFLAGS-libresolv.
64826
64827 2011-08-17  Andreas Schwab  <schwab@redhat.com>
64828
64829         * nss/makedb.c (compute_tables): Make variables used in nested
64830         function static.
64831
64832 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
64833
64834         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
64835         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
64836         if buffer was too small.
64837
64838         * elf/pldd.c (main): Attach to all threads in the process.
64839         Rewrite /proc handling to use *at functions.
64840
64841 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
64842
64843         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
64844         specifies first scope to show.
64845         (dl_open_worker): Update callers.  Move printing scope of new
64846         object to before the relocation.
64847         * elf/rtld.c (dl_main): Update _dl_show_scope call.
64848         * sysdeps/generic/ldsodefs.h: Update declaration.
64849
64850         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
64851         string for the scope number.
64852
64853 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
64854
64855         * nscd/servicescache.c (cache_addserv): Make sure written is always
64856         initialized.
64857
64858 2011-08-14  Roland McGrath  <roland@hack.frob.com>
64859
64860         * sysdeps/i386/i486/bits/atomic.h
64861         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
64862         statement expression, so as to suppress "set but not used" warning.
64863         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
64864
64865         * string/strncat.c (STRNCAT): Use prototype definition.
64866
64867         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
64868         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
64869         -Iprograms here.
64870         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
64871         (localedef-modules): Add localedef.
64872         (locale-modules): Add locale.
64873
64874         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
64875         * elf/rtld.c (dl_main): Invert order of assignment in last change,
64876         to avoid a warning.
64877
64878 2011-08-14  David S. Miller  <davem@davemloft.net>
64879
64880         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
64881         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
64882
64883 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
64884
64885         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
64886         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
64887         * elf/rtld.c (dl_main): Set l_name of vDSO.
64888         Call _dl_show_scope when DL_DEBUG_SCOPES.
64889         (process_dl_debug): Recognize scopes flag and also set it for all.
64890         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
64891         Declare _dl_show_scope.
64892
64893         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
64894         (do_dlopen): Pass caller_dlopen to dl_open.
64895         (__libc_dlopen_mode): Initialize caller_dlopen.
64896
64897         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
64898         of libc.  Make tolower call locale-independent.  Optimize a bit by
64899         using isdigit instead of isalnum.
64900         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
64901
64902 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
64903
64904         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
64905         was a dependency or dynamically loaded.
64906
64907 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
64908
64909         * intl/l10nflist.c: Allow architecture-specific pop function.
64910         * sysdeps/x86_64/l10nflist.c: New file.
64911
64912         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
64913         classification.
64914
64915 2011-08-10  Andreas Schwab  <schwab@redhat.com>
64916
64917         * include/dirent.h: Add libc_hidden_proto for scandirat and
64918         scandirat64.  Don't declare __scandirat64.
64919         * dirent/scandirat.c: Add libc_hidden_def.
64920         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
64921         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
64922
64923 2011-08-10  David S. Miller  <davem@davemloft.net>
64924
64925         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
64926         enum.
64927         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64928         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64929         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64930
64931 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
64932
64933         * Versions.def [libc]: Add GLIBC_2.15.
64934         * dirent/Makefile (routines): Add scandirat and scandirat64.
64935         * dirent/Versions [libc]: Export scandirat and scandirat64 for
64936         GLIBC_2.15.
64937         * dirent/dirent.h: Declare scandirat and scandirat64.
64938         * dirent/scandirat.c: New file.
64939         * dirent/scandirat64.c: New file.
64940         * sysdeps/wordsize-64/scandirat.c: New file.
64941         * sysdeps/wordsize-64/scandirat64.c: New file.
64942         * dirent/opendir.c: Define opendirat.
64943         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
64944         using scandirat.
64945         * dirent/scandir64.c: Adjust for scandir.c change.
64946         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
64947         __scandirat64, and __scandir_cancel_handler.
64948         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
64949         additional parameter and use openat instead of open (outside of ld.so).
64950         Add new __opendir as wrapper around __opendirat.
64951         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
64952         here without requiring old scandirat implementation.
64953
64954 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
64955
64956         * dirent/scandir.c (cancel_handler): Renamed to
64957         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
64958         defined.  Adjust users.
64959         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
64960         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
64961
64962 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
64963
64964         * string/test-string.h (IMPL): Use __STRING to expand name and then
64965         stringify it.
64966
64967         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
64968         of cleanups.
64969
64970 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64971
64972         * string/Makefile: Update.
64973         (strop-tests): Append strncat.
64974         * string/test-wcscmp.c: New file.
64975         New comprehensive test for wcscmp.
64976         * string/test-strcmp.c: Update.
64977         (WIDE): New define.
64978
64979 2011-07-22  Andreas Schwab  <schwab@redhat.com>
64980
64981         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
64982         line.
64983
64984 2011-07-26  Andreas Schwab  <schwab@redhat.com>
64985
64986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64987         encoding to ACE if AI_IDN.
64988
64989 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
64990
64991         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
64992         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
64993
64994 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64995
64996         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
64997         Fix overflow bug in strncat.
64998         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
64999
65000         * string/test-strncat.c: Update.
65001         Add new tests for checking overflow bugs.
65002
65003 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65004
65005         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65006         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65007         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65008         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65009         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65010         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65011         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65012         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65013         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65014
65015         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65016         (USE_AS_STRCAT): Define.
65017         Add strcat and strncat support.
65018         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65019
65020 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65021
65022         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65023         __n bigger than INT_MAX+1.
65024         (__strncmp_g): Likewise.
65025
65026 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65027
65028         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65029         * libio/stido.h: Likewise.
65030
65031         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65032         (AF_NFC): Define.
65033         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65034         (AF_NFC): Define.
65035
65036         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65037         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65038         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65039         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65040         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65041
65042         [BZ #13021]
65043         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65044         installed.
65045
65046         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65047         typo.
65048         (_dl_x86_64_save_sse): Likewise.
65049
65050 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65051
65052         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65053         OSXSAVE.
65054         (_dl_x86_64_save_sse): Likewise.
65055
65056         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65057
65058         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65059
65060 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65061
65062         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65063         change.
65064         (_dl_x86_64_save_sse): Use correct AVX check.
65065
65066 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65067
65068         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65069         bug in strncpy/strncat.
65070         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65071
65072 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65073
65074         * string/tester.c (test_strcat): Add tests for different alignments
65075         of source and destination.
65076         (test_strncat): Likewise.
65077
65078 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65079
65080         [BZ #12852]
65081         * posix/glob.c (glob): Check passed in values before using them in
65082         expressions to avoid some overflows.
65083         (glob_in_dir): Likewise.
65084
65085         [BZ #13007]
65086         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65087         check for AVX enablement so that we don't crash with old kernels and
65088         new hardware.
65089         * elf/tst-audit4.c: Add same checks here.
65090         * elf/tst-audit6.c: Likewise.
65091
65092         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65093
65094 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65095
65096         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65097
65098 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65099
65100         * po/cs.po: Update from translation team.
65101         * po/bg.po: Likewise.
65102
65103 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65104
65105         * misc/sys/cdefs.h: Add support for const attribute.
65106         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65107         to gnu_dev_{major,minor,makedev} functions.
65108
65109 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65110
65111         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65112
65113 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65114
65115         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65116         strlen results.
65117
65118 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65119
65120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65121         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65122         register in order to avoid conflicts with the soft frame pointer
65123         being held in r11 when necessary.
65124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65125         (INTERNAL_VSYSCALL_NCS): Likewise.
65126
65127 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65128
65129         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65130         * elf/dl-fini.c (_dl_fini): Adjust caller.
65131         * elf/dl-close.c (_dl_close_worker): Likewise.
65132         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65133
65134 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65135
65136         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65137         "aux_cache->nlibs < 0".
65138
65139         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65140         in the reload-count case.
65141
65142 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65143
65144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65145         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65146         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65147         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65148         * sysdeps/x86_64/multiarch/strcat.S: New file.
65149         * sysdeps/x86_64/multiarch/strncat.S: New file.
65150         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65151         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65152         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65153         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65154         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65155         (USE_AS_STRCAT): Define.
65156         Add strcat and strncat support.
65157         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65158         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65159         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65160         * string/strncat.c: Update.
65161         (USE_AS_STRNCAT): Define.
65162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65163         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65164         and i7.
65165         * sysdeps/x86_64/multiarch/init-arch.h
65166         (bit_Prefer_PMINUB_for_stringop): New.
65167         (index_Prefer_PMINUB_for_stringop): Likewise.
65168         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65169         bit_Prefer_PMINUB_for_stringop.
65170
65171 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65172
65173         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65174         buffer64.
65175         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65176         of casting of buffer.
65177         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65178         buffer32 and buffer64.
65179         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
65180         writes instead of casting of buffer.
65181         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
65182         buffer32.
65183         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
65184         casting of buffer.
65185
65186 2011-07-19  Andreas Schwab  <schwab@redhat.com>
65187
65188         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
65189
65190 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65191
65192         * nscd/nscd.c (termination_handler): Don't do anything for a database
65193         if it has not yet been initialized.
65194
65195 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65196
65197         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65198
65199 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65200
65201         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65202
65203 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65204
65205         * po/nl.po: Update from translation team.
65206         * po/sv.po: Likewise.
65207
65208 2011-07-16  Roland McGrath  <roland@hack.frob.com>
65209
65210         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
65211         now disallowed by GCC.
65212
65213         * configure.in (use-default-link): Default to yes if a test -shared
65214         link meets our qualifications.
65215         * configure: Regenerated.
65216
65217         * config.make.in (output-format): New variable.
65218         * configure.in: Check for ld --print-output-format support.
65219         * configure: Regenerated.
65220         * Makerules ($(common-objpfx)format.lds)
65221         [$(output-format) != unknown]: Just use $(output-format),
65222         instead of the linker-script munging.
65223
65224 2011-07-14  Roland McGrath  <roland@hack.frob.com>
65225
65226         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
65227         of $(common-objpfx)shlib.lds.
65228         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
65229
65230         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
65231         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
65232
65233         * configure.in (-z relro check): Adjust test code to add a large
65234         writable data section after it.
65235         * configure: Regenerated.
65236
65237 2011-07-11  Roland McGrath  <roland@hack.frob.com>
65238
65239         * configure.in (-z relro check): Fix test code to make the variable
65240         truly const.
65241         * configure: Regenerated.
65242
65243 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
65244
65245         * nscd/nscd.h (struct traced_file): Define.
65246         (struct database_dyn): Remove inotify_descr, reset_res, and filename
65247         elements.  Add traced_files.
65248         (inotify_fd): Declare.
65249         (register_traced_file): Declare.
65250         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
65251         (inotify_fd): Export.
65252         (resolv_conf_descr): Remove.
65253         (nscd_init): Move inotify descriptor creation to main.
65254         Don't register files for notification here.
65255         (register_traced_file): New function.
65256         (invalidate_cache): Don't use reset_res to determine whether to call
65257         res_init, go through the list of registered files.
65258         (main_loop_poll): The inotify descriptors are now stored in the
65259         structures for the traced files.
65260         (main_loop_epoll): Likewise
65261         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
65262         to __nss_disable_nscd.
65263         * nscd/cache.c (prune_cache): There is no single inotify descriptor
65264         for a database anymore.  Check the records for all the registered
65265         files instead.
65266         * nss/Makefile (libnss_files-routines): Add files-init.
65267         (libnss_db-routines): Add db-init.
65268         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
65269         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
65270         * nss/nss_db/db-init.c: New file.
65271         * nss/nss_files/files-init.c: New file.
65272         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
65273         __nss_lookup_function.
65274         (__nss_lookup_function): Call nss_load_library.
65275         (nss_load_all_libraries): New function.
65276         (__nss_disable_nscd): Take parameter with callback function for files
65277         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
65278         used for the cached services.
65279         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
65280         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
65281         options for features to all the files in nscd.
65282
65283         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
65284
65285 2011-07-10  Roland McGrath  <roland@hack.frob.com>
65286
65287         * csu/elf-init.c (__libc_csu_init): Comment typo.
65288
65289 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
65290
65291         * po/pl.po: Update from translation team.
65292         * po/ja.po: Likewise.
65293         * po/ru.po: Likewise.
65294         * po/ko.po: Likewise.
65295         * po/fr.po: Likewise.
65296
65297 2011-07-09  Roland McGrath  <roland@hack.frob.com>
65298
65299         * configure.in (.ctors/.dtors header and trailer check):
65300         Use an empirical test on a built program.
65301         * configure: Regenerated.
65302
65303         * configure.in (-z relro check): Use an empirical test on a built DSO.
65304         Detect, but do not require, on ia64.
65305         * configure: Regenerated.
65306
65307         * configure.in (READELF): Find it with AC_CHECK_TOOL.
65308         Update tests that use readelf to use $READELF instead.
65309         * configure: Regenerated.
65310
65311 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
65312
65313         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
65314         if the result is not used.
65315
65316 2011-07-05  Andreas Jaeger  <aj@suse.de>
65317
65318         [BZ#9696]
65319         * stdlib/tst-strtod.c: Add testcase.
65320
65321 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
65322
65323         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
65324         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
65325         The latter has a higher limit.  Take additional parameter to pass to
65326         the new function.
65327         (__pathconf): Pass file to __statfs_link_max.
65328         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
65329         __statfs_link_max.
65330         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
65331         __statfs_link_max.
65332
65333         [BZ #12868]
65334         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
65335         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65336         Handle Lustre.
65337         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
65338         (__statfs_filesize_max): Likewise.
65339         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
65340
65341 2011-07-05  Andreas Jaeger  <aj@suse.de>
65342
65343         * resolv/res_comp.c (dn_skipname): Remove unused variable.
65344
65345 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
65346
65347         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
65348         `status' variable.
65349         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
65350         Likewise.
65351
65352 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
65353
65354         * Makefile (strop-tests): Add strncat.
65355         * string/test-strncat.c: New file.
65356
65357 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
65358
65359         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
65360
65361 2011-06-21  Andreas Jaeger  <aj@suse.de>
65362
65363         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
65364         Copy rule from iconvdata/Makefile.
65365
65366 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65367
65368         [BZ #12922]
65369         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
65370         but no long options are defined, just return 'W'.
65371
65372 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
65373
65374         [BZ #9696]
65375         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
65376
65377 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65378
65379         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
65380         netgroups to read.
65381         (innetgr): Likewise.
65382
65383 2011-07-05  Roland McGrath  <roland@hack.frob.com>
65384
65385         * config.make.in (install_root): Default to $(DESTDIR).
65386
65387 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
65388
65389         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
65390
65391 2011-07-02  Roland McGrath  <roland@hack.frob.com>
65392
65393         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
65394
65395         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
65396         containing directory rather than embedding absolute directory names.
65397
65398         * scripts/check-local-headers.sh: Rewritten using awk.
65399         Match by word, not by line.  Print error messages for matches.
65400         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
65401
65402         * Makerules [shlib-lds-flags empty]:
65403         ($(common-objpfx)libc_pic.opts): New target.
65404         ($(common-objpfx)libc_pic.os.clean): New target.
65405         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
65406
65407         * config.make.in (OBJCOPY): New variable.
65408         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
65409         * configure: Regenerated.
65410
65411         * config.make.in (use-default-link): New variable.
65412         * configure.in (use_default_link): Grok --with-default-link to set it.
65413         * configure: Regenerated.
65414         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
65415         (shlib-lds, shlib-lds-flags): Define to empty.
65416
65417         * Makerules (shlib-lds): New variable.
65418         (shlib-lds-flags): New variable.
65419         (build-shlib, build-moduile, build-module-asneeded): Use it.
65420         ($(common-objpfx)libc.so): Use $(shlib-lds).
65421         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
65422         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
65423
65424         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
65425         DT_FLAGS/DT_FLAGS_1 with zero flags.
65426
65427         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
65428         linker script munging.
65429
65430 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
65431
65432         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
65433         as 128-bit value.
65434         * crypt/sha512.c (sha512_process_block): Perform total addition using
65435         128-bit if possible.
65436         (__sha512_finish_ctx): Likewise.
65437         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
65438         as 64-bit value.
65439         * crypt/sha256.c (SWAP64): Define.
65440         (sha256_process_block): Perform total addition using 64-bit if
65441         possible.
65442         (__sha256_finish_ctx): Likewise.
65443
65444 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
65445
65446         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
65447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65448         * nscd/hstcache.c (cache_addhst): Likewise.
65449         * nscd/grpcache.c (cache_addgr): Likewise.
65450         * nscd/aicache.c (addhstaiX): Likewise
65451         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
65452
65453 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
65454
65455         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
65456         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65457         * nscd/hstcache.c (cache_addhst): Likewise.
65458         * nscd/grpcache.c (cache_addgr): Likewise.
65459         * nscd/aicache.c (addhstaiX): Likewise
65460
65461 2011-07-01  Andreas Schwab  <schwab@redhat.com>
65462
65463         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
65464         domain only when needed.
65465
65466 2011-06-30  Andreas Schwab  <schwab@redhat.com>
65467
65468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
65469         is always restored.
65470
65471 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
65472
65473         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
65474         are re-adding the entry.
65475         * nscd/servicescache.c (cache_addserv): Likewise.
65476
65477 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
65478
65479         * sysdeps/generic/dl-irel.h: fix protection against multiple
65480         inclusions.
65481         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
65482
65483 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
65484
65485         [BZ #12935]
65486         * malloc/memusage.sh: Fix quoting in message.
65487         * debug/xtrace.sh: Likewise.
65488
65489         * configure.in: Remove support for --experimental-malloc option, make
65490         it the default.
65491         * config.make.in: Likewise.
65492         * malloc/Makefile: Likewise.
65493
65494 2011-06-27  Andreas Schwab  <schwab@redhat.com>
65495
65496         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
65497         two-byte characters.
65498
65499 2011-06-27  Roland McGrath  <roland@hack.frob.com>
65500
65501         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
65502         AC_CACHE_CHECK invocation.
65503         * configure: Regenerated.
65504
65505         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
65506
65507 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
65508
65509         [BZ #12350]
65510         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
65511         bit from old_res_options.
65512
65513         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
65514
65515         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
65516         value type for setfct.
65517
65518 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
65519
65520         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65521         __gettimeofday instead of gettimeofday.
65522
65523 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
65524
65525         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
65526
65527 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
65528
65529         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
65530
65531         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
65532         info.
65533
65534 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65535
65536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65537         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65538         strcpy-sse2-unaligned strncpy-sse2-unaligned
65539         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
65540         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
65541         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
65542         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
65543         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
65544         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
65545         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
65546         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
65547         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
65548         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
65549         (STRCPY): Support SSE2 and SSSE3 versions.
65550
65551 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
65552
65553         [BZ #12874]
65554         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
65555         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
65556         kernels which artificially limit size of requests.
65557
65558 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65559
65560         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65561         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65562         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
65563         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
65564         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
65565         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
65566         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
65567         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
65568         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
65569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
65570         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
65571         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
65572         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
65573         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
65574         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
65575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65576         Enable unaligned load optimization for Intel Core i3, i5 and i7
65577         processors.
65578         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
65579         Define.
65580         (index_Fast_Unaligned_Load): Define.
65581         (HAS_FAST_UNALIGNED_LOAD): Define.
65582
65583 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
65584
65585         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
65586
65587 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65588
65589         [BZ #12907]
65590         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
65591         until it is clear that the information is realy needed.
65592         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
65593
65594 2011-06-22  Andreas Schwab  <schwab@redhat.com>
65595
65596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
65597
65598 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65599
65600         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65601         /sys/devices/system/cpu/online if it is usable.
65602
65603         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
65604         reading the information from the /proc filesystem to once a second.
65605
65606 2011-06-21  Andreas Jaeger  <aj@suse.de>
65607
65608         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
65609         NULL after inclusion of kernel headers.
65610
65611 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
65612
65613         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
65614         calls to internal_setent.
65615
65616         [BZ #12885]
65617         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
65618         addresses using gethostbyname4_r ignore IPv4 addresses.
65619
65620         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
65621         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
65622
65623         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
65624
65625 2011-06-20  David S. Miller  <davem@davemloft.net>
65626
65627         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
65628         inclusions.
65629         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
65630
65631         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
65632         (elf_irel): Use it.
65633         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
65634         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
65635         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
65636         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
65637         * sysdeps/x86_64/dl-irel.h: Likewise.
65638
65639         * elf/dl-runtime.c: Use elf_ifunc_invoke.
65640         * elf/dl-sym.c: Likewise.
65641
65642 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65643
65644         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
65645         need to dereference resplen2.
65646
65647 2011-06-14  Andreas Schwab  <schwab@redhat.com>
65648
65649         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
65650
65651 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65652
65653         * Makeconfig: Define vardbdir and inst_vardbdir.
65654         * nss/Makefile: Add rules to install db-Makefile.
65655
65656         * nss/nss_db/db-XXX.c: Cleanup.
65657
65658         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
65659         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
65660         GLIBC_PRIVATE.
65661         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
65662         * nss/makedb.c: Implement -g option to specify that value strings
65663         are generated and should not be added to table iterated over for
65664         get*ent calls.
65665         * nss/nss_db/db-initgroups.c: New file.
65666
65667         * nss/getent.c: Add support for initgroups lookups through getgrouplist
65668         interface.
65669
65670         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
65671         (internal_getgrouplist): Adjust to name change.
65672         Update use_initgroups_entry if this is not the first call.
65673         * nss/databases.def: Add initgroups entry.
65674
65675         * nss/makedb.c (compute_tables): Check result of multiple hash table
65676         sizes to minimize maximum chain length.
65677
65678 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
65679
65680         * Versions.def: Add entry for libnss_db.
65681         * shlib-versions: Likewise.
65682         * nss/Makefile: Add rules to build libnss_db.
65683         * nss/Versions: Add libnss_db information.  Organize libnss_files
65684         entries better.
65685         * nss/db-Makefile: Add gshadow support.  Change rules for the new
65686         makedb progra.  Some minor improvements to generate smaller files.
65687         * nss/nss_db/nss_db.h: Move NSS database header data structures to
65688         here from...
65689         * nss/makedb.c: ...here.
65690         Improve database format to be smaller and require less memory at
65691         runtime.
65692         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
65693         db anymore.
65694         * nss/nss_db/db-netgrp.c: Likewise.
65695         * nss/nss_db/db-open.c: Likewise.
65696         * nss/nss_files/flies-XXX.x: Adjust comments.
65697         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
65698         * nss/nss_files/files-grp.c: Likewise.
65699         * nss/nss_files/files-hosts.c: Likewise.
65700         * nss/nss_files/files-network.c: Likewise.
65701         * nss/nss_files/files-proto.c: Likewise.
65702         * nss/nss_files/files-pwd.c: Likewise.
65703         * nss/nss_files/files-rpc.c: Likewise.
65704         * nss/nss_files/files-service.c: Likewise.
65705         * nss/nss_files/files-sgrp.c: Likewise.
65706         * nss/nss_files/files-spwd.c: Likewise.
65707         * nss/nss_db/db-alias.c: Removed.
65708         * nss/nss_db/dummy-db.h: Removed.
65709
65710 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
65711
65712         * nss/makedb.c: Rewritten to not use database library.
65713         * nss/Makefile: Update to build new makedb program.
65714
65715 2011-06-14  Andreas Jaeger  <aj@suse.de>
65716
65717         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
65718         memset declaration.
65719
65720 2011-06-10  Andreas Schwab  <schwab@redhat.com>
65721
65722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
65723         tmpbuf.
65724
65725 2011-06-10  Roland McGrath  <roland@hack.frob.com>
65726
65727         * Makerules (shlib.lds): Fail if the linker script comes out empty.
65728         * elf/Makefile ($(objpfx)ld.so): Likewise.
65729
65730         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
65731         Don't list ld.so twice in dependencies.
65732
65733         * posix/bug-regex31.c: Include <stdlib.h>.
65734
65735         * nscd/hstcache.c (cache_addhst): Remove unused variable.
65736
65737         * nis/nss_compat/compat-spwd.c
65738         (getspent_next_nss_netgr): Remove unused variable.
65739         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
65740
65741         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
65742         nonmembers" output to use the right array.
65743
65744         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
65745
65746         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
65747
65748         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
65749         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
65750         * catgets/gencat.c (read_input_file): Likewise.
65751         * locale/programs/locarchive.c (enlarge_archive): Likewise.
65752
65753         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
65754         variable definition inside #if's controlling its use.
65755
65756         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
65757
65758         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
65759
65760         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
65761
65762         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
65763         unreachable code.
65764
65765         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
65766
65767         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
65768         * configure: Regenerated.
65769
65770         * Makerules: Revert last change.
65771         * elf/Makefile: Likewise.
65772
65773 2011-06-09  Roland McGrath  <roland@hack.frob.com>
65774
65775         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
65776         * elf/Makefile ($(objpfx)librtld.os): Likewise.
65777         (reloc-link): Likewise.
65778
65779 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
65780
65781         * elf/Makefile: Add rules to build pldd.
65782         * elf/pldd.c: New file.
65783         * elf/pldd-xx.c: New file.
65784
65785 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
65786
65787         * version.h: Update for 2.15 development version.
65788
65789 2011-06-07  David S. Miller  <davem@davemloft.net>
65790
65791         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
65792         ifuncs.
65793         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
65794         elf_machine_lazy_rel): Likewise.
65795         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
65796         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
65797         elf_machine_lazy_rel): Likewise.
65798         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
65799         dl_hwcap via passed in argument.
65800         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
65801         Likewise.
65802
65803 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65804
65805         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
65806
65807 2011-06-06  Roland McGrath  <roland@hack.frob.com>
65808
65809         [BZ #12849]
65810         * manual/fdl-1.1.texi: New file, verbatim from:
65811         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
65812         * manual/lgpl-2.1.texi: New file, verbatim from:
65813         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
65814         * manual/Makefile (licenses): New variable, list those new file names.
65815         (texis): Use it.
65816         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
65817
65818         * manual/fdl.texi: File removed.
65819         * manual/lesser.texi: File removed.
65820         * manual/libc.texinfo (Copying, Documentation License):
65821         Use new @include file names, put @appendix directive before @include.
65822
65823 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
65824
65825         [BZ #12841]
65826         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
65827         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
65828         (mq_open): Add __NTH.
65829
65830 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
65831
65832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65833         Assume Intel Core i3/i5/i7 processor if AVX is available.
65834
65835 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
65836
65837         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65838         typo.
65839
65840 2011-05-31  Andreas Schwab  <schwab@redhat.com>
65841
65842         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
65843         memory.  Use alloca_account.  Fix memory leak when retrying.
65844
65845 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
65846
65847         * version.h (RELEASE): Bump for 2.14 release.
65848         * include/features.h (__GLIBC_MINOR__): Bump to 14.
65849
65850         * config.make.in (RANLIB): Remove entry.
65851
65852 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
65853
65854         * po/Makefile (po-sed-cmd): Add ksh to extensions.
65855         (libc.pot): Work around missing support for .ksh extension in xgettext.
65856
65857         [BZ #12684]
65858         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
65859         if both request failed.
65860         (send_dg): In case of server errors clear resplen or *resplen2.
65861
65862         [BZ #12454]
65863         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
65864         when there are multiple maps.
65865         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
65866         (_dl_fini): Remove test here.
65867
65868         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
65869
65870 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
65871
65872         [BZ #12350]
65873         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
65874         bit from old_res_options.
65875         (gaih_inet): Likewise.
65876
65877         [BZ #11099]
65878         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
65879         as signed.
65880
65881         * resolv/res_init.c (res_setoptions): Make the code more compact.
65882
65883         [BZ #11558]
65884         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
65885         set RES_USEVC.
65886
65887         [BZ #11634]
65888         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
65889
65890         * malloc/malloc.h: Mark malloc hook variables as deprecated.
65891
65892         [BZ #11781]
65893         * malloc/malloc.h: Declare malloc hook variables as volatile.
65894
65895         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
65896         in last patch.
65897
65898         [BZ #11799]
65899         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
65900         raise in the comment.
65901         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65902         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65903         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
65904
65905 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
65906
65907         [BZ #12811]
65908         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
65909         grow the buffers more if it already has to be sufficient.
65910         (build_wcs_upper_buffer): Likewise.
65911         * posix/regexec.c (check_matching): Likewise.
65912         (clean_state_log_if_needed): Likewise.
65913         (extend_buffers): Don't enlarge buffers beyond size of the input
65914         buffer.
65915         Patches mostly by Emil Wojak <emil@wojak.eu>.
65916         * posix/bug-regex32.c: New file.
65917         * posix/Makefile (tests): Add bug-regex32.
65918
65919         * locale/findlocale.c (_nl_find_locale): Return right away if
65920         _nl_explode_name failed.
65921         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
65922
65923         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
65924
65925         * debug/xtrace.sh: Unify messages.
65926         * malloc/memusage.sh: Likewise.
65927
65928         [BZ #12813]
65929         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
65930         time symbol from vDSO.  Substitute with vsyscall if not available.
65931         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
65932         __vdso_time.
65933
65934         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
65935         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
65936         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
65937         Add sendmmsg and internal_sendmmsg.
65938         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
65939         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
65940         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
65941
65942         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
65943         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
65944         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
65945
65946 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
65947
65948         [BZ #12813]
65949         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
65950         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
65951         available.
65952         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
65953         __vdso_getcpu.
65954
65955         [BZ #12814]
65956         * iconvdata/Makefile (tests): Add bug-iconv9.
65957         * iconvdata/bug-iconv9.c: New file.
65958
65959 2011-05-27  Andreas Schwab  <schwab@redhat.com>
65960
65961         [BZ #12814]
65962         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
65963
65964 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
65965
65966         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
65967         (struct user_regs_struct): Change intcs field back to cs.
65968
65969 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
65970
65971         * po/ja.po: Update from translation team.
65972
65973 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
65974
65975         [BZ #12795]
65976         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
65977         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
65978
65979 2011-05-20  Andreas Schwab  <schwab@redhat.com>
65980
65981         * stdlib/longlong.h: Update from GCC.
65982
65983 2011-05-23  Andreas Schwab  <schwab@redhat.com>
65984
65985         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
65986         parameter name.
65987         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
65988         Add parameter name.
65989         (__sysconf): Pass it down.
65990
65991 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
65992
65993         [BZ #12671]
65994         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
65995         some situations.
65996         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
65997         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
65998         add in in __libc_use_alloca calls.  Adjust callers.
65999         (glob): Use malloc in some situations.
66000
66001         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
66002         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66003         pltexit.
66004
66005 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66006
66007         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66008         and CLOCK_BOOTTIME_ALARM.
66009
66010         [BZ #12782]
66011         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66012         is returned.
66013
66014         * string/_strerror.c (__strerror_r): Print negative errors as signed
66015         numbers.
66016
66017         [BZ #12777]
66018         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66019         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66020         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66021
66022         * configure.in: Fix typo in redirection and correct removal of test
66023         files in two cases.
66024
66025         [BZ #12788]
66026         * locale/setlocale.c (new_composite_name): Fix test to check for
66027         identical name of all categories.
66028
66029         [BZ #12792]
66030         * libio/filedoalloc.c (local_isatty): New function.
66031         (_IO_file_doallocate): Use local_isatty.
66032         * stdio-common/perror.c (perror): In case a new stream is used
66033         forward the stream error.
66034         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66035         error flag.
66036
66037 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66038
66039         [BZ #11869]
66040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66041         alloca.
66042         * include/alloca.h (extend_alloca_account): Define.
66043
66044         [BZ #11857]
66045         * posix/regex.h: Fix comments with documentation of user-accessible
66046         fields after compilation and describe correct free'ing of pattern
66047         after re_compile_pattern.
66048         Patch by Reuben Thomas <rrt@sc3d.org>.
66049
66050 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66051
66052         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66053         and -mno-altivec to prevent the compiler from using Altivec and/or
66054         VSX instructions when the corresponding registers are not available.
66055
66056 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66057
66058         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66059
66060 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66061
66062         * libio/freopen.c (freopen): Use __dup2, not dup2.
66063         * libio/freopen64.c (freopen64): Likewise.
66064
66065 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66066
66067         [BZ #12775]
66068         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66069         * math/Makefile (tests): Add test-powl.
66070         (CFLAGS-test-powl.c): Define.
66071         * math/test-powl.c: New file.
66072
66073 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66074
66075         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66076
66077 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66078
66079         [BZ #11837]
66080         * iconvdata/gb18030.c: Update to GB18020-2005.
66081
66082 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66083
66084         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66085         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66086         Patch by Aharon Robbins <arnold@skeeve.com>.
66087
66088         [BZ #11892]
66089         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66090         on the stack.
66091
66092         [BZ #11895]
66093         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66094         through underflows.
66095
66096         [BZ #12766]
66097         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66098         point to strings before performing equality test for error_one_per_line
66099         mode.
66100
66101         [BZ #11697]
66102         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66103
66104         [BZ #11820]
66105         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66106         (struct user_fpregs_struct): Avoid __uint*_t types.
66107
66108         [BZ #6420]
66109         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66110         symbol info.  Use it instead of calling _dl_addr locally.
66111         (lock_and_info): New function.
66112         (tr_freehook): Call lock_and_info and pass symbol info as additional
66113         parameter to tr_where.
66114         (tr_mallochook): Likewise.
66115         (tr_reallochook): Likewise.
66116         (tr_memalignhook): Likewise.
66117
66118         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66119         used and couldn't be at all thread-safe.
66120
66121 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66122
66123         * libio/freopen.c (freopen): Don't close old file descriptor
66124         before the new one is opened.  Instead dup the new file descriptor
66125         to the old one after the new stream is created.
66126         * libio/freopen64.c (freopen64): Likewise.
66127         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66128         * libio/fileops.c (_IO_new_file_close_it): Handle new
66129         _IO_FLAGS2_NOCLOSE flag.
66130         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66131         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66132         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66133         _IO_FLAGS2_NOCLOSE flag.
66134         * include/unistd.h: Add hidden_proto for dup3.
66135         Define __have_dup3.
66136         * io/dup3.c: Define hidden symbol.
66137         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66138
66139         [BZ #7101]
66140         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66141         when an incomplete long option is used.
66142         * posix/tst-getopt_long1.c: New file.
66143         * posix/Makefile (tests): Add tst-getopt_long1.
66144
66145         [BZ #10138]
66146         * scripts/config.guess: Update from autoconf-2.68.
66147         * scripts/config.sub: Likewise.
66148
66149         [BZ #10157]
66150         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66151         tests into ...
66152         (has_cpuclock): ...this.  New function.
66153         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66154         macro here based on has_cpuclock code.
66155
66156         [BZ #10149]
66157         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66158         First byte (not low byte) is now always NUL.
66159         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66160
66161         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66162         Use non-cancelable interfaces.
66163
66164         [BZ #9809]
66165         * locale/iso-639.def: Add entry for Sorani.
66166
66167         [BZ #11901]
66168         * include/stdlib.h: Move include protection to the right place.
66169         Define abort_msg_s.  Declare __abort_msg with it.
66170         * stdlib/abort.c (__abort_msg): Adjust type.
66171         * assert/assert.c (__assert_fail_base): New function.  Majority
66172         of code from __assert_fail.  Allocate memory for __abort_msg with
66173         mmap.
66174         (__assert_fail): Now call __assert_fail_base.
66175         * assert/assert-perr.c: Remove bulk of implementation.  Use
66176         __assert_fail_base.
66177         * include/assert.hL Declare __assert_fail_base.
66178         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
66179         mmap.
66180         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
66181
66182 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
66183
66184         [BZ #11952]
66185         [BZ #12453]
66186         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
66187         until all modules are registered in the DTV.
66188         * elf/Makefile: Add rules to build and run tst-tls19.
66189         * elf/tst-tls19.c: New file.
66190         * elf/tst-tls19mod1.c: New file.
66191         * elf/tst-tls19mod2.c: New file.
66192         * elf/tst-tls19mod3.c: New file.
66193         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
66194
66195         [BZ #12083]
66196         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
66197         correctly.
66198
66199         [BZ #12601]
66200         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
66201         two-byte sequence errors.
66202         * iconvdata/Makefile (tests): Add bug-iconv8.
66203         * iconvdata/bug-iconv8.c: New file.
66204
66205         [BZ #12626]
66206         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
66207         buf2 definition.
66208
66209         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
66210
66211         [BZ #12432]
66212         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
66213         (dummy_getcfa): New function.
66214         (init): Get _Unwind_GetCFA address, use dummy if not found.
66215         (backtrace_helper): In recursion check, also check whether CFA changes.
66216         (__backtrace): Completely initialize arg.
66217
66218         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
66219         storing incomplete byte sequence in state object.  Avoid testing for
66220         guaranteed too small input if we know there is enough data available.
66221
66222 2011-05-11  Andreas Schwab  <schwab@redhat.com>
66223
66224         * Makeconfig (+link-pie): Indent.
66225         * Rules (binaries-pie): Define if $(have-fpie) and
66226         $(build-shared).
66227         (binaries-shared): Also filter out $(binaries-pie).
66228         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
66229         * nscd/Makefile (others-pie): Add nscd.
66230         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
66231         ($(objpfx)nscd): Remove command override.
66232         * login/Makefile (others-pie): Add pt_chown.
66233         ($(objpfx)pt_chown): Remove command override.
66234         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
66235         remove command overrides.
66236
66237 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
66238
66239         * libio/tst_putwc.c: Fix error messages.
66240
66241         [BZ #12724]
66242         * libio/fileops.c (_IO_new_file_close_it): Always flush when
66243         currently writing and seek to current position when not.
66244         * libio/Makefile (tests): Add bug-fclose1.
66245         * libio/bug-fclose1.c: New file.
66246
66247 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
66248
66249         [BZ #12511]
66250         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
66251         don't set DF_1_NODELETE here.
66252         (do_lookup_x): When entering new entry test for copy relocation
66253         and if necessary set DF_1_NODELETE flag.
66254         * elf/tst-unique4.cc: New file.
66255         * elf/tst-unique4.h: New file.
66256         * elf/tst-unique4lib.cc: New file.
66257         * elf/Makefile: Add rules to build and run tst-unique4.
66258         Patch by Piotr Bury <pbury@goahead.com>.
66259
66260 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
66261
66262         [BZ #12052]
66263         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
66264
66265         [BZ #12625]
66266         * misc/mntent_r.c (addmntent): Flush the stream after the output
66267
66268         [BZ #12393]
66269         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
66270         (is_trusted_path_normalize): Skip initial colon.  Append slash
66271         to empty buffer.  Duplicate is_trusted_path code but allow
66272         constructed patch to be prefix.
66273         (is_dst): Allow $ORIGIN followed by /.
66274         (_dl_dst_substitute): Correct clearing of check_for_trusted.
66275         Correct testing of result of is_trusted_path_normalize
66276         (decompose_rpath): Fix warning.
66277
66278 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
66279
66280         [BZ #11257]
66281         * grp/initgroups.c (internal_getgrouplist): When we found the service
66282         list through the initgroups entry in nsswitch.conf do not always
66283         continue on a successful lookup.  Don't always use the
66284         __nss_group_database value if it is set.
66285         * nss/nsswitch.conf (initgroups): Change action for successful db
66286         lookup to continue for compatibility.
66287
66288 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
66289
66290         [BZ #11532]
66291         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
66292         and CP774 modules.
66293         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
66294         and CP774 modules.
66295         * iconvdata/tst-tables.sh: Likewise.
66296         * iconvdata/cp770.c: New file.
66297         * iconvdata/cp771.c: New file.
66298         * iconvdata/cp772.c: New file.
66299         * iconvdata/cp773.c: New file.
66300         * iconvdata/cp774.c: New file.
66301         * iconvdata/testdata/CP770: New file.
66302         * iconvdata/testdata/CP770..UTF8: New file.
66303         * iconvdata/testdata/CP771: New file.
66304         * iconvdata/testdata/CP771..UTF8: New file.
66305         * iconvdata/testdata/CP772: New file.
66306         * iconvdata/testdata/CP772..UTF8: New file.
66307         * iconvdata/testdata/CP773: New file.
66308         * iconvdata/testdata/CP773..UTF8: New file.
66309         * iconvdata/testdata/CP774: New file.
66310         * iconvdata/testdata/CP774..UTF8: New file.
66311
66312         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
66313         END CHARMAP line.
66314         * iconvdata/gen-8bit-gap.sh: Likewise.
66315         * iconvdata/gen-8bit.sh: Likewise.
66316
66317         * locale/iso-639.def: Add ary entry.
66318
66319         [BZ #11258]
66320         * locale/C-translit.h.in: Add U20A1 transliteration.
66321
66322         [BZ #12178]
66323         * locale/iso-639.def: Add wae entry.
66324         Patch by Kevin Bortis <bortis@translate-wae.ch>.
66325
66326         [BZ #12545]
66327         * locale/programs/localedef.c (construct_output_path): Use ssize_t
66328         for n.
66329
66330         [BZ #12711]
66331         * locale/C-translit.h.in: Add entry for U20B9.
66332         Patch by pravin.d.s@gmail.com.
66333
66334 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
66335
66336         [BZ #12713]
66337         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
66338         ENAMETOOLONG use generic getcwd.
66339         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
66340         in rtld.  Use *stat64.
66341         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
66342         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
66343         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
66344         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
66345         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
66346         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
66347         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
66348         __fstatat64 macros.
66349         * include/dirent.h: Add libc_hidden_proto for rewinddir.
66350         * dirent/rewinddir.c: Add libc_hidden_def.
66351         * sysdeps/mach/hurd/rewinddir.c: Likewise.
66352         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
66353
66354         * include/dirent.h (__alloc_dir): Add flags parameter.
66355         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
66356         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
66357         __alloc_dir.
66358         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
66359         from fdopendir if O_CLOEXEC is already set.
66360
66361 2011-03-15  Alan Modra  <amodra@gmail.com>
66362
66363         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
66364         l_tls_firstbyte_offset non-zero.  Save padding offset in
66365         l_tls_firstbyte_offset for later use.
66366         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
66367         freeing static tls block.
66368
66369 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
66370
66371         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
66372         where #ifdef was intended.  The intent is to prevent ARG_MAX from
66373         being defined by the kernel headers.
66374
66375 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
66376
66377         [BZ #12734]
66378         * resolv/resolv.h: Define RES_NOTLDQUERY.
66379         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
66380         no-tld-query and set RES_NOTLDQUERY.
66381         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
66382         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
66383         modern BIND to search name as TLD unless forbidden.
66384
66385 2011-05-07  Petr Baudis  <pasky@suse.cz>
66386             Ulrich Drepper  <drepper@gmail.com>
66387
66388         [BZ #12393]
66389         * elf/dl-load.c (fillin_rpath): Move trusted path check...
66390         (is_trusted_path): ...to here.
66391         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
66392         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
66393         using is_trusted_path_normalize() in setuid scripts.
66394
66395 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66396
66397         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
66398         __BEGIN/__END_DECLS.
66399
66400 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
66401
66402         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
66403         NSS_STATUS_NOTFOUND if no record was found.
66404
66405 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66406
66407         * sunrpc/Makefile (headers): Add rpc/netdb.h.
66408         (headers-not-in-tirpc): Remove rpc/netdb.h
66409         * resolv/netdb.h: Revert last change.
66410
66411 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66412
66413         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
66414         circular dependency between libgcc.a and libc.a.
66415
66416 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66417
66418         * resolv/netdb.h: Don't include <rpc/netdb.h>.
66419         * nis/Makefile: Don't install rpcsvc/*.
66420         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
66421         instead of <rpc/types.h>.
66422         (MAXHOSTNAMELEN): Define.
66423
66424 2011-05-03  Andreas Schwab  <schwab@redhat.com>
66425
66426         * elf/ldconfig.c (add_dir): Don't crash on empty path.
66427
66428 2011-04-28  Maciej Babinski  <mbabinski@google.com>
66429
66430         [BZ #12714]
66431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
66432         gethostbyname4_r when IPv6 results are possible.
66433
66434 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
66435
66436         [BZ #12723]
66437         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
66438         _PC_PIPE_BUF handling.
66439
66440 2011-04-30  Bruno Haible  <bruno@clisp.org>
66441
66442         [BZ #12717]
66443         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
66444         * resolv/netdb.h (getnameinfo): Change type of flags parameter
66445         to 'int'.
66446         * inet/getnameinfo.c (getnameinfo): Likewise.
66447
66448 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
66449
66450         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
66451         to groups setting in database lookup.
66452         * nss/nsswitch.conf: Add initgroups entry.
66453
66454 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
66455
66456         [BZ #12685]
66457         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
66458         mode string.
66459         Patch by Eric Blake <eblake@redhat.com>.
66460
66461 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
66462
66463         * sunrpc/Makefile (need-export-routines): Add svc_run.
66464         (routines): Remove svc_run.
66465         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
66466         * sunrpc/clnt_perr.c (clnt_perrno): Export.
66467         * sunrpc/svc_run.c (svc_run): Likewise.
66468         * sunrpc/svc_udp.c (svcudp_create): Likewise.
66469
66470 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
66471
66472         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
66473         problem in reallocation in last patch.
66474
66475 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
66476
66477         * sunrpc/Makefile: Move inclusion of Rules.
66478
66479 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66480
66481         * nss/nss_files/files-initgroups.c: New file.
66482         * nss/Makefile (libnss_files-routines): Add files-initgroups.
66483         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
66484         _nss_files_initgroups_dyn.
66485
66486 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
66487
66488         * elf/elf.h (R_ARM_IRELATIVE): Define.
66489
66490 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66491
66492         * po/ru.po: Update from translation team.
66493
66494 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66495
66496         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
66497         dependencies.
66498
66499 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
66500
66501         [BZ #12653]
66502         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
66503         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
66504         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66505         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66506         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66507
66508 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
66509
66510         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
66511         differing bytes.
66512         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66513         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66514         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66515
66516 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66517
66518         [BZ #12420]
66519         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
66520         storing it.
66521         * stdlib/bug-getcontext.c: New file.
66522         * stdlib/Makefile: Add rules to build and run bug-getcontext.
66523
66524 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66525
66526         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
66527         instructions into .machine "z9-109".
66528         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
66529         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
66530
66531 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66532
66533         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
66534         between environment variables and auxiliary vector.
66535
66536 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
66537
66538         * Makefile: Add rules to build linkobj/libc.so.
66539         * include/libc-symbols.h: Define libc_hidden_nolink.
66540         * include/rpc/auth.h: Mark functions which are to be hidden.
66541         * include/rpc/auth_des.h: Likewise.
66542         * include/rpc/auth_unix.h: Likewise.
66543         * include/rpc/clnt.h: Likewise.
66544         * include/rpc/des_crypt.h: Likewise.
66545         * include/rpc/key_prot.h: Likewise.
66546         * include/rpc/pmap_clnt.h: Likewise.
66547         * include/rpc/pmap_prot.h: Likewise.
66548         * include/rpc/pmap_rmt.h: Likewise.
66549         * include/rpc/rpc_msg.h: Likewise.
66550         * include/rpc/svc.h: Likewise.
66551         * include/rpc/svc_auth.h: Likewise.
66552         * include/rpc/xdr.h: Likewise.
66553         * nis/Makefile: Link all DSOs against linkobj/libc.so.
66554         * nss/Makefile: Likewise.
66555         * sunrpc/Makefile: Don't install headers.  Build library with normal
66556         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
66557         * sunrpc/auth_des.c: Hide exported symbols by default, export some
66558         for the compat linking library.  Remove use of INTDEF/INTUSE.
66559         * sunrpc/auth_none.c: Likewise.
66560         * sunrpc/auth_unix.c: Likewise.
66561         * sunrpc/authdes_prot.c: Likewise.
66562         * sunrpc/authuxprot.c: Likewise.
66563         * sunrpc/clnt_gen.c: Likewise.
66564         * sunrpc/clnt_perr.c: Likewise.
66565         * sunrpc/clnt_raw.c: Likewise.
66566         * sunrpc/clnt_simp.c: Likewise.
66567         * sunrpc/clnt_tcp.c: Likewise.
66568         * sunrpc/clnt_udp.c: Likewise.
66569         * sunrpc/clnt_unix.c: Likewise.
66570         * sunrpc/des_crypt.c: Likewise.
66571         * sunrpc/des_soft.c: Likewise.
66572         * sunrpc/get_myaddr.c: Likewise.
66573         * sunrpc/key_call.c: Likewise.
66574         * sunrpc/key_prot.c: Likewise.
66575         * sunrpc/netname.c: Likewise.
66576         * sunrpc/pm_getmaps.c: Likewise.
66577         * sunrpc/pm_getport.c: Likewise.
66578         * sunrpc/pmap_clnt.c: Likewise.
66579         * sunrpc/pmap_prot.c: Likewise.
66580         * sunrpc/pmap_prot2.c: Likewise.
66581         * sunrpc/pmap_rmt.c: Likewise.
66582         * sunrpc/publickey.c: Likewise.
66583         * sunrpc/rpc_cmsg.c: Likewise.
66584         * sunrpc/rpc_common.c: Likewise.
66585         * sunrpc/rpc_dtable.c: Likewise.
66586         * sunrpc/rpc_prot.c: Likewise.
66587         * sunrpc/rpc_thread.c: Likewise.
66588         * sunrpc/rtime.c: Likewise.
66589         * sunrpc/svc.c: Likewise.
66590         * sunrpc/svc_auth.c: Likewise.
66591         * sunrpc/svc_authux.c: Likewise.
66592         * sunrpc/svc_raw.c: Likewise.
66593         * sunrpc/svc_run.c: Likewise.
66594         * sunrpc/svc_simple.c: Likewise.
66595         * sunrpc/svc_tcp.c: Likewise.
66596         * sunrpc/svc_udp.c: Likewise.
66597         * sunrpc/svc_unix.c: Likewise.
66598         * sunrpc/svcauth_des.c: Likewise.
66599         * sunrpc/xcrypt.c: Likewise.
66600         * sunrpc/xdr.c: Likewise.
66601         * sunrpc/xdr_array.c: Likewise.
66602         * sunrpc/xdr_float.c: Likewise.
66603         * sunrpc/xdr_intXX_t.c: Likewise.
66604         * sunrpc/xdr_mem.c: Likewise.
66605         * sunrpc/xdr_rec.c: Likewise.
66606         * sunrpc/xdr_ref.c: Likewise.
66607         * sunrpc/xdr_sizeof.c: Likewise.
66608         * sunrpc/xdr_stdio.c: Likewise.
66609
66610 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
66611
66612         [BZ #12650]
66613         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
66614         * sysdeps/ia64/dl-tls.h: Likewise.
66615         * sysdeps/powerpc/dl-tls.h: Likewise.
66616         * sysdeps/s390/dl-tls.h: Likewise.
66617         * sysdeps/sh/dl-tls.h: Likewise.
66618         * sysdeps/sparc/dl-tls.h: Likewise.
66619         * sysdeps/x86_64/dl-tls.h: Likewise.
66620         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
66621
66622 2011-03-14  Andreas Schwab  <schwab@redhat.com>
66623
66624         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
66625         rpath element also skip the following colon.
66626         (expand_dynamic_string_token): Add is_path parameter and pass
66627         down to DL_DST_REQUIRED and _dl_dst_substitute.
66628         (decompose_rpath): Call expand_dynamic_string_token with
66629         non-zero is_path.  Ignore empty rpaths.
66630         (_dl_map_object_from_fd): Call expand_dynamic_string_token
66631         with zero is_path.
66632
66633 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
66634
66635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66636         Make cancelable.
66637
66638 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
66639
66640         [BZ #12655]
66641         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
66642         Patch by Filipe David Manana <fdmanana@apache.org>.
66643
66644 2011-04-07  Andreas Schwab  <schwab@redhat.com>
66645
66646         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
66647         Maintain aligned stack.
66648         (CHECK_RSP): Remove unused macro.
66649
66650 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
66651
66652         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
66653         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
66654
66655 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
66656
66657         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
66658
66659         * include/features.h: Mention __USE_XOPEN2K8 in comment.
66660
66661 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
66662
66663         [BZ #12518]
66664         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
66665         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
66666         * sysdeps/x86_64/memmove.c: New file.
66667         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
66668         (memcpy): Renamed to ...
66669         (__new_memcpy): This.
66670         (memcpy): Provide GLIBC_2_14 memcpy.
66671         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
66672         (memcpy): Provide GLIBC_2_2_5 memcpy.
66673
66674 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66675
66676         [BZ #12631]
66677         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
66678
66679 2011-03-30  Andreas Schwab  <schwab@redhat.com>
66680
66681         * misc/syncfs.c: New file.
66682         * misc/Makefile (routines): Add syncfs.
66683         * posix/unistd.h: Declare syncfs.
66684         * sysdeps/unix/syscalls.list: Add syncfs.
66685
66686 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66687
66688         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
66689         open_by_handle_at.
66690         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66691         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66692         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66693         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66695         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
66696         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66697
66698 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66699
66700         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
66701         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66702         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
66703         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66704         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66705         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66706         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66707
66708         * io/Makefile: Compile fallocate.c, fallocate64.c, and
66709         sync_file_range.c with -fexceptions.
66710         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
66711         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
66712         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
66713         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
66714         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
66715         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66716         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
66717         sync_file_range as cancellation point
66718         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
66719         now a wrapper around __call_sync_file_range with cancellation handling.
66720         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
66721         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
66722         function name to __call_sync_file_range.
66723         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
66724         Add call_sync_file_range.
66725
66726 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66727
66728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66729         bits/timex.h.
66730
66731 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66732
66733         * iconv/iconv.h: Fix typo in comment.
66734         * io/fcntl.h: Likewise.
66735         * libio/stdio.h: Likewise.
66736         * posix/spawn.h: Likewise.
66737         * posix/unistd.h: Likewise.
66738         * stdlib/stdlib.h: Likewise.
66739         * time/time.h: Likewise.
66740         * wcsmbs/wchar.h: Likewise.
66741
66742         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
66743         open_by_handle): Add.
66744         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
66745         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
66746         Augment a few comments.
66747         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66748         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66749         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66751         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66752         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
66753         open_by_handle.
66754
66755         * io/fcntl.h (AT_EMPTY_PATH): Define.
66756
66757 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
66758
66759         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
66760         * sysdeps/unix/sysv/linux/bits/time.h: New file.
66761         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
66762         to...
66763         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
66764         * Versions.def: Add GLIBC_2.14.
66765         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
66766         Export.
66767
66768 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
66769
66770         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
66771         round counter.
66772         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66773
66774 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66775
66776         [BZ #12597]
66777         * string/test-strncmp.c (do_page_test): New function.
66778         (check2): Likewise.
66779         (test_main): Call check2.
66780         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
66781
66782 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
66783
66784         [BZ #12587]
66785         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
66786         Handle cache information in CPU leaf 4.
66787         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66788
66789 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
66790
66791         [BZ #12583]
66792         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
66793         character representation.
66794         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
66795
66796 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
66797
66798         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
66799         END(__isnan) to END(__isnanf) to match function entry point/label
66800         EALIGN(__isnanf,...).
66801
66802 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
66803
66804         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
66805
66806 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
66807
66808         [BZ #12510]
66809         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
66810         copy from the symbol referenced in the relocation to initialize the
66811         used variable.
66812         Patch by Piotr Bury <pbury@goahead.com>.
66813         * elf/Makefile: Add rules to build and tst-unique3.
66814         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
66815         * elf/tst-unique3.cc: New file.
66816         * elf/tst-unique3.h: New file.
66817         * elf/tst-unique3lib.cc: New file.
66818         * elf/tst-unique3lib2.cc: New file.
66819
66820         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
66821
66822 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
66823
66824         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
66825         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
66826         to _start.
66827
66828 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
66829
66830         * elf/dl-load.c (_dl_map_object): If we are looking for the first
66831         to-be-loaded object along a path to loader is ld.so.
66832
66833 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
66834             Ulrich Drepper  <drepper@gmail.com>
66835
66836         * sysdeps/x86_64/memset.S: After aligning destination, code
66837         branches to different locations depending on the value of
66838         misalignment, when multiarch is enabled. Fix this.
66839
66840 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
66841
66842         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
66843         Set _x86_64_preferred_memory_instruction for AMD processsors.
66844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66845         Set bit_Prefer_SSE_for_memop for AMD processors.
66846
66847 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
66848
66849         * libio/fmemopen.c (fmemopen): Optimize a bit.
66850
66851 2011-03-03  Andreas Schwab  <schwab@redhat.com>
66852
66853         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
66854
66855 2011-03-03  Roland McGrath  <roland@redhat.com>
66856
66857         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
66858
66859 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
66860
66861         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
66862         __bzero_ultra1 instead of __memset_ultra1.
66863
66864 2011-02-23  Andreas Schwab  <schwab@redhat.com>
66865             Ulrich Drepper  <drepper@gmail.com>
66866
66867         [BZ #12509]
66868         * include/link.h (struct link_map): Add l_orig_initfini.
66869         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
66870         returning unsuccessfully.
66871         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
66872         close of a file loaded at startup, restore the original l_initfini
66873         list.
66874         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
66875         list, store the pointer.
66876         * elf/Makefile ($(objpfx)noload-mem): New rule.
66877         (noload-ENV): Define.
66878         (tests): Add $(objpfx)noload-mem.
66879         * elf/noload.c: Include <memcheck.h>.
66880         (main): Call mtrace.  Close all opened handles.
66881
66882 2011-02-17  Andreas Schwab  <schwab@redhat.com>
66883
66884         [BZ #12454]
66885         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
66886         dependencies are missing.
66887
66888 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66889
66890         Fix __if_freereq crash: Unlike the generic version which uses free,
66891         Hurd needs munmap.
66892         * sysdeps/mach/hurd/ifreq.h: New file.
66893
66894 2011-01-27  Petr Baudis  <pasky@suse.cz>
66895             Ulrich Drepper  <drepper@gmail.com>
66896
66897         [BZ 12445]#
66898         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
66899         to extend_alloca().
66900         * stdio-common/bug23.c: New file.
66901         * stdio-common/Makefile (tests): Add bug23.
66902
66903 2010-09-28  Andreas Schwab  <schwab@redhat.com>
66904             Ulrich Drepper  <drepper@gmail.com>
66905
66906         [BZ #12489]
66907         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
66908         before performing relro protection.  At old place add assertion
66909         to make sure nothing changed.
66910
66911 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
66912             Glauber de Oliveira Costa  <glommer@gmail.com>
66913
66914         * elf/elf.h: Add new ARM TLS relocs.
66915
66916 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
66917
66918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
66919         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
66920         cast from r3.
66921         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
66922         'tests' variable.
66923         * sysdeps/wordsize-64/tst-writev.c: New file.
66924
66925 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
66926
66927         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
66928         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
66929         insns in _dl_start to prevent a TOC reference before relocs are
66930         resolved.
66931
66932 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
66933
66934         [BZ #12469]
66935         * Makeconfig: Remove RANLIB definition.
66936         * Makerules: Don't use RANLIB.
66937         * aclocal.m4: Remove ranlib test.
66938         * configure.in: No need to check for ranlib.
66939         * elf/rtld-Rules: Don't use RANLIB.
66940
66941 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66942
66943         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
66944         protection macro.
66945         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
66946         inclusion protection macro.
66947
66948         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
66949         SIGRTMIN and SIGRTMAX and print information in that case only when
66950         SIGRTMIN is defined.
66951
66952 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
66953
66954         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
66955         arginfo fn returning -1.
66956
66957         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
66958         and thousands string is zero terminated.
66959
66960 2011-02-03  Andreas Schwab  <schwab@redhat.com>
66961
66962         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
66963         sysdeps/unix/sysv/linux/bits/socket.h.
66964
66965 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66966
66967         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
66968         (__CPU_COUNT): Remove old macros.
66969         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
66970         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
66971         (__CPU_ALLOC, __CPU_FREE): Add macros.
66972         (__sched_cpualloc, __sched_cpufree): Add declarations.
66973
66974 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
66975
66976         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
66977         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
66978         * nscd/aicache.c (addhstaiX): Return timeout of added value.
66979         (readdhstai): Return value of addhstaiX call.
66980         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
66981         (addgrbyX): Return value returned by cache_addgr.
66982         (readdgrbyname): Return value returned by addgrbyX.
66983         (readdgrbygid): Likewise.
66984         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
66985         (addpwbyX): Return value returned by cache_addpw.
66986         (readdpwbyname): Return value returned by addhstbyX.
66987         (readdpwbyuid): Likewise.
66988         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
66989         (addservbyX): Return value returned by cache_addserv.
66990         (readdservbyname): Return value returned by addservbyX:
66991         (readdservbyport): Likewise.
66992         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
66993         (addhstbyX): Return value returned by cache_addhst.
66994         (readdhstbyname): Return value returned by addhstbyX.
66995         (readdhstbyaddr): Likewise.
66996         (readdhstbynamev6): Likewise.
66997         (readdhstbyaddrv6): Likewise.
66998         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
66999         (readdinitgroups): Return value returned by addinitgroupsX.
67000         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
67001         (prune_cache): Keep track of timeout value of re-added entries.
67002         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67003         * nscd/nscd.h: Adjust prototypes of readd* functions.
67004
67005 2011-02-04  Roland McGrath  <roland@redhat.com>
67006
67007         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67008         (nis_stats): Likewise.
67009         * nis/nis_modify.c (nis_modify): Likewise.
67010         * nis/nis_remove.c (nis_remove): Likewise.
67011         * nis/nis_add.c (nis_add): Likewise.
67012
67013         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67014
67015         * posix/fnmatch_loop.c: Add some consts.
67016
67017         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67018
67019 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67020
67021         [BZ #12460]
67022         * config.make.in (config-cflags-novzeroupper): Define.
67023         * configure.in: Substitute libc_cv_cc_novzeroupper.
67024         * elf/Makefile (AVX-CFLAGS): Define.
67025         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67026         (CFLAGS-tst-auditmod4a.c): Likewise.
67027         (CFLAGS-tst-auditmod4b.c): Likewise.
67028         (CFLAGS-tst-auditmod6b.c): Likewise.
67029         (CFLAGS-tst-auditmod6c.c): Likewise.
67030         (CFLAGS-tst-auditmod7b.c): Likewise.
67031         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67032
67033 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67034
67035         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67036         function to the callback.
67037         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67038
67039 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67040
67041         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67042         of errno.
67043
67044 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67045
67046         [BZ #11724]
67047         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67048         of constructors.
67049         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67050         of destructors.
67051         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67052
67053         [BZ #11724]
67054         * elf/Makefile: Add rules to build and run new test.
67055         * elf/tst-initorder.c: New file.
67056         * elf/tst-initorder.exp: New file.
67057         * elf/tst-initordera1.c: New file.
67058         * elf/tst-initordera2.c: New file.
67059         * elf/tst-initordera3.c: New file.
67060         * elf/tst-initordera4.c: New file.
67061         * elf/tst-initorderb1.c: New file.
67062         * elf/tst-initorderb2.c: New file.
67063         * elf/tst-order-a1.c: New file.
67064         * elf/tst-order-a2.c: New file.
67065         * elf/tst-order-a3.c: New file.
67066         * elf/tst-order-a4.c: New file.
67067         * elf/tst-order-b1.c: New file.
67068         * elf/tst-order-b2.c: New file.
67069         * elf/tst-order-main.c: New file.
67070         New test case by George Gensure <werkt0@gmail.com>.
67071
67072 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67073
67074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67075         decoding ACE if AI_CANONIDN.
67076
67077 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67078
67079         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67080
67081 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67082
67083         * version.h (RELEASE): Bump for 2.13 release.
67084         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67085
67086         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67087
67088         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67089         MADV_NOHUGEPAGE.
67090         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67091         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67092         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67093         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67094         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67095         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67096
67097         * posix/getconf.c: Update copyright year.
67098         * catgets/gencat.c: Likewise.
67099         * csu/version.c: Likewise.
67100         * debug/catchsegv.sh: Likewise.
67101         * debug/xtrace.sh: Likewise.
67102         * elf/ldconfig.c: Likewise.
67103         * elf/ldd.bash.in: Likewise.
67104         * elf/sprof.c (print_version): Likewise.
67105         * iconv/iconv_prog.c: Likewise.
67106         * iconv/iconvconfig.c: Likewise.
67107         * locale/programs/locale.c: Likewise.
67108         * locale/programs/localedef.c: Likewise.
67109         * malloc/memusage.sh: Likewise.
67110         * malloc/mtrace.pl: Likewise.
67111         * nscd/nscd.c (print_version): Likewise.
67112         * nss/getent.c: Likewise.
67113
67114         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67115         PF_CAIF, and PF_ALG.
67116         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67117
67118 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67119
67120         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67121         (modules-names): Use them.
67122         (ifunc-test-modules, ifunc-pie-tests): Define.
67123         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67124         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67125         (test-extras): Likewise.
67126         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67127         $(compile-command.c).
67128         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67129         (all-built-dso): Define.
67130         (check-textrel.out, check-execstack.out): Depend on it.
67131
67132         * configure.in: Don't override --enable-multi-arch.
67133
67134 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67135
67136         [BZ #6812]
67137         * nscd/hstcache.c (tryagain): Define.
67138         (cache_addhst): Return tryagain not notfound for temporary errors.
67139         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67140         failed.
67141
67142 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67143
67144         [BZ #10563]
67145         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67146         to make the syscall.
67147         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67148
67149         [BZ #12378]
67150         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67151         and fall back to matching as normal character if the string ends before
67152         the matching ']' is found.  This is what POSIX requires.
67153         * posix/testfnm.c: Adjust test result.
67154         * posix/globtest.sh: Adjust test result.  Add new test.
67155         * posix/tst-fnmatch.input: Likewise.
67156         * posix/tst-fnmatch2.c: Add new test.
67157
67158 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67159
67160         * elf/Makefile (check-execstack): Revert last change.  Depend on
67161         check-execstack.h.
67162         (check-execstack.h): New target.
67163         (generated): Add check-execstack.h.
67164         * elf/check-execstack.c: Include "check-execstack.h".
67165         (main): Revert last change.
67166         (handle_file): Return zero if GNU_STACK is absent and
67167         DEFAULT_STACK_PERMS doesn't include PF_X.
67168
67169 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67170
67171         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67172         in child fails because the descriptor is already closed.
67173         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67174         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67175         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67176
67177         [BZ #12397]
67178         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
67179         syscall.
67180
67181         [BZ #10484]
67182         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
67183         temporary buffer used to handle multi lookups locally.
67184         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
67185
67186 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67187
67188         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
67189         loader is ld.so.
67190
67191 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
67192
67193         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
67194         alignment for SSE2.
67195
67196 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67197
67198         [BZ #12394]
67199         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
67200         characters.  When rounding increased number of integer digits recompute
67201         number of groups.
67202         * stdio-common/tst-grouping.c: New file.
67203         * stdio-common/Makefile: Add rules to build and run tst-grouping.
67204
67205 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
67206
67207         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
67208         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
67209
67210         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
67211         void.
67212         * bits/select.h: Likewise.
67213
67214 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
67215
67216         * po/ja.po: Update from translation team.
67217
67218 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
67219
67220         [BZ #11155]
67221         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
67222         implementation just like for lxstat, fxstatat, et al.
67223
67224 2010-12-27  Jim Meyering  <meyering@redhat.com>
67225
67226         [BZ #12348]
67227         * posix/regexec.c (build_trtable): Return failure indication upon
67228         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
67229
67230 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
67231
67232         [BZ #12201]
67233         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
67234         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
67235         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
67236         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
67237
67238         [BZ #12207]
67239         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
67240
67241         [BZ #12204]
67242         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
67243         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
67244
67245 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
67246
67247         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
67248         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
67249         script has SORT_BY_INIT_PRIORITY.
67250         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
67251         NO_CTORS_DTORS_SECTIONS is defined.
67252         * elf/soinit.c: Likewise.
67253         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
67254         NO_CTORS_DTORS_SECTIONS is defined.
67255         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
67256         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
67257         * sysdeps/sh/init-first.c: Likewise.
67258         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
67259
67260 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
67261
67262         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
67263         always use the slow path.
67264
67265 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
67266
67267         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
67268         similar rule which adds the sysdep directories to the header search in
67269         order to pick up the correct platform stackinfo.h.
67270         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
67271         perform test if it is, otherwise return successfully without testing.
67272         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
67273         DEFAULT_STACK_PERMS define in stackinfo.h.
67274         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
67275         defined in stackinfo.h.
67276         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
67277         DEFAULT_STACK_PERMS defined in stackinfo.h.
67278         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
67279         * sysdeps/ia64/stackinfo.h: Likewise.
67280         * sysdeps/s390/stackinfo.h: Likewise.
67281         * sysdeps/sh/stackinfo.h: Likewise.
67282         * sysdeps/sparc/stackinfo.h: Likewise.
67283         * sysdeps/x86_64/stackinfo.h: Likewise.
67284         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
67285         PF_X for powerpc64.  Retain PF_X for powerpc32.
67286
67287 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
67288
67289         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
67290         accurately.
67291         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
67292         GETDENTS_64BIT_ALIGNED.
67293
67294 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
67295
67296         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
67297
67298 2010-12-10  Andreas Schwab  <schwab@redhat.com>
67299
67300         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
67301         _GNU_SOURCE.
67302
67303         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
67304         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
67305         Remove __restrict.
67306         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
67307         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
67308
67309 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
67310
67311         [BZ #11655]
67312         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
67313         are initialized.
67314
67315 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
67316
67317         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
67318
67319 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
67320
67321         * po/it.po: Update from translation team.
67322
67323 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
67324
67325         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
67326         unused codes.
67327
67328 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
67329
67330         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
67331
67332 2010-11-24  Andreas Schwab  <schwab@redhat.com>
67333
67334         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
67335         specially.
67336         (gaih_getanswer_slice): Likewise.
67337
67338 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
67339
67340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
67341
67342 2010-05-31  Petr Baudis  <pasky@suse.cz>
67343
67344         [BZ #11149]
67345         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
67346         silently even in the chroot mode.
67347
67348 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
67349
67350         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
67351         last patch a bit.  Pretty printing
67352
67353 2010-05-31  Petr Baudis <pasky@suse.cz>
67354
67355         [BZ #10085]
67356         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
67357         initialization of skip_initgroups_dyn.
67358
67359 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
67360
67361         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
67362         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67363
67364 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
67365
67366         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
67367
67368 2010-11-11  Andreas Schwab  <schwab@redhat.com>
67369
67370         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
67371         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
67372         (tst-fnmatch-ENV): Set MALLOC_TRACE.
67373         ($(objpfx)tst-fnmatch-mem): New rule.
67374         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
67375         * posix/tst-fnmatch.c (main): Call mtrace.
67376
67377 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
67378
67379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67380         Support Intel processor model 6 and model 0x2c.
67381
67382 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
67383
67384         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
67385           signed comparison.
67386
67387 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
67388
67389         [BZ #12205]
67390         * string/test-strncasecmp.c (check_result): New function.
67391         (do_one_test): Use it.
67392         (check1): New function.
67393         (test_main): Use it.
67394         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
67395         Support strcasecmp and strncasecmp.
67396
67397 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
67398
67399         [BZ #12194]
67400         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
67401         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67402
67403 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67404
67405         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
67406         IFUNC support.
67407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67408         memset-x86-64.
67409         * sysdeps/x86_64/multiarch/bzero.S: New file.
67410         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
67411         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
67412         * sysdeps/x86_64/multiarch/memset.S: New file.
67413         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
67414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67415         Set bit_Prefer_SSE_for_memop for Intel processors.
67416         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
67417         Define.
67418         (index_Prefer_SSE_for_memop): Define.
67419         (HAS_PREFER_SSE_FOR_MEMOP): Define.
67420
67421 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
67422
67423         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
67424         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
67425
67426 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
67427
67428         [BZ #12191]
67429         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67430         (__x86_64_raw_data_cache_size_half): Likewise.
67431         (__x86_64_raw_shared_cache_size): Likewise.
67432         (__x86_64_raw_shared_cache_size_half): Likewise.
67433
67434         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67435         (__x86_64_raw_data_cache_size_half): Likewise.
67436         (__x86_64_raw_shared_cache_size): Likewise.
67437         (__x86_64_raw_shared_cache_size_half): Likewise.
67438         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
67439         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
67440         and __x86_64_raw_shared_cache_size_half.  Round
67441         __x86_64_data_cache_size_half, __x86_64_data_cache_size
67442         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67443         to multiple of 256 bytes.
67444
67445 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
67446
67447         [BZ #12167]
67448         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
67449         of inacessible symlinks.  Verify result of symlink before returning it.
67450         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
67451         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
67452
67453 2010-10-28  Erich Ritz  <erichritz@gmail.com>
67454
67455         * math/math.h (isinf): Fix typo in comment.
67456
67457 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
67458
67459         * po/da.po: Update from translation team.
67460
67461 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
67462
67463         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
67464         is added to the list.
67465
67466 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67467             Ulrich Drepper  <drepper@gmail.com>
67468
67469         * elf/dl-object.c (_dl_new_object): Don't append the new object to
67470         the global list here.  Move code to...
67471         (_dl_add_to_namespace_list): ...here.  New function.
67472         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
67473         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
67474         * elf/dl-load.c (lose): Don't remove the element from the list.
67475         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
67476         (_dl_map_object): Likewise.
67477
67478 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
67479
67480         [BZ #12159]
67481         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
67482         into all bytes of SSE register.
67483         Patch by Richard Li <richardpku@gmail.com>.
67484
67485 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
67486
67487         [BZ #12140]
67488         * malloc/malloc.c (_int_free): Fill correct number of bytes when
67489         perturbing.
67490
67491 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
67492
67493         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
67494         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
67495         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
67496         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
67498         submachine.
67499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
67500
67501 2010-10-22  Andreas Schwab  <schwab@redhat.com>
67502
67503         * include/dlfcn.h (__RTLD_SECURE): Define.
67504         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
67505         mode & __RTLD_SECURE instead.
67506         (open_path): Rename preloaded parameter to secure.
67507         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
67508         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
67509         * elf/dl-deps.c (openaux): Likewise.
67510         * elf/rtld.c (struct map_args): Remove is_preloaded.
67511         (map_doit): Don't use it.
67512         (dl_main): Likewise.
67513         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
67514         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
67515
67516 2010-09-09  Andreas Schwab  <schwab@redhat.com>
67517
67518         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
67519         (sysd-rules-targets): Remove duplicates.
67520         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
67521         rtld-%.$o dependency.
67522
67523 2010-10-18  Andreas Schwab  <schwab@redhat.com>
67524
67525         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
67526         _dl_map_object do it.
67527
67528 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
67529
67530         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
67531         fast fma builtins, define the macros in the C99 standard.
67532         (FP_FAST_FMAF): Likewise.
67533         (FP_FAST_FMAL): Likewise.
67534         * sysdeps/x86_64/bits/mathdef.h: Likewise.
67535
67536         * bits/mathdef.h: Update copyright year.
67537         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67538
67539 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
67540
67541         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
67542         builtins, define the macros in the C99 standard.
67543         (FP_FAST_FMAF): Likewise.
67544         (FP_FAST_FMAL): Likewise.
67545         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
67546         multiply/add.
67547         (FP_FAST_FMAF): Likewise.
67548
67549 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
67550
67551         [BZ #3268]
67552         * math/libm-test.inc (fma_test): Some new testcases.
67553         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
67554         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
67555         y and infinite z.  Do multiplication by C already in long double.
67556         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
67557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
67558         y and infinite z.  Do bitwise or of inexact bit into u.d.
67559         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
67560         * sysdeps/i386/fpu/s_fmaf.S: Removed.
67561         * sysdeps/i386/fpu/s_fma.S: Removed.
67562         * sysdeps/i386/fpu/s_fmal.S: Removed.
67563
67564 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
67565
67566         [BZ #3268]
67567         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
67568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
67569         computation is not scheduled after fetestexcept.  Fix value
67570         of minimum denormal long double.
67571
67572 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
67573
67574         [BZ #3268]
67575         * math/libm-test.inc (fma_test): Add some more tests.
67576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
67577         correctly.
67578
67579 2010-10-15  Andreas Schwab  <schwab@redhat.com>
67580
67581         * scripts/data/localplt-s390-linux-gnu.data: New file.
67582         * scripts/data/localplt-s390x-linux-gnu.data: New file.
67583
67584 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
67585
67586         [BZ #3268]
67587         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
67588         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
67589         instead of dbl-64.
67590         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
67591         inlines.
67592         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
67593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
67594         if one of x and y is very large and the other is subnormal.
67595         * sysdeps/s390/fpu/s_fmaf.c: New file.
67596         * sysdeps/s390/fpu/s_fma.c: New file.
67597         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
67598         * sysdeps/powerpc/fpu/s_fma.S: New file.
67599         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
67600         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
67601         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
67602
67603 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
67604
67605         [BZ #3268]
67606         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
67607         fma tests.
67608         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
67609         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
67610         * sysdeps/i386/i686/multiarch/s_fma.c: Include
67611         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
67612         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
67613         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
67614         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
67615
67616 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
67617
67618         [BZ #12078]
67619         * posix/regcomp.c (parse_branch): One more memory leak plugged.
67620         * posix/bug-regex31.input: Add test case.
67621
67622 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67623
67624         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
67625         * posix/bug-regex31.input: New file.
67626
67627         [BZ #12078]
67628         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
67629         (parse_sub_exp): Fix last change, use postorder.
67630
67631         * posix/bug-regex31.c: New file.
67632         * posix/Makefile: Add rules to build and run bug-regex31.
67633
67634         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
67635
67636         [BZ #12078]
67637         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
67638
67639         [BZ #12108]
67640         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
67641         to have entries in sys_siglist.
67642
67643         [BZ #12093]
67644         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
67645         be NULL.
67646
67647 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
67648
67649         [BZ #3268]
67650         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
67651         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
67652         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
67653         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
67654         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67655         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
67656         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
67657         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
67658         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
67659         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
67660         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
67661         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
67662         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
67663         * math/ftestexcept.c (fetestexcept): Likewise.
67664         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
67665         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
67666         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
67667         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
67668         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
67669         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
67670         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67671
67672 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67673
67674         [BZ #12107]
67675         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
67676         newline.
67677
67678 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
67679
67680         * string/bug-strstr1.c: New file.
67681         * string/Makefile: Add rules to build and run bug-strstr1.
67682
67683 2010-10-05  Eric Blake  <eblake@redhat.com>
67684
67685         [BZ #12092]
67686         * string/str-two-way.h (two_way_long_needle): Always clear memory
67687         when skipping input due to the shift table.
67688
67689 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
67690
67691         [BZ #12005]
67692         * malloc/mcheck.c: Handle large requests.
67693
67694         [BZ #12077]
67695         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
67696         for strncmp and strncasecmp.
67697         * string/stratcliff.c: Add tests for strcmp and strncmp.
67698         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
67699
67700 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67701
67702         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
67703         __set_fpscr.
67704
67705 2010-09-30  Andreas Jaeger  <aj@suse.de>
67706
67707         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
67708         (CGROUP_SUPER_MAGIC): Define.
67709         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67710         Handle btrfs and cgroup file systems.
67711         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67712         Likewise.
67713
67714 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
67715
67716         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
67717         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
67718
67719 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67720
67721         [BZ #12067]
67722         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
67723         trying to locate the ELF header.
67724
67725 2010-09-27  Andreas Schwab  <schwab@redhat.com>
67726
67727         [BZ #11611]
67728         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
67729         Mask out sign-bit copies when constructing f_fsid.
67730
67731 2010-09-24  Petr Baudis <pasky@suse.cz>
67732
67733         * debug/stack_chk_fail_local.c: Add missing licence exception.
67734         * debug/warning-nop.c: Likewise.
67735
67736 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
67737
67738         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
67739         implementing getdents64 using getdents syscall, set d_type if
67740         __ASSUME_GETDENTS32_D_TYPE.
67741
67742 2010-09-16  Andreas Schwab  <schwab@redhat.com>
67743
67744         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
67745         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
67746
67747 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
67748
67749         [BZ #12037]
67750         * posix/unistd.h: Undo change of feature selection for ftruncate from
67751         2010-01-11.
67752
67753 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
67754
67755         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
67756         detection.
67757
67758 2010-09-20  Andreas Schwab  <schwab@redhat.com>
67759
67760         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
67761         fanotify_mark.
67762         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
67763
67764 2010-09-14  Andreas Schwab  <schwab@redhat.com>
67765
67766         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
67767         variables after CHECK_SP call.
67768         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
67769
67770 2010-09-13  Andreas Schwab  <schwab@redhat.com>
67771             Ulrich Drepper  <drepper@redhat.com>
67772
67773         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
67774         re-relocationg ld.so.
67775         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
67776         _dl_init_paths call.
67777         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
67778         here anymore.
67779
67780 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
67781
67782         * resolv/res_init.c (__res_vinit): Count the default server we added.
67783
67784 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
67785             Ulrich Drepper  <drepper@redhat.com>
67786
67787         [BZ #11968]
67788         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67789         (____longjmp_chk): Use %ebx for saving value across system call.
67790         Add unwind info.
67791
67792 2010-09-06  Andreas Schwab  <schwab@redhat.com>
67793
67794         * manual/Makefile: Don't mix pattern rules with normal rules.
67795
67796 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67797
67798         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
67799         operation.
67800         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
67801         * libio/iofopncook.c (_IO_cookie_init): Likewise.
67802         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
67803         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
67804         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67805         Likewise.
67806
67807 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
67808
67809         [BZ #11979]
67810         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
67811         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
67812
67813 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
67814
67815         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
67816         * sysdeps/x86_64/addmul_1.S: Likewise.
67817         * sysdeps/x86_64/lshift.S: Likewise.
67818         * sysdeps/x86_64/mul_1.S: Likewise.
67819         * sysdeps/x86_64/rshift.S: Likewise.
67820         * sysdeps/x86_64/sub_n.S: Likewise.
67821         * sysdeps/x86_64/submul_1.S: Likewise.
67822
67823 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67824
67825         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
67826         Define __sched_param instead of SCHED_* and sched_param when
67827         <bits/sched.h> is included with __need_schedparam defined.
67828         * bits/sched.h [__need_schedparam]
67829         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
67830         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
67831         (__defined_schedparam): Define to 1.
67832         (__sched_param): New structure, identical to sched_param.
67833         (__need_schedparam): Undefine.
67834
67835 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
67836
67837         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
67838         (epoll_create1): Declare.
67839
67840         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
67841
67842 2010-08-31  Andreas Schwab  <schwab@redhat.com>
67843
67844         [BZ #7066]
67845         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
67846         shifting retval into place.
67847
67848 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
67849
67850         * nis/rpcsvc/nis.h: Update copyright notice.
67851         * nis/rpcsvc/nis.x: Likewise.
67852         * nis/rpcsvc/nis_callback.h: Likewise.
67853         * nis/rpcsvc/nis_callback.x: Likewise.
67854         * nis/rpcsvc/nis_object.x: Likewise.
67855         * nis/rpcsvc/nis_tags.h: Likewise.
67856         * nis/rpcsvc/yp.h: Likewise.
67857         * nis/rpcsvc/yp.x: Likewise.
67858         * nis/rpcsvc/ypupd.h: Likewise.
67859         * nis/yp_xdr.c: Likewise.
67860         * nis/ypupdate_xdr.c: Likewise.
67861
67862         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
67863         mainly the body of pmap_getport.  Add parameters to specify timeouts.
67864         (pmap_getport): Use __libc_rpc_getport.
67865         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
67866         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
67867         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
67868
67869 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
67870
67871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
67872         fanotify_mark.
67873
67874 2010-08-27  Roland McGrath  <roland@redhat.com>
67875
67876         * sysdeps/i386/i686/multiarch/Makefile
67877         (CFLAGS-varshift.c): New variable.
67878
67879 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
67880
67881         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
67882         * sysdeps/i386/i686/multiarch/varshift.c: New file.
67883
67884         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
67885
67886         * sysdeps/x86_64/strlen.S: Minimal code improvement.
67887
67888 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
67889
67890         * sysdeps/x86_64/strlen.S: Unroll the loop.
67891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67892         strlen-sse2 strlen-sse2-bsf.
67893         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
67894         __strlen_no_bsf if bit_Slow_BSF is set.
67895         (__strlen_sse42): Removed.
67896         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
67897         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
67898
67899 2010-08-25  Roland McGrath  <roland@redhat.com>
67900
67901         * sysdeps/x86_64/multiarch/varshift.S: File removed.
67902         * sysdeps/x86_64/multiarch/varshift.c: New file.
67903         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
67904         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
67905         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
67906         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67907
67908 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
67909
67910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67911         strlen-sse2 strlen-sse2-bsf.
67912         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
67913         __strlen_sse2_bsf if bit_Slow_BSF is unset.
67914         (__strlen_sse2): Removed.
67915         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
67916         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
67917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
67918         bit_Slow_BSF for Atom.
67919         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
67920         (index_Slow_BSF): Define.
67921         (HAS_SLOW_BSF): Define.
67922
67923 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
67924
67925         [BZ #10851]
67926         * resolv/res_init.c (__res_vinit): When no server address at all
67927         is given default to loopback.
67928
67929 2010-08-24  Roland McGrath  <roland@redhat.com>
67930
67931         * configure.in: Remove config-name.h generation.
67932         * configure: Regenerated.
67933         * config-name.in: File removed.
67934         * scripts/config-uname.sh: New file.
67935         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
67936         ($(objdir)config-name.h): New target.
67937
67938         * sunrpc/rpc_parse.h: Avoid nested comment.
67939
67940 2010-08-24  Richard Henderson  <rth@redhat.com>
67941             Ulrich Drepper  <drepper@redhat.com>
67942             H.J. Lu  <hongjiu.lu@intel.com>
67943
67944         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
67945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
67946         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
67947         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
67948         _mm_alignr_epi8 with _mm_loadu_si128.
67949         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
67950         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
67951         (__m128i_shift_right): Removed.
67952         * sysdeps/i386/i686/multiarch/varshift.h: New file.
67953         * sysdeps/i386/i686/multiarch/varshift.S: New file.
67954         * sysdeps/x86_64/multiarch/varshift.h: New file.
67955         * sysdeps/x86_64/multiarch/varshift.S: New file.
67956
67957 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
67958
67959         * configure.in: Move assembler checks to before sysdep dir checking.
67960
67961 2010-08-20  Petr Baudis  <pasky@suse.cz>
67962
67963         * LICENSES: Sync the sunrpc license.
67964
67965 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
67966
67967         * sunrpc/auth_des.c: Update copyright notice once again.
67968         * sunrpc/auth_none.c: Likewise.
67969         * sunrpc/auth_unix.c: Likewise.
67970         * sunrpc/authdes_prot.c: Likewise.
67971         * sunrpc/authuxprot.c: Likewise.
67972         * sunrpc/bindrsvprt.c: Likewise.
67973         * sunrpc/clnt_gen.c: Likewise.
67974         * sunrpc/clnt_perr.c: Likewise.
67975         * sunrpc/clnt_raw.c: Likewise.
67976         * sunrpc/clnt_simp.c: Likewise.
67977         * sunrpc/clnt_tcp.c: Likewise.
67978         * sunrpc/clnt_udp.c: Likewise.
67979         * sunrpc/clnt_unix.c: Likewise.
67980         * sunrpc/des_crypt.c: Likewise.
67981         * sunrpc/des_soft.c: Likewise.
67982         * sunrpc/get_myaddr.c: Likewise.
67983         * sunrpc/getrpcport.c: Likewise.
67984         * sunrpc/key_call.c: Likewise.
67985         * sunrpc/key_prot.c: Likewise.
67986         * sunrpc/openchild.c: Likewise.
67987         * sunrpc/pm_getmaps.c: Likewise.
67988         * sunrpc/pm_getport.c: Likewise.
67989         * sunrpc/pmap_clnt.c: Likewise.
67990         * sunrpc/pmap_prot.c: Likewise.
67991         * sunrpc/pmap_prot2.c: Likewise.
67992         * sunrpc/pmap_rmt.c: Likewise.
67993         * sunrpc/rpc/auth.h: Likewise.
67994         * sunrpc/rpc/auth_unix.h: Likewise.
67995         * sunrpc/rpc/clnt.h: Likewise.
67996         * sunrpc/rpc/des_crypt.h: Likewise.
67997         * sunrpc/rpc/key_prot.h: Likewise.
67998         * sunrpc/rpc/netdb.h: Likewise.
67999         * sunrpc/rpc/pmap_clnt.h: Likewise.
68000         * sunrpc/rpc/pmap_prot.h: Likewise.
68001         * sunrpc/rpc/pmap_rmt.h: Likewise.
68002         * sunrpc/rpc/rpc.h: Likewise.
68003         * sunrpc/rpc/rpc_des.h: Likewise.
68004         * sunrpc/rpc/rpc_msg.h: Likewise.
68005         * sunrpc/rpc/svc.h: Likewise.
68006         * sunrpc/rpc/svc_auth.h: Likewise.
68007         * sunrpc/rpc/types.h: Likewise.
68008         * sunrpc/rpc/xdr.h: Likewise.
68009         * sunrpc/rpc_clntout.c: Likewise.
68010         * sunrpc/rpc_cmsg.c: Likewise.
68011         * sunrpc/rpc_common.c: Likewise.
68012         * sunrpc/rpc_cout.c: Likewise.
68013         * sunrpc/rpc_dtable.c: Likewise.
68014         * sunrpc/rpc_hout.c: Likewise.
68015         * sunrpc/rpc_main.c: Likewise.
68016         * sunrpc/rpc_parse.c: Likewise.
68017         * sunrpc/rpc_parse.h: Likewise.
68018         * sunrpc/rpc_prot.c: Likewise.
68019         * sunrpc/rpc_sample.c: Likewise.
68020         * sunrpc/rpc_scan.c: Likewise.
68021         * sunrpc/rpc_scan.h: Likewise.
68022         * sunrpc/rpc_svcout.c: Likewise.
68023         * sunrpc/rpc_tblout.c: Likewise.
68024         * sunrpc/rpc_util.c: Likewise.
68025         * sunrpc/rpc_util.h: Likewise.
68026         * sunrpc/rpcinfo.c: Likewise.
68027         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68028         * sunrpc/rpcsvc/key_prot.x: Likewise.
68029         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68030         * sunrpc/rpcsvc/mount.x: Likewise.
68031         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68032         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68033         * sunrpc/rpcsvc/rex.x: Likewise.
68034         * sunrpc/rpcsvc/rstat.x: Likewise.
68035         * sunrpc/rpcsvc/rusers.x: Likewise.
68036         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68037         * sunrpc/rpcsvc/spray.x: Likewise.
68038         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68039         * sunrpc/rtime.c: Likewise.
68040         * sunrpc/svc.c: Likewise.
68041         * sunrpc/svc_auth.c: Likewise.
68042         * sunrpc/svc_authux.c: Likewise.
68043         * sunrpc/svc_raw.c: Likewise.
68044         * sunrpc/svc_run.c: Likewise.
68045         * sunrpc/svc_simple.c: Likewise.
68046         * sunrpc/svc_tcp.c: Likewise.
68047         * sunrpc/svc_udp.c: Likewise.
68048         * sunrpc/svc_unix.c: Likewise.
68049         * sunrpc/svcauth_des.c: Likewise.
68050         * sunrpc/xcrypt.c: Likewise.
68051         * sunrpc/xdr.c: Likewise.
68052         * sunrpc/xdr_array.c: Likewise.
68053         * sunrpc/xdr_float.c: Likewise.
68054         * sunrpc/xdr_mem.c: Likewise.
68055         * sunrpc/xdr_rec.c: Likewise.
68056         * sunrpc/xdr_ref.c: Likewise.
68057         * sunrpc/xdr_sizeof.c: Likewise.
68058         * sunrpc/xdr_stdio.c: Likewise.
68059
68060         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68061         handling.
68062
68063 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68064
68065         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68066
68067 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68068
68069         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68070         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68071         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68072         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68073         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68074         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68075         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68076         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68077         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68078         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68079         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68080         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68081         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68082         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68083
68084 2010-07-26  Anton Blanchard  <anton@samba.org>
68085
68086         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68087         * malloc/arena.c (heap_trim): Likewise.
68088
68089 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68090
68091         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68092         here.  Not...
68093         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68094         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68095
68096 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68097
68098         * sysdeps/i386/elf/Makefile: New file.
68099
68100 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68101
68102         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68103         from fanotify_init.
68104         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68105         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68106
68107 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68108
68109         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68110         of strncasecmp_l.
68111         * sysdeps/multiarch/strcmp.S: Likewise.
68112
68113 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68114
68115         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68116         strncase_l-nonascii.
68117         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68118         Add strncase_l-ssse3.
68119         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68120         * sysdeps/x86_64/strcmp.S: Likewise.
68121         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68122         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68123         * sysdeps/x86_64/strncase.S: New file.
68124         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68125         * sysdeps/x86_64/strncase_l.S: New file.
68126         * string/Makefile (strop-tests): Add strncasecmp.
68127         * string/test-strncasecmp.c: New file.
68128
68129         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68130         warning.
68131
68132         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68133         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68134
68135 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68136
68137         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68138
68139 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68140
68141         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68142         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68143         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68144
68145 2010-05-01  Alan Modra  <amodra@gmail.com>
68146
68147         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68148         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68149         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68150         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68151         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68152         tidying.  Don't tail-call __sigjmp_save for static lib.
68153         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68154         save location.
68155         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68156         (CALL_MCOUNT): Add eh info, and nop after bl.
68157         (TAIL_CALL_SYSCALL_ERROR): New macro.
68158         (PSEUDO_RET): Use it.
68159         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68160         Correct save location of integer regs and cr.
68161         (_dl_profile_resolve): Correct cr save location.  Delete nops
68162         after bl when SHARED.  Reduce cfi size a little by better
68163         placement of cfi directives.
68164         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68165         make a stack frame.  Instead use parm save area as a temp.
68166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68167         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68169         Don't make a stack frame for parent, use parm save area.
68170         Increase child stack frame to 112 bytes.  Don't save unused reg,
68171         and adjust reg usage.  Set up cfi on error recovery and
68172         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68174         (__makecontext): Add dummy nop after jump to exit.
68175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68176         Use correct parm save area and cr save, reduce stack frame.
68177         Correct cfi for possible PSEUDO_RET frame setup.
68178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
68179         Branch to local label emitted by PSEUDO_RET rather than
68180         __syscall_error.
68181
68182 2010-08-12  Andreas Schwab  <schwab@redhat.com>
68183
68184         [BZ #11904]
68185         * locale/programs/locale.c (print_assignment): New function.
68186         (show_locale_vars): Use it.
68187
68188 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
68189
68190         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
68191         field.
68192         (struct statfs64): Likewise.
68193         (_STATFS_F_FLAGS): Define.
68194         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
68195         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68196         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
68197         (ST_VALID): Define locally.
68198         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
68199         __statvfs_getflags, use the provided value.
68200         * sysdeps/unix/sysv/linux/kernel-features.h: Define
68201         __ASSUME_STATFS_F_FLAGS.
68202
68203         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
68204
68205         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
68206         Add sys/fanotify.h.
68207         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
68208         fanotify_mask for GLIBC_2.13.
68209         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
68210         fanotify_init and fanotify_mark.
68211         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68212         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
68213
68214         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
68215         Add prlimit.
68216         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
68217         prlimit64 for GLIBC_2.13.
68218         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
68219         prlimit64.
68220         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
68221         syscall.
68222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
68223         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68224         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
68225         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
68226         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
68227         add prlimit alias.
68228         * sysdeps/unix/sysv/linux/prlimit.c: New file.
68229
68230         [BZ #11903]
68231         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
68232         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
68233
68234         * nss/Makefile: Add rules to build and run tst-nss-test1.
68235         * shlib-versions: Add entry for libnss_test1.
68236         * nss/nss_test1.c: New file.
68237         * nss/tst-nss-test1.c: New file.
68238
68239         * nss/nsswitch.c (__nss_database_custom): Define new variable.
68240         (__nss_configure_lookup): Set appropriate entry in
68241         __nss_configure_lookup to true.
68242         * nss/nsswitch.h: Define enum with indeces of databases in
68243         databases and __nss_database_custom arrays.  Declare
68244         __nss_database_custom.
68245         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
68246         to avoid using nscd when custom rules are installed.
68247         * nss/getXXbyYY_r.c: Likewise.
68248         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
68249
68250         * nss/nss_files/files-parse.c: Whitespace fixes.
68251
68252 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
68253
68254         [BZ #11883]
68255         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
68256         * posix/fnmatch_loop.c: Likewise.
68257
68258 2010-07-17  Andi Kleen  <ak@linux.intel.com>
68259
68260         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
68261         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
68262         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
68263         * Versions.def [GLIBC_2.13]: Add.
68264
68265 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
68266
68267         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68268         Also fail if tpwd after pwuid call is NULL.
68269
68270 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68271
68272         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
68273         when converting to ms.
68274
68275 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68276
68277         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
68278         EOPNOTSUPP errors with ENOTTY.
68279         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
68280         EOPNOTSUPP errors with ENOTTY.
68281
68282 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
68283
68284         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68285         Add strcasecmp_l-ssse3.
68286         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
68287         strcasecmp.
68288         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
68289         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
68290         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
68291
68292 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
68293
68294         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
68295
68296         * string/Makefile (strop-tests): Add strcasecmp.
68297         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68298         strcasecmp_l-nonascii.
68299         (gen-as-const-headers): Add locale-defines.sym.
68300         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
68301         * sysdeps/x86_64/strcasecmp.S: New file.
68302         * sysdeps/x86_64/strcasecmp_l.S: New file.
68303         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
68304         * sysdeps/x86_64/locale-defines.sym: New file.
68305         * string/test-strcasecmp.c: New file.
68306
68307         * string/test-strcasestr.c: Test both ends of the range of characters.
68308         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
68309
68310 2010-07-29  Roland McGrath  <roland@redhat.com>
68311
68312         [BZ #11856]
68313         * manual/locale.texi (Yes-or-No Questions): Fix example code.
68314
68315 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
68316
68317         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
68318         for ld.so.
68319
68320 2010-07-27  Andreas Schwab  <schwab@redhat.com>
68321
68322         * manual/memory.texi (Malloc Tunable Parameters): Document
68323         M_PERTURB.
68324
68325 2010-07-26  Roland McGrath  <roland@redhat.com>
68326
68327         [BZ #11840]
68328         * configure.in (-fgnu89-inline check): Set and substitute
68329         gnu89_inline, not libc_cv_gnu89_inline.
68330         * configure: Regenerated.
68331         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
68332
68333 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
68334
68335         * string/test-strnlen.c: New file.
68336         * string/Makefile (strop-tests): Add strnlen.
68337         * string/tester.c (test_strnlen): Add a few more test cases.
68338         * string/tst-strlen.c: Better error reporting.
68339
68340         * sysdeps/x86_64/strnlen.S: New file.
68341
68342 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
68343
68344         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
68345         lower-latency instructions.
68346
68347 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
68348
68349         * string/test-strcasestr.c: New file.
68350         * string/test-strstr.c: New file.
68351         * string/Makefile (strop-tests): Add strstr and strcasestr.
68352         * string/str-two-way.h: Don't undefine MAX.
68353         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
68354
68355 2010-07-21  Andreas Schwab  <schwab@redhat.com>
68356
68357         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68358         strcasestr-nonascii.
68359         (CFLAGS-strcasestr-nonascii.c): Define.
68360         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
68361         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
68362         Remove unused attribute.
68363
68364 2010-07-20  Roland McGrath  <roland@redhat.com>
68365
68366         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
68367         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
68368         ld.so.cache was broken.  With it, there is no way to disable dsocaps
68369         like LD_HWCAP_MASK can disable hwcaps.
68370
68371 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68372
68373         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
68374
68375 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
68376
68377         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
68378         call in strcasestr.
68379         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
68380         __strcasestr_sse42_nonascii.
68381         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68382         strcasestr-nonascii.c.
68383         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
68384
68385 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
68386
68387         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
68388         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
68389         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
68390         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
68391
68392 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
68393
68394         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
68395         fcntl.
68396
68397 2010-07-06  Andreas Schwab  <schwab@redhat.com>
68398
68399         [BZ #11577]
68400         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
68401         dl_signal_cerror.
68402
68403 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
68404
68405         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
68406         _PC_PIPE_BUF using F_GETPIPE_SZ.
68407
68408 2010-07-05  Roland McGrath  <roland@redhat.com>
68409
68410         * manual/arith.texi (Rounding Functions): Fix rint description
68411         implicit in round description.
68412
68413 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
68414
68415         * elf/Makefile: Fix linking for a few tests to make recent linker
68416         happy.
68417
68418 2010-06-30  Andreas Schwab  <schwab@redhat.com>
68419
68420         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68421         $(common-objpfx)libc_nonshared.a.
68422
68423 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
68424
68425         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
68426         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
68427         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68428         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68429         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
68430         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
68431         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68432         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
68434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
68435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
68436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
68438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
68440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
68441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
68442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
68445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
68447         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
68448         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
68449         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
68450         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
68451         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
68452         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
68453         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
68454         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
68455         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
68456         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
68457         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
68458         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
68459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
68460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
68461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
68462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
68463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
68464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
68465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
68466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
68467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
68468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
68469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
68470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
68471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
68472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
68473
68474 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
68475
68476         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
68477         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
68478         * string/memmove.c (memmove): Renamed to ...
68479         (MEMMOVE): ...this.  Default to memmove.
68480         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
68481         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
68482         (END_CHK): Define.
68483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68484         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
68485         mempcpy-ssse3-back memmove-ssse3-back.
68486         * sysdeps/x86_64/multiarch/bcopy.S: New file .
68487         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
68488         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
68489         * sysdeps/x86_64/multiarch/memcpy.S: New file.
68490         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
68491         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
68492         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
68493         * sysdeps/x86_64/multiarch/memmove.c: New file.
68494         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
68495         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
68496         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
68497         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
68498         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
68499         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
68500         Define.
68501         (index_Fast_Copy_Backward): Define.
68502         (HAS_ARCH_FEATURE): Define.
68503         (HAS_FAST_REP_STRING): Define.
68504         (HAS_FAST_COPY_BACKWARD): Define.
68505
68506 2010-06-21  Andreas Schwab  <schwab@redhat.com>
68507
68508         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68509         Restore proper fallback handling.
68510
68511 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
68512
68513         [BZ #11701]
68514         * posix/group_member.c (__group_member): Correct checking loop.
68515
68516         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
68517         OOM in getpwuid_r correctly.  Return error number when the caller
68518         should return, otherwise -1.
68519         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
68520         call returning > 0 value.
68521         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
68522
68523 2010-06-07  Andreas Schwab  <schwab@redhat.com>
68524
68525         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
68526         libc_nonshared.a from targets in modules-names.
68527
68528 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
68529
68530         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
68531         requires it.
68532
68533 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
68534
68535         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
68536         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
68537         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
68538         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
68539
68540 2010-06-02  Andreas Schwab  <schwab@redhat.com>
68541
68542         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
68543
68544 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
68545
68546         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
68547         and F_GETPIPE_SZ.
68548         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68549         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68550         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68552         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68553         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
68554
68555 2010-06-14  Roland McGrath  <roland@redhat.com>
68556
68557         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
68558
68559 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
68560
68561         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
68562         __REDIRECT followed by __THROW.
68563         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
68564         * posix/getopt.h (getopt): Likewise.
68565
68566 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68567
68568         * hurd/lookup-at.c (__file_name_lookup_at): Accept
68569         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
68570         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
68571         in AT_FLAGS.
68572         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
68573         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
68574
68575 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
68576
68577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
68578
68579 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
68580
68581         [BZ #11640]
68582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68583         Properly check family and model.
68584
68585 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
68586
68587         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
68588
68589 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
68590
68591         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
68592
68593 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
68594
68595         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
68596         symbol reference.
68597
68598 2010-05-19  Andreas Schwab  <schwab@redhat.com>
68599
68600         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
68601         symbol reference.
68602
68603 2010-05-21  Andreas Schwab  <schwab@redhat.com>
68604
68605         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
68606         and internal_recvmmsg.
68607         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
68608         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
68609         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
68610         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
68611
68612         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
68613         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68614         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68615
68616 2010-05-20  Andreas Schwab  <schwab@redhat.com>
68617
68618         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
68619
68620 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
68621
68622         POWER7 optimizations.
68623         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
68624         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
68625
68626 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
68627
68628         * version.h: Update for 2.13 development version.
68629
68630 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
68631
68632         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
68633         exceptions.  Return 0.
68634
68635 2010-05-07  Roland McGrath  <roland@redhat.com>
68636
68637         * elf/ldconfig.c (main): Add a const.
68638
68639 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
68640
68641         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
68642         (args_options): Add no-idn option.
68643         (ahosts_keys_int): Add idn_flags to ai_flags.
68644         (parse_option): Handle 'i' option to clear idn_flags.
68645
68646         * malloc/malloc.c (_int_free): Possible race in the most recently
68647         added check.  Only act on the data if no current modification
68648         happened.
68649
68650 See ChangeLog.17 for earlier changes.