Convert 69 more function definitions to prototype style (line wrap cases).
[glibc.git] / ChangeLog
bloba4e316cb0a568d23bada6d61de4327e276527e0a
1 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4         function definition.
5         * crypt/crypt_util.c (__encrypt_r): Likewise.
6         * libio/genops.c (_IO_no_init): Likewise.
7         * libio/iofopncook.c (_IO_fopencookie): Likewise.
8         (_IO_old_fopencookie): Likewise.
9         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10         * libio/iogetline.c (_IO_getline): Likewise.
11         (_IO_getline_info): Likewise.
12         * libio/iogetwline.c (_IO_getwline): Likewise.
13         (_IO_getwline_info): Likewise.
14         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
15         * libio/vswprintf.c (_IO_vswprintf): Likewise.
16         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17         (find_entry): Likewise.
18         (iterate_table): Likewise.
19         (lookup): Likewise.
20         * login/forkpty.c (forkpty): Likewise.
21         * misc/hsearch_r.c (__hsearch_r): Likewise.
22         * misc/select.c (__select): Likewise.
23         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24         Likewise.
25         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26         Likewise.
27         * nptl/old_pthread_cond_timedwait.c
28         (__pthread_cond_timedwait_2_0): Likewise.
29         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
30         * nptl/pthread_barrierattr_getpshared.c
31         (pthread_barrierattr_getpshared): Likewise.
32         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
33         Likewise.
34         * nptl/pthread_mutex_setprioceiling.c
35         (pthread_mutex_setprioceiling): Likewise.
36         * nptl/pthread_mutexattr_getprioceiling.c
37         (pthread_mutexattr_getprioceiling): Likewise.
38         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
39         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
40         Likewise.
41         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42         Likewise.
43         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
44         Likewise.
45         * socket/recvfrom.c (__recvfrom): Likewise.
46         * socket/sendto.c (__sendto): Likewise.
47         * socket/setsockopt.c (__setsockopt): Likewise.
48         * stdio-common/_itoa.c (_itoa): Likewise.
49         * stdio-common/_itowa.c (_itowa): Likewise.
50         * stdio-common/reg-printf.c (__register_printf_specifier):
51         Likewise.
52         (__register_printf_function): Likewise.
53         * stdio-common/tempname.c (__path_search): Likewise.
54         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
55         * stdlib/mul_1.c (mpn_mul_1): Likewise.
56         * stdlib/random_r.c (__initstate_r): Likewise.
57         * stdlib/setenv.c (__add_to_environ): Likewise.
58         * stdlib/submul_1.c (mpn_submul_1): Likewise.
59         * streams/getpmsg.c (getpmsg): Likewise.
60         * streams/putmsg.c (putmsg): Likewise.
61         * streams/putpmsg.c (putpmsg): Likewise.
62         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
63         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
64         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
65         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
66         * sunrpc/pm_getport.c (pmap_getport): Likewise.
67         * sunrpc/svc_udp.c (cache_get): Likewise.
68         * sunrpc/xdr_array.c (xdr_vector): Likewise.
69         * sysdeps/mach/hurd/getcwd.c
70         (__canonicalize_directory_name_internal): Likewise.
71         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
72         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
73         * sysdeps/mach/hurd/select.c (__select): Likewise.
74         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
75         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
76         * sysdeps/sparc/nptl/pthread_barrier_init.c
77         (__pthread_barrier_init): Likewise.
78         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
79         (__pthread_cond_timedwait): Likewise.
80         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
81         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
82         Likewise.
83         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
84         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
85         Likewise.
86         * sysvipc/semtimedop.c (semtimedop): Likewise.
87         * time/setitimer.c (__setitimer): Likewise.
88         * time/strftime_l.c (emacs_strftime): Likewise.
90 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
92         * config.make.in (have-ssp): Delete.
93         (stack-protector): New variable.
94         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
95         cache test for -fstack-protector-strong.  Export stack_protector to
96         the best ssp flag.
97         * configure: Regenerated.
98         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
99         * nscd/Makefile (CFLAGS-nscd): Likewise.
100         * resolv/Makefile (CFLAGS-libresolv): Likewise.
102 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
104         [BZ #19122]
105         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
106         attribute_hidden.
108 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
110         [BZ #18743]
111         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
112         code to...
113         (ELIDE_LOCK): ...here.
114         (__get_new_count): New function with part of the code from
115         __elide_lock that updates the value of adapt_count after a
116         transaction abort.
117         (__elided_trylock): Moved this code to...
118         (ELIDE_TRYLOCK): ...here.
120 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
122         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
123         * configure: Regenerate.
124         * INSTALL: Regenerate.
125         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
126         and tweak grammar.
128 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
130         * login/programs/pt_chown.c: Include signal.h
131         (main): Clear any signal mask from the parent process.
133 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
135         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
136         * configure: Regenerated.
137         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
138         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
139         $(gnu89-inline-CFLAGS).
141         * configure.ac (libc_cv_asm_weak_directive): Remove configure
142         test.
143         (libc_cv_asm_weakext_directive): Likewise.
144         * configure: Regenerated.
145         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
146         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
147         * include/libc-symbols.h
148         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
149         #error.
150         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
151         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
153         * sysdeps/arm/backtrace.c (__backtrace): Convert to
154         prototype-style function definition.
155         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
156         * sysdeps/i386/ffs.c (__ffs): Likewise.
157         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
158         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
159         Likewise.
160         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
161         Likewise.
162         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
163         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
164         Likewise.
165         * sysdeps/m68k/ffs.c (__ffs): Likewise.
166         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
167         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
168         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
169         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
170         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
171         * sysdeps/mach/hurd/access.c (__access): Likewise.
172         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
173         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
174         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
175         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
176         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
177         (cthread_getspecific): Likewise.
178         (cthread_setspecific): Likewise.
179         (__libc_getspecific): Likewise.
180         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
181         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
182         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
183         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
184         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
185         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
186         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
187         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
188         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
189         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
190         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
191         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
192         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
193         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
194         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
195         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
196         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
197         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
198         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
199         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
200         * sysdeps/mach/hurd/link.c (__link): Likewise.
201         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
202         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
203         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
204         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
205         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
206         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
207         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
208         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
209         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
210         * sysdeps/mach/hurd/rename.c (rename): Likewise.
211         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
212         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
213         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
214         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
215         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
216         * sysdeps/mach/hurd/send.c (__send): Likewise.
217         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
218         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
219         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
220         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
221         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
222         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
223         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
224         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
225         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
226         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
227         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
228         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
229         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
230         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
231         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
232         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
233         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
234         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
235         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
236         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
237         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
238         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
239         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
240         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
241         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
242         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
243         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
244         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
245         * sysdeps/posix/alarm.c (alarm): Likewise.
246         * sysdeps/posix/cuserid.c (cuserid): Likewise.
247         * sysdeps/posix/dirfd.c (dirfd): Likewise.
248         * sysdeps/posix/dup.c (__dup): Likewise.
249         * sysdeps/posix/dup2.c (__dup2): Likewise.
250         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
251         (main): Likewise.
252         * sysdeps/posix/flock.c (__flock): Likewise.
253         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
254         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
255         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
256         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
257         * sysdeps/posix/isatty.c (__isatty): Likewise.
258         * sysdeps/posix/killpg.c (killpg): Likewise.
259         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
260         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
261         * sysdeps/posix/raise.c (raise): Likewise.
262         * sysdeps/posix/remove.c (remove): Likewise.
263         * sysdeps/posix/rename.c (rename): Likewise.
264         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
265         * sysdeps/posix/seekdir.c (seekdir): Likewise.
266         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
267         * sysdeps/posix/sigignore.c (sigignore): Likewise.
268         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
269         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
270         * sysdeps/posix/sigset.c (sigset): Likewise.
271         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
272         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
273         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
274         * sysdeps/posix/time.c (time): Likewise.
275         * sysdeps/posix/ttyname.c (getttyname): Likewise.
276         (ttyname): Likewise.
277         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
278         * sysdeps/posix/utime.c (utime): Likewise.
279         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
280         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
281         Likewise.
282         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
283         (pthread_spin_trylock): Likewise.
284         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
285         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
286         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
287         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
288         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
289         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
290         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
291         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
292         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
293         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
294         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
295         * sysdeps/s390/ffs.c (__ffs): Likewise.
296         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
297         Likewise.
298         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
299         Likewise.
300         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
301         Likewise.
302         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
303         (pthread_barrier_destroy): Likewise.
304         * sysdeps/sparc/nptl/pthread_barrier_wait.c
305         (__pthread_barrier_wait): Likewise.
306         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
307         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
308         (__pthread_barrier_wait): Likewise.
309         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
310         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
311         (memcmp_not_common_alignment): Likewise.
312         (MEMCMP): Likewise.
313         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
314         (_wordcopy_fwd_dest_aligned): Likewise.
315         (_wordcopy_bwd_aligned): Likewise.
316         (_wordcopy_bwd_dest_aligned): Likewise.
317         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
318         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
319         * sysdeps/unix/bsd/stty.c (stty): Likewise.
320         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
321         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
322         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
323         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
324         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
325         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
326         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
327         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
328         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
329         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
330         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
331         * sysdeps/unix/stime.c (stime): Likewise.
332         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
333         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
334         Likewise.  Use internal_function.
335         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
336         Convert to prototype-style function definition.
337         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
338         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
339         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
340         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
341         Likewise.  Use internal_function.
342         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
343         prototype-style function definition
344         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
345         Likewise.
346         (__getlogin_r): Likewise.
347         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
348         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
349         (__pthread_cond_broadcast): Likewise.
350         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
351         (__pthread_cond_destroy): Likewise.
352         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
353         (__pthread_cond_init): Likewise.
354         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
355         (__pthread_cond_signal): Likewise.
356         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
357         (__pthread_cond_wait): Likewise.
358         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
359         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
360         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
361         Likewise.
362         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
363         Likewise.
364         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
365         Likewise.
366         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
367         Likewise.
368         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
370         (__ftruncate64): Likewise.
371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
372         (truncate64): Likewise.
373         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
374         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
375         (pthread_getcpuclockid): Likewise.
376         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
377         Likewise.
378         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
379         Likewise.
380         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
381         Likewise.
382         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
383         Likewise.
384         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
385         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
386         (__libc_sigaction): Likewise.
387         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
388         Likewise.
389         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
390         (__sigprocmask): Likewise.
391         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
392         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
393         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
394         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
395         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
396         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
397         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
398         Likewise.
399         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
400         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
401         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
402         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
403         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
404         Likewise.
405         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
406         (__sigprocmask): Likewise.
407         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
408         (cfgetispeed): Likewise.
409         (cfsetospeed): Likewise.
410         (cfsetispeed): Likewise.
411         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
412         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
413         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
414         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
415         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
416         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
417         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
418         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
419         Likewise.
420         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
421         Likewise.
422         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
423         Likewise.
424         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
425         Likewise.
426         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
428 2015-10-17  Florian Weimer  <fweimer@redhat.com>
430         sunrpc: Rewrite with explicit TLS access using __thread.
431         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
432         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
433         directly.
434         (__rpc_thread_variables): Access thread_rpc_vars directly.
435         Eliminate redundant assignment of the tvp variable.
437 2015-10-17  Florian Weimer  <fweimer@redhat.com>
439         malloc: Rewrite with explicit TLS access using __thread.
440         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
441         (tsd_setspecific, tsd_getspecific): Remove.
442         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
443         (tsd_setspecific, tsd_getspecific): Likewise.
444         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
445         (tsd_setspecific, tsd_getspecific): Likewise.
446         * malloc/arena.c (thread_arena): New TLS variable.
447         (arena_key): Remove variable.
448         (arena_get): Use thread_arena.
449         (arena_lookup): Remove macro.
450         (malloc_atfork, free_atfork, ptmalloc_lock_all)
451         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
452         (_int_new_arena, get_free_list, reused_arena)
453         (arena_thread_freeres): Use thread_arena.
454         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
455         tsd_getspecific, tsd_setspecific from safety annotations.
456         (Allocating Cleared Space): Remove arena_lookup from safety
457         annotations.
459 2015-10-17  Florian Weimer  <fweimer@redhat.com>
461         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
462         struct scratch_buffer instead of extend_alloca.
464 2015-10-17  Florian Weimer  <fweimer@redhat.com>
466         * sysdeps/unix/sysv/linux/kernel-features.h
467         (__ASSUME_SOCK_CLOEXEC): Remove.
468         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
469         (__have_paccept): Remove unused macro.
470         * include/unistd.h (__have_sock_cloexec): Remove declaration.
471         * misc/syslog.c (openlog_internal): Remove fallback code for
472         !__ASSUME_SOCK_CLOEXEC.
473         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
474         missing SOCK_CLOEXEC.
475         * nscd/connections.c (have_sock_cloexec): Remove definition.
476         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
477         * nscd/nscd_helper.c (open_socket): Remove fallback code for
478         !__ASSUME_SOCK_CLOEXEC.
479         * resolv/res_send.c (__have_o_nonblock): Remove definition.
480         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
481         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
482         definition.
483         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
484         code for !__ASSUME_SOCK_CLOEXEC.
486 2015-10-17  Florian Weimer  <fweimer@redhat.com>
488         [BZ #18982]
489         * manual/stdio.texi (Variable Arguments Output): Add portability
490         note, explaining that vfprintf clobbers the va_list pointer.
492 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
494         * math/libm-test.inc (fabs_test_data): Add more tests.
495         (fdim_test_data): Likewise.
496         (fma_test_data): Likewise.
497         (fmax_test_data): Likewise.
498         (fmin_test_data): Likewise.
499         (fmod_test_data): Likewise.
501 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
503         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
504         data.
506 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
508         * math/libm-test.inc (ceil_test_data): Add more tests and more
509         expectations for "inexact".
510         (floor_test_data): Add more tests.
511         (round_test_data): Likewise.
512         (trunc_test_data): Likewise.
514         * crypt/cert.c (good_bye): Convert to prototype-style function
515         definition.
516         (get8): Likewise.
517         (put8): Likewise.
518         * crypt/crypt-entry.c (crypt): Likewise.
519         (__fcrypt): Likewise.
520         * crypt/crypt_util.c (_ufc_prbits): Likewise.
521         (_ufc_set_bits): Likewise.
522         (_ufc_clearmem): Likewise.
523         (__init_des_r): Likewise.
524         (shuffle_sb): Likewise.
525         (shuffle_sb): Likewise.
526         (_ufc_setup_salt_r): Likewise.
527         (_ufc_mk_keytab_r): Likewise.
528         (_ufc_dofinalperm_r): Likewise.
529         (encrypt): Likewise.
530         (__setkey_r): Likewise.
531         (setkey): Likewise.
532         * crypt/md5.c (md5_init_ctx): Likewise.
533         (md5_read_ctx): Likewise.
534         (md5_finish_ctx): Likewise.
535         (md5_stream): Likewise.
536         (md5_buffer): Likewise.
537         (md5_process_bytes): Likewise.
538         * crypt/sha256.c (__sha256_init_ctx): Likewise.
539         (__sha256_finish_ctx): Likewise.
540         (__sha256_process_bytes): Likewise.
541         * crypt/sha512.c (__sha512_init_ctx): Likewise.
542         (__sha512_finish_ctx): Likewise.
543         (__sha512_process_bytes): Likewise.
544         * ctype/isctype.c (__isctype): Likewise.
545         * debug/backtrace.c (__backtrace): Likewise.
546         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
547         * debug/fgets_chk.c (__fgets_chk): Likewise.
548         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
549         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
550         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
551         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
552         * debug/memset_chk.c (__memset_chk): Likewise.
553         * debug/strcat_chk.c (__strcat_chk): Likewise.
554         * debug/strncat_chk.c (__strncat_chk): Likewise.
555         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
556         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
557         * dirent/dirfd.c (dirfd): Likewise.
558         * dirent/getdents.c (__getdirentries): Likewise.
559         * dirent/getdents64.c (getdirentries64): Likewise.
560         * dirent/rewinddir.c (__rewinddir): Likewise.
561         * dirent/seekdir.c (seekdir): Likewise.
562         * dirent/telldir.c (telldir): Likewise.
563         * elf/sln.c (makesymlinks): Likewise.
564         (makesymlink): Likewise.
565         * gmon/gmon.c (__moncontrol): Likewise.
566         (__monstartup): Likewise.
567         (write_hist): Likewise.
568         (write_call_graph): Likewise.
569         (write_bb_counts): Likewise.
570         * grp/setgroups.c (setgroups): Likewise.
571         * inet/inet_lnaof.c (inet_lnaof): Likewise.
572         * inet/inet_net.c (inet_network): Likewise.
573         * inet/inet_netof.c (inet_netof): Likewise.
574         * inet/rcmd.c (rresvport_af): Likewise.
575         (rresvport): Likewise.
576         * io/access.c (__access): Likewise.
577         * io/chdir.c (__chdir): Likewise.
578         * io/chmod.c (__chmod): Likewise.
579         * io/chown.c (__chown): Likewise.
580         * io/close.c (__close): Likewise.
581         * io/creat.c (creat): Likewise.
582         * io/creat64.c (creat64): Likewise.
583         * io/dup.c (__dup): Likewise.
584         * io/dup2.c (__dup2): Likewise.
585         * io/dup3.c (__dup3): Likewise.
586         * io/euidaccess.c (__euidaccess): Likewise.
587         * io/faccessat.c (faccessat): Likewise.
588         * io/fchmod.c (__fchmod): Likewise.
589         * io/fchmodat.c (fchmodat): Likewise.
590         * io/fchown.c (__fchown): Likewise.
591         * io/fchownat.c (fchownat): Likewise.
592         * io/fcntl.c (__fcntl): Likewise.
593         * io/flock.c (__flock): Likewise.
594         * io/fts.c (fts_load): Likewise.
595         (fts_close): Likewise.
596         (fts_read): Likewise.
597         (fts_set): Likewise.
598         (fts_children): Likewise.
599         (fts_build): Likewise.
600         (fts_stat): Likewise.
601         (fts_sort): Likewise.
602         (fts_alloc): Likewise.
603         (fts_lfree): Likewise.
604         (fts_palloc): Likewise.
605         (fts_padjust): Likewise.
606         (fts_maxarglen): Likewise.
607         (fts_safe_changedir): Likewise.
608         * io/getwd.c (getwd): Likewise.
609         * io/isatty.c (__isatty): Likewise.
610         * io/lchown.c (__lchown): Likewise.
611         * io/link.c (__link): Likewise.
612         * io/linkat.c (linkat): Likewise.
613         * io/lseek.c (__libc_lseek): Likewise.
614         * io/mkdir.c (__mkdir): Likewise.
615         * io/mkdirat.c (mkdirat): Likewise.
616         * io/mkfifo.c (mkfifo): Likewise.
617         * io/mkfifoat.c (mkfifoat): Likewise.
618         * io/open.c (__libc_open): Likewise.
619         * io/open64.c (__libc_open64): Likewise.
620         * io/readlink.c (__readlink): Likewise.
621         * io/readlinkat.c (readlinkat): Likewise.
622         * io/rmdir.c (__rmdir): Likewise.
623         * io/symlink.c (__symlink): Likewise.
624         * io/symlinkat.c (symlinkat): Likewise.
625         * io/ttyname.c (ttyname): Likewise.
626         * io/ttyname_r.c (__ttyname_r): Likewise.
627         * io/umask.c (__umask): Likewise.
628         * io/unlink.c (__unlink): Likewise.
629         * io/unlinkat.c (unlinkat): Likewise.
630         * io/utime.c (utime): Likewise.
631         * libio/clearerr.c (clearerr): Likewise.
632         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
633         * libio/feof.c (_IO_feof): Likewise.
634         * libio/feof_u.c (feof_unlocked): Likewise.
635         * libio/ferror.c (_IO_ferror): Likewise.
636         * libio/ferror_u.c (ferror_unlocked): Likewise.
637         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
638         * libio/fileno.c (__fileno): Likewise.
639         * libio/fputc.c (fputc): Likewise.
640         * libio/fputc_u.c (fputc_unlocked): Likewise.
641         * libio/fputwc.c (fputwc): Likewise.
642         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
643         * libio/freopen.c (freopen): Likewise.
644         * libio/freopen64.c (freopen64): Likewise.
645         * libio/fseek.c (fseek): Likewise.
646         * libio/fseeko.c (fseeko): Likewise.
647         * libio/fseeko64.c (fseeko64): Likewise.
648         * libio/ftello.c (__ftello): Likewise.
649         * libio/ftello64.c (ftello64): Likewise.
650         * libio/fwide.c (fwide): Likewise.
651         * libio/genops.c (_IO_un_link): Likewise.
652         (_IO_link_in): Likewise.
653         (_IO_least_marker): Likewise.
654         (_IO_switch_to_main_get_area): Likewise.
655         (_IO_switch_to_backup_area): Likewise.
656         (_IO_switch_to_get_mode): Likewise.
657         (_IO_free_backup_area): Likewise.
658         (_IO_switch_to_put_mode): Likewise.
659         (__overflow): Likewise.
660         (__underflow): Likewise.
661         (__uflow): Likewise.
662         (_IO_setb): Likewise.
663         (_IO_doallocbuf): Likewise.
664         (_IO_default_underflow): Likewise.
665         (_IO_default_uflow): Likewise.
666         (_IO_default_xsputn): Likewise.
667         (_IO_sgetn): Likewise.
668         (_IO_default_xsgetn): Likewise.
669         (_IO_sync): Likewise.
670         (_IO_default_setbuf): Likewise.
671         (_IO_default_seekpos): Likewise.
672         (_IO_default_doallocate): Likewise.
673         (_IO_init): Likewise.
674         (_IO_old_init): Likewise.
675         (_IO_default_sync): Likewise.
676         (_IO_default_finish): Likewise.
677         (_IO_default_seekoff): Likewise.
678         (_IO_sputbackc): Likewise.
679         (_IO_sungetc): Likewise.
680         (_IO_set_column): Likewise.
681         (_IO_set_column): Likewise.
682         (_IO_adjust_column): Likewise.
683         (_IO_get_column): Likewise.
684         (_IO_init_marker): Likewise.
685         (_IO_remove_marker): Likewise.
686         (_IO_marker_difference): Likewise.
687         (_IO_marker_delta): Likewise.
688         (_IO_seekmark): Likewise.
689         (_IO_unsave_markers): Likewise.
690         (_IO_nobackup_pbackfail): Likewise.
691         (_IO_default_pbackfail): Likewise.
692         (_IO_default_seek): Likewise.
693         (_IO_default_stat): Likewise.
694         (_IO_default_read): Likewise.
695         (_IO_default_write): Likewise.
696         (_IO_default_showmanyc): Likewise.
697         (_IO_default_imbue): Likewise.
698         (_IO_iter_next): Likewise.
699         (_IO_iter_file): Likewise.
700         * libio/getc.c (_IO_getc): Likewise.
701         * libio/getwc.c (_IO_getwc): Likewise.
702         * libio/iofclose.c (_IO_new_fclose): Likewise.
703         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
704         * libio/iofflush.c (_IO_fflush): Likewise.
705         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
706         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
707         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
708         * libio/iofgets.c (_IO_fgets): Likewise.
709         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
710         * libio/iofgetws.c (fgetws): Likewise.
711         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
712         * libio/iofopen64.c (_IO_fopen64): Likewise.
713         * libio/iofopncook.c (_IO_cookie_read): Likewise.
714         (_IO_cookie_write): Likewise.
715         (_IO_cookie_seek): Likewise.
716         (_IO_cookie_close): Likewise.
717         (_IO_cookie_seekoff): Likewise.
718         (_IO_old_cookie_seek): Likewise.
719         * libio/iofputs.c (_IO_fputs): Likewise.
720         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
721         * libio/iofputws.c (fputws): Likewise.
722         * libio/iofputws_u.c (fputws_unlocked): Likewise.
723         * libio/iofread.c (_IO_fread): Likewise.
724         * libio/iofread_u.c (__fread_unlocked): Likewise.
725         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
726         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
727         * libio/ioftell.c (_IO_ftell): Likewise.
728         * libio/iofwrite.c (_IO_fwrite): Likewise.
729         * libio/iogetdelim.c (_IO_getdelim): Likewise.
730         * libio/iogets.c (_IO_gets): Likewise.
731         * libio/iopadn.c (_IO_padn): Likewise.
732         * libio/iopopen.c (_IO_new_proc_open): Likewise.
733         (_IO_new_popen): Likewise.
734         (_IO_new_proc_close): Likewise.
735         * libio/ioputs.c (_IO_puts): Likewise.
736         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
737         (_IO_seekoff): Likewise.
738         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
739         (_IO_seekpos): Likewise.
740         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
741         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
742         * libio/ioungetc.c (_IO_ungetc): Likewise.
743         * libio/ioungetwc.c (ungetwc): Likewise.
744         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
745         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
746         * libio/iowpadn.c (_IO_wpadn): Likewise.
747         * libio/libc_fatal.c (__libc_fatal): Likewise.
748         * libio/memstream.c (__open_memstream): Likewise.
749         (_IO_mem_sync): Likewise.
750         (_IO_mem_finish): Likewise.
751         * libio/oldfileops.c (_IO_old_file_init): Likewise.
752         (_IO_old_file_close_it): Likewise.
753         (_IO_old_file_finish): Likewise.
754         (_IO_old_file_fopen): Likewise.
755         (_IO_old_file_attach): Likewise.
756         (_IO_old_file_setbuf): Likewise.
757         (_IO_old_do_write): Likewise.
758         (old_do_write): Likewise.
759         (_IO_old_file_underflow): Likewise.
760         (_IO_old_file_overflow): Likewise.
761         (_IO_old_file_sync): Likewise.
762         (_IO_old_file_seekoff): Likewise.
763         (_IO_old_file_write): Likewise.
764         (_IO_old_file_xsputn): Likewise.
765         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
766         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
767         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
768         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
769         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
770         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
771         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
772         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
773         (_IO_old_popen): Likewise.
774         (_IO_old_proc_close): Likewise.
775         * libio/oldpclose.c (__old_pclose): Likewise.
776         * libio/pclose.c (__new_pclose): Likewise.
777         * libio/peekc.c (_IO_peekc_locked): Likewise.
778         * libio/putc.c (_IO_putc): Likewise.
779         * libio/putc_u.c (putc_unlocked): Likewise.
780         * libio/putchar.c (putchar): Likewise.
781         * libio/putchar_u.c (putchar_unlocked): Likewise.
782         * libio/putwc.c (putwc): Likewise.
783         * libio/putwc_u.c (putwc_unlocked): Likewise.
784         * libio/putwchar.c (putwchar): Likewise.
785         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
786         * libio/rewind.c (rewind): Likewise.
787         * libio/setbuf.c (setbuf): Likewise.
788         * libio/setlinebuf.c (setlinebuf): Likewise.
789         * libio/vasprintf.c (_IO_vasprintf): Likewise.
790         * libio/vscanf.c (_IO_vscanf): Likewise.
791         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
792         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
793         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
794         * libio/wgenops.c (_IO_least_wmarker): Likewise.
795         (_IO_switch_to_main_wget_area): Likewise.
796         (_IO_switch_to_wbackup_area): Likewise.
797         (_IO_wsetb): Likewise.
798         (_IO_wdefault_pbackfail): Likewise.
799         (_IO_wdefault_finish): Likewise.
800         (_IO_wdefault_uflow): Likewise.
801         (__woverflow): Likewise.
802         (__wuflow): Likewise.
803         (__wunderflow): Likewise.
804         (_IO_wdefault_xsputn): Likewise.
805         (_IO_wdefault_xsgetn): Likewise.
806         (_IO_wdoallocbuf): Likewise.
807         (_IO_wdefault_doallocate): Likewise.
808         (_IO_switch_to_wget_mode): Likewise.
809         (_IO_free_wbackup_area): Likewise.
810         (_IO_switch_to_wput_mode): Likewise.
811         (_IO_sputbackwc): Likewise.
812         (_IO_sungetwc): Likewise.
813         (_IO_adjust_wcolumn): Likewise.
814         (_IO_init_wmarker): Likewise.
815         (_IO_wmarker_delta): Likewise.
816         (_IO_seekwmark): Likewise.
817         (_IO_unsave_wmarkers): Likewise.
818         * libio/wmemstream.c (open_wmemstream): Likewise.
819         (_IO_wmem_sync): Likewise.
820         (_IO_wmem_finish): Likewise.
821         * locale/nl_langinfo.c (nl_langinfo): Likewise.
822         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
823         * locale/programs/simple-hash.c (init_hash): Likewise.
824         (delete_hash): Likewise.
825         (insert_entry): Likewise.
826         (set_entry): Likewise.
827         (next_prime): Likewise.
828         (is_prime): Likewise.
829         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
830         (xmalloc): Likewise.
831         (xrealloc): Likewise.
832         * locale/programs/xstrdup.c (xstrdup): Likewise.
833         * localedata/collate-test.c (xstrcoll): Likewise.
834         * localedata/xfrm-test.c (xstrcmp): Likewise.
835         * login/getlogin_r.c (__getlogin_r): Likewise.
836         * login/getpt.c (__posix_openpt): Likewise.
837         * login/login_tty.c (login_tty): Likewise.
838         * login/setlogin.c (setlogin): Likewise.
839         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
840         (mach_msg_destroy_port): Likewise.
841         (mach_msg_destroy_memory): Likewise.
842         * malloc/mcheck.c (flood): Likewise.
843         * misc/acct.c (acct): Likewise.
844         * misc/brk.c (__brk): Likewise.
845         * misc/chflags.c (chflags): Likewise.
846         * misc/chroot.c (chroot): Likewise.
847         * misc/fchflags.c (fchflags): Likewise.
848         * misc/fstab.c (getfsspec): Likewise.
849         (getfsfile): Likewise.
850         * misc/fsync.c (fsync): Likewise.
851         * misc/ftruncate.c (__ftruncate): Likewise.
852         * misc/ftruncate64.c (__ftruncate64): Likewise.
853         * misc/getdomain.c (getdomainname): Likewise.
854         (getdomainname): Likewise.
855         * misc/gethostname.c (__gethostname): Likewise.
856         * misc/getpass.c (getpass): Likewise.
857         * misc/getttyent.c (skip): Likewise.
858         (value): Likewise.
859         * misc/gtty.c (gtty): Likewise.
860         * misc/hsearch.c (hsearch): Likewise.
861         (hcreate): Likewise.
862         * misc/hsearch_r.c (__hcreate_r): Likewise.
863         (__hdestroy_r): Likewise.
864         * misc/ioctl.c (__ioctl): Likewise.
865         * misc/mkdtemp.c (mkdtemp): Likewise.
866         * misc/mkostemp.c (mkostemp): Likewise.
867         * misc/mkostemp64.c (mkostemp64): Likewise.
868         * misc/mkostemps.c (mkostemps): Likewise.
869         * misc/mkostemps64.c (mkostemps64): Likewise.
870         * misc/mkstemp.c (mkstemp): Likewise.
871         * misc/mkstemp64.c (mkstemp64): Likewise.
872         * misc/mkstemps.c (mkstemps): Likewise.
873         * misc/mkstemps64.c (mkstemps64): Likewise.
874         * misc/mktemp.c (__mktemp): Likewise.
875         * misc/preadv.c (preadv): Likewise.
876         * misc/preadv64.c (preadv64): Likewise.
877         * misc/pwritev.c (pwritev): Likewise.
878         * misc/pwritev64.c (pwritev64): Likewise.
879         * misc/readv.c (__readv): Likewise.
880         * misc/revoke.c (revoke): Likewise.
881         * misc/setdomain.c (setdomainname): Likewise.
882         * misc/setegid.c (setegid): Likewise.
883         * misc/seteuid.c (seteuid): Likewise.
884         * misc/sethostid.c (sethostid): Likewise.
885         * misc/sethostname.c (sethostname): Likewise.
886         * misc/setregid.c (__setregid): Likewise.
887         * misc/setreuid.c (__setreuid): Likewise.
888         * misc/sstk.c (sstk): Likewise.
889         * misc/stty.c (stty): Likewise.
890         * misc/syscall.c (syscall): Likewise.
891         * misc/syslog.c (setlogmask): Likewise.
892         * misc/truncate.c (__truncate): Likewise.
893         * misc/truncate64.c (truncate64): Likewise.
894         * misc/ualarm.c (ualarm): Likewise.
895         * misc/usleep.c (usleep): Likewise.
896         * misc/ustat.c (ustat): Likewise.
897         * misc/writev.c (__writev): Likewise.
898         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
899         * nptl/old_pthread_cond_broadcast.c
900         (__pthread_cond_broadcast_2_0): Likewise.
901         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
902         Likewise.
903         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
904         Likewise.
905         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
906         Likewise.
907         * nptl/pt-raise.c (raise): Likewise.
908         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
909         Likewise.
910         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
911         * nptl/pthread_barrierattr_destroy.c
912         (pthread_barrierattr_destroy): Likewise.
913         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
914         Likewise.
915         * nptl/pthread_barrierattr_setpshared.c
916         (pthread_barrierattr_setpshared): Likewise.
917         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
918         Likewise.
919         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
920         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
921         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
922         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
923         Likewise.
924         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
925         Likewise.
926         * nptl/pthread_condattr_getpshared.c
927         (pthread_condattr_getpshared): Likewise.
928         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
929         Likewise.
930         * nptl/pthread_condattr_setpshared.c
931         (pthread_condattr_setpshared): Likewise.
932         * nptl/pthread_detach.c (pthread_detach): Likewise.
933         * nptl/pthread_equal.c (__pthread_equal): Likewise.
934         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
935         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
936         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
937         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
938         Likewise.
939         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
940         Likewise.
941         * nptl/pthread_mutex_getprioceiling.c
942         (pthread_mutex_getprioceiling): Likewise.
943         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
944         Likewise.
945         * nptl/pthread_mutexattr_getprotocol.c
946         (pthread_mutexattr_getprotocol): Likewise.
947         * nptl/pthread_mutexattr_getpshared.c
948         (pthread_mutexattr_getpshared): Likewise.
949         * nptl/pthread_mutexattr_getrobust.c
950         (pthread_mutexattr_getrobust): Likewise.
951         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
952         Likewise.
953         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
954         Likewise.
955         * nptl/pthread_mutexattr_setprioceiling.c
956         (pthread_mutexattr_setprioceiling): Likewise.
957         * nptl/pthread_mutexattr_setprotocol.c
958         (pthread_mutexattr_setprotocol): Likewise.
959         * nptl/pthread_mutexattr_setpshared.c
960         (pthread_mutexattr_setpshared): Likewise.
961         * nptl/pthread_mutexattr_setrobust.c
962         (pthread_mutexattr_setrobust): Likewise.
963         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
964         Likewise.
965         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
966         Likewise.
967         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
968         Likewise.
969         * nptl/pthread_rwlockattr_getkind_np.c
970         (pthread_rwlockattr_getkind_np): Likewise.
971         * nptl/pthread_rwlockattr_getpshared.c
972         (pthread_rwlockattr_getpshared): Likewise.
973         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
974         Likewise.
975         * nptl/pthread_rwlockattr_setkind_np.c
976         (pthread_rwlockattr_setkind_np): Likewise.
977         * nptl/pthread_rwlockattr_setpshared.c
978         (pthread_rwlockattr_setpshared): Likewise.
979         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
980         Likewise.
981         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
982         Likewise.
983         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
984         Likewise.
985         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
986         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
987         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
988         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
989         * nptl/sem_close.c (sem_close): Likewise.
990         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
991         * nptl/sem_init.c (__old_sem_init): Likewise.
992         * nptl/sigaction.c (__sigaction): Likewise.
993         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
994         * posix/_exit.c (_exit): Likewise.
995         * posix/alarm.c (alarm): Likewise.
996         * posix/confstr.c (confstr): Likewise.
997         * posix/fpathconf.c (__fpathconf): Likewise.
998         * posix/getgroups.c (__getgroups): Likewise.
999         * posix/getpgid.c (__getpgid): Likewise.
1000         * posix/group_member.c (__group_member): Likewise.
1001         * posix/pathconf.c (__pathconf): Likewise.
1002         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1003         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1004         * posix/setgid.c (__setgid): Likewise.
1005         * posix/setpgid.c (__setpgid): Likewise.
1006         * posix/setuid.c (__setuid): Likewise.
1007         * posix/sleep.c (__sleep): Likewise.
1008         * posix/sysconf.c (__sysconf): Likewise.
1009         * posix/times.c (__times): Likewise.
1010         * posix/uname.c (__uname): Likewise.
1011         * posix/waitid.c (__waitid): Likewise.
1012         * pwd/getpw.c (__getpw): Likewise.
1013         * resolv/base64.c (b64_pton): Likewise.
1014         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1015         * resolv/gethnamaddr.c (Dprintf): Likewise.
1016         (gethostbyname): Likewise.
1017         (gethostbyname2): Likewise.
1018         (gethostbyaddr): Likewise.
1019         (_sethtent): Likewise.
1020         (_gethtbyname): Likewise.
1021         (_gethtbyname2): Likewise.
1022         (_gethtbyaddr): Likewise.
1023         (map_v4v6_address): Likewise.
1024         (map_v4v6_hostent): Likewise.
1025         (addrsort): Likewise.
1026         (ht_sethostent): Likewise.
1027         (ht_gethostbyname): Likewise.
1028         (ht_gethostbyaddr): Likewise.
1029         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1030         (inet_net_ntop_ipv4): Likewise.
1031         * resolv/inet_neta.c (inet_neta): Likewise.
1032         * resolv/inet_ntop.c (inet_ntop): Likewise.
1033         (inet_ntop4): Likewise.
1034         (inet_ntop6): Likewise.
1035         * resolv/inet_pton.c (__inet_pton): Likewise.
1036         (inet_pton4): Likewise.
1037         (inet_pton6): Likewise.
1038         * resolv/res_debug.c (loc_aton): Likewise.
1039         (loc_ntoa): Likewise.
1040         * resource/getpriority.c (__getpriority): Likewise.
1041         * resource/getrusage.c (__getrusage): Likewise.
1042         * resource/nice.c (nice): Likewise.
1043         * resource/setpriority.c (__setpriority): Likewise.
1044         * resource/setrlimit64.c (setrlimit64): Likewise.
1045         * resource/vlimit.c (vlimit): Likewise.
1046         * resource/vtimes.c (vtimes): Likewise.
1047         * rt/aio_error.c (aio_error): Likewise.
1048         * rt/aio_return.c (aio_return): Likewise.
1049         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1050         * signal/kill.c (__kill): Likewise.
1051         * signal/killpg.c (killpg): Likewise.
1052         * signal/raise.c (raise): Likewise.
1053         * signal/sigaction.c (__sigaction): Likewise.
1054         * signal/sigaddset.c (sigaddset): Likewise.
1055         * signal/sigaltstack.c (sigaltstack): Likewise.
1056         * signal/sigandset.c (sigandset): Likewise.
1057         * signal/sigblock.c (__sigblock): Likewise.
1058         * signal/sigdelset.c (sigdelset): Likewise.
1059         * signal/sigempty.c (sigemptyset): Likewise.
1060         * signal/sigfillset.c (sigfillset): Likewise.
1061         * signal/sighold.c (sighold): Likewise.
1062         * signal/sigignore.c (sigignore): Likewise.
1063         * signal/sigintr.c (siginterrupt): Likewise.
1064         * signal/sigisempty.c (sigisemptyset): Likewise.
1065         * signal/sigismem.c (sigismember): Likewise.
1066         * signal/signal.c (signal): Likewise.
1067         * signal/sigorset.c (sigorset): Likewise.
1068         * signal/sigpause.c (__sigpause): Likewise.
1069         * signal/sigpending.c (sigpending): Likewise.
1070         * signal/sigprocmask.c (__sigprocmask): Likewise.
1071         * signal/sigrelse.c (sigrelse): Likewise.
1072         * signal/sigreturn.c (__sigreturn): Likewise.
1073         * signal/sigset.c (sigset): Likewise.
1074         * signal/sigsetmask.c (__sigsetmask): Likewise.
1075         * signal/sigstack.c (sigstack): Likewise.
1076         * signal/sigsuspend.c (__sigsuspend): Likewise.
1077         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1078         * signal/sysv_signal.c (__sysv_signal): Likewise.
1079         * socket/accept.c (accept): Likewise.
1080         * socket/accept4.c (__libc_accept4): Likewise.
1081         * socket/bind.c (__bind): Likewise.
1082         * socket/connect.c (__connect): Likewise.
1083         * socket/getpeername.c (getpeername): Likewise.
1084         * socket/getsockname.c (__getsockname): Likewise.
1085         * socket/getsockopt.c (getsockopt): Likewise.
1086         * socket/listen.c (__listen): Likewise.
1087         * socket/recv.c (__recv): Likewise.
1088         * socket/recvmsg.c (__recvmsg): Likewise.
1089         * socket/send.c (__send): Likewise.
1090         * socket/sendmsg.c (__sendmsg): Likewise.
1091         * socket/shutdown.c (shutdown): Likewise.
1092         * socket/sockatmark.c (sockatmark): Likewise.
1093         * socket/socket.c (__socket): Likewise.
1094         * stdio-common/ctermid.c (ctermid): Likewise.
1095         * stdio-common/cuserid.c (cuserid): Likewise.
1096         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1097         * stdio-common/remove.c (remove): Likewise.
1098         * stdio-common/rename.c (rename): Likewise.
1099         * stdio-common/renameat.c (renameat): Likewise.
1100         * stdio-common/tempname.c (__gen_tempname): Likewise.
1101         * stdio-common/xbug.c (InitBuffer): Likewise.
1102         (AppendToBuffer): Likewise.
1103         (ReadFile): Likewise.
1104         * stdlib/a64l.c (a64l): Likewise.
1105         * stdlib/drand48_r.c (drand48_r): Likewise.
1106         * stdlib/getcontext.c (getcontext): Likewise.
1107         * stdlib/getenv.c (getenv): Likewise.
1108         * stdlib/l64a.c (l64a): Likewise.
1109         * stdlib/llabs.c (llabs): Likewise.
1110         * stdlib/lldiv.c (lldiv): Likewise.
1111         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1112         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1113         * stdlib/putenv.c (putenv): Likewise.
1114         * stdlib/random.c (__srandom): Likewise.
1115         (__initstate): Likewise.
1116         (__setstate): Likewise.
1117         * stdlib/random_r.c (__srandom_r): Likewise.
1118         (__setstate_r): Likewise.
1119         (__random_r): Likewise.
1120         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1121         * stdlib/setcontext.c (setcontext): Likewise.
1122         * stdlib/setenv.c (setenv): Likewise.
1123         (unsetenv): Likewise.
1124         * stdlib/srand48.c (srand48): Likewise.
1125         * stdlib/srand48_r.c (__srand48_r): Likewise.
1126         * stdlib/swapcontext.c (swapcontext): Likewise.
1127         * stdlib/system.c (__libc_system): Likewise.
1128         * stdlib/tst-strtod.c (expand): Likewise.
1129         * stdlib/tst-strtol.c (expand): Likewise.
1130         * stdlib/tst-strtoll.c (expand): Likewise.
1131         * streams/fattach.c (fattach): Likewise.
1132         * streams/fdetach.c (fdetach): Likewise.
1133         * streams/getmsg.c (getmsg): Likewise.
1134         * streams/isastream.c (isastream): Likewise.
1135         * string/ffs.c (__ffs): Likewise.
1136         * string/ffsll.c (ffsll): Likewise.
1137         * string/memcmp.c (memcmp_common_alignment): Likewise.
1138         (memcmp_not_common_alignment): Likewise.
1139         (MEMCMP): Likewise.
1140         * string/memcpy.c (memcpy): Likewise.
1141         * string/memmove.c (MEMMOVE): Likewise.
1142         * string/memset.c (memset): Likewise.
1143         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1144         * string/strchrnul.c (STRCHRNUL): Likewise.
1145         * string/strerror.c (strerror): Likewise.
1146         * string/strndup.c (__strndup): Likewise.
1147         * string/strverscmp.c (__strverscmp): Likewise.
1148         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1149         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1150         (clnttcp_freeres): Likewise.
1151         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1152         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1153         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1154         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1155         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1156         (xdr_callhdr): Likewise.
1157         * sunrpc/rpcinfo.c (udpping): Likewise.
1158         (tcpping): Likewise.
1159         (pstatus): Likewise.
1160         (pmapdump): Likewise.
1161         (brdcst): Likewise.
1162         (deletereg): Likewise.
1163         (getprognum): Likewise.
1164         (getvers): Likewise.
1165         (get_inet_address): Likewise.
1166         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1167         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1168         (svcudp_stat): Likewise.
1169         (svcudp_recv): Likewise.
1170         (svcudp_reply): Likewise.
1171         (svcudp_getargs): Likewise.
1172         (svcudp_freeargs): Likewise.
1173         (svcudp_destroy): Likewise.
1174         * sunrpc/xdr.c (xdr_bytes): Likewise.
1175         (xdr_netobj): Likewise.
1176         (xdr_string): Likewise.
1177         (xdr_wrapstring): Likewise.
1178         * sunrpc/xdr_float.c (xdr_float): Likewise.
1179         (xdr_double): Likewise.
1180         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
1181         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
1182         * sysvipc/ftok.c (ftok): Likewise.
1183         * sysvipc/msgctl.c (msgctl): Likewise.
1184         * sysvipc/msgget.c (msgget): Likewise.
1185         * sysvipc/msgrcv.c (msgrcv): Likewise.
1186         * sysvipc/msgsnd.c (msgsnd): Likewise.
1187         * sysvipc/semget.c (semget): Likewise.
1188         * sysvipc/semop.c (semop): Likewise.
1189         * sysvipc/shmat.c (shmat): Likewise.
1190         * sysvipc/shmctl.c (shmctl): Likewise.
1191         * sysvipc/shmdt.c (shmdt): Likewise.
1192         * sysvipc/shmget.c (shmget): Likewise.
1193         * termios/cfmakeraw.c (cfmakeraw): Likewise.
1194         * termios/speed.c (cfgetospeed): Likewise.
1195         (cfgetispeed): Likewise.
1196         (cfsetospeed): Likewise.
1197         (cfsetispeed): Likewise.
1198         * termios/tcflow.c (tcflow): Likewise.
1199         * termios/tcflush.c (tcflush): Likewise.
1200         * termios/tcgetattr.c (__tcgetattr): Likewise.
1201         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
1202         * termios/tcgetsid.c (tcgetsid): Likewise.
1203         * termios/tcsendbrk.c (tcsendbreak): Likewise.
1204         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
1205         * time/adjtime.c (__adjtime): Likewise.
1206         * time/dysize.c (dysize): Likewise.
1207         * time/ftime.c (ftime): Likewise.
1208         * time/getitimer.c (__getitimer): Likewise.
1209         * time/gettimeofday.c (__gettimeofday): Likewise.
1210         * time/gmtime.c (__gmtime_r): Likewise.
1211         (gmtime): Likewise.
1212         * time/localtime.c (__localtime_r): Likewise.
1213         (localtime): Likewise.
1214         * time/offtime.c (__offtime): Likewise.
1215         * time/settimeofday.c (__settimeofday): Likewise.
1216         * time/stime.c (stime): Likewise.
1217         * time/strftime_l.c (tm_diff): Likewise.
1218         (iso_week_days): Likewise.
1219         * time/strptime.c (strptime): Likewise.
1220         * time/time.c (time): Likewise.
1221         * time/timespec_get.c (timespec_get): Likewise.
1222         * time/tzset.c (tzset_internal): Likewise.
1223         (compute_change): Likewise.
1224         (__tz_compute): Likewise.
1225         * wcsmbs/btowc.c (__btowc): Likewise.
1226         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
1227         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
1228         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
1229         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
1230         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
1231         * wcsmbs/wcscat.c (__wcscat): Likewise.
1232         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1233         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
1234         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
1235         * wcsmbs/wcscspn.c (wcscspn): Likewise.
1236         * wcsmbs/wcsdup.c (wcsdup): Likewise.
1237         * wcsmbs/wcslen.c (__wcslen): Likewise.
1238         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
1239         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
1240         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
1241         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
1242         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1243         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
1244         * wcsmbs/wcsspn.c (wcsspn): Likewise.
1245         * wcsmbs/wcsstr.c (wcsstr): Likewise.
1246         * wcsmbs/wcstok.c (wcstok): Likewise.
1247         * wcsmbs/wctob.c (wctob): Likewise.
1248         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
1249         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1250         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
1251         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
1252         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
1253         * wcsmbs/wmemset.c (__wmemset): Likewise.
1254         * wctype/wcfuncs.c (__towlower): Likewise.
1255         (__towupper): Likewise.
1257         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
1258         (lll_unlock_elision): Add adapt_count parameter.
1260 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1262         * sysdeps/nptl/configure.ac: Do not give errors based on the
1263         results of top-level configure tests.
1264         * sysdeps/nptl/configure: Regenerated.
1266         * configure.ac (libc_cv_Bgroup): Remove configure test.
1267         * configure: Regenerated.
1268         * config.make.in (have-Bgroup): Remove variable.
1270         * configure.ac (sizeof_long_double): Remove configure test.
1271         * configure: Regenerated.
1272         * config.make.in (sizeof-long-double): Remove variable.
1274         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
1275         * configure: Regenerated.
1276         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
1277         variable.
1278         (exceptions): Likewise.
1279         * sysdeps/arm/configure: Regenerated.
1280         * config.make.in (exceptions): Remove variable.
1281         * Makeconfig (uses-callbacks): Use -fexceptions instead of
1282         $(exceptions).
1283         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
1284         (CFLAGS-vdprintf_chk.c): Likewise.
1285         (CFLAGS-printf_chk.c): Likewise.
1286         (CFLAGS-fprintf_chk.c): Likewise.
1287         (CFLAGS-vprintf_chk.c): Likewise.
1288         (CFLAGS-vfprintf_chk.c): Likewise.
1289         (CFLAGS-gets_chk.c): Likewise.
1290         (CFLAGS-fgets_chk.c): Likewise.
1291         (CFLAGS-fgets_u_chk.c): Likewise.
1292         (CFLAGS-fread_chk.c): Likewise.
1293         (CFLAGS-fread_u_chk.c): Likewise.
1294         (CFLAGS-wprintf_chk.c): Likewise.
1295         (CFLAGS-fwprintf_chk.c): Likewise.
1296         (CFLAGS-vwprintf_chk.c): Likewise.
1297         (CFLAGS-vfwprintf_chk.c): Likewise.
1298         (CFLAGS-fgetws_chk.c): Likewise.
1299         (CFLAGS-fgetws_u_chk.c): Likewise.
1300         * libio/Makefile (CFLAGS-fileops.c): Likewise.
1301         (CFLAGS-fputc.c): Likewise.
1302         (CFLAGS-fputwc.c): Likewise.
1303         (CFLAGS-freopen64.c): Likewise.
1304         (CFLAGS-freopen.c): Likewise.
1305         (CFLAGS-fseek.c): Likewise.
1306         (CFLAGS-fseeko64.c): Likewise.
1307         (CFLAGS-fseeko.c): Likewise.
1308         (CFLAGS-ftello64.c): Likewise.
1309         (CFLAGS-ftello.c): Likewise.
1310         (CFLAGS-fwide.c): Likewise.
1311         (CFLAGS-genops.c): Likewise.
1312         (CFLAGS-getc.c): Likewise.
1313         (CFLAGS-getchar.c): Likewise.
1314         (CFLAGS-getwc.c): Likewise.
1315         (CFLAGS-getwchar.c): Likewise.
1316         (CFLAGS-iofclose.c): Likewise.
1317         (CFLAGS-iofflush.c): Likewise.
1318         (CFLAGS-iofgetpos64.c): Likewise.
1319         (CFLAGS-iofgetpos.c): Likewise.
1320         (CFLAGS-iofgets.c): Likewise.
1321         (CFLAGS-iofgetws.c): Likewise.
1322         (CFLAGS-iofputs.c): Likewise.
1323         (CFLAGS-iofputws.c): Likewise.
1324         (CFLAGS-iofread.c): Likewise.
1325         (CFLAGS-iofsetpos64.c): Likewise.
1326         (CFLAGS-iofsetpos.c): Likewise.
1327         (CFLAGS-ioftell.c): Likewise.
1328         (CFLAGS-iofwrite.c): Likewise.
1329         (CFLAGS-iogetdelim.c): Likewise.
1330         (CFLAGS-iogetline.c): Likewise.
1331         (CFLAGS-iogets.c): Likewise.
1332         (CFLAGS-iogetwline.c): Likewise.
1333         (CFLAGS-ioputs.c): Likewise.
1334         (CFLAGS-ioseekoff.c): Likewise.
1335         (CFLAGS-ioseekpos.c): Likewise.
1336         (CFLAGS-iosetbuffer.c): Likewise.
1337         (CFLAGS-iosetvbuf.c): Likewise.
1338         (CFLAGS-ioungetc.c): Likewise.
1339         (CFLAGS-ioungetwc.c): Likewise.
1340         (CFLAGS-oldfileops.c): Likewise.
1341         (CFLAGS-oldiofclose.c): Likewise.
1342         (CFLAGS-oldiofgetpos64.c): Likewise.
1343         (CFLAGS-oldiofgetpos.c): Likewise.
1344         (CFLAGS-oldiofsetpos64.c): Likewise.
1345         (CFLAGS-oldiofsetpos.c): Likewise.
1346         (CFLAGS-peekc.c): Likewise.
1347         (CFLAGS-putc.c): Likewise.
1348         (CFLAGS-putchar.c): Likewise.
1349         (CFLAGS-putwc.c): Likewise.
1350         (CFLAGS-putwchar.c): Likewise.
1351         (CFLAGS-rewind.c): Likewise.
1352         (CFLAGS-wfileops.c): Likewise.
1353         (CFLAGS-wgenops.c): Likewise.
1354         (CFLAGS-oldiofopen.c): Likewise.
1355         (CFLAGS-iofopen.c): Likewise.
1356         (CFLAGS-iofopen64.c): Likewise.
1357         (CFLAGS-oldtmpfile.c): Likewise.
1358         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
1359         (CFLAGS-fprintf.c): Likewise.
1360         (CFLAGS-printf.c): Likewise.
1361         (CFLAGS-vfwprintf.c): Likewise.
1362         (CFLAGS-vfscanf.c): Likewise.
1363         (CFLAGS-vfwscanf.c): Likewise.
1364         (CFLAGS-fscanf.c): Likewise.
1365         (CFLAGS-scanf.c): Likewise.
1366         (CFLAGS-isoc99_vfscanf.c): Likewise.
1367         (CFLAGS-isoc99_vscanf.c): Likewise.
1368         (CFLAGS-isoc99_fscanf.c): Likewise.
1369         (CFLAGS-isoc99_scanf.c): Likewise.
1370         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
1371         (CFLAGS-isoc99_fwscanf.c): Likewise.
1372         (CFLAGS-isoc99_vwscanf.c): Likewise.
1373         (CFLAGS-isoc99_vfwscanf.c): Likewise.
1375         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
1376         after mkstemp64.
1377         * login/tst-utmp.c (do_prepare): Likewise.
1378         * rt/tst-aio.c (do_prepare): Likewise.
1379         * rt/tst-aio64.c (do_prepare): Likewise.
1381 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1383         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1384         (__lll_lock_elision): Remove adapt_count decrement...
1385         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1386         (__lll_trylock_elision): Likewise.
1387         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1388         (__lll_unlock_elision): ... to here. And utilize
1389         new adapt_count parameter.
1390         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1391         (__lll_unlock_elision): Update to include adapt_count
1392         parameter.
1393         (lll_unlock_elision): Pass pointer to adapt_count
1394         variable.
1396 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1398         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
1399         Add elision adapt_count parameter to list of arguments.
1400         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1401         (lll_unlock_elision): Update with new parameter list
1402         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1403         (lll_unlock_elision): Likewise
1404         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
1405         (lll_unlock_elision): Likewise
1407 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1409         [BZ #19122]
1410         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
1411         attribute_hidden.
1413         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
1414         attribute_hidden.
1415         [IS_IN (rtld)] (__strdup): Likewise.
1416         [IS_IN (rtld)] (__strerror_r): Likewise.
1417         [IS_IN (rtld)] (__strsep_g): Likewise.
1418         [IS_IN (rtld)] (memchr): Likewise.
1419         [IS_IN (rtld)] (memcmp): Likewise.
1420         [IS_IN (rtld)] (memcpy): Likewise.
1421         [IS_IN (rtld)] (memmove): Likewise.
1422         [IS_IN (rtld)] (memset): Likewise.
1423         [IS_IN (rtld)] (rawmemchr): Likewise.
1424         [IS_IN (rtld)] (stpcpy): Likewise.
1425         [IS_IN (rtld)] (strchr): Likewise.
1426         [IS_IN (rtld)] (strcmp): Likewise.
1427         [IS_IN (rtld)] (strlen): Likewise.
1428         [IS_IN (rtld)] (strnlen): Likewise.
1429         [IS_IN (rtld)] (strsep): Likewise.
1431         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
1432         attribute_hidden.
1433         [IS_IN (rtld)] (__strtoul_internal): Likewise.
1435         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
1436         attribute_hidden.
1437         [IS_IN (rtld)] (__libc_sigaction): Likewise.
1439         * include/setjmp.h (__longjmp): Add attribute_hidden.
1440         [IS_IN (rtld)] (__sigsetjmp): Likewise.
1442         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
1443         Add attribute_hidden.
1445         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
1446         [IS_IN (rtld)] (__open): Likewise.
1447         [IS_IN (rtld)] (__fcntl): Likewise.
1449         * include/dirent.h (__opendirat): Add attribute_hidden.
1450         (__getdents): Likewise.
1451         (__getdents64): Likewise.
1452         (__alloc_dir): Likewise.
1453         [IS_IN (rtld)] (__closedir): Likewise.
1454         [IS_IN (rtld)] (__fdopendir): Likewise.
1455         [IS_IN (rtld)] (__readdir): Likewise.
1456         [IS_IN (rtld)] (__readdir64): Likewise.
1457         [IS_IN (rtld)] (__rewinddir): Likewise.
1459         * include/dlfcn.h (_dl_catch_error): Moved to ...
1460         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
1461         attribute_hidden.
1463         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
1464         (_itoa_word): Likewise.
1466         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
1467         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
1468         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
1469         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
1470         (_dl_higher_prime_number): Likewise.
1471         (_dl_debug_printf_c): Likewise.
1472         (_dl_signal_cerror): Likewise.
1473         (_dl_receive_error): Likewise.
1474         (_dl_reloc_bad_type): Likewise.
1475         (_dl_resolve_conflicts): Likewise.
1476         (_dl_check_all_versions): Likewise.
1477         (_dl_check_map_versions): Likewise.
1478         (_dl_sort_fini): Likewise.
1479         (_dl_debug_initialize): Likewise.
1480         (_dl_init_paths): Likewise.
1481         (_dl_show_auxv): Likewise.
1482         (_dl_next_ld_env_entry): Likewise.
1483         (_dl_important_hwcaps): Likewise.
1484         (_dl_load_cache_lookup): Likewise.
1485         (_dl_update_slotinfo): Likewise.
1486         (_dl_show_scope): Likewise.
1488         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
1489         attribute_hidden.
1490         (_wordcopy_fwd_dest_aligned): Likewise.
1491         (_wordcopy_bwd_aligned): Likewise.
1492         (_wordcopy_bwd_dest_aligned): Likewise.
1494         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1495         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1496         Likewise.
1497         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
1498         Likewise.
1499         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
1501 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1503         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
1504         GCC 5 requirement.
1506 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
1508         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
1509         test.
1510         * sysdeps/i386/configure: Regenerated.
1511         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
1512         code unconditional.
1514         * configure.ac (libc_cv_asm_previous_directive): Remove configure
1515         test.
1516         (libc_cv_asm_popsection_directive): Likewise.
1517         * configure: Regenerated.
1518         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
1519         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
1520         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
1521         (__make_section_unallocated): Make definition unconditional.
1522         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
1523         Remove conditional definition.
1524         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
1525         (__make_section_unallocated): Likewise.
1527         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
1528         * configure: Regenerated.
1529         * config.make.in (static-libgcc): Remove variable.
1530         * Makerules (build-shlib-helper): Use -static-libgcc instead of
1531         $(static-libgcc).
1532         (build-module-helper): Likewise.
1534         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
1535         * configure: Regenerated.
1537 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1539         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
1540         (struct char_buffer): New type.
1541         (char_buffer_start, char_buffer_size, char_buffer_error)
1542         (char_buffer_rewind, char_buffer_add): New functions.
1543         (ADDW): Remove macro, replaced by the char_buffer_add function.
1544         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
1545         of extend_alloca.  Make control flow more explicit.
1547 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1549         [BZ #19137]
1550         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1551         Add -fomit-frame-pointer.
1552         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
1554 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1556         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
1557         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
1558         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
1559         only if !__GNUC_PREREQ (5,0).
1560         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
1561         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
1562         (INTERNAL_SYSCALL_NCS): Likewise.
1563         (LOADREGS_0): New macro for GCC 5.
1564         (ASMARGS_0): Likewise.
1565         (LOADREGS_1): Likewise.
1566         (ASMARGS_1): Likewise.
1567         (LOADREGS_2): Likewise.
1568         (ASMARGS_2): Likewise.
1569         (LOADREGS_3): Likewise.
1570         (ASMARGS_3): Likewise.
1571         (LOADREGS_4): Likewise.
1572         (ASMARGS_4): Likewise.
1573         (LOADREGS_5): Likewise.
1574         (ASMARGS_5): Likewise.
1575         (LOADREGS_6): Likewise.
1576         (ASMARGS_6): Likewise.
1578 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
1580         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
1581         -fomit-frame-pointer.
1582         (CFLAGS-mmap64.c): Likewise.
1583         (CFLAGS-semtimedop.c): Likewise.
1584         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
1585         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
1586         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1587         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1589 2015-10-15  Florian Weimer  <fweimer@redhat.com>
1591         [BZ #18928]
1592         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
1593         _dl_pointer_guard member.
1594         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
1595         initializer.
1596         (security_init): Always set up pointer guard.
1597         (process_envvars): Do not process LD_POINTER_GUARD.
1599 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
1601         [BZ #19134]
1602         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
1603         (.LC2): Likewise.
1604         (.LC3): Likewise.
1605         (__lround): Do not add 0.5 to integer or out-of-range arguments.
1607 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1609         [BZ #19129]
1610         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
1611         r0 and r1.
1613 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
1615         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
1617 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
1619         * include/stap-probe.h: Fix macro definition formatting.
1621 2015-10-14  Florian Weimer  <fweimer@redhat.com>
1623         [BZ #19074]
1624         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
1625         load and store num_ifs.
1627 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1629         [BZ #18822]
1630         * sysdeps/unix/sysv/linux/sched_getaffinity.c
1631         (__sched_getaffinity_new): Add libc_hidden_proto and
1632         libc_hidden_def.
1634 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1636         [BZ #19007]
1637         * scripts/localplt.awk: Also allow GOT references.
1638         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
1639         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
1640         with "+ REL R_386_GLOB_DAT".
1641         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
1642         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
1644 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1646         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
1647         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1648         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
1649         Likewise.
1650         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1651         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
1652         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1653         INTERNAL_SYSCALLINTERNAL_SYSCALL and
1654         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1655         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1656         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1657         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1658         Likewise.
1659         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1661 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1663         [BZ #19125]
1664         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
1665         <math_private.h> and <stdint.h>.
1666         (__llround): Avoid conversions to and from long long int, and
1667         subtractions, where those might raise spurious exceptions.
1668         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
1669         <math_private.h> and <stdint.h>.
1670         (__llroundf): Avoid conversions to and from long long int, and
1671         subtractions, where those might raise spurious exceptions.
1673 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1675         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
1676         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1677         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1678         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
1679         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1680         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1681         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
1682         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
1683         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
1684         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1685         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1686         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1687         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
1688         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1689         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1690         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
1691         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
1692         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1693         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
1694         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
1695         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1696         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
1697         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
1698         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1699         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
1700         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1701         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
1702         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1703         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1704         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
1705         (__xstat64_conv): Likewise.
1706         (__xstat32_conv): Likewise.
1708 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1710         * sysdeps/unix/sysv/linux/sysdep.h: New file.
1711         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
1712         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
1713         <sysdeps/unix/sysv/linux/sysdep.h>.
1714         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1715         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
1716         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
1717         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1718         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1719         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
1720         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
1721         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1722         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1725         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1727         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1728         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1729         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1730         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
1731         (sysdep-dl-routines): Add sysdep.
1732         [$(subdir) == nptl] (libpthread-routines): Likewise.
1733         [$(subdir) == rt] (librt-routines): Likewise.
1734         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
1735         PIC when branching to SYSCALL_ERROR_LABEL.
1736         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
1737         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
1738         <sysdeps/unix/sysv/linux/sysdep.h>.
1739         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
1740         (SYSCALL_ERROR_ERRNO): Removed.
1741         (SYSCALL_ERROR_HANDLER): Changed to empty.
1742         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
1743         (__syscall_error): New prototype.
1744         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
1745         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
1747 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
1749         [BZ #19124]
1750         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
1751         (_dl_runtime_resolve_avx512): Make it a hidden alias of
1752         _dl_runtime_resolve_avx.
1753         (_dl_runtime_profile_avx512): Make it a hidden alias of
1754         _dl_runtime_profile_avx.
1756 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
1758         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
1759         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
1760         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
1761         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
1763         [BZ #16422]
1764         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
1765         New configure test.
1766         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
1767         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
1768         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
1769         <math_private.h> and <stdint.h>.
1770         (__llrint): Avoid conversions to long long int where those might
1771         raise spurious exceptions.
1772         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
1773         <math_private.h> and <stdint.h>.
1774         (__llrintf): Avoid conversions to long long int where those might
1775         raise spurious exceptions.
1777 2015-10-12  Andreas Schwab  <schwab@suse.de>
1779         [BZ #18969]
1780         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
1781         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
1782         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
1783         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
1784         $(gen-locales).
1785         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
1786         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
1787         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
1788         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
1789         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
1790         $(gen-locales).
1791         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
1792         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
1793         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
1794         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
1795         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
1796         ($(objpfx)tst-ftell-active-handler.out)
1797         ($(objpfx)tst-ftell-append.out)
1798         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
1799         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
1800         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
1801         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
1802         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
1803         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
1804         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
1805         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
1806         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
1807         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
1808         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
1809         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
1810         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
1811         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
1812         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
1813         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
1814         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
1815         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
1816         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
1817         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
1818         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
1819         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
1820         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
1821         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
1822         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
1823         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
1824         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
1825         $(gen-locales).
1826         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
1827         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
1828         $(gen-locales).
1829         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
1830         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
1831         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
1832         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
1833         $(gen-locales).
1834         * libio/tst_wprintf2.c (main): Use explicit locale.
1835         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
1837 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1839         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
1840         __msg_sig_post.
1841         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
1843 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
1845         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1846         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1848         * sysdeps/arm/libm-test-ulps: Regenerated.
1850         [BZ #15470]
1851         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
1853         [BZ #16399]
1854         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
1855         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
1856         and <fix-fp-int-convert-overflow.h>.
1857         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1858         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1859         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
1860         and <fix-fp-int-convert-overflow.h>.
1861         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
1862         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1863         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
1864         <fix-fp-int-convert-overflow.h>.
1865         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
1866         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1867         * sysdeps/ieee754/dbl-64/s_lround.c: Include
1868         <fix-fp-int-convert-overflow.h>.
1869         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
1870         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1871         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
1872         and <fix-fp-int-convert-overflow.h>.
1873         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1874         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1875         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
1876         <limits.h> and <fix-fp-int-convert-overflow.h>.
1877         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1878         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1879         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
1880         and <fix-fp-int-convert-overflow.h>.
1881         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
1882         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1883         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
1884         and <fix-fp-int-convert-overflow.h>.
1885         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
1886         FIX_DBL_LLONG_CONVERT_OVERFLOW.
1887         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
1889 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
1891         [BZ #18589]
1892         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
1893         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
1894         $(gen-locales).
1896 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1897             Phil Blundell <pb@pbcl.net>
1899         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
1900         * nptl/tst-cancel26.c: New file.
1901         * nptl/tst-cancel27.c: Likewise.
1903 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
1905         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
1906         __ILP32__ isn't defined.
1907         (lrint): Likewise.
1908         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
1909         (lrintf): Likewise.
1910         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
1911         (lrintl): Likewise.
1912         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
1913         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
1914         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
1916 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1918         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1919         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1921         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
1922         file.
1923         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
1924         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1926 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
1928         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
1929         configure test.
1930         * sysdeps/i386/configure: Regenerated.
1931         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
1932         configure test.
1933         * sysdeps/x86_64/configure: Regenerated.
1934         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
1935         Make code unconditional.
1937         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
1938         test.
1939         * sysdeps/i386/configure: Regenerated.
1940         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
1941         test.
1942         * sysdeps/x86_64/configure: Regenerated.
1943         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
1944         Make code unconditional.
1945         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1946         Likewise.
1947         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
1948         Likewise.
1949         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1950         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
1951         code unconditional.
1952         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1953         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
1954         code unconditional.
1955         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1956         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
1957         code unconditional.
1958         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
1959         code unconditional.
1960         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1961         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
1962         code unconditional.
1963         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1964         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
1965         code unconditional.
1966         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1967         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
1968         code unconditional.
1969         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1970         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
1971         code unconditional.
1972         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
1973         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
1975         [BZ #19095]
1976         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
1977         mantissa to long int before shifting left.
1979 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
1981         [BZ #19094]
1982         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
1983         <limits.h>.
1984         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1985         when result overflows but exception would not result from cast.
1986         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
1987         <limits.h>.
1988         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1989         when result overflows but exception would not result from cast.
1990         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
1991         <limits.h>.
1992         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1993         when result overflows but exception would not result from cast.
1994         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
1995         <limits.h>.
1996         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
1997         when result overflows but exception would not result from cast.
1998         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
1999         <limits.h>.
2000         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2001         when result overflows but exception would not result from cast.
2002         * math/libm-test.inc (lrint_test_data): Add more tests.
2003         (llrint_test_data): Likewise.
2005 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2007         [BZ #18872]
2008         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2009         Move out from under [$(run-built-tests) = yes] conditional.
2010         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2011         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2013 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2015         [BZ #18589]
2016         * string/Makefile (tests): Add bug-strcoll2.
2017         (LOCALES): Add cs_CZ.UTF-8.
2018         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2020         [BZ #18589]
2021         * string/bug-strcoll2.c: New file.
2022         * locale/categories.def: Revert commit
2023         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2024         * locale/langinfo.h: Likewise.
2025         * locale/localeinfo.h: Likewise.
2026         * locale/C-collate.c: Likewise.
2027         * locale/programs/ld-collate.c (collate_output): Likewise.
2028         * string/strcoll_l.c (STRDIFF): Likewise.
2029         (STRCOLL): Likewise.
2030         * wcsmbs/wcscoll_l.c: Likewise.
2032 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2034         * math/libm-test.inc (lround_test_data): Do not expect the absence
2035         of "inexact" for some tests with non-integer arguments.
2036         (llround_test_data): Likewise.
2038         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2039         test.
2040         (libc_cv_cc_sse2avx): Likewise.
2041         * sysdeps/i386/configure: Regenerated.
2042         * sysdeps/i386/i686/multiarch/Makefile
2043         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2044         [$(subdir) = math].
2045         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2046         code unconditional.
2047         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2048         Likewise.
2049         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2050         Likewise.
2051         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2052         Likewise.
2053         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2054         test.
2055         (libc_cv_cc_sse2avx): Likewise.
2056         * sysdeps/x86_64/configure: Regenerated.
2057         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2058         unconditional.
2059         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2060         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2061         unconditional.
2062         (_dl_runtime_profile)
2063         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2064         conditional code.
2065         * sysdeps/x86_64/fpu/multiarch/Makefile
2066         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2067         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2068         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2069         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2070         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2071         * sysdeps/x86_64/fpu/multiarch/e_log.c
2072         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2073         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2074         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2075         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2076         Likewise.
2077         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2078         Likewise.
2079         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2080         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2081         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2082         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2083         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2084         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2085         (HAVE_SSE2AVX_SUPPORT): Likewise.
2087 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2089         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2090         instead of #pragma optimize.
2092 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2094         [BZ #17195]
2095         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2096         as is similarly done in systrim and _int_free already.
2098 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2100         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2102 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2104         [BZ #19088]
2105         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2106         <limits.h>.
2107         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2108         overflows but exception would not result from cast.
2109         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2110         and <limits.h>.
2111         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2112         overflows but exception would not result from cast.
2113         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2114         <limits.h>.
2115         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2116         overflows but exception would not result from cast.
2117         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2118         <limits.h>.
2119         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2120         overflows but exception would not result from cast.
2121         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2122         <limits.h>.
2123         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2124         overflows but exception would not result from cast.
2125         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2126         <limits.h>.
2127         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2128         overflows but exception would not result from cast.
2129         * math/libm-test.inc (lround_test_data): Add more tests.
2130         (llround_test_data): Likewise.
2132 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2134         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2135         (CFLAGS-ialloc.c): Ditto.
2136         (CFLAGS-scheck.c): Ditto.
2138 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2140         [BZ #19086]
2141         * manual/filesys.texi (Storage Allocation): Fix argument order for
2142         posix_fallocate64.
2144 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2146         [BZ #19085]
2147         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2148         exponent below 48 inside case for non-overflowing exponent.
2149         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2151 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2153         * iconvdata/cp737.h (from_idx): Add const.
2154         * iconvdata/cp775.h (from_idx): Likewise.
2156 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2158         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2159         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2160         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2162         [BZ #19079]
2163         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2164         file, conditioned on [!_LP64].
2165         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2166         [!_LP64] (__lround): Do not define as function or alias.
2167         [!_LP64] (lround): Likewise.
2168         [!_LP64] (__lroundl): Likewise.
2169         [!_LP64] (lroundl): Likewise.
2170         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2171         macro.
2172         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2173         Likewise.
2175 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2177         * math/libm-test.inc (lrint_test_data): Add more tests.
2178         (llrint_test_data): Likewise.
2179         (lround_test_data): Likewise.
2180         (llround_test_data): Likewise.
2182         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
2183         (llrint_test_data): Add tests used for lrint.
2185         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
2186         test.
2187         * sysdeps/i386/configure: Regenerated.
2188         * sysdeps/i386/i686/multiarch/Makefile
2189         [$(config-cflags-sse4) = yes]: Make code unconditional.
2190         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2191         Likewise.
2192         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
2193         Likewise.
2194         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
2195         test.
2196         * sysdeps/x86_64/configure: Regenerated.
2197         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
2198         Make code unconditional.
2199         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
2200         Likewise.
2201         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
2202         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
2204         * scripts/rpm2dynsym.sh: Remove file.
2206 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2208         * configure.ac (libc_cv_cxx_thread_local): Define.
2209         * configure: Regenerate.
2210         * config.make.in (have-cxx-thread_local): Define.
2211         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
2212         (LDLIBS-tst-thread_local1): Define.
2213         (tests): Add tst-thread_local1.
2214         [have-cxx-thread_local != yes] (tests-unsupported): Add
2215         tst-thread_local1.
2216         * nptl/tst-thread_local1.cc: New file.
2218 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
2220         [BZ #19078]
2221         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
2222         (u_thres): Likewise.
2223         (__expl): Determine whether to call __kernel_standard_l based on
2224         value of result, not argument.
2226         * math/libm-test.inc (scalb_test_data): Add more expectations for
2227         the "inexact" exception.
2229         [BZ #19077]
2230         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
2231         0.0L for argument 1.0L.
2233         [BZ #19076]
2234         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
2235         constant 0.0L when computing infinite result.
2237 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2239         [BZ #10432]
2240         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
2241         malloc_usable_size.
2243 2015-10-06  Florian Weimer  <fweimer@redhat.com>
2245         [BZ #19018]
2246         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2247         Mangle function pointer before storing it.
2248         (__call_tls_dtors): Demangle function pointer before calling it.
2250 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2252         [BZ #19012]
2253         * iconv/gconv_db.c (gen_steps): Check for additional errors.
2254         Clean up on failure.
2256 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
2258         [BZ #19071]
2259         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
2260         long int variable to store possibly incremented high part of
2261         mantissa.
2262         * math/libm-test.inc (lround_test_data): Add tests used for
2263         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
2264         for tests requiring 64-bit long.  Do not condition tests on
2265         [TEST_FLOAT] unnecessarily.
2266         (llround_test_data): Add tests used for lround.  Add another
2267         expectation for the "inexact" exception.  Do not condition tests
2268         on [TEST_FLOAT] unnecessarily.
2270         [BZ #887]
2271         [BZ #19049]
2272         [BZ #19050]
2273         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
2274         * sysdeps/ieee754/dbl-64/e_log10.c: Include
2275         <fix-int-fp-convert-zero.h>.
2276         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2277         * sysdeps/ieee754/dbl-64/e_log2.c: Include
2278         <fix-int-fp-convert-zero.h>.
2279         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2280         * sysdeps/ieee754/dbl-64/s_erf.c: Include
2281         <fix-int-fp-convert-zero.h>.
2282         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2283         * sysdeps/ieee754/dbl-64/s_logb.c: Include
2284         <fix-int-fp-convert-zero.h>.
2285         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2286         * sysdeps/ieee754/flt-32/e_log10f.c: Include
2287         <fix-int-fp-convert-zero.h>.
2288         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2289         * sysdeps/ieee754/flt-32/e_log2f.c: Include
2290         <fix-int-fp-convert-zero.h>.
2291         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2292         * sysdeps/ieee754/flt-32/s_erff.c: Include
2293         <fix-int-fp-convert-zero.h>.
2294         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2295         * sysdeps/ieee754/flt-32/s_logbf.c: Include
2296         <fix-int-fp-convert-zero.h>.
2297         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2298         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
2299         <fix-int-fp-convert-zero.h>.
2300         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2301         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
2302         <fix-int-fp-convert-zero.h>.
2303         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
2304         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
2305         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
2306         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
2307         file.
2308         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
2310 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2312         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2314 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
2316         [BZ #19059]
2317         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
2318         overflowing computation.
2319         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2320         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2321         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2322         Likewise.
2323         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2324         Likewise.
2325         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
2326         Likewise.
2327         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2328         Likewise.
2329         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2330         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2331         Likewise.
2332         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2333         Likewise.
2334         * math/libm-test.inc (nexttoward_test_data): Add more tests.
2336         * nss/rewrite_field.c (__nss_rewrite_field): Use
2337         internal_function.
2338         * nss/valid_field.c (__nss_valid_field): Likewise.
2339         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
2341 2015-10-02  Florian Weimer  <fweimer@redhat.com>
2343         [BZ #18724]
2344         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
2345         (__nss_invalid_field_characters, __nss_valid_field)
2346         (__nss_valid_list_field, __nss_rewrite_field): Declare.
2347         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
2348         tst-field.c: New file.
2349         * nss/Makefile (routines): Add valid_field, rewrite_field.
2350         (tests-static): Define unconditionally.
2351         (tests): Include tests-static.
2352         [build-static-nss] (tests-static): Use append.
2353         [build-static-nss] (tests): Remove modification.
2354         * nss/getent.c (print_group): Call putgrent.  Report error.
2355         (print_gshadow): Call putsgent.  Report error.
2356         (print_passwd): Call putpwent.  Report error.
2357         (print_shadow): Call putspent.  Report error.
2358         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
2359         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
2360         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
2361         name, password, directory, shell fields for valid syntax.  Rewrite
2362         GECOS field to match syntax.
2363         * pwd/Makefile (tests): Add tst-putpwent.
2364         * pwd/tst-putpwent.c: New file.
2365         * grp/putgrent.c (putgrent): Convert to ISO function definition.
2366         Check grName, grpasswd, gr_mem fields for valid syntax.
2367         Change loop variable i to size_t.
2368         * grp/Makefile (tests): Add tst-putgrent.
2369         * grp/tst-putgrent.c: New file.
2370         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
2371         valid syntax.
2372         * shadow/Makefile (tests): Add tst-putspent.
2373         * shadow/tst-putspent.c: New file.
2374         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
2375         sg_mem fields for valid syntax.
2376         * gshadow/Makefile (tests): Add tst-putsgent.
2377         * gshadow/tst-putsgent.c: New file.
2379 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2381         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
2382         assembly instructions.
2384 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2386         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
2387         prefix from operands.
2389 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
2391         [BZ #16347]
2392         [BZ #19046]
2393         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
2394         <libc-internal.h>.
2395         (MAXLGM): Do not use diagnostic control macros.
2396         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
2397         threshold for ldbl-128ibm.
2398         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
2399         instead of multiplying by log then subtracting.
2400         * math/auto-libm-test-in: Add more tests of lgamma.
2401         * math/auto-libm-test-out: Regenerated.
2403         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
2404         (TYPE_HEX_DIG): Likewise.
2405         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
2406         precisions when printing floating-point numbers.
2407         (check_float_internal): Likewise.
2409 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2411         [BZ #16620]
2412         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
2413         of log (10) rounded downward to 48 bits.
2414         (log10_low): Use corresponding low part of log (10).
2416         [BZ #19032]
2417         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
2418         compute result as (x - x) / (x - x) not as 0 / 0.
2419         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2420         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
2422         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2423         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
2424         and expm1.
2425         * math/auto-libm-test-out: Regenerated.
2426         * math/libm-test.inc (acos_test_data): Add more tests.
2427         (asin_test_data): Likewise.
2428         (asinh_test_data): Likewise.
2429         (atan_test_data): Likewise.
2430         (atanh_test_data): Likewise.
2431         (atan2_test_data): Likewise.
2432         (cbrt_test_data): Likewise.
2433         (ceil_test_data): Likewise.
2434         (copysign_test_data): Likewise.
2435         (cos_test_data): Likewise.
2436         (cosh_test_data): Likewise.
2437         (erf_test_data): Likewise.
2438         (erfc_test_data): Likewise.
2439         (exp_test_data): Likewise.
2440         (exp10_test_data): Likewise.
2441         (exp2_test_data): Likewise.
2442         (expm1_test_data): Likewise.
2443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2445 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
2447         [BZ #19006]
2448         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
2449         to ...
2450         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
2451         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
2452         to ...
2453         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
2454         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
2455         to ...
2456         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
2457         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
2458         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
2459         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
2460         to ...
2461         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
2462         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2463         Moved to ...
2464         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
2465         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2466         Moved to ...
2467         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
2468         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
2469         to ...
2470         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
2471         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2472         Moved to ...
2473         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
2474         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
2475         to ...
2476         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
2477         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
2478         Removed.
2479         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
2480         Likewise.
2481         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
2482         Likewise.
2483         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
2484         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
2485         Likewise.
2486         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2487         Likewise.
2488         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2489         Likewise.
2490         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2491         Likewise.
2492         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2493         Likewise.
2494         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
2495         Likewise.
2496         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
2497         Likewise.
2498         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
2499         Likewise.
2500         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
2501         Likewise.
2502         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
2503         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
2504         Likewise.
2505         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2506         Likewise.
2507         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2508         Likewise.
2509         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2510         Likewise.
2511         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
2512         Likewise.
2513         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2514         Replace ../i486/pthread_cond_timedwait.S with
2515         ../pthread_cond_timedwait.S.
2517 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
2519         * math/libm-test.inc (acos_test_data): Refine expectations for
2520         errno and "inexact" exceptions.
2521         (acosh_test_data): Likewise.
2522         (asin_test_data): Likewise.
2523         (asinh_test_data): Likewise.
2524         (atan_test_data): Likewise.
2525         (atanh_test_data): Likewise.
2526         (atan2_test_data): Likewise.
2527         (cbrt_test_data): Likewise.
2528         (ceil_test_data): Likewise.
2529         (copysign_test_data): Likewise.
2530         (cosh_test_data): Likewise.
2531         (erf_test_data): Likewise.
2532         (erfc_test_data): Likewise.
2533         (exp_test_data): Likewise.
2534         (exp10_test_data): Likewise.
2535         (exp2_test_data): Likewise.
2536         (expm1_test_data): Likewise.
2537         (fabs_test_data): Likewise.
2538         (floor_test_data): Likewise.
2539         (fma_test_data): Likewise.
2540         (fmax_test_data): Likewise.
2541         (fmin_test_data): Likewise.
2542         (fmod_test_data): Likewise.
2543         (fpclassify_test_data): Likewise.
2544         (frexp_test_data): Likewise.
2545         (hypot_test_data): Likewise.
2546         (ilogb_test_data): Likewise.
2547         (isgreater_test_data): Likewise.
2548         (isgreaterequal_test_data): Likewise.
2549         (isinf_test_data): Likewise.
2550         (isless_test_data): Likewise.
2551         (islessequal_test_data): Likewise.
2552         (islessgreater_test_data): Likewise.
2553         (isnan_test_data): Likewise.
2554         (isnormal_test_data): Likewise.
2555         (issignaling_test_data): Likewise.
2556         (isunordered_test_data): Likewise.
2557         (j0_test_data): Likewise.
2558         (j1_test_data): Likewise.
2559         (jn_test_data): Likewise.
2560         (lgamma_test_data): Likewise.
2561         (lrint_test_data): Likewise.
2562         (llrint_test_data): Likewise.
2563         (log_test_data): Likewise.
2564         (log10_test_data): Likewise.
2565         (log1p_test_data): Likewise.
2566         (log2_test_data): Likewise.
2567         (logb_test_data): Likewise.
2568         (lround_test_data): Likewise.
2569         (llround_test_data): Likewise.
2570         (modf_test_data): Likewise.
2571         (nearbyint_test_data): Likewise.
2572         (nextafter_test_data): Likewise.
2573         (nexttoward_test_data): Likewise.
2574         (pow_test_data): Likewise.
2575         (remainder_test_data): Likewise.
2576         (remquo_test_data): Likewise.
2577         (rint_test_data): Likewise.
2578         (round_test_data): Likewise.
2579         (signbit_test_data): Likewise.
2580         (sinh_test_data): Likewise.
2581         (sqrt_test_data): Likewise.
2582         (tanh_test_data): Likewise.
2583         (tgamma_test_data): Likewise.
2584         (trunc_test_data): Likewise.
2585         (y0_test_data): Likewise.
2586         (y1_test_data): Likewise.
2587         (yn_test_data): Likewise.
2588         (significand_test_data): Likewise.
2590 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
2592         * manual/filesys.texi (Storage Allocation): Document that
2593         posix_fallocate emulation fails when fd is open with O_WRONLY.
2595 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2597         [BZ #19016]
2598         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
2599         allow more cases with X^2 + Y^2 >= 0.5.
2600         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
2601         normal element in sum instead of special-casing based on values of
2602         arguments.
2603         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
2604         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
2605         -1 as normal element in sum instead of special-casing based on
2606         values of arguments.
2607         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
2608         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
2609         (__x2y2m1): Update comment.
2610         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
2611         as normal element in sum instead of special-casing based on values
2612         of arguments.
2613         * math/s_clog.c (__clog): Handle more cases using log1p without
2614         hypot.
2615         * math/s_clog10.c (__clog10): Likewise.
2616         * math/s_clog10f.c (__clog10f): Likewise.
2617         * math/s_clog10l.c (__clog10l): Likewise.
2618         * math/s_clogf.c (__clogf): Likewise.
2619         * math/s_clogl.c (__clogl): Likewise.
2620         * math/auto-libm-test-in: Add more tests of clog and clog10.
2621         * math/auto-libm-test-out: Regenerated.
2622         * sysdeps/i386/fpu/libm-test-ulps: Update.
2623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2625 2015-09-28  Martin Sebor  <msebor@redhat.com>
2627         [BZ #18969]
2628         * string/Makefile (LOCALES): Define.
2629         (gen-locales.mk): Include.
2630         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
2631         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
2632         * string/tst-strxfrm2.c (do_test): Print the name of the locale
2633         on setlocale failure.
2635 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2637         [BZ #18985]
2638         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
2639         (__strftime_internal): Likewise.
2640         * time/tst-strftime.c (do_bz18985): New test.
2641         (do_test): Call it.
2643 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
2645         [BZ #18956]
2646         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
2647         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
2648         extracting high part.
2649         * math/auto-libm-test-in: Add another test of pow.
2650         * math/auto-libm-test-out: Regenerated.
2651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2653 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2655         [BZ #18825]
2656         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
2657         New macro.
2658         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
2659         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2660         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
2661         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
2662         DBL_NARROW_EVAL, reloading the PIC register as needed.
2663         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
2664         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
2665         FLT_NARROW_EVAL.  Use separate return path for case when first
2666         argument is NaN.
2667         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
2668         DEFINE_LDBL_MIN.
2669         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
2670         PIC register.
2671         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
2672         math_check_force_underflow_nonneg.
2673         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
2674         underflow for subnormal result.
2675         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2676         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
2677         math_check_force_underflow_nonneg.
2678         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
2679         math_check_force_underflow.
2680         * sysdeps/x86_64/fpu/x86_64-math-asm.h
2681         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
2682         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
2683         DEFINE_LDBL_MIN.
2684         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
2685         * math/auto-libm-test-in: Add more tests of pow.
2686         * math/auto-libm-test-out: Regenerated.
2688 2015-09-25  Florian Weimer  <fweimer@redhat.com>
2690         * nss/bug17079.c (init_test_items): Add diagnostic for
2691         inconsistent entries.
2692         (test_buffer_size): Skip inconsistent entries.
2694 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
2696         [BZ #13304]
2697         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
2698         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
2699         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
2701         [BZ #13304]
2702         * sysdeps/microblaze/s_fma.c: New file.
2703         * sysdeps/microblaze/s_fmaf.c: Likewise.
2704         * sysdeps/microblaze/sfp-machine.h: Likewise.
2706 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
2708         [BZ #17250]
2709         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
2710         member.
2712 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2714         [BZ #18803]
2715         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
2716         (MO): New macro.
2717         (__ieee754_hypot) [PIC]: Load PIC register.
2718         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
2719         DBL_NARROW_EVAL.
2720         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
2721         math_check_force_underflow_nonneg in case where result might be
2722         tiny.
2723         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2724         Likewise.
2725         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2726         Likewise.
2727         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2728         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
2729         * math/auto-libm-test-in: Add more tests of hypot.
2730         * math/auto-libm-test-out: Regenerated.
2732 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
2734         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
2736 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
2738         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
2739         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
2740         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2741         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2742         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
2743         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2744         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2746         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
2747         LOAD_PIC_REG.
2749         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
2750         (FLT_CHECK_FORCE_UFLOW): Likewise.
2751         (DBL_CHECK_FORCE_UFLOW): Likewise.
2752         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
2753         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
2754         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
2755         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2756         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
2757         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2758         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2759         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
2760         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
2761         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2762         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
2763         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
2764         (flt_min): Replace with use of DEFINE_FLT_MIN.
2765         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
2766         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
2767         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2768         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
2769         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
2770         (flt_min): Replace with use of DEFINE_FLT_MIN.
2771         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
2772         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
2773         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2774         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
2775         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
2776         (flt_min): Replace with use of DEFINE_FLT_MIN.
2777         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
2778         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
2779         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
2780         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
2781         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
2782         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
2783         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
2784         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
2785         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2786         (__atan): Use DBL_CHECK_FORCE_UFLOW.
2787         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
2788         (flt_min): Replace with use of DEFINE_FLT_MIN.
2789         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
2790         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
2791         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2792         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
2793         main computation.
2794         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
2795         (flt_min): Replace with use of DEFINE_FLT_MIN.
2796         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
2797         main computation.
2798         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
2799         (dbl_min): Replace with use of DEFINE_DBL_MIN.
2800         (MO): New macro.
2801         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
2802         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
2803         (flt_min): Replace with use of DEFINE_FLT_MIN.
2804         (MO): New macro.
2805         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
2806         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
2807         (__log1pl): Use MO.
2809         [BZ #19003]
2810         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
2811         $(config-cflags-nofma).
2813 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2815         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2817 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
2819         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
2820         (TWO127): Likewise.
2822         * sysdeps/generic/math_private.h (fabs_tg): New macro.
2823         (min_of_type): Likewise.
2824         (math_check_force_underflow): Likewise.
2825         (math_check_force_underflow_nonneg): Likewise.
2826         (math_check_force_underflow_complex): Likewise.
2827         * math/e_exp2l.c (__ieee754_exp2l): Use
2828         math_check_force_underflow_nonneg.
2829         * math/k_casinh.c (__kernel_casinh): Likewise.
2830         * math/k_casinhf.c (__kernel_casinhf): Likewise.
2831         * math/k_casinhl.c (__kernel_casinhl): Likewise.
2832         * math/s_catan.c (__catan): Use
2833         math_check_force_underflow_complex.
2834         * math/s_catanf.c (__catanf): Likewise.
2835         * math/s_catanh.c (__catanh): Likewise.
2836         * math/s_catanhf.c (__catanhf): Likewise.
2837         * math/s_catanhl.c (__catanhl): Likewise.
2838         * math/s_catanl.c (__catanl): Likewise.
2839         * math/s_ccosh.c (__ccosh): Likewise.
2840         * math/s_ccoshf.c (__ccoshf): Likewise.
2841         * math/s_ccoshl.c (__ccoshl): Likewise.
2842         * math/s_cexp.c (__cexp): Likewise.
2843         * math/s_cexpf.c (__cexpf): Likewise.
2844         * math/s_cexpl.c (__cexpl): Likewise.
2845         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
2846         * math/s_clog10.c (__clog10): Likewise.
2847         * math/s_clog10f.c (__clog10f): Likewise.
2848         * math/s_clog10l.c (__clog10l): Likewise.
2849         * math/s_clogf.c (__clogf): Likewise.
2850         * math/s_clogl.c (__clogl): Likewise.
2851         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
2852         * math/s_csinf.c (__csinf): Likewise.
2853         * math/s_csinh.c (__csinh): Likewise.
2854         * math/s_csinhf.c (__csinhf): Likewise.
2855         * math/s_csinhl.c (__csinhl): Likewise.
2856         * math/s_csinl.c (__csinl): Likewise.
2857         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
2858         * math/s_csqrtf.c (__csqrtf): Likewise.
2859         * math/s_csqrtl.c (__csqrtl): Likewise.
2860         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
2861         * math/s_ctanf.c (__ctanf): Likewise.
2862         * math/s_ctanh.c (__ctanh): Likewise.
2863         * math/s_ctanhf.c (__ctanhf): Likewise.
2864         * math/s_ctanhl.c (__ctanhl): Likewise.
2865         * math/s_ctanl.c (__ctanl): Likewise.
2866         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
2867         instead of volatile.
2868         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
2869         math_check_force_underflow.
2870         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2871         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
2872         volatile when forcing underflow.
2873         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2874         math_check_force_underflow_nonneg.
2875         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
2876         Likewise.
2877         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
2878         math_check_force_underflow.
2879         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2880         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2881         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2882         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
2883         math_check_force_underflow_nonneg.
2884         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
2885         math_check_force_underflow.
2886         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
2887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
2888         instead of volatile.
2889         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
2890         math_check_force_underflow.
2891         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
2892         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2893         math_check_force_underflow_nonneg.
2894         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
2895         math_check_force_underflow.
2896         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
2897         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2898         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
2899         math_check_force_underflow_nonneg.
2900         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
2901         Likewise.
2902         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
2903         math_check_force_underflow.
2904         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2905         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
2906         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
2907         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
2908         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
2909         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
2910         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
2911         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
2912         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2913         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
2914         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
2915         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
2916         Likewise.
2917         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
2918         math_check_force_underflow_nonneg.
2919         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
2920         Likewise.
2921         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
2922         math_check_force_underflow.
2923         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2924         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
2925         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2926         Likewise.
2927         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
2928         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
2929         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
2930         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
2931         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
2932         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
2933         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
2934         instead of volatile.
2935         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
2936         math_check_force_underflow.
2937         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
2938         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
2939         math_check_force_underflow.
2940         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
2941         Likewise.
2942         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2943         Use math_check_force_underflow_nonneg.
2944         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
2945         math_check_force_underflow.
2946         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2947         Likewise.
2948         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2949         Likewise.
2950         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2951         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2952         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2953         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2954         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
2955         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2956         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
2957         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
2958         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
2959         math_check_force_underflow_nonneg.
2960         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
2961         math_check_force_underflow.
2962         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2963         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
2964         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
2965         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
2966         math_check_force_underflow_nonneg.
2967         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
2968         math_check_force_underflow.
2969         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
2970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
2971         instead of volatile.
2972         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
2973         math_check_force_underflow.
2975         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
2976         * stdlib/strtod_l.c: Include <math_private.h>.
2977         (overflow_value): Use math_narrow_eval.
2978         (underflow_value): Likewise.
2979         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2980         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
2981         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
2982         (__ieee754_gamma_r): Likewise.
2983         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
2984         Likewise.
2985         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2986         Likewise.
2987         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
2988         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
2989         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
2990         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
2991         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
2992         (__ieee754_gammaf_r): Likewise.
2993         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2994         Likewise.
2995         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
2996         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
2997         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
2998         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
2999         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3000         volatile.
3001         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3002         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3003         math_narrow_eval.
3004         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3005         Likewise.
3006         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3007         Likewise.
3008         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3009         Likewise.
3010         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3011         volatile.
3012         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3013         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3014         math_narrow_eval.
3015         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3016         Likewise.
3017         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3018         Likewise.
3020 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3022         * nptl/Versions: Remove ignored symbols.
3024 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3026         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3027         * nss/Makefile (tests): Update.
3029 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3031         * nss/bug18287.c: New file.
3032         * nss/Makefile (tests): Add bug18287.
3034 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3036         * mach/Versions (__mach_host_self_): Add symbol.
3038 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3040         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3041         vm_page_size.
3043 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3045         Really fix sysdeps/i386/fpu/s_scalbn.S build
3047         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3048         (libc: GLIBC_2_22): Remove unused version set.
3050 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3052         * config.make.in (enable-timezone-tools): New variable.
3053         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3054         (enable_timezone_tools): Export to generated files.
3055         * configure: Regenerate.
3056         * INSTALL: Regenerate.
3057         * manual/install.texi (--disable-timezone-tools): Document new flag.
3058         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3059         ifeq ($(enable-timezone-tools),yes) check.
3061 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3063         * timezone/Makefile: Revert previous change.
3065         [BZ #18980]
3066         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3067         (DEFINE_DBL_MIN): Likewise.
3068         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3069         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3070         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3071         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3072         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3073         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3074         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3075         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3076         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3077         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3078         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3079         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3080         (flt_min): Replace with use of DEFINE_FLT_MIN.
3081         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3082         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3083         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3084         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3085         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3086         (flt_min): Replace with use of DEFINE_FLT_MIN.
3087         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3088         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3089         (flt_min): Replace with use of DEFINE_FLT_MIN.
3090         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3091         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3092         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3093         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3094         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3095         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3096         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3097         (__ieee754_pow): Use DBL_NARROW_EVAL.
3098         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3099         (__ieee754_powf): Use FLT_NARROW_EVAL.
3100         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3101         (__ieee754_expf_sse2): Convert double-precision result to single
3102         precision.
3103         * sysdeps/i386/fpu/libm-test-ulps: Update.
3105 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3107         * timezone/Makefile: Ignore unused variable errors due to private.h
3108         (time_t_min) and (time_t_max).
3109         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3110         Likewise.
3112 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3114         [BZ #18981]
3115         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3116         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3117         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3118         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3119         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3120         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3121         (__scalbn): Use DBL_NARROW_EVAL.
3122         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3123         (__scalbnf): Use FLT_NARROW_EVAL.
3125 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3127         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3128         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3129         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3130         * stdio-common/printf_fp.c (___printf_fp):
3131         Use signbit to get the sign. Use isinf macro to allow inlining.
3132         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3133         * stdio-common/printf_size.c (__printf_size): Likewise.
3135 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3137         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3139 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3141         [BZ #18980]
3142         * sysdeps/generic/math_private.h: Include <float.h>.
3143         (math_narrow_eval): New macro.
3144         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3145         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3146         math_narrow_eval on overflowing return value.
3147         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3148         Likewise.
3149         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3150         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3151         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3152         Likewise.
3153         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3155 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3157         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3158         * math/Makefile: Remove isinf_ns.c.
3159         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3160         * math/multc3.c (__multc3): Likewise.
3161         * math/s_casin.c (__casin): Likewise.
3162         * math/s_casinf.c (__casinf): Likewise.
3163         * math/s_casinl.c (__casinl): Likewise.
3164         * math/s_cproj.c (__cproj): Likewise.
3165         * math/s_cprojf.c (__cprojf): Likewise.
3166         * math/s_cprojl.c (__cprofl): Likewise.
3167         * math/s_ctan.c (__ctan): Likewise.
3168         * math/s_ctanf.c (__ctanf): Likewise.
3169         * math/s_ctanh.c (__ctanh): Likewise.
3170         * math/s_ctanhf.c (__ctanhf): Likewise.
3171         * math/s_ctanhl.c (__ctanhl): Likewise.
3172         * math/s_ctanl.c (__ctanl): Likewise.
3173         * math/w_fmod.c (__fmod): Likewise.
3174         * math/w_fmodf.c (__fmodf): Likewise.
3175         * math/w_fmodl.c (_fmodl): Likewise.
3176         * math/w_remainder.c (__remainder): Likewise.
3177         * math/w_remainderf.c (__remainderf): Likewise.
3178         * math/w_remainderl.c (__remainderl): Likewise.
3179         * math/w_scalb.c (__scalb): Likewise.
3180         * math/w_scalbf.c (__scalbf): Likewise.
3181         * math/w_scalbl.c (__scalbl): Likewise.
3182         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
3183         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
3184         with isinf.
3185         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
3186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
3187         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
3188         __isinf_nsf with isinf.
3189         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
3190         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
3191         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
3192         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
3193         with isinf.
3194         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
3195         __isinf_nsl with isinf.
3196         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
3197         with isinf.
3198         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
3199         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
3200         __isinf_nsl with isinf.
3201         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
3202         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
3203         with isinf.
3205 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3207         * resolv/base64.c (rcsid): Remove unused static.
3208         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
3209         static.  (tqpi1): Likewise.
3210         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
3211         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
3212         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
3213         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
3214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
3215         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
3216         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
3217         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
3218         Likewise.
3220 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
3222         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
3223         <nptl/pthreadP.h>.
3224         (_longjmp_unwind): Use __libc_ptf_call.
3225         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
3227 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
3229         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
3230         * sysdeps/arm/__longjmp.S: Likewise
3232 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3234         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
3235         Use __builtin_signbit.
3236         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
3237         Use __builtin_signbitf.
3238         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
3239         Use __builtin_signbitl.
3240         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3241         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
3243 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3245         [BZ #15367]
3246         [BZ #17441]
3248         * math/Makefile: Build test-snan.c with -fsignaling-nans.
3249         * math/math.h (fpclassify): Use __builtin_fpclassify when
3250         available.  (signbit): Use __builtin_signbit(f/l).
3251         (isfinite): Use__builtin_isfinite.  (isnormal): Use
3252         __builtin_isnormal.  (isnan): Use __builtin_isnan.
3253         (isinf): Use __builtin_isinf_sign.
3255 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3257         * benchtests/Makefile: Add bench-math-inlines, link with libm.
3258         * benchtests/bench-math-inlines.c: New benchmark.
3259         * benchtests/bench-util.h: New file.
3260         * benchtests/bench-util.c: New file.
3261         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
3263 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
3265         * elf/tst-dlmopen1.c: Define TEST_SO.
3266         (do_test): Use TEST_SO.
3268         * elf/dl-load.c: Include libc-internal.h.
3269         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
3271 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3273         [BZ #17887]
3274         * time/strptime_l.c (__strptime_internal): Make %z accept
3275         [+-]HH:MM time zones.
3277 2015-09-18  Vincent Bernat  <vincent@bernat.im>
3279         [BZ #17886]
3280         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
3281         valid time zone.
3283 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
3285         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
3286         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
3287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3288         (__ASSUME_FDATASYNC): Delete.
3290 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3292         * conform/linknamespace.pl: Require weak undefined symbols to be
3293         in the standard namespace.
3294         (%strong_syms): Rename to %seen_syms.
3295         (%strong_seen): Rename to %seen_where.
3297 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
3299         [BZ #18970]
3300         * misc/error.c (error): Replace pthread_setcancelstate with
3301         __pthread_setcancelstate.
3302         (error_at_line): Likewise.
3303         * posix/wordexp.c (parse_comm): Likewise.
3304         * stdlib/fmtmsg.c (fmtmsg): Likewise.
3305         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
3306         (__pthread_setcancelstate): This.
3307         (pthread_setcancelstate): Add an alias.
3308         * nptl/nptl-init.c (pthread_functions): Replace
3309         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
3310         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
3311         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
3312         hidden_proto.
3313         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
3314         it with hidden_def.
3315         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
3316         (pthread_setcancelstate): Renamed to ...
3317         (__pthread_setcancelstate): This.
3318         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
3319         __libc_ptf_call with __pthread_setcancelstate.
3321 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3322             Andreas Schwab  <schwab@suse.de>
3324         [BZ #17118]
3325         * math/s_ctan.c (__ctan): Determine sign of zero real part of
3326         result when imaginary part of argument is infinite using sine and
3327         cosine.
3328         * math/s_ctanf.c (__ctanf): Likewise.
3329         * math/s_ctanl.c (__ctanl): Likewise.
3330         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
3331         of result when real part of argument is infinite using sine and
3332         cosine.
3333         * math/s_ctanhf.c (__ctanhf): Likewise.
3334         * math/s_ctanhl.c (__ctanhl): Likewise.
3335         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
3336         (ctanh_test_data): Add more tests of ctanh.
3338 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
3340         [BZ #15384]
3341         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
3342         bit-mask as in subtraction.
3343         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
3344         Likewise.
3345         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
3346         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
3347         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
3349         [BZ #18951]
3350         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
3351         underflow exception for small results.
3352         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3353         Likewise.
3354         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3355         Likewise.
3356         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3357         Likewise.
3358         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3359         Likewise.
3360         * math/auto-libm-test-in: Add more tests of tgamma.
3361         * math/auto-libm-test-out: Regenerated.
3363 2015-09-17  Andreas Schwab  <schwab@suse.de>
3365         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
3367 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3369         [BZ #18977]
3370         * math/bits/mathcalls.h
3371         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
3372         not declare.
3373         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
3374         Likewise.
3375         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
3376         Likewise.
3377         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
3378         Likewise.
3379         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
3380         Likewise.
3381         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
3382         Likewise.
3383         * conform/data/math.h-data
3384         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
3385         function.
3386         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
3387         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
3388         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
3389         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
3390         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
3391         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
3392         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
3393         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
3394         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
3395         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
3396         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
3398         [BZ #6803]
3399         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
3400         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
3401         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
3402         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
3403         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
3404         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
3405         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
3406         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
3407         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3408         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
3409         Likewise.
3410         [NO_LONG_DOUBLE] (scalbnl): Likewise.
3411         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
3412         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
3413         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
3414         long_double_symbol calls.
3415         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
3416         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
3417         strong alias of __ldexpl.
3418         (scalbnl): Define using long_double_symbol.
3419         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
3420         Remove alias.
3421         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
3422         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
3423         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
3424         (scalbln_test_data): Add more errno expectations.
3426 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
3428         Cache the host port like we cache the task port.  This way we do not
3429         need to call the kernel just to get the port.  Furthermore, we no
3430         longer increase the reference count on every invocation of
3431         `mach_host_self'.
3433         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
3434         Protect declarations against the macro expansion.
3435         * mach/mach_init.c (__mach_host_self_): New variable.
3436         (mach_init): Initialize `__mach_host_self_'.
3437         * mach/mach_init.h (__mach_host_self_): New declaration.
3438         (__mach_host_self, mach_host_self): New macros.
3439         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
3440         Release reference.
3442 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
3444         [BZ #4404]
3445         * po/de.po: Update from Translation Project.
3447         [BZ #16415]
3448         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
3449         (__expm1l): Remove code to handle positive infinity and overflow.
3450         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
3451         variable.
3452         (__expm1l): Remove code to handle positive infinity and overflow.
3454 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
3455             Paul Pluzhnikov  <ppluzhnikov@google.com>
3457         [BZ #18872]
3458         * stdio-common/Makefile (tst-printf-bz18872): New test.
3459         (tst-printf-bz18872-mem.out): Likewise.
3460         * stdio-common/tst-printf-bz18872.sh: Generate new test.
3461         * stdio-common/vfprintf.c: Fix memory leaks.
3463 2015-09-16  Andreas Schwab  <schwab@suse.de>
3465         [BZ #17244]
3466         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
3467         Remove extra va_start/va_end calls.
3469         [BZ #17243]
3470         * posix/execl.c (execl): Add missing va_end.
3471         * posix/execle.c (execle): Likewise.
3472         * posix/execlp.c (execlp): Likewise.
3474 2015-09-15  Roland McGrath  <roland@hack.frob.com>
3476         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
3477         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
3479 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
3481         [BZ #18967]
3482         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
3483         undefine around includes of <bits/mathcalls.h>.
3484         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
3485         not declare function.
3486         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
3487         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
3488         (scalb): Likewise.
3489         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
3490         not define macro.
3491         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
3492         variable.
3493         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3494         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3495         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3497         [BZ #18857]
3498         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
3499         return non-finite argument without doing ordered comparisons on
3500         it.
3502         [BZ #16296]
3503         * math/fenv.h (fegetround): Use __attribute_pure__.
3504         * include/fenv.h (__fegetround): Likewise.
3506         [BZ #18595]
3507         * math/s_ctan.c (__ctan): Force underflow exception for results
3508         whose real or imaginary part has small absolute value.
3509         * math/s_ctanf.c (__ctanf): Likewise.
3510         * math/s_ctanh.c (__ctanh): Likewise.
3511         * math/s_ctanhf.c (__ctanhf): Likewise.
3512         * math/s_ctanhl.c (__ctanhl): Likewise.
3513         * math/s_ctanl.c (__ctanl): Likewise.
3514         * math/auto-libm-test-in: Do not allow missing underflow for ctan
3515         and ctanh.  Add more tests of ctan and ctanh.
3517         [BZ #15918]
3518         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
3519         handling of cases where one argument is an infinity.
3521         [BZ #18875]
3522         [BZ #18966]
3523         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
3524         (MO): New macro.
3525         (__ieee754_exp10): For small results, force underflow exception
3526         and remove excess range and precision from return value.
3527         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
3528         (MO): New macro.
3529         (__ieee754_exp10f): For small results, force underflow exception
3530         and remove excess range and precision from return value.
3531         * math/auto-libm-test-in: Add more tests of exp10.
3532         * math/auto-libm-test-out: Regenerated.
3534 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
3536         [BZ #18875]
3537         [BZ #18961]
3538         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
3539         (MO): New macro.
3540         (__ieee754_exp): For small results, force underflow exception and
3541         remove excess range and precision from return value.
3542         (__exp_finite): Likewise.
3543         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
3544         (MO): New macro.
3545         (__ieee754_expf): For small results, force underflow exception and
3546         remove excess range and precision from return value.
3547         (__expf_finite): Likewise.
3548         * math/auto-libm-test-in: Add more tests of exp.
3549         * math/auto-libm-test-out: Regenerated.
3551         [BZ #16521]
3552         [BZ #18875]
3553         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
3554         small results.
3555         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
3556         (MO): New macro.
3557         (__ieee754_exp2): For small results, force underflow exception and
3558         remove excess range and precision from return value.
3559         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
3560         (MO): New macro.
3561         (__ieee754_exp2f): For small results, force underflow exception
3562         and remove excess range and precision from return value.
3563         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
3564         (MO): New macro.
3565         (__ieee754_exp2l): Force underflow exception for small results.
3566         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3567         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3568         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
3569         (MO): New macro.
3570         (__ieee754_exp2l): Force underflow exception for small results.
3571         * math/auto-libm-test-in: Add more tests or exp2.
3572         * math/auto-libm-test-out: Regenerated.
3574 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
3576         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
3578         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
3579         /dev/null.
3581 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3583         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3584         io fs process)): Drop spurious backslash.
3586 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3588         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
3589         Use sysinfo system call instead of parsing /proc/meminfo.
3590         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
3591         Likewise.
3593 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
3595         [BZ #16985]
3596         * programs/localedef.c (main): Display argv[remaining] when
3597         output_path is NULL.
3599 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3601         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3602         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
3603         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
3604         tanh.
3605         * math/auto-libm-test-out: Regenerated.
3606         * sysdeps/i386/fpu/libm-test-ulps: Update.
3607         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3608         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3611 2015-09-11  Roland McGrath  <roland@hack.frob.com>
3613         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
3614         Use 'override' keyword to freeze the value here, preventing
3615         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
3617 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
3619         [BZ #14912]
3620         * sysdeps/aarch64/bits/atomic.h: Move to ...
3621         * sysdeps/aarch64/atomic-machine.h: ...here.
3622         (_AARCH64_BITS_ATOMIC_H): Rename macro to
3623         _AARCH64_ATOMIC_MACHINE_H.
3624         * sysdeps/alpha/bits/atomic.h: Move to ...
3625         * sysdeps/alpha/atomic-machine.h: ...here.
3626         * sysdeps/arm/bits/atomic.h: Move to ...
3627         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
3628         * bits/atomic.h: Move to ...
3629         * sysdeps/generic/atomic-machine.h: ...here.
3630         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3631         * sysdeps/i386/bits/atomic.h: Move to ...
3632         * sysdeps/i386/atomic-machine.h: ...here.
3633         * sysdeps/ia64/bits/atomic.h: Move to ...
3634         * sysdeps/ia64/atomic-machine.h: ...here.
3635         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
3636         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
3637         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3638         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
3639         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
3640         * sysdeps/microblaze/bits/atomic.h: Move to ...
3641         * sysdeps/microblaze/atomic-machine.h: ...here.
3642         * sysdeps/mips/bits/atomic.h: Move to ...
3643         * sysdeps/mips/atomic-machine.h: ...here.
3644         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
3645         * sysdeps/powerpc/bits/atomic.h: Move to ...
3646         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
3647         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
3648         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
3649         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
3650         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
3651         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
3652         <atomic-machine.h> instead of <bits/atomic.h>.
3653         * sysdeps/s390/bits/atomic.h: Move to ...
3654         * sysdeps/s390/atomic-machine.h: ...here.
3655         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
3656         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
3657         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3658         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
3659         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
3660         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
3661         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
3662         * sysdeps/tile/bits/atomic.h: Move to ...
3663         * sysdeps/tile/atomic-machine.h: ...here.
3664         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
3665         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
3666         <sysdeps/tile/atomic-machine.h> instead of
3667         <sysdeps/tile/bits/atomic.h>.
3668         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3669         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
3670         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
3671         <sysdeps/tile/atomic-machine.h> instead of
3672         <sysdeps/tile/bits/atomic.h>.
3673         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3674         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
3675         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
3676         <sysdeps/arm/atomic-machine.h> instead of
3677         <sysdeps/arm/bits/atomic.h>.
3678         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
3679         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
3680         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3681         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
3682         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
3683         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
3684         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
3685         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
3686         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
3687         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
3688         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
3689         * sysdeps/x86_64/bits/atomic.h: Move to ...
3690         * sysdeps/x86_64/atomic-machine.h: ...here.
3691         * include/atomic.h: Include <atomic-machine.h> instead of
3692         <bits/atomic.h>.
3694         * sysdeps/mips/mips32/libm-test-ulps: Update.
3695         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3697         [BZ #18952]
3698         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
3699         not convert non-integer negative arguments to int to determine the
3700         value of signgam.
3701         * math/auto-libm-test-in: Add more tests of lgamma.
3702         * math/auto-libm-test-out: Regenerated.
3704         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
3705         cosh, csqrt, erfc, expm1 and lgamma.
3706         * math/auto-libm-test-out: Regenerated.
3707         * sysdeps/i386/fpu/libm-test-ulps: Update.
3708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3710 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
3712         [BZ #2542]
3713         [BZ #2543]
3714         [BZ #2558]
3715         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
3716         __lgamma_neg for arguments from -28.0 to -2.0.
3717         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
3718         __lgamma_negf for arguments from -15.0 to -2.0.
3719         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3720         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
3721         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
3722         Call __lgamma_negl for arguments from -33.0 to -2.0.
3723         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
3724         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3725         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
3726         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
3727         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3728         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3729         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
3730         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
3731         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
3732         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3733         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
3734         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
3735         (__lgamma_neg): Likewise.
3736         (__lgamma_negl): Likewise.
3737         (__lgamma_product): Likewise.
3738         (__lgamma_productl): Likewise.
3739         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
3740         * math/auto-libm-test-in: Add more tests of lgamma.
3741         * math/auto-libm-test-out: Regenerated.
3742         * sysdeps/i386/fpu/libm-test-ulps: Update.
3743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3745 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
3747         [BZ #18675]
3748         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
3750 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
3752         [BZ #14912]
3753         * bits/libc-lock.h: Move to ...
3754         * sysdeps/generic/libc-lock.h: ...here.
3755         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3756         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
3757         * sysdeps/mach/hurd/libc-lock.h: ...here.
3758         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3759         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
3760         * sysdeps/mach/bits/libc-lock.h: Move to ...
3761         * sysdeps/mach/libc-lock.h: ...here.
3762         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3763         * sysdeps/nptl/bits/libc-lock.h: Move to ...
3764         * sysdeps/nptl/libc-lock.h: ...here.
3765         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
3766         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
3767         * sysdeps/nptl/libc-lockP.h: ...here.
3768         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
3769         * crypt/crypt_util.c: Include <libc-lock.h> instead of
3770         <bits/libc-lock.h>.
3771         * dirent/scandir-tail.c: Likewise.
3772         * dlfcn/dlerror.c: Likewise.
3773         * elf/dl-close.c: Likewise.
3774         * elf/dl-iteratephdr.c: Likewise.
3775         * elf/dl-lookup.c: Likewise.
3776         * elf/dl-open.c: Likewise.
3777         * elf/dl-support.c: Likewise.
3778         * elf/dl-writev.h: Likewise.
3779         * elf/rtld.c: Likewise.
3780         * grp/fgetgrent.c: Likewise.
3781         * gshadow/fgetsgent.c: Likewise.
3782         * gshadow/sgetsgent.c: Likewise.
3783         * iconv/gconv_conf.c: Likewise.
3784         * iconv/gconv_db.c: Likewise.
3785         * iconv/gconv_dl.c: Likewise.
3786         * iconv/gconv_int.h: Likewise.
3787         * iconv/gconv_trans.c: Likewise.
3788         * include/link.h: Likewise.
3789         * inet/getnameinfo.c: Likewise.
3790         * inet/getnetgrent.c: Likewise.
3791         * inet/getnetgrent_r.c: Likewise.
3792         * intl/bindtextdom.c: Likewise.
3793         * intl/dcigettext.c: Likewise.
3794         * intl/finddomain.c: Likewise.
3795         * intl/gettextP.h: Likewise.
3796         * intl/loadmsgcat.c: Likewise.
3797         * intl/localealias.c: Likewise.
3798         * intl/textdomain.c: Likewise.
3799         * libidn/idn-stub.c: Likewise.
3800         * libio/libioP.h: Likewise.
3801         * locale/duplocale.c: Likewise.
3802         * locale/freelocale.c: Likewise.
3803         * locale/newlocale.c: Likewise.
3804         * locale/setlocale.c: Likewise.
3805         * login/getutent_r.c: Likewise.
3806         * login/getutid_r.c: Likewise.
3807         * login/getutline_r.c: Likewise.
3808         * login/utmp-private.h: Likewise.
3809         * login/utmpname.c: Likewise.
3810         * malloc/mtrace.c: Likewise.
3811         * misc/efgcvt.c: Likewise.
3812         * misc/error.c: Likewise.
3813         * misc/fstab.c: Likewise.
3814         * misc/getpass.c: Likewise.
3815         * misc/mntent.c: Likewise.
3816         * misc/syslog.c: Likewise.
3817         * nis/nis_call.c: Likewise.
3818         * nis/nis_callback.c: Likewise.
3819         * nis/nss-default.c: Likewise.
3820         * nis/nss_compat/compat-grp.c: Likewise.
3821         * nis/nss_compat/compat-initgroups.c: Likewise.
3822         * nis/nss_compat/compat-pwd.c: Likewise.
3823         * nis/nss_compat/compat-spwd.c: Likewise.
3824         * nis/nss_nis/nis-alias.c: Likewise.
3825         * nis/nss_nis/nis-ethers.c: Likewise.
3826         * nis/nss_nis/nis-grp.c: Likewise.
3827         * nis/nss_nis/nis-hosts.c: Likewise.
3828         * nis/nss_nis/nis-network.c: Likewise.
3829         * nis/nss_nis/nis-proto.c: Likewise.
3830         * nis/nss_nis/nis-pwd.c: Likewise.
3831         * nis/nss_nis/nis-rpc.c: Likewise.
3832         * nis/nss_nis/nis-service.c: Likewise.
3833         * nis/nss_nis/nis-spwd.c: Likewise.
3834         * nis/nss_nisplus/nisplus-alias.c: Likewise.
3835         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
3836         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3837         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
3838         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
3839         * nis/nss_nisplus/nisplus-network.c: Likewise.
3840         * nis/nss_nisplus/nisplus-proto.c: Likewise.
3841         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
3842         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3843         * nis/nss_nisplus/nisplus-service.c: Likewise.
3844         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
3845         * nis/ypclnt.c: Likewise.
3846         * nptl/libc_pthread_init.c: Likewise.
3847         * nss/getXXbyYY.c: Likewise.
3848         * nss/getXXent.c: Likewise.
3849         * nss/getXXent_r.c: Likewise.
3850         * nss/nss_db/db-XXX.c: Likewise.
3851         * nss/nss_db/db-netgrp.c: Likewise.
3852         * nss/nss_db/nss_db.h: Likewise.
3853         * nss/nss_files/files-XXX.c: Likewise.
3854         * nss/nss_files/files-alias.c: Likewise.
3855         * nss/nsswitch.c: Likewise.
3856         * posix/regex_internal.h: Likewise.
3857         * posix/wordexp.c: Likewise.
3858         * pwd/fgetpwent.c: Likewise.
3859         * resolv/res_hconf.c: Likewise.
3860         * resolv/res_libc.c: Likewise.
3861         * shadow/fgetspent.c: Likewise.
3862         * shadow/lckpwdf.c: Likewise.
3863         * shadow/sgetspent.c: Likewise.
3864         * socket/opensock.c: Likewise.
3865         * stdio-common/reg-modifier.c: Likewise.
3866         * stdio-common/reg-printf.c: Likewise.
3867         * stdio-common/reg-type.c: Likewise.
3868         * stdio-common/vfprintf.c: Likewise.
3869         * stdio-common/vfscanf.c: Likewise.
3870         * stdlib/abort.c: Likewise.
3871         * stdlib/cxa_atexit.c: Likewise.
3872         * stdlib/fmtmsg.c: Likewise.
3873         * stdlib/random.c: Likewise.
3874         * stdlib/setenv.c: Likewise.
3875         * string/strsignal.c: Likewise.
3876         * sunrpc/auth_none.c: Likewise.
3877         * sunrpc/bindrsvprt.c: Likewise.
3878         * sunrpc/create_xid.c: Likewise.
3879         * sunrpc/key_call.c: Likewise.
3880         * sunrpc/rpc_thread.c: Likewise.
3881         * sysdeps/arm/backtrace.c: Likewise.
3882         * sysdeps/generic/ldsodefs.h: Likewise.
3883         * sysdeps/generic/stdio-lock.h: Likewise.
3884         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
3885         * sysdeps/i386/backtrace.c: Likewise.
3886         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3887         * sysdeps/m68k/backtrace.c: Likewise.
3888         * sysdeps/mach/hurd/cthreads.c: Likewise.
3889         * sysdeps/mach/hurd/dirstream.h: Likewise.
3890         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
3891         * sysdeps/nptl/malloc-machine.h: Likewise.
3892         * sysdeps/nptl/stdio-lock.h: Likewise.
3893         * sysdeps/posix/dirstream.h: Likewise.
3894         * sysdeps/posix/getaddrinfo.c: Likewise.
3895         * sysdeps/posix/system.c: Likewise.
3896         * sysdeps/pthread/aio_suspend.c: Likewise.
3897         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3898         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3899         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3900         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3901         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
3902         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
3903         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
3904         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3905         * sysdeps/unix/sysv/linux/system.c: Likewise.
3906         * sysdeps/x86_64/backtrace.c: Likewise.
3907         * time/alt_digit.c: Likewise.
3908         * time/era.c: Likewise.
3909         * time/tzset.c: Likewise.
3910         * wcsmbs/wcsmbsload.c: Likewise.
3911         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
3912         instead of <bits/libc-lock.h> in comment.
3914 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
3916         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
3917         Only use .set mips2 if the current ISA is below mips2.
3918         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
3919         Likewise.
3920         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
3921         mips32r2 if the current ISA is below mips32r2.
3922         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
3923         (TLS_IE): Updated to use the TLD_RDHWR macro.
3924         (TLS_LE): Likewise.
3925         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
3926         __ASSEMBLER__ condition.
3928 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3930         Fix parallel build of before-compile targets.
3932         * sysdeps/mach/Makefile ($(patsubst
3933         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
3934         mach-before-compile target.
3935         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3936         io fs process)): Move rule to dedicated hurd-before-compile target.
3938 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3940         Fix rules generating headers in hurd/ and mach/ when initial make call
3941         has subdir= explicitly set.
3943         * sysdeps/mach/Makefile ($(patsubst
3944         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
3945         calling $(MAKE).
3946         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
3947         io fs process)): Force subdir to hurd when calling $(MAKE).
3948         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
3949         subdir to mach when calling $(MAKE).
3951 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
3953         Check sysheaders when looking for Mach and Hurd headers
3955         * sysdeps/mach/configure.ac: Add sysheaders check.
3956         * sysdeps/mach/configure: Regenerate.
3957         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
3958         * sysdeps/mach/hurd/configure: Regenerate.
3960 2015-09-04  Roland McGrath  <roland@hack.frob.com>
3962         [BZ #18921]
3963         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
3964         Fix inverted sense of test of 'o_directory_works' value.
3965         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
3966         Bernhard Voelker <mail@bernhard-voelker.de>.
3968 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
3970         [BZ #14912]
3971         * bits/linkmap.h: Move to ...
3972         * sysdeps/generic/linkmap.h: ...here.
3973         * sysdeps/aarch64/bits/linkmap.h: Move to ...
3974         * sysdeps/aarch64/linkmap.h: ...here.
3975         * sysdeps/arm/bits/linkmap.h: Move to ...
3976         * sysdeps/arm/linkmap.h: ...here.
3977         * sysdeps/hppa/bits/linkmap.h: Move to ...
3978         * sysdeps/hppa/linkmap.h: ...here.
3979         * sysdeps/ia64/bits/linkmap.h: Move to ...
3980         * sysdeps/ia64/linkmap.h: ...here.
3981         * sysdeps/mips/bits/linkmap.h: Move to ...
3982         * sysdeps/mips/linkmap.h: ...here.
3983         * sysdeps/s390/bits/linkmap.h: Move to ...
3984         * sysdeps/s390/linkmap.h: ...here.
3985         * sysdeps/sh/bits/linkmap.h: Move to ...
3986         * sysdeps/sh/linkmap.h: ...here.
3987         * sysdeps/x86/bits/linkmap.h: Move to ...
3988         * sysdeps/x86/linkmap.h: ...here.
3989         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
3991 2015-09-04  Andreas Schwab  <schwab@suse.de>
3993         [BZ #18635]
3994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
3995         (__makecontext): Terminate FDE before return label.
3996         (__novec_makecontext): Likewise.
3998 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4000         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4001         first member of struct sv in syscall macro.
4003 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4005         [BZ #14912]
4006         * bits/stdio-lock.h: Move to ...
4007         * sysdeps/generic/stdio-lock.h: ...here.
4008         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4009         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4010         * sysdeps/nptl/stdio-lock.h: ...here.
4011         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4012         * include/libio.h: Include <stdio-lock.h> instead of
4013         <bits/stdio-lock.h>.
4014         * sysdeps/nptl/fork.c: Likewise.
4015         * sysdeps/pthread/flockfile.c: Likewise.
4016         * sysdeps/pthread/ftrylockfile.c: Likewise.
4017         * sysdeps/pthread/funlockfile.c: Likewise.
4019         [BZ #14912]
4020         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4021         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4022         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4023         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4024         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4025         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4026         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4028 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4030         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4031         (test-xfail-tst-protected1b): New variable.
4033 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4035         [BZ #14912]
4036         * bits/libc-tsd.h: Move to ...
4037         * sysdeps/generic/libc-tsd.h: ...here.
4038         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4039         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4040         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4041         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4042         * include/ctype.h: Include <libc-tsd.h> instead of
4043         <bits/libc-tsd.h>.
4044         * include/rpc/rpc.h: Likewise.
4045         * locale/localeinfo.h: Likewise.
4046         * sunrpc/rpc_thread.c: Likewise.
4047         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4048         * sysdeps/nptl/malloc-machine.h: Likewise.
4050         * Makefile (headers): Remove bits/libc-lock.h.
4051         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4053         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4054         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4055         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4056         <bits/stdio-lock.h>.
4057         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4058         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4060 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4062         [BZ #18757]
4063         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4064         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4065         BZ #18757.
4067 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4069         * malloc/mtrace.pl: Filter out NULL entries.
4071 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4073         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4074         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4075         macro.
4077         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4078         (TCP_CC_INFO): Likewise.
4079         (TCP_SAVE_SYN): Likewise.
4080         (TCP_SAVED_SYN): Likewise.
4082 2015-08-31  Brett Neumeier <brett@neumeier.us>
4084         [BZ #18870]
4085         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4087 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4089         [BZ #18873]
4090         Fix broken overflow check in posix_fallocate
4091         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4092         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4093         Fix parenthesization typo.
4095 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4097         [BZ #18887]
4098         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4099         tst-mntent-blank-passno.
4100         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4101         * misc/tst-mntent-blank-corrupt.c: New test.
4102         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4103         * misc/tst-mntent.c (do_test): ... here.
4105 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4107         [BZ #4404]
4108         * po/de.po: Fix SIGALRM typo.
4110 2015-08-28  James Perkins  <james@loowit.net>
4112         * time/tst-strptime2.c (tests): Replace short list of test
4113         strings for strptime %z specifier with code which exhaustively
4114         tests every combination of sign and 0 to 5 digits. Tests for
4115         rejection of invalid strings.
4117 2015-08-28  James Perkins  <james@loowit.net>
4119         [BZ #16141]
4120         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4121         calculation, removing incorrect decimal time rounding, so that
4122         all minute values result in a valid seconds value.
4123         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4124         offset range limits to UTC-99:59 through UTC+99:59 to parse
4125         current and historical use cases.
4126         * time/tst-strptime2.c (tests): Modify and add tests for the
4127         strptime %z input field descriptor, specifically conversion of
4128         minutes to seconds and validating an offset range of -9959 to
4129         +9959.
4131 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4132             Dmitry V. Levin  <ldv@altlinux.org>
4134         [BZ #18877]
4135         * posix/Makefile (tests): Add tst-mmap-offset.
4136         * posix/tst-mmap.c: New file.
4137         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4138         offset calculation for negative values.
4140 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4142         * sysdeps/i386/init-arch.h: New file.
4143         * sysdeps/i386/i586/init-arch.h: Likewise.
4144         * sysdeps/i386/i686/init-arch.h: Likewise.
4145         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4146         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4147         * sysdeps/x86/cpu-features.h (bit_I586): New.
4148         (bit_I686): Likewise.
4149         (bit_CX8): Likewise.
4150         (bit_CMOV): Likewise.
4151         (index_CX8): Likewise.
4152         (index_CMOV): Likewise.
4153         (index_I586): Likewise.
4154         (index_I686): Likewise.
4155         (reg_CX8): Likewise.
4156         (reg_CMOV): Likewise.
4157         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4158         available at compile-time.
4159         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4160         available at compile-time.
4161         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4162         (USE_I686): Likewise.
4164 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4166         * sysdeps/i386/bcopy.S: New file.
4167         * sysdeps/i386/bzero.S: Likewise.
4168         * sysdeps/i386/memcpy.S: Likewise.
4169         * sysdeps/i386/memmove.S: Likewise.
4170         * sysdeps/i386/mempcpy.S: Likewise.
4171         * sysdeps/i386/memset.S: Likewise.
4172         * sysdeps/i386/bzero.c: Removed.
4173         * sysdeps/i386/memset.c: Likewise.
4174         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4175         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
4176         * sysdeps/i386/i586/memset_chk.S: Likewise.
4177         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
4178         * sysdeps/i386/memcpy_chk.S: Here.
4179         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
4180         * sysdeps/i386/memmove_chk.S: Here.
4181         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
4182         * sysdeps/i386/mempcpy_chk.S: Likewise.
4183         * sysdeps/i386/i686/memset_chk.S: Moved to ...
4184         * sysdeps/i386/memset_chk.S: Likewise.
4186 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
4188         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
4189         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
4190         file, move DIAG_POP_NEEDS_COMMENT to end of file.
4191         * soft-fp/fmadf4.c: Ditto.
4192         * soft-fp/fmatf4.c: Ditto.
4194 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4196         * sysdeps/i386/i586/Implies: Removed.
4197         * sysdeps/i386/i686/Implies: Likewise.
4199 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4201         * sysdeps/i386/i486/strlen.S: Moved to ...
4202         * sysdeps/i386/strlen.S: Here.
4204 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4206         * sysdeps/i386/i486/strcat.S: Moved to ...
4207         * sysdeps/i386/strcat.S: Here.
4209 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4211         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
4212         * sysdeps/i386/pthread_spin_trylock.S: Here.
4213         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
4214         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
4216 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4218         * sysdeps/i386/i486/string-inlines.c: Moved to ...
4219         * sysdeps/i386/string-inlines.c: Here.
4221 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4223         * sysdeps/i386/i486/htonl.S: Moved ...
4224         * sysdeps/i386/htonl.S: here.
4226 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4228         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
4229         * sysdeps/i386/bits/atomic.h: Here.
4231 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4233         * sysdeps/i386/i486/Versions: Removed.
4235 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4237         [BZ #2898]
4238         * misc/mktemp.c: Add mkdtemp to the link_warning message.
4239         Based on patch by Aurelien Jarno.
4241 2015-08-26  Stan Shebs  <stanshebs@google.com>
4243         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
4244         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4246 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4248         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
4249         * sysdeps/powerpc/dl-procinfo.c:
4250         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
4251         feature so it shows when LD_SHOW_AUXV=1.
4253 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4255         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4256         (__arch_compare_and_exchange_val_32_acq): Remove and use common
4257         definition.  ISA 2.07B no longer requires full sync.
4259 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
4261         [BZ #18863]
4262         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
4263         (si_call_addr): Define.
4264         (si_syscall): Define.
4265         (si_arch): Define.
4267 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4269         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
4270         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
4271         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
4272         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4273         (__memset_zero_constant_len_parameter): New.
4274         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
4275         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
4276         (__memset_zero_constant_len_parameter): Don't define if
4277         __memset_chk or USE_AS_BZERO are defined.
4279         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
4280         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
4281         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
4283         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
4284         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
4285         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
4286         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
4287         comments.
4288         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
4289         -mno-mmx for $(all-rtld-routines).
4290         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
4291         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
4292         i386.
4294 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4296         * sysdeps/generic/unwind.h
4297         (_Unwind_Word): Use __mode__(__unwind_word__)
4298         instead of __mode__(__word__).
4299         (_Unwind_Sword): Likewise.
4301         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4302         (MAX_NEEDED_INPUT): New define.
4303         (MAX_NEEDED_OUTPUT): New define.
4305         * NEWS: New item for IBM z13 string optimizations.
4307         * sysdeps/s390/multiarch/memrchr-c.c: New File.
4308         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
4309         * sysdeps/s390/multiarch/memrchr.c: Likewise.
4310         * sysdeps/s390/multiarch/Makefile
4311         (sysdep_routines): Add memrchr functions.
4312         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4313         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
4315         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
4316         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
4317         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
4318         * sysdeps/s390/multiarch/Makefile
4319         (sysdep_routines): Add wmemcmp functions.
4320         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4321         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
4322         * benchtests/bench-wmemcmp.c: New File.
4323         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
4325         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4326         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
4327         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4328         * sysdeps/s390/multiarch/Makefile
4329         (sysdep_routines): Add wmemset functions.
4330         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4331         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
4332         * wcsmbs/wmemset.c: Use WMEMSET if defined.
4333         * string/test-memset.c: Add wmemset support.
4334         * wcsmbs/test-wmemset.c: New File.
4335         * wcsmbs/Makefile (strop-tests): Add wmemset.
4336         * benchtests/bench-memset.c: Add wmemset support.
4337         * benchtests/bench-wmemset.c: New File.
4338         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
4340         * sysdeps/s390/multiarch/memccpy-c.c: New File.
4341         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
4342         * sysdeps/s390/multiarch/memccpy.c: Likewise.
4343         * sysdeps/s390/multiarch/Makefile
4344         (sysdep_routines): Add memccpy functions.
4345         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4346         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
4347         * string/memccpy.c: Use MEMCCPY if defined.
4349         * sysdeps/s390/multiarch/memchr-vx.S: New File.
4350         * sysdeps/s390/multiarch/memchr.c: Likewise.
4351         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
4352         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
4353         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4354         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
4355         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
4356         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4357         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
4358         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
4359         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
4360         and rawmemchr functions.
4361         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
4362         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
4363         and wmemchr.
4364         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
4365         * string/test-memchr.c: Add wmemchr support.
4366         * wcsmbs/test-wmemchr.c: New File.
4367         * wcsmbs/Makefile (strop-tests): Add wmemchr.
4368         * benchtests/bench-memchr.c: Add wmemchr support.
4369         * benchtests/bench-wmemchr.c: New File.
4370         * benchtests/Makefile (wcsmbs-bench): wmemchr.
4372         * sysdeps/s390/multiarch/strcspn-c.c: New File.
4373         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
4374         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4375         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
4376         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
4377         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
4378         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
4379         wcscspn functions.
4380         * sysdeps/s390/multiarch/ifunc-impl-list.c
4381         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
4382         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
4383         * string/test-strcspn.c: Add wcscspn support.
4384         * wcsmbs/test-wcscspn.c: New File.
4385         * wcsmbs/Makefile (strop-tests): Add wcscspn.
4386         * benchtests/bench-strcspn.c: Add wcscspn support.
4387         * benchtests/bench-wcscspn.c: New File.
4388         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
4390         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
4391         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
4392         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4393         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
4394         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
4395         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4396         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
4397         wcspbrk functions.
4398         * sysdeps/s390/multiarch/ifunc-impl-list.c
4399         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
4400         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
4401         * string/test-strpbrk.c: Add wcspbrk support.
4402         * wcsmbs/test-wcspbrk.c: New File.
4403         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
4404         * benchtests/bench-strpbrk.c: Add wcspbrk support.
4405         * benchtests/bench-wcspbrk.c: New File.
4406         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
4408         * sysdeps/s390/multiarch/strspn-c.c: New File.
4409         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
4410         * sysdeps/s390/multiarch/strspn.c: Likewise.
4411         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
4412         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
4413         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4414         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
4415         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
4416         wcsspn functions.
4417         * sysdeps/s390/multiarch/ifunc-impl-list.c
4418         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
4419         * string/test-strspn.c: Add wcsspn support.
4420         * wcsmbs/test-wcsspn.c: New File.
4421         * wcsmbs/Makefile (strop-tests): Add wcsspn.
4422         * benchtests/bench-strspn.c: Add wcsspn support.
4423         * benchtests/bench-wcsspn.c: New File.
4424         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
4426         * sysdeps/s390/multiarch/strrchr-c.c: New File.
4427         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
4428         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4429         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
4430         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
4431         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
4432         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
4433         wcsrchr functions.
4434         * sysdeps/s390/multiarch/ifunc-impl-list.c
4435         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
4436         * benchtests/bench-wcsrchr.c: New File.
4437         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
4439         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
4440         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
4441         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
4442         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
4443         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
4444         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
4445         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
4446         wcschrnul functions.
4447         * sysdeps/s390/multiarch/ifunc-impl-list.c
4448         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
4449         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
4450         * string/test-strchr.c: Add wcschrnul support.
4451         * wcsmbs/test-wcschrnul.c: New File.
4452         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
4453         * benchtests/bench-strchr.c: Add wcschrnul support.
4454         * benchtests/bench-wcschrnul.c: New File.
4455         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
4457         * sysdeps/s390/multiarch/strchr-c.c: New File.
4458         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
4459         * sysdeps/s390/multiarch/strchr.c: Likewise.
4460         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
4461         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
4462         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4463         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
4464         wcschr functions.
4465         * sysdeps/s390/multiarch/ifunc-impl-list.c
4466         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
4467         * string/strchr.c (STRCHR): Define and use macro.
4468         * benchtests/bench-wcschr.c: New File.
4469         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
4471         * sysdeps/s390/multiarch/strncmp-c.c: New File.
4472         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
4473         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4474         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
4475         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
4476         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
4477         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
4478         wcsncmp functions.
4479         * sysdeps/s390/multiarch/ifunc-impl-list.c
4480         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
4481         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
4482         * benchtests/bench-strncmp.c: Add wcsncmp support.
4483         * benchtests/bench-wcsncmp.c: New File.
4484         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
4486         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
4487         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4488         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
4489         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
4490         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4491         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
4492         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
4493         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
4494         wcscmp functions.
4495         * sysdeps/s390/multiarch/ifunc-impl-list.c
4496         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
4497         * string/strcmp.c (STRCMP): Define and use macro.
4498         * benchtests/bench-wcscmp.c: New File.
4499         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
4500         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
4501         instead of _HAVE_STRING_ARCH_memchr.
4503         * sysdeps/s390/multiarch/strncat-c.c: New File.
4504         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
4505         * sysdeps/s390/multiarch/strncat.c: Likewise.
4506         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
4507         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
4508         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
4509         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
4510         wcsncat functions.
4511         * sysdeps/s390/multiarch/ifunc-impl-list.c
4512         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
4513         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
4514         * string/test-strncat.c: Add wcsncat support.
4515         * wcsmbs/test-wcsncat.c: New File.
4516         * wcsmbs/Makefile (strop-tests): Add wcsncat.
4517         * benchtests/bench-strncat.c: Add wcsncat support.
4518         * benchtests/bench-wcsncat.c: New File.
4519         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
4521         * sysdeps/s390/multiarch/strcat-c.c: New File.
4522         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
4523         * sysdeps/s390/multiarch/strcat.c: Likewise.
4524         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
4525         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
4526         * sysdeps/s390/multiarch/wcscat.c: Likewise.
4527         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
4528         wcscat functions.
4529         * sysdeps/s390/multiarch/ifunc-impl-list.c
4530         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
4531         * string/strcat.c (STRCAT): Define and use macro.
4532         * wcsmbs/wcscat.c: Use WCSCAT if defined.
4533         * string/test-strcat.c: Add wcscat support.
4534         * wcsmbs/test-wcscat.c: New File.
4535         * wcsmbs/Makefile (strop-tests): Add wcscat.
4536         * benchtests/bench-strcat.c: Add wcscat support.
4537         * benchtests/bench-wcscat.c: New File.
4538         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
4540         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
4541         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
4542         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4543         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
4544         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
4545         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
4546         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
4547         wcpncpy functions.
4548         * sysdeps/s390/multiarch/ifunc-impl-list.c
4549         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
4550         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
4551         * string/test-stpncpy.c: Add wcpncpy support.
4552         * wcsmbs/test-wcpncpy.c: New File.
4553         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
4554         * benchtests/bench-stpncpy.c: Add wcpncpy support.
4555         * benchtests/bench-wcpncpy.c: New File.
4556         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
4558         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
4559         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4560         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
4561         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
4562         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
4563         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
4564         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
4565         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
4566         wcsncpy functions.
4567         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
4568         * sysdeps/s390/multiarch/ifunc-impl-list.c
4569         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
4570         * string/test-strncpy.c: Add wcsncpy support.
4571         * wcsmbs/test-wcsncpy.c: New File.
4572         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
4573         * benchtests/bench-strncpy.c: Add wcsncpy support.
4574         * benchtests/bench-wcsncpy.c: New File.
4575         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
4577         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
4578         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
4579         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4580         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
4581         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
4582         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
4583         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
4584         wcpcpy functions.
4585         * string/stpcpy.c: Use STPCPY if defined.
4586         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
4587         * sysdeps/s390/multiarch/ifunc-impl-list.c
4588         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
4589         * string/test-stpcpy.c: Add wcpcpy support.
4590         * wcsmbs/test-wcpcpy.c: New File.
4591         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
4592         * benchtests/bench-stpcpy.c: Add wcpcpy support.
4593         * benchtests/bench-wcpcpy.c: New File.
4594         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
4596         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
4597         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4598         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
4599         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
4600         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
4601         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
4602         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
4603         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
4604         wcscpy functions.
4605         * sysdeps/s390/multiarch/ifunc-impl-list.c
4606         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
4607         * benchtests/bench-wcscpy.c: New File.
4608         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
4610         * sysdeps/s390/multiarch/strnlen-c.c: New File.
4611         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
4612         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4613         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
4614         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
4615         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
4616         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
4617         wcsnlen functions.
4618         * sysdeps/s390/multiarch/ifunc-impl-list.c
4619         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
4620         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
4621         * string/test-strnlen.c: Add wcsnlen support.
4622         * wcsmbs/test-wcsnlen.c: New File.
4623         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
4624         * benchtests/bench-strnlen.c: Add wcsnlen support.
4625         * benchtests/bench-wcsnlen.c: New File.
4626         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
4628         * sysdeps/s390/multiarch/Makefile: New File.
4629         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
4630         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
4631         * sysdeps/s390/multiarch/strlen.c: Likewise.
4632         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
4633         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
4634         * sysdeps/s390/multiarch/wcslen.c: Likewise.
4635         * string/strlen.c (STRLEN): Define and use macro.
4636         * sysdeps/s390/multiarch/ifunc-impl-list.c
4637         (IFUNC_VX_IMPL): New macro function.
4638         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
4639         * benchtests/Makefile (wcsmbs-bench): New variable.
4640         (string-bench-all): Added wcsmbs-bench.
4641         * benchtests/bench-wcslen.c: New File.
4643         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
4644         s390_vx_libc_ifunc2): New macro function.
4646         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
4647         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
4648         assembler support.
4649         * sysdeps/s390/configure: Regenerated.
4651         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
4652         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
4654         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
4655         * sysdeps/s390/dl-procinfo.h: Add vector capability.
4656         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
4658         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
4659         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
4660         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
4661         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
4662         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
4663         (memcmp, bcmp): Use __memcmp_default as alias source.
4664         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
4665         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
4666         Rename to __memcmp_default.
4667         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
4668         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
4669         (memcpy): Use __memcpy_default as alias source.
4670         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
4671         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
4672         Rename to __memcpy_default.
4673         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
4674         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
4675         (memset): Use __memset_default as alias source.
4676         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
4677         * sysdeps/s390/s390-32/memset.S (__memset_g5):
4678         Rename to __memset_default.
4679         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
4680         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
4681         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
4682         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
4683         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
4684         (memcmp, bcmp): Use __memcmp_default as alias source.
4685         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
4686         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
4687         Rename to __memcmp_default.
4688         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
4689         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
4690         (memcpy): Use __memcpy_default as alias source.
4691         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
4692         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
4693         Rename to __memcpy_default.
4694         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
4695         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
4696         (memset): Use __memset_default as alias source.
4697         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
4698         * sysdeps/s390/s390-64/memset.S (__memset_z900):
4699         Rename to __memset_default.
4700         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
4701         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
4703         [BZ #18610]
4704         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
4705         __ieee_instruction_pointer to __unused.
4706         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
4707         __ieee_instruction_pointer.
4708         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
4709         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
4710         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4711         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4712         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
4713         Mark dxc-field as reserved.
4715 2015-08-25  Roland McGrath  <roland@hack.frob.com>
4717         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
4718         if the weak reference is not null.
4720 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4722         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
4724         [BZ #11214]
4725         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
4727 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4729         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
4730         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
4731         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
4732         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
4733         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
4734         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
4735         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
4736         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
4737         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
4738         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
4739         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
4740         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
4741         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
4742         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
4743         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
4744         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
4745         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
4746         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
4748 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4750         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
4751         register other than r0 for tabort, it has special meaning.
4752         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
4753         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
4754         transaction before starting syscall.
4756 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4758         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
4760 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4762         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
4764         * sysdeps/x86_64/rtld-memcmp.c: Removed.
4765         * sysdeps/x86_64/rtld-memset.S: Likewise.
4766         * sysdeps/x86_64/rtld-strchr.S: Likewise.
4767         * sysdeps/x86_64/rtld-strlen.S: Likewise.
4768         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
4769         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4771         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
4773 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
4775         * debug/strcpy_chk.c: Improve performance.
4776         * debug/stpcpy_chk.c: Likewise.
4777         * sysdeps/x86_64/strcpy_chk.S: Remove.
4778         * sysdeps/x86_64/stpcpy_chk.S: Remove.
4780         [BZ #18240]
4781         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
4783 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
4785         [BZ #15128]
4786         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
4787         ifuncmain8.
4788         (modules-names): Add ifuncmod8.
4789         ($(objpfx)ifuncmain8): New rule.
4790         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
4791         <cpuid.h>.
4792         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
4793         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
4794         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
4795         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
4796         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
4797         * sysdeps/x86_64/dl-trampoline.h: Likewise.
4798         * sysdeps/x86_64/ifuncmain8.c: New file.
4799         * sysdeps/x86_64/ifuncmod8.c: Likewise.
4800         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
4801         Removed.
4802         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
4803         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
4804         Change rtld_savespace_sse to __glibc_unused2.
4805         (RTLD_CHECK_FOREIGN_CALL): Removed.
4806         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
4807         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
4808         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
4810 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
4812         * sysdeps/aarch64/bzero.S (__bzero): Remove.
4814 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
4816         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
4817         Unconditionally set __fpcr to avoid uninialized warning.
4818         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
4820 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4822         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
4823         is corrupt.
4825         * malloc/arena.c (arena_get2): Drop unused argument.
4826         (arena_lock): Adjust.
4827         (arena_get_retry): Likewise.
4829 2015-08-24  Andreas Schwab  <schwab@suse.de>
4831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
4832         Don't define.
4833         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4834         (__ASSUME_IPC64): Don't undef.
4835         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
4836         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4837         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4838         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
4839         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
4840         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
4841         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
4842         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
4843         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
4844         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
4845         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
4846         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
4847         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
4848         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
4849         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
4850         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
4851         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
4852         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
4853         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
4854         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
4855         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
4857 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
4859         * manual/Makefile (install): Only build manual when perl is available.
4861 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4863         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
4864         '#undef memcpy' by '#undef memchr'.
4866 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4868         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
4869         memchr not point to the internal __GI_memchr implementation.
4871 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
4873         * timezone/Makefile (CFLAGS-zdump.c): Remove
4874         -Wno-strict-prototypes.
4875         (CFLAGS-zic.c): Likewise.
4876         (CFLAGS-ialloc.c): Likewise.
4877         (CFLAGS-scheck.c): Likewise.
4879         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
4880         -Wno-error=undef.
4882 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4884         * i386/i686/multiarch/strcasestr-c.c: Removed.
4885         * x86_64/multiarch/strcasestr.c: Likewise.
4886         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4887         Remove strcasestr.
4889 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
4891         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
4893         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
4894         variables for high and low parts before possibly modifying them.
4896 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4898         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
4899         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
4900         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
4901         of "multiarch/init-arch.h".
4902         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
4903         * sysdeps/x86/init-arch.h: This.
4905 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
4907         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
4908         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
4910 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
4912         [BZ #17787]
4913         * manual/macros.texi: Add twoexp macro.
4914         * manual/filesys.texi: Fix exponents.
4915         * manual/llio.texi: Likewise.
4916         * manual/stdio.texi: Likewise.
4918 2015-08-20  Florian Weimer  <fweimer@redhat.com>
4920         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
4921         incorrect use.
4923 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
4925         [BZ #18370]
4926         * math/s_csqrt.c (__csqrt): Force underflow exception for results
4927         whose real or imaginary part has small absolute value.
4928         * math/s_csqrtf.c (__csqrtf): Likewise.
4929         * math/s_csqrtl.c (__csqrtl): Likewise.
4930         * math/auto-libm-test-in: Add more tests of csqrt.
4931         * math/auto-libm-test-out: Regenerated.
4932         * sysdeps/i386/fpu/libm-test-ulps: Update.
4934 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4936         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
4937         __ppc_set_ppr_very_low): New functions.
4938         * manual/platform.texi: Add documentation about
4939         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
4941 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
4943         * string/stpncpy.c (stpncpy): Improve performance using
4944         __strnlen/memcpy/memset.
4946 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4948         [BZ #18796]
4949         * scripts/test-installation.pl: Don't add -lmvec to build options if
4950         libmvec wasn't built.
4952 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4954         [BZ #14341]
4955         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
4956         case when there is a gap between DT_REL and DT_JMPREL sections.
4957         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
4958         (LDFLAGS-tst-split-dynreloc): New.
4959         (tst-split-dynreloc-ENV): Likewise.
4960         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
4961         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
4963 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4965         [BZ #18822]
4966         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
4967         attribute_hidden.
4968         (__xstat64_conv): Likewise.
4969         (__xstat32_conv): Likewise.
4971 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4973         [BZ #18822]
4974         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
4975         Don't load %ebx when calling __setcontext.  Call __setcontext
4976         with HIDDEN_JUMPTARGET.
4977         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
4978         libc_hidden_def.
4980 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4982         * sysdeps/i386/i686/Makefile
4983         [$(subdir) == string] (sysdep_routines): Moved to ...
4984         * sysdeps/i386/Makefile: Here.
4985         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
4986         * sysdeps/i386/cacheinfo.c: Here.
4987         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
4988         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
4989         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
4990         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
4992 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4994         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
4995         __i586__ is defined.
4996         (HAS_I686): Defined to 1 if __i686__ is defined.
4998 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5000         * elf/Makefile [$(have-z-execstack) = yes]
5001         (CPPFLAGS-tst-execstack.c): New variable.
5003         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5004         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5005         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5006         UTMPX || _HAVE_UT_TV].
5007         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5008         UTMPX || _HAVE_UT_TV - 0].
5010 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5012         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5013         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5014         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5016 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5018         * sysdeps/powerpc/dl-procinfo.c:
5019         (_dl_powerpc_cap_flags): Added missing strings for some
5020         hwcap features.
5021         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5023 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5025         Port the 0x7efe...feff pattern to GCC 6.
5026         See Steve Ellcey's bug report in:
5027         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5028         * string/memrchr.c (MEMRCHR):
5029         * string/rawmemchr.c (RAWMEMCHR):
5030         * string/strchr.c (strchr):
5031         * string/strchrnul.c (STRCHRNUL):
5032         Rewrite code to avoid issues with signed shift overflow.
5034 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5036         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5037         whether cpuid is available only if HAS_CPUID is 0.
5038         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5039         (HAS_I586): Likewise.
5040         (HAS_I686): Likewise.
5042 2015-08-18  Zack Weinberg  <zackw@panix.com>
5044         * misc/Versions (libc): Add GLIBC_2.23.
5046 2015-08-18  Alan Modra  <amodra@gmail.com>
5048         [BZ #18421]
5049         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5050         .Lp__global.
5051         (_start): Load %dp via .Lp__global.
5052         [!SHARED]: Use .section .rodata.
5054 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5056         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5057         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5059 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5061         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5062         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5064 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5066         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5067         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5069 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5071         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5072         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5074 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5076         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5077         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5079 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5081         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5082         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5084 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5086         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5088 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5090         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5091         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5092         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5093         (__ASSUME_LWS_CAS): Delete.
5095 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5097         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5098         * sysdeps/hppa/configure: Regenerated.
5099         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5100         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5101         * sysdeps/hppa/nptl/tls.h: Likewise.
5103 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5105         [BZ #18823]
5106         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5107         for scaling up small arguments.
5108         * math/s_csqrtf.c (__csqrtf): Likewise.
5109         * math/s_csqrtl.c (__csqrtl): Likewise.
5110         * math/auto-libm-test-in: Add more tests of csqrt.
5111         * math/auto-libm-test-out: Regenerated.
5113 2015-08-17  Andreas Schwab  <schwab@suse.de>
5115         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5116         version set GLIBC_2.19.
5118 2015-08-16  Zack Weinberg  <zackw@panix.com>
5120         [BZ #18681]
5121         * misc/regexp.h: This interface is no longer supported.
5122         Remove all contents, leaving only an #error directive.
5123         * misc/regexp.c (loc1, loc2, locs, step, advance):
5124         Demote to compatibility symbols.
5126 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5128         [BZ #18084]
5129         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5130         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5131         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5132         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5133         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5134         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5135         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5136         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5137         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5139 2015-08-15  Zack Weinberg  <zackw@panix.com>
5141         [BZ #18795]
5142         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5143         buffer length is known to be too large, not if it's known to be
5144         small enough.
5145         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5146         overflow at runtime, involving a length parameter, twice: once
5147         with a compile-time constant length parameter, once without.
5149 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5151         [BZ #18824]
5152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5153         scaling x * y up instead of down.
5154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5155         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5156         * math/auto-libm-test-in: Add more tests of fma.
5157         * math/auto-libm-test-out: Regenerated.
5159 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5161         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5163 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5165         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5166         unnecessary movq.
5167         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5168         Likewise.
5170 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5172         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5173         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5174         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5175         and tgamma.
5176         * math/auto-libm-test-out: Regenerated.
5177         * sysdeps/i386/fpu/libm-test-ulps: Update.
5178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5180         [BZ #16520]
5181         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
5182         (__tanh): Force underflow exception for arguments with small
5183         absolute value.
5184         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
5185         (__tanhf): Force underflow exception for arguments with small
5186         absolute value.
5187         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
5188         (__tanhl): Force underflow exception for arguments with small
5189         absolute value.
5190         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
5191         (__tanhl): Force underflow exception for arguments with small
5192         absolute value.
5193         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
5194         (__tanhl): Force underflow exception for arguments with small
5195         absolute value.
5196         * math/auto-libm-test-in: Add more tests of tanh.
5197         * math/auto-libm-test-out: Regenerated.
5198         * sysdeps/i386/fpu/libm-test-ulps: Update.
5200 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5202         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
5203         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
5205 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5207         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
5208         <cpuid.h>.
5210 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5212         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
5213         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
5215 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5217         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
5218         Remove $(objpfx)init-arch.o.
5219         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
5220         init-arch.
5221         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
5222         (INIT_ARCH_EXT): Defined as empty.
5223         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
5224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
5225         __init_cpu_features call.  Replace HAS_XXX with
5226         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
5228         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
5229         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
5230         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
5231         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
5232         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
5233         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
5234         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
5235         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
5236         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
5237         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
5238         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
5239         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
5240         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
5241         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
5242         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
5243         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
5244         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
5245         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
5246         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
5247         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
5248         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
5249         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
5250         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
5251         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
5252         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
5253         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
5254         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
5255         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
5256         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
5257         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
5258         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
5259         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
5260         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
5261         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
5263 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5265         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
5266         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5267         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5268         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
5269         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
5270         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
5271         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
5272         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
5273         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
5274         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
5275         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
5276         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
5277         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5278         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5279         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5280         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5281         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5282         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5283         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5284         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5285         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5286         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5287         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5288         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5289         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5290         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5291         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5292         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5293         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5294         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5295         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5296         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5297         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5298         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5299         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5300         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5301         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5302         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5303         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5304         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5305         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5306         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5307         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5309 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5311         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
5312         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5313         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5314         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5315         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5316         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
5317         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5318         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
5319         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5320         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5321         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5322         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
5323         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
5324         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
5325         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
5326         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
5327         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
5328         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
5329         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
5330         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
5331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5332         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
5333         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
5334         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5335         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5336         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
5337         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
5338         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
5339         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
5340         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5341         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5342         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5343         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5344         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5345         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5346         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5347         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5348         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5349         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5350         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5351         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5352         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5353         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5355 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
5357         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
5358         (dl_platform_init): Call init_cpu_features.
5359         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
5360         * sysdeps/i386/i686/cacheinfo.c
5361         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
5362         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
5363         * sysdeps/i386/i686/multiarch/Versions: Removed.
5364         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
5365         Removed.
5366         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
5367         * sysdeps/unix/sysv/linux/x86/Makefile
5368         (libpthread-sysdep_routines): Remove init-arch.
5369         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
5370         <sysdeps/x86_64/dl-procinfo.c> instead of
5371         sysdeps/generic/dl-procinfo.c>.
5372         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
5373         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
5374         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
5375         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
5376         [$(subdir) == elf] (tests-static): Add
5377         tst-get-cpu-features-static.
5378         * sysdeps/x86/Versions: New file.
5379         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
5380         * sysdeps/x86/cpu-features.c: Likewise.
5381         * sysdeps/x86/cpu-features.h: Likewise.
5382         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
5383         * sysdeps/x86/libc-start.c: Likewise.
5384         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5385         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
5386         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
5387         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5388         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
5389         Assume USE_MULTIARCH is defined and don't check it.
5390         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
5391         (is_amd): Likewise.
5392         (max_cpuid): Likewise.
5393         (intel_check_word): Likewise.
5394         (__cache_sysconf): Don't call __init_cpu_features.
5395         (__x86_preferred_memory_instruction): Removed.
5396         (init_cacheinfo): Don't call __init_cpu_features. Replace
5397         __cpu_features with GLRO(dl_x86_cpu_features).
5398         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
5399         (dl_platform_init): Call init_cpu_features.
5400         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
5401         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
5402         * sysdeps/x86_64/multiarch/Versions: Removed.
5403         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
5404         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
5405         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
5406         Removed.
5407         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
5409 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5411         [BZ #18820]
5412         * libio/Makefile (test-fmemopen-mem): New test.
5413         * libio/test-fmemopen.c (do_bz18820): New test.
5414         * libio/fmemopen.c (__fmemopen): Fix memory leak.
5415         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
5417 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5419         [BZ #16734]
5420         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
5421         (FREE_BUF): Delete.
5422         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
5423         * libio/genops.c (_IO_setb): Use malloc and free directly.
5424         (_IO_default_doallocate, _IO_default_finish): Likewise.
5425         ( _IO_unbuffer_all): Likewise.
5426         ( libc_freeres_fn): Likewise.
5427         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5428         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5429         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
5430         (_IO_wdefault_doallocate): Likewise.
5432 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5434         [BZ #18086]
5435         * sysdeps/posix/nice.c (nice): Restore old errno.
5436         * posix/tst-nice.c (do_test): Add test for BZ #18086.
5438 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
5440         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
5442 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5444         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
5445         __bcopy and add a weak_alias to bcopy.
5446         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
5447         for static build.
5449         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
5450         cleanup macro usage.
5451         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
5452         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
5453         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5454         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
5455         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5456         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
5457         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
5458         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5459         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5460         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
5461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5462         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
5463         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5464         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
5465         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5466         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
5467         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
5468         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
5469         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
5471         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
5472         libc_hidden_def.
5473         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
5475         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
5476         (sysdep_routines): Add strstr-ppc64.
5477         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
5479 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
5481         [BZ #18778]
5482         * elf/Makefile (tests): Add Add tst-nodelete2.
5483         (modules-names): Add tst-nodelete2mod.
5484         (tst-nodelete2mod.so-no-z-defs): New.
5485         ($(objpfx)tst-nodelete2): Likewise.
5486         ($(objpfx)tst-nodelete2.out): Likewise.
5487         (LDFLAGS-tst-nodelete2): Likewise.
5488         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
5489         out of loop through all loaded libraries.
5490         * elf/tst-nodelete2.c: New file.
5491         * elf/tst-nodelete2mod.c: Likewise.
5492         * elf/tst-znodelete-zlib.cc: Delete.
5494 2015-08-11  Andreas Schwab  <schwab@suse.de>
5496         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
5497         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
5498         (__openat64_nocancel): Likewise.
5500 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
5502         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
5503         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
5504         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
5505         * math/auto-libm-test-out: Regenerated.
5506         * sysdeps/i386/fpu/libm-test-ulps: Update.
5507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5509 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5511         [BZ #18790]
5512         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
5513         threshold for returning +/- 1.
5514         * math/auto-libm-test-in: Add more tests of tanh.
5515         * math/auto-libm-test-out: Regenerated.
5516         * sysdeps/i386/fpu/libm-test-ulps: Update.
5518 2015-08-10  Andreas Schwab  <schwab@suse.de>
5520         [BZ #18781]
5521         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
5522         MORE_OFLAGS to oflag.
5523         * io/test-lfs.c (do_test): Test openat64.
5525 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
5527         [BZ #18789]
5528         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
5529         smaller threshold for returning the argument.
5530         * math/auto-libm-test-in: Add more tests of sinh.
5531         * math/auto-libm-test-out: Regenerated.
5532         * sysdeps/i386/fpu/libm-test-ulps: Update.
5534 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5536         [BZ #18674]
5537         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
5538         break.
5540 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5542         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
5543         (generated): Don't add $(addprefix z.,$(tzfiles)).
5545 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5547         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
5548         * scripts/sysd-rules.awk: Likewise.
5550 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5552         * iconvdata/tst-tables.sh: Change echo -n to printf.
5553         * nss/db-Makefile: Likewise.
5554         * posix/tst-getconf.sh: Likewise.
5555         * stdio-common/tst-unbputc.sh: Likewise.
5557 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
5559         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
5560         MADV_*_PAGES defines behind this feature check.
5562 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
5564         [BZ #18480]
5565         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
5566         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
5567         Define.
5568         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
5569         LOAD_REGS_5, LOAD_REGS_6): Update.
5570         (INTERNAL_SYSCALL): Update using new LOAD defines.
5571         (INTERNAL_SYSCALL_NCS): Likewise.
5572         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
5574 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5576         [BZ #16734]
5577         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
5579 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5581         [BZ #17905]
5582         * catgets/Makefile (tst-catgets-mem): New test.
5583         * catgets/catgets.c (catopen): Don't use unbounded alloca.
5584         * catgets/open_catalog.c (__open_catalog): Likewise.
5585         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
5587 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
5589         [BZ #18787]
5590         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
5591         clobber registers.
5592         (atomic_compare_and_exchange_val_acq): Use register asms to assign
5593         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
5594         Cast return to __typeof (oldval).
5596 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
5598         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
5599         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
5600         and delete sys/syscall.h include.
5602 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
5604         [BZ #16517]
5605         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
5606         (tan): Force underflow exception for arguments with small absolute
5607         value.
5608         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
5609         (__kernel_tanf): Force underflow exception for arguments with
5610         small absolute value.
5611         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
5612         (__kernel_tanl): Force underflow exception for arguments with
5613         small absolute value.
5614         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
5615         (__kernel_tanl): Force underflow exception for arguments with
5616         small absolute value.
5617         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
5618         (__kernel_tanl): Force underflow exception for arguments with
5619         small absolute value.
5620         * math/auto-libm-test-in: Add more tests of tan.
5621         * math/auto-libm-test-out: Regenerated.
5623 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5625         Fix sysdeps/i386/fpu/s_scalbn.S build
5627         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
5629 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
5631         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
5633 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5635         Fix gcrt0.o compilation
5637         When static-start-installed-name is different from
5638         start-installed-name, we must not use the shared objects.
5640         * csu/Makefile
5641         (extra-objs): Add gmon-start.o when building shared library and
5642         $(static-start-installed-name) is different from
5643         $(start-installed-name).
5644         $(objpfx)g$(static-start-installed-name): When building shared
5645         library and $(static-start-installed-name) is different from
5646         $(static-start-installed-name), revert to non-shared rule,
5647         i.e. using $(objpfx)% and gmon-start.o.
5649 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
5651         [BZ #16519]
5652         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
5653         (__ieee754_sinh): Force underflow exception for arguments with
5654         small absolute value.
5655         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
5656         (__ieee754_sinhf): Force underflow exception for arguments with
5657         small absolute value.
5658         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
5659         (__ieee754_sinhl): Force underflow exception for arguments with
5660         small absolute value.
5661         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
5662         (__ieee754_sinhl): Force underflow exception for arguments with
5663         small absolute value.
5664         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
5665         (__ieee754_sinhl): Force underflow exception for arguments with
5666         small absolute value.
5667         * math/auto-libm-test-in: Add more tests of sinh.
5668         * math/auto-libm-test-out: Regenerated.
5669         * sysdeps/i386/fpu/libm-test-ulps: Update.
5671 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5673         * libio/oldfileops.c: Include unistd.h.
5675 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
5677         * stdlib/isomac.c: Include ctype.h.
5679 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
5681         * dirent/tst-seekdir.c (main): Converted to ...
5682         (do_test): ... this.
5683         (TEST_FUNCTION): New macro.
5684         Include test-skeleton.c.
5685         * elf/tst-dlmodcount.c (main): Converted to ...
5686         (do_test): ... this.
5687         (TEST_FUNCTION): New macro.
5688         Include test-skeleton.c.
5689         * elf/tst-order-main.c (main): Converted to ...
5690         (do_test): ... this.
5691         (TEST_FUNCTION): New macro.
5692         Include test-skeleton.c.
5693         * elf/tst-pie2.c (main): Converted to ...
5694         (do_test): ... this.
5695         (TEST_FUNCTION): New macro.
5696         Include test-skeleton.c.
5697         * inet/tst-ether_aton.c (main): Converted to ...
5698         (do_test): ... this.
5699         (TEST_FUNCTION): New macro.
5700         Include test-skeleton.c.
5701         * misc/tst-mntent.c (main): Converted to ...
5702         (do_test): ... this.
5703         (TEST_FUNCTION): New macro.
5704         Include test-skeleton.c.
5705         * misc/tst-tsearch.c (main): Converted to ...
5706         (do_test): ... this.
5707         (TEST_FUNCTION): New macro.
5708         Include test-skeleton.c.
5709         * posix/tst-regexloc.c (main): Converted to ...
5710         (do_test): ... this.
5711         (TEST_FUNCTION): New macro.
5712         Include test-skeleton.c.
5713         * resolv/tst-aton.c (main): Converted to ...
5714         (do_test): ... this.
5715         (TEST_FUNCTION): New macro.
5716         Include test-skeleton.c.
5717         * stdio-common/test-fwrite.c (main): Converted to ...
5718         (do_test): ... this.
5719         (TEST_FUNCTION): New macro.
5720         Include test-skeleton.c.
5721         * stdio-common/tst-ferror.c (main): Converted to ...
5722         (do_test): ... this.
5723         (TEST_FUNCTION): New macro.
5724         Include test-skeleton.c.
5725         * stdio-common/tst-printf.c (main): Converted to ...
5726         (do_test): ... this.
5727         (TEST_FUNCTION): New macro.
5728         Include test-skeleton.c.
5729         * stdio-common/tst-printfsz.c (main): Converted to ...
5730         (do_test): ... this.
5731         (TEST_FUNCTION): New macro.
5732         Include test-skeleton.c.
5733         * stdlib/tst-strtod.c (main): Converted to ...
5734         (do_test): ... this.
5735         (TEST_FUNCTION): New macro.
5736         Include test-skeleton.c.
5737         * string/tst-strlen.c (main): Converted to ...
5738         (do_test): ... this.
5739         (TEST_FUNCTION): New macro.
5740         Include test-skeleton.c.
5741         * string/tst-svc.c (main): Converted to ...
5742         (do_test): ... this.
5743         (TEST_FUNCTION): New macro.
5744         Include test-skeleton.c.
5745         * time/tst-strptime.c (main): Converted to ...
5746         (do_test): ... this.
5747         (TEST_FUNCTION): New macro.
5748         Include test-skeleton.c.
5749         * timezone/tst-timezone.c (main): Converted to ...
5750         (do_test): ... this.
5751         (TEST_FUNCTION): New macro.
5752         Include test-skeleton.c.
5754 2015-08-05  Zack Weinberg  <zackw@panix.com>
5756         * misc/regexp.h: Update comments.
5758 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
5760         [BZ #18635]
5761         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
5762         before return label.
5764 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5766         [BZ #18661]
5767         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
5768         when calling __errno_location.
5769         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
5770         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
5772 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5774         [BZ #18661]
5775         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
5776         (__lll_timedwait_tid): Align stack to 16 bytes when calling
5777         __gettimeofday.
5779 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5781         [BZ #18661]
5782         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5783         (__start_context): Don't use pop to restore %rdi so that stack
5784         is aligned to 16 bytes when calling __setcontext.
5786 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5788         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
5789         only for libc.
5790         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5792 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5794         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
5795         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
5796         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
5798 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5800         * string/memccpy.c (memccpy):
5801         Improve performance by using memchr/memcpy/__mempcpy.
5803 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5805         * string/strncpy.c (strncpy):
5806         Improve performance by using __strnlen/memcpy.
5808 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5810         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5811         Optimize to avoid an unnecessary FPCR read.
5813 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
5815         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5816         Optimize to reduce FPCR/FPSR accesses.
5818 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
5820         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
5821         dead->data[category] != NULL.
5823 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
5825         [BZ #18647]
5826         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
5827         and |x| close to 1, use absolute value of x when computing log.
5828         * math/auto-libm-test-in: Add more tests of pow.
5829         * math/auto-libm-test-out: Regenerated.
5831 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5833         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
5834         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
5835         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
5837 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
5839         [BZ #18525]
5840         * locales/km_KH: Remove timezone definition.
5841         * locales/lo_LA: Likewise.
5842         * locales/my_MM: Likewise.
5843         * locales/nan_TW@latin: Likewise.
5844         * locales/th_TH: Likewise.
5845         * locales/uk_UA: Likewise.
5847 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5849         [BZ #18265]
5850         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
5851         (wcsncat): Likewise.
5852         (wcscmp): Likewise.
5853         (wcsncmp): Likewise.
5855 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5857         * test-skeleton.c (usage): New function.
5858         (main): Call usage when opt is '?'.
5860 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5862         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
5863         before first use.
5865 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
5867         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
5868         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
5869         in there too.
5871 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
5873         * version.h (RELEASE): Set to "development".
5874         (VERSION): Set to "2.22.90"
5876         * version.h (RELEASE): Set to "stable".
5877         (VERSION): Set to "2.22"
5878         * include/features.h (__GLIBC_MINOR__): Set to 22.
5880 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
5882         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
5883         Restructure macro to avoid "value computed is not used" warning.
5884         (atomic_compare_and_exchange_val_acq): Likewise.
5886 2015-08-04  Andreas Schwab  <schwab@suse.de>
5888         [BZ #18635]
5889         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
5890         ret.
5891         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
5893 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
5895         * po/pl.po: Updated translation.
5896         * po/uk.po: Likewise.
5897         * po/fi.po: Likewise.
5898         * po/ko.po: Likewise.
5899         * po/ru.po: Likewise.
5900         * po/vi.po: Likewise.
5902 2015-07-31  Zack Weinberg  <zackw@panix.com>
5904         [BZ #18681]
5905         * regexp.h: Add unconditional #warning stating that this header
5906         will be removed soon.  Revise banner comment to match.
5907         (compile): Consistently use ERROR instead of RETURN to report
5908         errors (partial fix for bz#18681).
5909         * regexp.c: Don't include regexp.h. Remove some unnecessary
5910         declarations.
5912 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
5914         * po/libc.pot: Regenerated.
5916 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5918         [BZ #18740]
5919         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
5920         float-vlen4-arch-ext-cflags): Removed.
5921         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
5922         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
5924 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5926         [BZ #14113]
5927         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
5928         aligned to __aligned__.
5929         (pthread_cond_t, pthread_rwlock_t): Likewise.
5931 2015-07-30  Torvald Riegel  <triegel@redhat.com>
5933         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
5935 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5937         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
5938         (struct sigaction): Change sa_flags from a long to an int, and add
5939         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
5941 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5943         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
5944         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
5945         sysdeps/generic/sysdep.h include.
5946         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
5947         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
5948         sysdeps/hppa/sysdep.h.
5949         (ENTRY, PSEUDO): Undefine before defining.
5951 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
5953         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
5954         from scratch to use INTERNAL_SYSCALL.
5956 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
5958         [BZ #18078]
5959         * scripts/check-localplt.awk: Support alternate relocations.
5960         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
5961         sections.
5962         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
5963         malloc entries with + REL R_386_GLOB_DAT.
5964         * sysdeps/x86_64/localplt.data: New file.
5966 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
5968         [BZ #18731]
5969         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
5970         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5971         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5973 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5975         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
5977 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5979         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
5980         directly in terms of __sync_fetch_and_add and delete (int) cast.
5982 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5984         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
5985         the -D_ASM_IA64_CURRENT_H flag.
5987 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
5989         [BZ #18641]
5990         * pwd/pwd.h (putpwent): Delete __nonnull markings.
5992 2015-07-27  Andreas Schwab  <schwab@suse.de>
5994         * conform/conformtest.pl (checknamespace): Filter out string
5995         literals while tokenizing.
5997 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
5999         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6000         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6001         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6003 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6005         * nptl/tst-join7mod.c: Add #include <string.h>.
6007 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6009         * sysdeps/nios2/libm-test-ulps: Update.
6011 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6013         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6014         Fix order of arguments to the rt_sigprocmask syscall.
6015         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6016         Likewise.
6018 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6020         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6022 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6024         [BZ #18457]
6025         * nptl/Makefile (tests): New test case tst-join7.
6026         (modules-names): New test case module tst-join7mod.
6027         * nptl/tst-join7.c: New file.
6028         * nptl/tst-join7mod.c: New file.
6029         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6030         all translation units in libc.so, libpthread.so and rtld.
6032 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6036 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6038         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6039         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6040         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6041         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6042         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6043         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6044         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6045         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6046         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6047         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6049         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6050         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6051         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6052         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6053         implementation.
6055 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6057         [BZ #17711]
6058         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6059         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6060         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6061         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6062         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6063         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6065 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6067         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6068         instead of just saying load lock in the comments.
6070 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6072         * sysdeps/unix/Subdirs: Moved ...
6073         * sysdeps/posix/Subdirs: ... here.
6074         * login/pty.h (struct termios, struct winsize): Add forward decls.
6075         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6076         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6077         * sysdeps/arm/nacl/libc.abilist: Updated.
6078         * sysdeps/nacl/libutil.abilist: New file.
6080         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6081         (SIGWINCH): New macro.
6083         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6084         * sysdeps/arm/nacl/libc.abilist: Add it.
6086 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6088         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6090 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6092         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6093         Swap __glibc_reserved0 and sa_flags order.
6095 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6097         [BZ #18657]
6098         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6099         are pending TLS destructor calls.
6100         * include/link.h (struct link_map): Add concurrency note for
6101         L_TLS_DTOR_COUNT.
6102         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6103         Don't touch the link map flag.  Atomically increment
6104         l_tls_dtor_count.
6105         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6106         Avoid taking the load lock and don't touch the link map flag.
6107         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6108         * stdlib/Makefile (tests): Use it.
6109         * stdlib/tst-tls-atexit.c (do_test): dlopen
6110         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6111         to allow tst-tls-atexit-nodelete test case to use it.
6113 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6115         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6116         to bits/types.h.
6117         (msgqnum_t): New typedef.
6118         (msglen_t): Likewise.
6119         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6120         and msg_qbytes type to msglen_t.
6122 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6124         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6125         pad0 to __glibc_reserved0.
6126         (struct stat64): Likewise.
6128 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6130         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6131         Change sa_flags from a long to an int and add __glibc_reserved0 before
6132         it for padding.
6134 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6136         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6137         anonymous by deleting "siginfo" name.
6139 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6141         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6142         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6143         rather than __nacl_irt_filename.
6144         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6146         * NEWS: New item for arm-nacl port.
6147         * sysdeps/arm/nacl/libc.abilist: New file.
6148         * sysdeps/nacl/ld.abilist: New file.
6149         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6150         * sysdeps/nacl/libanl.abilist: New file.
6151         * sysdeps/nacl/libcrypt.abilist: New file.
6152         * sysdeps/nacl/libdl.abilist: New file.
6153         * sysdeps/nacl/libm.abilist: New file.
6154         * sysdeps/nacl/libpthread.abilist: New file.
6155         * sysdeps/nacl/libresolv.abilist: New file.
6156         * sysdeps/nacl/librt.abilist: New file.
6158 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6160         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6161         __startcontext to initialize the new context.
6162         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6163         up CFI directive to forbid further backtracing.
6165 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6167         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6168         reference.
6169         * charmaps/ANSI_X3.4-1968: Likewise.
6170         * charmaps/BS_4730: Likewise.
6171         * charmaps/BS_VIEWDATA: Likewise.
6172         * charmaps/CP1250: Likewise.
6173         * charmaps/CP1251: Likewise.
6174         * charmaps/CP1252: Likewise.
6175         * charmaps/CP1253: Likewise.
6176         * charmaps/CP1254: Likewise.
6177         * charmaps/CP1255: Likewise.
6178         * charmaps/CP1256: Likewise.
6179         * charmaps/CSN_369103: Likewise.
6180         * charmaps/EBCDIC-DK-NO: Likewise.
6181         * charmaps/GB_1988-80: Likewise.
6182         * charmaps/GREEK-CCITT: Likewise.
6183         * charmaps/GREEK7: Likewise.
6184         * charmaps/INIS-8: Likewise.
6185         * charmaps/ISIRI-3342: Likewise.
6186         * charmaps/ISO_2033-1983: Likewise.
6187         * charmaps/ISO_5427-EXT: Likewise.
6188         * locales/POSIX: Likewise.
6189         * locales/ar_SA: Likewise.
6190         * locales/be_BY: Likewise.
6191         * locales/be_BY@latin: Likewise.
6192         * locales/ca_ES: Likewise.
6193         * locales/cs_CZ: Likewise.
6194         * locales/da_DK: Likewise.
6195         * locales/de_BE: Likewise.
6196         * locales/de_CH: Likewise.
6197         * locales/de_LU: Likewise.
6198         * locales/en_AU: Likewise.
6199         * locales/en_BW: Likewise.
6200         * locales/en_CA: Likewise.
6201         * locales/en_DK: Likewise.
6202         * locales/en_GB: Likewise.
6203         * locales/en_IE: Likewise.
6204         * locales/en_NZ: Likewise.
6205         * locales/en_ZA: Likewise.
6206         * locales/en_ZW: Likewise.
6207         * locales/es_AR: Likewise.
6208         * locales/es_BO: Likewise.
6209         * locales/es_CL: Likewise.
6210         * locales/es_CO: Likewise.
6211         * locales/es_DO: Likewise.
6212         * locales/es_EC: Likewise.
6213         * locales/es_ES: Likewise.
6214         * locales/es_HN: Likewise.
6215         * locales/es_MX: Likewise.
6216         * locales/es_PA: Likewise.
6217         * locales/es_PE: Likewise.
6218         * locales/es_PY: Likewise.
6219         * locales/es_SV: Likewise.
6220         * locales/es_US: Likewise.
6221         * locales/es_UY: Likewise.
6222         * locales/es_VE: Likewise.
6223         * locales/et_EE: Likewise.
6224         * locales/fa_IR: Likewise.
6225         * locales/fo_FO: Likewise.
6226         * locales/fr_CA: Likewise.
6227         * locales/fr_CH: Likewise.
6228         * locales/gv_GB: Likewise.
6229         * locales/he_IL: Likewise.
6230         * locales/hr_HR: Likewise.
6231         * locales/id_ID: Likewise.
6232         * locales/is_IS: Likewise.
6233         * locales/it_CH: Likewise.
6234         * locales/iw_IL: Likewise.
6235         * locales/kl_GL: Likewise.
6236         * locales/ko_KR: Likewise.
6237         * locales/kw_GB: Likewise.
6238         * locales/lg_UG: Likewise.
6239         * locales/lt_LT: Likewise.
6240         * locales/lv_LV: Likewise.
6241         * locales/mi_NZ: Likewise.
6242         * locales/nhn_MX: Likewise.
6243         * locales/nl_BE: Likewise.
6244         * locales/pl_PL: Likewise.
6245         * locales/sk_SK: Likewise.
6246         * locales/sl_SI: Likewise.
6247         * locales/sv_FI: Likewise.
6248         * locales/tl_PH: Likewise.
6249         * locales/tr_TR: Likewise.
6250         * locales/vi_VN: Likewise.
6252 2015-07-21  Khem Raj  <raj.khem@gmail.com>
6254         [BZ #17475]
6255         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
6256         of tu_IN and bh_IN.
6258 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
6260         [BZ #18694]
6261         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
6262         bits/wordsize.h.
6263         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
6265 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6267         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
6268         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
6269         (spawn_thread): New function.
6270         (load): Rename to reg_dtor_and_close.  Move dlopen to...
6271         (do_test): ... here.  Use IS_LOADED to test for its
6272         availability.
6274 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
6276         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6278 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
6280         [BZ #18696]
6281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
6282         si_addr_bnd.
6283         (si_lower): New.
6284         (si_upper): Likewise.
6286 2015-07-16  David S. Miller  <davem@davemloft.net>
6288         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
6290 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6292         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
6293         buffer.
6294         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
6295         fail output information.
6297 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
6300         and strstr-ppc64..
6301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6302         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
6303         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
6304         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
6305         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
6307 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6309         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6310         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6311         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
6312         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6314 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
6316         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6317         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
6318         rtld_hidden_proto.
6319         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
6321 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6323         * tst-nodelete-opened.c (do_test): Add comment to clarify how
6324         the test can fail.
6326         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
6328         [BZ #18676]
6329         * elf/tst-nodelete-opened.c: New test case.
6330         * elf/tst-nodelete-opened-lib.c: New test case module.
6331         * elf/Makefile (tests, modules-names): Use them.
6332         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
6333         early.
6335 2015-07-15  David S. Miller  <davem@davemloft.net>
6337         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
6338         futex-intenal.h
6339         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
6340         * sysdeps/sparc/sparc64/Makefile: Likewise.
6341         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6342         Remove space from macro define.
6343         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
6345 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
6347         [BZ #17475]
6348         * locale/iso-639.def: Update Bhili and Tulu language codes as
6349         per iso639-3.
6351 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
6353         * elf/tst-leaks1.c (main): Converted to ...
6354         (do_test): ... this.
6355         (TEST_FUNCTION): New macro.
6356         Include test-skeleton.c.
6357         * localedata/tst-langinfo.c (main): Converted to ...
6358         (do_test): ... this.
6359         (TEST_FUNCTION): New macro.
6360         Include test-skeleton.c.
6361         * math/test-fpucw.c (main): Converted to ...
6362         (do_test): ... this.
6363         (TEST_FUNCTION): New macro.
6364         Include test-skeleton.c.
6365         * math/test-tgmath.c (main): Converted to ...
6366         (do_test): ... this.
6367         (TEST_FUNCTION): New macro.
6368         Include test-skeleton.c.
6369         * math/test-tgmath2.c (main): Converted to ...
6370         (do_test): ... this.
6371         (TEST_FUNCTION): New macro.
6372         Include test-skeleton.c.
6373         * setjmp/tst-setjmp.c (main): Converted to ...
6374         (do_test): ... this.
6375         (TEST_FUNCTION): New macro.
6376         Include test-skeleton.c.
6377         * stdio-common/tst-sscanf.c (main): Converted to ...
6378         (do_test): ... this.
6379         (TEST_FUNCTION): New macro.
6380         Include test-skeleton.c.
6381         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
6382         (do_test): ... this.
6383         (TEST_FUNCTION): New macro.
6384         Include test-skeleton.c.
6386         * elf/tst-audit9.c (main): Converted to ...
6387         (do_test): ... this.
6388         (TEST_FUNCTION): New macro.
6389         Include test-skeleton.c.
6391 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
6393         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
6395 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6397         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
6398         New variable.
6400 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6402         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6404 2015-07-14  Roland McGrath  <roland@hack.frob.com>
6406         * sysdeps/generic/dl-fileid.h: New file.
6407         * sysdeps/posix/dl-fileid.h: New file.
6408         * sysdeps/nacl/dl-fileid.h: New file.
6409         * include/link.h: Include <dl-fileid.h>.
6410         (struct link_map): Replace l_dev and l_ino with l_file_id.
6411         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
6412         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
6413         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
6415 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6417         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
6419 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6421         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
6422         Add iff $CXX is set.
6423         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
6424         Likewise.
6425         (tst-nodelete-zmodiff): Likewise.
6426         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
6428 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6430         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
6432 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6434         * sysdeps/aarch64/fpu/math_private.h
6435         (define math_opt_barrier): Add AArch64 version.
6436         (math_force_eval): Likewise.
6438 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
6440         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
6442 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6444         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
6445         %ld with %jd and cast to intmax_t.
6446         (do_test_length_zero): Likewise.
6448 2015-07-10  Roland McGrath  <roland@hack.frob.com>
6450         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
6452 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
6454         * sysdeps/tile/libm-test-ulps: Regenerated.
6456         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
6457         Comment out the whole function, not just its body.
6459 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6461         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
6462         locks.
6464         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
6466 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6468         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
6469         (sem_assume_only_signals_cause_futex_EINTR): Remove.
6471 2015-07-10  Torvald Riegel  <triegel@redhat.com>
6473         * sysdeps/nptl/futex-internal.h: New file.
6474         * sysdeps/nacl/futex-internal.h: New file.
6475         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
6476         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
6477         error checking.
6478         (setxid_unmark_thread): Likewise.
6479         (__nptl_setxid): Likewise.
6480         (__wait_lookup_done): Likewise.
6481         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
6482         * nptl/nptl-init.c (sighandler_setxid): Likewise.
6483         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
6484         * nptl/pthread_once.c (clear_once_control): Likewise.
6485         (__pthread_once_slow): Likewise.
6486         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6487         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
6488         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
6489         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6490         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
6491         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
6492         Likewise.
6493         (__pthread_rwlock_rdlock): Likewise.
6494         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6495         Likewise.
6496         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6497         Likewise.
6498         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6499         Likewise.
6500         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
6501         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
6502         Likewise.
6503         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
6504         __ASSUME_PRIVATE_FUTEX check.
6505         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
6506         Check that shared futexes are supported.
6507         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
6508         wrappers with error checking.
6509         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
6510         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
6511         * nptl/pthread_barrierattr_setpshared.c
6512         (pthread_barrierattr_setpshared): Check that shared futexes are
6513         supported.
6514         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
6515         Likewise.
6516         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
6517         Likewise.
6518         * nptl/sem_init.c (futex_private_if_supported): Remove.
6519         (__new_sem_init): Adapt and check that shared futexes are supported.
6520         * nptl/sem_open.c (sem_open): Likewise.
6521         * nptl/sem_post.c (futex_wake): Remove.
6522         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
6523         (do_futex_wait): Use futex wrappers with error checking.
6524         * nptl/sem_wait.c: Include lowlevellock.h.
6525         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
6526         Use futex_supports_pshared.
6527         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
6528         Use futex wrappers with error checking.
6529         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
6530         Likewise.
6531         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
6532         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
6533         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
6534         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
6535         (futex_wake): Likewise.
6536         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
6537         (do_futex_wait): Use futex wrappers with error checking.
6538         (__new_sem_wait_slow): Update EINTR handling.
6539         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
6541 2015-07-09  Martin Sebor  <msebor@redhat.com>
6543         [BZ #18435]
6544         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6545         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
6546         * nptl/Makefile (test-xfail-tst-once5): Define.
6548 2015-07-09  Roland McGrath  <roland@hack.frob.com>
6550         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
6551         * elf/dl-minimal.c: For readability, reorder some definitions and
6552         introduce more page breaks.  Include <stdio.h>.
6553         (__libc_fatal): New function.
6555         * include/unistd.h: Add rtld_hidden_proto for _exit.
6556         * posix/_exit.c: Add rtld_hidden_def.
6557         * sysdeps/mach/hurd/_exit.c: Likewise.
6558         * sysdeps/nacl/_exit.c: Likewise.
6559         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
6560         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
6562 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
6564         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
6565         bndmov encoding with zero displacement.
6567 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6568             H.J. Lu  <hongjiu.lu@intel.com>
6570         [BZ #18134]
6571         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
6572         * sysdeps/i386/configure: Regenerated.
6573         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6574         (_dl_runtime_profile): Save and restore Intel MPX return bound
6575         registers when calling _dl_call_pltexit.  Add
6576         PRESERVE_BND_REGS_PREFIX before return.
6577         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
6578         (LRV_BND1_OFFSET): Likewise.
6579         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
6580         lrv_bnd1.
6581         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
6582         typo in bndmov encoding.
6583         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
6584         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
6585         branch instructions to preserve bounds.
6587 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6590         [GLIBC_2.22]: Add fmemopen.
6592 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6594         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
6595         returns an error, also try to use host port from __mach_host_self for
6596         the __vm_wire call.
6597         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
6599 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6601         [BZ #18400]
6602         [BZ #18648]
6603         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
6604         Fix pr_uid and pr_gid members.
6605         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
6606         definition to elf_greg_t.
6608 2015-07-08  Roland McGrath  <roland@hack.frob.com>
6610         [BZ #18383]
6611         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
6612         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
6613         * sysdeps/arm/configure: Regenerated.
6614         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
6615         (test-xfail-tst-tlsalign-static): Variable removed.
6617         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
6618         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
6619         rather than explicit 'ln -s'.
6621         * resolv/rpc/netdb.h: New file.
6622         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
6624 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6626         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
6627         length buffers.
6628         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6629         test-skeleton.c.
6631         [BZ #6544]
6632         [BZ #11216]
6633         [BZ #12836]
6634         [BZ #13151]
6635         [BZ #13152]
6636         [BZ #14292]
6637         * include/stdio.h (fmemopen): Remove hidden prototype.
6638         (__fmemopen): Add new hidden prototype.
6639         * libio/Makefile: Add oldfmemopen object.
6640         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
6641         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
6642         compliance.
6643         * libio/oldfmemopen.c: New file: old fmemopen implementation for
6644         symbol compatibility.
6645         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
6646         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
6647         fmemopen.
6648         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
6649         on append and read mode.
6650         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
6651         fmemopen.
6652         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
6653         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
6654         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
6655         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
6656         Likewise.
6657         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6658         [GLIBC_2.22]: Likewise.
6659         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
6660         Likewise.
6661         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
6662         Likewise.
6663         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6664         [GLIBC_2.22]: Likewise.
6665         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6666         [GLIBC_2.22]: Likewise.
6667         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6668         [GLIBC_2.22]: Likewise.
6669         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6670         [GLIBC_2.22]: Likewise.
6671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6672         [GLIBC_2.22]: Likewise.
6673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6674         [GLIBC_2.22]: Likewise.
6675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6676         [GLIBC_2.22]: Likewise.
6677         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
6678         Likewise.
6679         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
6680         Likewise.
6681         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
6682         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6683         [GLIBC_2.22]: Likewise.
6684         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6685         [GLIBC_2.22]: Likewise.
6686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6687         [GLIBC_2.22]: Likewise.
6688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6689         [GLIBC_2.22]: Likewise.
6690         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
6691         Likewise.
6692         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
6693         Likewise.
6694         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
6695         Likewise.
6696         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
6697         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
6699 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6701         [BZ #18643]
6702         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
6703         IPV6_PATHMTU, and IPV6_DONTFRAG.
6705 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
6707         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
6708         and _IO_UNBUFFERED.
6709         * libio/oldfileops.c: Likewise.
6710         * libio/wfileops.c: Likewise.
6712 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6714         * nscd/selinux.c: Delete selinux/flask.h include.
6716 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
6718         [BZ #18641]
6719         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
6720         (putpwent): Likewise.
6721         (getpwnam): Likewise.
6722         (getpwent_r): Likewise.
6723         (getpwuid_r): Likewise.
6724         (getpwnam_r): Likewise.
6725         (fgetpwent_r): Likewise.
6727 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
6729         [BZ #18557]
6730         * inet/rcmd.c (__validuser2_sa): Check user first to
6731         short-circuit host check.
6733 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
6734             Mikhail Ilin  <m.ilin@samsung.com>
6736         [BZ #17833]
6737         * elf/Makefile (tests): Add tst-nodelete.
6738         (modules-names): Add tst-nodelete-uniquemod.
6739         (tst-nodelete-uniquemod.so-no-z-defs): New.
6740         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
6741         (tst-nodelete-zmod.so-no-z-defs): Likewise.
6742         ($(objpfx)tst-nodelete): Likewise.
6743         ($(objpfx)tst-nodelete.out): Likewise.
6744         (LDFLAGS-tst-nodelete): Likewise.
6745         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
6746         * elf/dl-close.c (_dl_close_worker): Add a parameter to
6747         implement forced object deletion.
6748         (_dl_close): Pass false to _dl_close_worker.
6749         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
6750         * elf/tst-nodelete.cc: New file.
6751         * elf/tst-nodeletelib.cc: Likewise.
6752         * elf/tst-znodeletelib.cc: Likewise.
6753         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
6755 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6757         [BZ #18508]
6758         * stdlib/Makefile ($(objpfx)tst-makecontext3):
6759         Depend on $(libdl).
6760         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
6761         is not called infinitely times.
6762         (backtrace_helper): New function.
6763         (trace_arg): New struct.
6764         (st1): Enlarge stack size.
6765         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6766         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
6767         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6768         Likewise.
6770 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6772         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6774 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
6776         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
6777         Include sys/types.h instead of bits/types.h.
6778         Remove inclusion of bits/wordsize.h.
6780 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6782         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
6783         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
6784         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
6785         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
6786         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
6787         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
6789 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6791         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
6792         link-defines.sym.
6793         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
6794         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
6795         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
6796         and LR_SIZE.
6797         * sysdeps/i386/link-defines.sym: New file.
6799 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6801         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
6802         (modules-names): Add tst-auditmod3a tst-auditmod3b.
6803         ($(objpfx)tst-audit3): New rule.
6804         ($(objpfx)tst-audit3.out): Likewise.
6805         * sysdeps/i386/tst-audit3.c: New file.
6806         * sysdeps/i386/tst-audit3.h: Likewise.
6807         * sysdeps/i386/tst-auditmod3a.c: Likewise.
6808         * sysdeps/i386/tst-auditmod3b.c: Likewise.
6810 2015-07-07  Torvald Riegel  <triegel@redhat.com>
6812         [BZ #18633]
6813         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
6814         pointer in C code.
6815         (__strcat_c): Likewise.
6816         (__strcat_g): Likewise.
6818 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
6820         [BZ #18592]
6821         * misc/sbrk.c: Set errno to ENOMEM on overflow.
6823 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
6825         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
6826         New function.  (__ieee754_sqrtf): New function.
6827         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
6828         New function.
6829         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
6830         New function.
6832 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
6834         * sysdeps/ieee754/support.c: Remove unused file.
6836 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6838         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
6839         registers instead of d ones so the layout is kernel abi compatible.
6840         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
6841         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
6842         Likewise.
6844 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6846         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6848 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
6850         [BZ #18619]
6851         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
6852         and return argument in case of subnormal argument.
6854 2015-07-01  Martin Sebor  <msebor@redhat.com>
6856         [BZ #18435]
6857         * nptl/Makefile: Add tst-once5.cc.
6858         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
6859         Remove macro redefinitions.
6860         * nptl/tst-once5.cc: New test.
6862 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
6864         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6866         * sysdeps/arm/libm-test-ulps: Regenerated.
6868         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6869         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6871 2015-06-30  Torvald Riegel  <triegel@redhat.com>
6873         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
6874         lll_lock_wait_private and lll_futex_wake probes.
6876         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6877         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
6878         Likewise.
6879         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
6880         atomic_spin_nop.
6881         * sysdeps/x86_64/bits/atomic.h: Likewise.
6882         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
6883         to atomic_spin_nop and move ...
6884         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
6885         ... here and ...
6886         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
6887         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6888         atomic_spin_nop instead of BUSY_WAIT_NOP.
6889         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
6890         Likewise.
6891         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
6892         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
6893         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
6894         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
6895         instead of atomic_delay.
6897 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
6899         [BZ #18613]
6900         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
6901         X_ADJ not X when adjusting exponent.
6902         (__ieee754_gamma_r): Do intermediate computations in
6903         round-to-nearest then adjust overflowing and underflowing results
6904         as needed.
6905         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
6906         of X_ADJ not X when adjusting exponent.
6907         (__ieee754_gammaf_r): Do intermediate computations in
6908         round-to-nearest then adjust overflowing and underflowing results
6909         as needed.
6910         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
6911         log of X_ADJ not X when adjusting exponent.
6912         (__ieee754_gammal_r): Do intermediate computations in
6913         round-to-nearest then adjust overflowing and underflowing results
6914         as needed.  Use 1.0L not 1.0f as numerator of division.
6915         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
6916         log of X_ADJ not X when adjusting exponent.
6917         (__ieee754_gammal_r): Do intermediate computations in
6918         round-to-nearest then adjust overflowing and underflowing results
6919         as needed.  Use 1.0L not 1.0f as numerator of division.
6920         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
6921         of X_ADJ not X when adjusting exponent.
6922         (__ieee754_gammal_r): Do intermediate computations in
6923         round-to-nearest then adjust overflowing and underflowing results
6924         as needed.  Use 1.0L not 1.0f as numerator of division.
6925         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
6926         to auto-libm-test-in.
6927         (tgamma_test): Use ALL_RM_TEST.
6928         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
6929         tests of tgamma with spurious-overflow.
6930         * math/auto-libm-test-out: Regenerated.
6931         * math/gen-libm-have-vector-test.sh: Do not check for START.
6932         * sysdeps/i386/fpu/libm-test-ulps: Update.
6933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6935         [BZ #18612]
6936         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
6937         arguments, just return 0.5 times the argument, with underflow
6938         forced as needed.
6939         * math/auto-libm-test-in: Add more tests of j1.
6940         * math/auto-libm-test-out: Regenerated.
6942         [BZ #16559]
6943         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
6944         (__ieee754_j1): Force underflow exception for small results.
6945         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6946         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
6947         (__ieee754_j1f): Force underflow exception for small results.
6948         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6949         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6951         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
6952         (__ieee754_j1l): Force underflow exception for small results.
6953         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6954         * math/auto-libm-test-in: Add more tests of j1 and jn.
6955         * math/auto-libm-test-out: Regenerated.
6957         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
6958         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
6959         (PF_MPLS): Likewise.
6960         (AF_IB): Likewise.
6961         (AF_MPLS): Likewise.
6962         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
6963         value and macro.
6964         (MS_RMT_MASK): Include MS_LAZYTIME.
6966 2015-06-26  Mel Gorman  <mgorman@suse.de>
6968         [BZ #18502]
6969         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
6970         already minimal.
6972 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
6974         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
6975         (DT_MIPS_NUM): Update.
6976         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
6977         DT_MIPS_RLD_MAP_REL.
6979 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
6981         [BZ #16559]
6982         [BZ #18602]
6983         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
6984         round-to-nearest internally then recompute results that
6985         underflowed to zero in the original rounding mode.
6986         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6987         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6988         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6989         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
6990         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
6991         * sysdeps/i386/fpu/libm-test-ulps: Update.
6992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6994 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
6996         * NEWS: Fixed description of link with vector math library.
6998 2015-06-25  Andreas Schwab  <schwab@suse.de>
7000         [BZ #18549]
7001         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7002         * libio/test-fmemopen.c (do_test): Add test for it.
7004 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7006         [BZ #17841]
7007         * Makeconfig (no-pie-ldflag): New.
7008         (+link): Set to $(+link-pie) if default to PIE.
7009         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7010         * config.make.in (build-pie-default): New.
7011         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7012         is default.  AC_SUBST.
7013         * configure: Regenerated.
7014         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7016 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7018         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7019         to 'unsigned int'.
7021         * resolv/gai_misc.h (struct waitlist): Change type of field
7022         counterp to 'volatile unsigned int *'.
7023         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7024         FUTEXADDR and OLDVAL.
7025         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7026         Give local variable TOTAL type 'volatile unsigned int'.
7027         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7028         * resolv/gai_suspend.c (gai_suspend):
7029         Give local variable CNTR type 'unsigned int'.
7031         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7032         counterp to 'volatile unsigned int *'.
7033         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7034         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7035         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7036         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7037         Give local variable TOTAL type 'volatile unsigned int'.
7038         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7040 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7042         [BZ #18383]
7043         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7044         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7045         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7046         comment for i386/x86-64.
7047         (test-xfail-tst-tlsalign-extern-static): Removed.
7049 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7051         * math/test-double.h: New file.
7052         * math/test-float.h: Likewise.
7053         * math/test-ldouble.h: Likewise.
7054         * math/test-math-inline.h: Likewise.
7055         * math/test-math-no-inline.h: Likewise.
7056         * math/test-math-scalar.h: Likewise.
7057         * math/test-math-vector.h: Likewise.
7058         * math/test-vec-loop.h: Remove file.  Contents moved into
7059         test-math-vector.h.
7060         * math/libm-test.inc (MATHCONST): Do not document macro.
7061         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7062         and test-math-scalar.h.
7063         (FUNC): Remove macro.
7064         (FUNC_TEST): Likewise.
7065         (FLOAT): Likewise.
7066         (MATHCONST): Likewise.
7067         (PRINTF_EXPR): Likewise.
7068         (PRINTF_XEXPR): Likewise.
7069         (PRINTF_NEXPR): Likewise.
7070         (TEST_DOUBLE): Likewise.
7071         (TEST_MATHVEC): Likewise.
7072         (__NO_MATH_INLINES): Likewise.
7073         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7074         and test-math-scalar.h.
7075         (FUNC): Remove macro.
7076         (FUNC_TEST): Likewise.
7077         (FLOAT): Likewise.
7078         (MATHCONST): Likewise.
7079         (PRINTF_EXPR): Likewise.
7080         (PRINTF_XEXPR): Likewise.
7081         (PRINTF_NEXPR): Likewise.
7082         (TEST_FLOAT): Likewise.
7083         (TEST_MATHVEC): Likewise.
7084         (__NO_MATH_INLINES): Likewise.
7085         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7086         and test-math-scalar.h.
7087         (FUNC): Remove macro.
7088         (FUNC_TEST): Likewise.
7089         (FLOAT): Likewise.
7090         (MATHCONST): Likewise.
7091         (PRINTF_EXPR): Likewise.
7092         (PRINTF_XEXPR): Likewise.
7093         (PRINTF_NEXPR): Likewise.
7094         (TEST_DOUBLE): Likewise.
7095         (TEST_MATHVEC): Likewise.
7096         (TEST_INLINE): Likewise.
7097         (__NO_MATH_INLINES): Likewise.
7098         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7099         test-math-scalar.h.
7100         (FUNC): Remove macro.
7101         (FUNC_TEST): Likewise.
7102         (FLOAT): Likewise.
7103         (MATHCONST): Likewise.
7104         (PRINTF_EXPR): Likewise.
7105         (PRINTF_XEXPR): Likewise.
7106         (PRINTF_NEXPR): Likewise.
7107         (TEST_FLOAT): Likewise.
7108         (TEST_MATHVEC): Likewise.
7109         (TEST_INLINE): Likewise.
7110         (__NO_MATH_INLINES): Likewise.
7111         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7112         and test-math-scalar.h.
7113         (FUNC): Remove macro.
7114         (FUNC_TEST): Likewise.
7115         (FLOAT): Likewise.
7116         (MATHCONST): Likewise.
7117         (PRINTF_EXPR): Likewise.
7118         (PRINTF_XEXPR): Likewise.
7119         (PRINTF_NEXPR): Likewise.
7120         (TEST_LDOUBLE): Likewise.
7121         (TEST_MATHVEC): Likewise.
7122         (TEST_INLINE): Likewise.
7123         (__NO_MATH_INLINES): Likewise.
7124         * math/test-ldouble.c: Include test-ldouble.h,
7125         test-math-no-inline.h and test-math-scalar.h.
7126         (FUNC): Remove macro.
7127         (FUNC_TEST): Likewise.
7128         (FLOAT): Likewise.
7129         (MATHCONST): Likewise.
7130         (PRINTF_EXPR): Likewise.
7131         (PRINTF_XEXPR): Likewise.
7132         (PRINTF_NEXPR): Likewise.
7133         (TEST_LDOUBLE): Likewise.
7134         (TEST_MATHVEC): Likewise.
7135         (__NO_MATH_INLINES): Likewise.
7136         * math/test-double-vlen2.h: Include test-double.h,
7137         test-math-no-inline.h and test-math-vector.h.
7138         (FLOAT): Remove macro.
7139         (FUNC): Likewise.
7140         (MATHCONST): Likewise.
7141         (PRINTF_EXPR): Likewise.
7142         (PRINTF_XEXPR): Likewise.
7143         (PRINTF_NEXPR): Likewise.
7144         (TEST_DOUBLE): Likewise.
7145         (TEST_MATHVEC): Likewise.
7146         (__NO_MATH_INLINES): Likewise.
7147         (CNCT): Likewise.
7148         (CONCAT): Likewise.
7149         (WRAPPER_NAME): Likewise.
7150         (WRAPPER_DECL): Likewise.
7151         (WRAPPER_DECL_ff): Likewise.
7152         (WRAPPER_DECL_fFF): Likewise.
7153         (VECTOR_WRAPPER): Likewise.
7154         (VECTOR_WRAPPER_ff): Likewise.
7155         (VECTOR_WRAPPER_fFF): Likewise.
7156         (VEC_LEN): New macro.
7157         * math/test-double-vlen4.h: Include test-double.h,
7158         test-math-no-inline.h and test-math-vector.h.
7159         (FLOAT): Remove macro.
7160         (FUNC): Likewise.
7161         (MATHCONST): Likewise.
7162         (PRINTF_EXPR): Likewise.
7163         (PRINTF_XEXPR): Likewise.
7164         (PRINTF_NEXPR): Likewise.
7165         (TEST_DOUBLE): Likewise.
7166         (TEST_MATHVEC): Likewise.
7167         (__NO_MATH_INLINES): Likewise.
7168         (CNCT): Likewise.
7169         (CONCAT): Likewise.
7170         (WRAPPER_NAME): Likewise.
7171         (WRAPPER_DECL): Likewise.
7172         (WRAPPER_DECL_ff): Likewise.
7173         (WRAPPER_DECL_fFF): Likewise.
7174         (VECTOR_WRAPPER): Likewise.
7175         (VECTOR_WRAPPER_ff): Likewise.
7176         (VECTOR_WRAPPER_fFF): Likewise.
7177         (VEC_LEN): New macro.
7178         * math/test-double-vlen8.h: Include test-double.h,
7179         test-math-no-inline.h and test-math-vector.h.
7180         (FLOAT): Remove macro.
7181         (FUNC): Likewise.
7182         (MATHCONST): Likewise.
7183         (PRINTF_EXPR): Likewise.
7184         (PRINTF_XEXPR): Likewise.
7185         (PRINTF_NEXPR): Likewise.
7186         (TEST_DOUBLE): Likewise.
7187         (TEST_MATHVEC): Likewise.
7188         (__NO_MATH_INLINES): Likewise.
7189         (CNCT): Likewise.
7190         (CONCAT): Likewise.
7191         (WRAPPER_NAME): Likewise.
7192         (WRAPPER_DECL): Likewise.
7193         (WRAPPER_DECL_ff): Likewise.
7194         (WRAPPER_DECL_fFF): Likewise.
7195         (VECTOR_WRAPPER): Likewise.
7196         (VECTOR_WRAPPER_ff): Likewise.
7197         (VECTOR_WRAPPER_fFF): Likewise.
7198         (VEC_LEN): New macro.
7199         * math/test-float-vlen4.h: Include test-float.h,
7200         test-math-no-inline.h and test-math-vector.h.
7201         (FLOAT): Remove macro.
7202         (FUNC): Likewise.
7203         (MATHCONST): Likewise.
7204         (PRINTF_EXPR): Likewise.
7205         (PRINTF_XEXPR): Likewise.
7206         (PRINTF_NEXPR): Likewise.
7207         (TEST_FLOAT): Likewise.
7208         (TEST_MATHVEC): Likewise.
7209         (__NO_MATH_INLINES): Likewise.
7210         (CNCT): Likewise.
7211         (CONCAT): Likewise.
7212         (WRAPPER_NAME): Likewise.
7213         (WRAPPER_DECL): Likewise.
7214         (WRAPPER_DECL_ff): Likewise.
7215         (WRAPPER_DECL_fFF): Likewise.
7216         (VECTOR_WRAPPER): Likewise.
7217         (VECTOR_WRAPPER_ff): Likewise.
7218         (VECTOR_WRAPPER_fFF): Likewise.
7219         (VEC_LEN): New macro.
7220         * math/test-float-vlen8.h: Include test-float.h,
7221         test-math-no-inline.h and test-math-vector.h.
7222         (FLOAT): Remove macro.
7223         (FUNC): Likewise.
7224         (MATHCONST): Likewise.
7225         (PRINTF_EXPR): Likewise.
7226         (PRINTF_XEXPR): Likewise.
7227         (PRINTF_NEXPR): Likewise.
7228         (TEST_FLOAT): Likewise.
7229         (TEST_MATHVEC): Likewise.
7230         (__NO_MATH_INLINES): Likewise.
7231         (CNCT): Likewise.
7232         (CONCAT): Likewise.
7233         (WRAPPER_NAME): Likewise.
7234         (WRAPPER_DECL): Likewise.
7235         (WRAPPER_DECL_ff): Likewise.
7236         (WRAPPER_DECL_fFF): Likewise.
7237         (VECTOR_WRAPPER): Likewise.
7238         (VECTOR_WRAPPER_ff): Likewise.
7239         (VECTOR_WRAPPER_fFF): Likewise.
7240         (VEC_LEN): New macro.
7241         * math/test-float-vlen16.h: Include test-float.h,
7242         test-math-no-inline.h and test-math-vector.h.
7243         (FLOAT): Remove macro.
7244         (FUNC): Likewise.
7245         (MATHCONST): Likewise.
7246         (PRINTF_EXPR): Likewise.
7247         (PRINTF_XEXPR): Likewise.
7248         (PRINTF_NEXPR): Likewise.
7249         (TEST_FLOAT): Likewise.
7250         (TEST_MATHVEC): Likewise.
7251         (__NO_MATH_INLINES): Likewise.
7252         (CNCT): Likewise.
7253         (CONCAT): Likewise.
7254         (WRAPPER_NAME): Likewise.
7255         (WRAPPER_DECL): Likewise.
7256         (WRAPPER_DECL_ff): Likewise.
7257         (WRAPPER_DECL_fFF): Likewise.
7258         (VECTOR_WRAPPER): Likewise.
7259         (VECTOR_WRAPPER_ff): Likewise.
7260         (VECTOR_WRAPPER_fFF): Likewise.
7261         (VEC_LEN): New macro.
7262         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
7263         test-vec-loop.h.
7264         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7265         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7266         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7267         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7268         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7269         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7270         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7272 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7274         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
7275         (__getlogin_r): ... this.
7277 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7279         [BZ #18594]
7280         * math/s_ccosh.c (__ccosh): Compare with least normal value
7281         instead of comparing class with FP_SUBNORMAL.
7282         * math/s_ccoshf.c (__ccoshf): Likewise.
7283         * math/s_ccoshl.c (__ccoshl): Likewise.
7284         * math/s_cexp.c (__cexp): Likewise.
7285         * math/s_cexpf.c (__cexpf): Likewise.
7286         * math/s_cexpl.c (__cexpl): Likewise.
7287         * math/s_csin.c (__csin): Likewise.
7288         * math/s_csinf.c (__csinf): Likewise.
7289         * math/s_csinh.c (__csinh): Likewise.
7290         * math/s_csinhf.c (__csinhf): Likewise.
7291         * math/s_csinhl.c (__csinhl): Likewise.
7292         * math/s_csinl.c (__csinl): Likewise.
7293         * math/s_ctan.c (__ctan): Likewise.
7294         * math/s_ctanf.c (__ctanf): Likewise.
7295         * math/s_ctanh.c (__ctanh): Likewise.
7296         * math/s_ctanhf.c (__ctanhf): Likewise.
7297         * math/s_ctanhl.c (__ctanhl): Likewise.
7298         * math/s_ctanl.c (__ctanl): Likewise.
7299         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
7300         csin, csinh, ctan and ctanh.
7301         * math/auto-libm-test-out: Regenerated.
7302         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
7303         * sysdeps/i386/fpu/libm-test-ulps: Update.
7304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7306 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7308         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
7309         return value is wrong, print the expected value too.
7311 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7313         [BZ #18585]
7314         * elf/readlib.c (is_gdb_python_file): New.
7315         (process_file): Don't issue errors on filenames with -gdb.py
7316         suffix.
7318 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7320         * math/auto-libm-test-in: Add more tests of csin and csinh.
7321         * math/auto-libm-test-out: Regenerated.
7322         * math/libm-test.inc (csin_test_data): Remove tests moved to
7323         auto-libm-test-in.
7324         (csinh_test_data): Likewise.
7326         [BZ #18593]
7327         * math/s_csin.c (__csin): Negate before rather than after possibly
7328         overflowing multiplication.
7329         * math/s_csinf.c (__csinf): Likewise.
7330         * math/s_csinh.c (__csinh): Likewise.
7331         * math/s_csinhf.c (__csinhf): Likewise.
7332         * math/s_csinhl.c (__csinhl): Likewise.
7333         * math/s_csinl.c (__csinl): Likewise.
7334         * math/auto-libm-test-in: Add some tests of csin and csinh.
7335         * math/auto-libm-test-out: Regenerated.
7336         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
7337         (csinh_test_data): Likewise.
7338         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7340         [BZ #18586]
7341         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
7342         underflow exception for small results.
7344 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7346         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7347         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
7348         variable and included header.
7349         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
7350         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
7351         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
7352         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
7353         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
7354         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
7355         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
7356         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
7357         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
7358         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
7359         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
7360         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
7361         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
7362         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
7363         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
7364         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
7366 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7368         [BZ #16526]
7369         [BZ #16538]
7370         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
7371         (__sin): Force underflow exception for arguments with small
7372         absolute value.
7373         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
7374         (__kernel_sinf): Force underflow exception for arguments with
7375         small absolute value.
7376         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
7377         (__kernel_sincosl): Force underflow exception for arguments with
7378         small absolute value.
7379         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
7380         (__kernel_sinl): Force underflow exception for arguments with
7381         small absolute value.
7382         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
7383         (__kernel_sincosl): Force underflow exception for arguments with
7384         small absolute value.
7385         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
7386         (__kernel_sinl): Force underflow exception for arguments with
7387         small absolute value.
7388         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
7389         (__kernel_sinl): Force underflow exception for arguments with
7390         small absolute value.
7391         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
7392         (__kernel_sinf): Force underflow exception for arguments with
7393         small absolute value.
7394         * math/auto-libm-test-in: Add more tests of sin and sincos.
7395         * math/auto-libm-test-out: Regenerated.
7397         [BZ #18245]
7398         [BZ #18583]
7399         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
7400         (__kernel_standard_l): Use feholdexcept and fesetenv around
7401         conversion to double instead of special-casing overflow and
7402         underflow.
7403         * math/libm-test.inc (fmod_test_data): Add more tests.
7404         (remainder_test_data): Likewise.
7405         (sqrt_test_data): Likewise.
7407 2015-06-23  Torvald Riegel  <triegel@redhat.com>
7409         [BZ #17403]
7410         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
7411         atomic_read_barrier, atomic_write_barrier): Define.
7412         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
7413         atomic_read_barrier, atomic_write_barrier): Define.
7415 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7417         * math/Makefile [$(PERL) != no]
7418         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
7419         dependency on libm-test.stmp below the inclusion of Rules.
7421 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
7423         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
7424         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
7425         and included header.
7426         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
7427         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
7428         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
7429         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
7430         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
7431         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
7432         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
7433         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
7434         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
7435         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
7436         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
7437         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
7438         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
7439         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
7440         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
7441         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
7442         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
7443         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
7444         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
7446 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
7448         [BZ #18371]
7449         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
7450         intermediate but not final result might underflow.
7451         * math/s_csqrtf.c (__csqrtf): Likewise.
7452         * math/s_csqrtl.c (__csqrtl): Likewise.
7453         * math/auto-libm-test-in: Add more tests of csqrt.
7454         * math/auto-libm-test-out: Regenerated.
7455         * sysdeps/i386/fpu/libm-test-ulps: Update.
7457         [BZ #18219]
7458         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
7459         threshold on absolute value of exponent for which scaling is used.
7460         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7461         * math/auto-libm-test-in: Add more tests of exp2.
7462         * math/auto-libm-test-out: Regenerated.
7464 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
7466         [BZ #17977]
7467         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
7468         when initializing interface list, based on the bug analysis
7469         and the patch proposed by Eric Newton.
7470         * resolv/tst-res_hconf_reorder.c: New test.
7471         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
7472         tst-res_hconf_reorder.
7473         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
7474         and $(shared-thread-library).
7475         (tst-res_hconf_reorder-ENV): New variable.
7477         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
7478         in comment.
7480 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
7482         [BZ #16353]
7483         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
7484         (__expm1): Force underflow exception for arguments with small
7485         absolute value.
7486         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
7487         (__expm1f): Force underflow exception for arguments with small
7488         absolute value.
7489         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
7490         (__expm1): Force underflow exception for arguments with small
7491         absolute value.
7492         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
7493         (__expm1f): Force underflow exception for arguments with small
7494         absolute value.
7495         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7496         Check for small arguments before calling __expm1.
7497         * math/auto-libm-test-in: Do not mark underflow exceptions as
7498         possibly missing for bug 16353.
7499         * math/auto-libm-test-out: Regenerated.
7501 2015-06-22  Andreas Schwab  <schwab@suse.de>
7503         [BZ #18513]
7504         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
7505         PTR queries.
7507 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
7509         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
7511         * string/strcoll_l.c: Remove unused struct element idxnow.
7513 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
7515         [BZ #18569]
7516         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
7517         underflow and return argument in case of subnormal argument.
7518         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7519         Likewise.
7520         * math/auto-libm-test-in: Add more tests of expm1.
7521         * math/auto-libm-test-out: Regenerated.
7523         [BZ #16361]
7524         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7525         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7526         tiny results.
7527         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
7528         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7529         tiny results.
7530         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
7531         mark underflow exceptions as possibly missing for bug 16361.
7532         * math/auto-libm-test-out: Regenerated.
7534 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
7536         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
7537         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
7538         Remove variable.
7539         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7540         (test-xfail-XOPEN2K8/utmpx.h/conform).
7542         * conform/conformtest.pl ($xerrors): New variable.
7543         (note_error): New function.
7544         (compiletest): New argument $xfail.  Use not_error.
7545         (runtest): Likewise.
7546         (top level): Handle xfail- lines.  Update calls to compiletest and
7547         runtest.  Handle xfail- and optional- in headers listed with
7548         allow-header.
7549         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
7550         (O_EXEC): Likewise.
7551         (O_SEARCH): Likewise.
7552         * conform/data/stropts.h-data (ioctl): Likewise.
7553         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
7554         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
7555         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
7556         (msghdr.msg_controllen): Likewise.
7557         (cmsghdr.cmsg_len): Likewise.
7558         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
7559         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
7560         variable.
7561         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7562         (test-xfail-XPG4/stropts.h/conform): Likewise.
7563         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7564         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7565         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7566         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7567         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7568         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7569         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7570         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7571         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7572         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7573         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7574         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7575         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7576         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7577         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7578         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7579         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7580         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7581         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7583 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7585         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
7586         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
7587         definitions for proper unfolding of __MATHDECL_VEC.
7589 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7591         * benchtests/bench-strcoll.c:
7592         Include string.h.
7593         (main): Remove unused variable res.
7595 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7597         * timezone/Makefile (%/UTC %/Universal):
7598         Generate test-result files for UTC and Universal.
7600 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7602         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7604 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
7606         [BZ #16350]
7607         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
7608         for arguments with small absolute value.
7609         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
7610         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
7611         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
7612         (__asinh): Force underflow exception for arguments with small
7613         absolute value.
7614         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
7615         (__asinhf): Force underflow exception for arguments with small
7616         absolute value.
7617         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
7618         (__asinhl): Force underflow exception for arguments with small
7619         absolute value.
7620         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
7621         (__asinhl): Force underflow exception for arguments with small
7622         absolute value.
7623         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
7624         (__asinhl): Force underflow exception for arguments with small
7625         absolute value.
7626         * math/auto-libm-test-in: Do not mark underflow exceptions as
7627         possibly missing for bug 16350.
7628         * math/auto-libm-test-out: Regenerated.
7630         * include/bits/ipc.h: Remove file.
7631         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
7632         variable.
7633         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7634         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7635         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7636         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7637         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7638         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7639         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7640         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7641         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7643         * math/auto-libm-test-in: Remove spurious underflow allowance for
7644         tests of cexp.
7645         * math/auto-libm-test-out: Regenerated.
7647         [BZ #18558]
7648         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
7649         unconditional definition.
7650         (MCAST_BLOCK_SOURCE): Likewise.
7651         (MCAST_UNBLOCK_SOURCE): Likewise.
7652         (MCAST_LEAVE_GROUP): Likewise.
7653         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7654         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7655         (MCAST_MSFILTER): Likewise.
7656         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
7657         Remove variable.
7658         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7659         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7660         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7661         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7662         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7664 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
7666         * NEWS: Mention addition of x86_64 vector sincosf.
7667         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
7668         * math/test-float-vlen4.h: Likewise.
7669         * math/test-float-vlen8.h: Likewise.
7670         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7671         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
7672         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7673         * sysdeps/x86_64/fpu/Versions: New versions added.
7674         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7675         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7676         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7677         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
7678         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7679         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
7680         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7681         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
7682         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7683         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
7684         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
7685         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
7686         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
7687         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
7688         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
7689         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
7690         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
7691         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
7692         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7693         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7694         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7695         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7696         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7697         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7699         * NEWS: Mention addition of x86_64 vector sincos.
7700         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
7701         * math/math.h (__MATHDECL_VEC): New macro.
7702         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
7703         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
7704         declaration under condition.
7705         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
7706         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
7707         TEST_VEC_LOOP change.
7708         * math/test-double-vlen4.h: Likewise.
7709         * math/test-double-vlen8.h: Likewise.
7710         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
7711         * math/test-float-vlen4.h: Likewise.
7712         * math/test-float-vlen8.h: Likewise.
7713         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7714         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
7715         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7716         * sysdeps/x86_64/fpu/Versions: New versions added.
7717         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7718         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7719         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7720         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
7721         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
7722         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
7723         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
7724         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
7725         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
7726         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
7727         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
7728         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
7729         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
7730         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
7731         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
7732         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
7733         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
7734         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7735         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
7736         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7737         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
7738         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7739         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
7740         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7742         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
7743         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
7744         redirections for powf.
7745         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
7746         * sysdeps/x86_64/fpu/Versions: New versions added.
7747         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7748         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
7749         Added build of SSE, AVX2 and AVX512 IFUNC versions.
7750         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
7751         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
7752         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
7753         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
7754         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
7755         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
7756         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
7757         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
7758         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
7759         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
7760         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
7761         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
7762         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
7763         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
7764         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7765         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
7766         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7767         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
7768         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7769         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
7770         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7771         * math/test-float-vlen16.h: Fixed 2 argument macro.
7772         * math/test-float-vlen4.h: Likewise.
7773         * math/test-float-vlen8.h: Likewise.
7774         * NEWS: Mention addition of x86_64 vector powf.
7776 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
7778         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7779         and redefine.
7780         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7781         and redefine.
7782         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
7783         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7784         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7786         [BZ #18553]
7787         * resource/getpriority.c (getpriority): Rename to __getpriority
7788         and define as weak alias of __getpriority.
7789         * resource/setpriority.c (setpriority): Rename to __setpriority
7790         and define as weak alias of __setpriority.
7791         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
7792         __getpriority and define as weak alias of __getpriority.
7793         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
7794         __setpriority and define as weak alias of __setpriority.
7795         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
7796         strong name.
7797         (setpriority): Use __setpriority as strong name.
7798         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
7799         __getpriority and define as weak alias of __getpriority.
7800         * include/sys/resource.h (__getpriority): Declare.  Use
7801         libc_hidden_proto.
7802         (__setpriority): Likewise.
7803         (getpriority): Don't use libc_hidden_proto.
7804         (setpriority): Likewise.
7805         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
7806         getpriority.  Call __setpriority instead of setpriority.
7807         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
7808         Remove variable.
7810         [BZ #18547]
7811         * misc/getttyent.c (getttynam): Rename to __getttynam and define
7812         as weak alias of __getttynam.  Use prototype function definition.
7813         Call __setttyent, __getttyent and __endttyent instead of
7814         setttyent, getttyent and endttyent.
7815         (getttyent): Rename to __getttyent and define as weak alias of
7816         __getttyent.  Call __setttyent instead of setttyent.  Call
7817         __fgets_unlocked instead of fgets_unlocked.
7818         (setttyent): Rename to __setttyent and define as weak alias of
7819         __setttyent.
7820         (endttyent): Rename to __endttyent and define as weak alias of
7821         __endttyent.
7822         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
7823         (__setttyent): Likewise.
7824         (__endttyent): Likewise.
7825         (getttyent): Don't use libc_hidden_proto.
7826         (setttyent): Likewise.
7827         (endttyent): Likewise.
7828         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
7829         __endttyent instead of setttyent, getttyent and endttyent.
7830         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
7831         Remove variable.
7833         [BZ #18546]
7834         * socket/recv.c (__recv): Use libc_hidden_def.
7835         * socket/socket.c (__socket): Likewise.
7836         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7837         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7838         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
7839         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
7840         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
7841         libc_hidden_def.
7842         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
7843         libc_hidden_weak.
7844         * include/sys/socket.h (__socket): Do not use attribute_hidden.
7845         Use libc_hidden_proto.
7846         (__recv): Likewise.
7847         * socket/Versions (libc): Export __recv and __socket at version
7848         GLIBC_PRIVATE.
7849         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
7850         instead of recv.
7851         (init_mq_netlink): Call __socket instead of socket.
7852         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
7853         Remove variable.
7855         [BZ #18545]
7856         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
7857         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
7858         hidden_weak.
7859         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
7860         define as alias of __mq_timedsend.  Use hidden_weak.
7861         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
7862         __mq_timedsend as strong name.
7863         (mq_timedreceive): Use __mq_timedreceive as strong name.
7864         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
7865         (__mq_timedreceive): Likewise.
7866         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
7867         __mq_timedreceive instead of mq_timedreceive.
7868         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
7869         instead of mq_timedsend.
7870         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
7871         Remove variable.
7873         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
7874         hidden_def and hidden_weak instead of libc_hidden_def and
7875         libc_hidden_weak.
7876         (top level): Refer to hidden_def in comment.
7877         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
7878         macro.  Use it instead of libc_hidden_def.
7879         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
7880         specify __GI_* name explicitly.
7881         (mq_timedreceive): Likewise.
7882         (mq_setattr): Likewise.
7884         [BZ #18544]
7885         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
7886         __pthread_barrier_init and define as weak alias of
7887         __pthread_barrier_init.
7888         * sysdeps/sparc/nptl/pthread_barrier_init.c
7889         (pthread_barrier_init): Likewise.
7890         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
7891         __pthread_barrier_wait and define as weak alias of
7892         __pthread_barrier_wait.
7893         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7894         (pthread_barrier_wait): Likewise.
7895         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7896         (pthread_barrier_wait): Likewise.
7897         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
7898         (pthread_barrier_wait): Likewise.
7899         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
7900         (pthread_barrier_wait): Likewise.
7901         * nptl/Versions (libpthread): Export __pthread_barrier_init and
7902         __pthread_barrier_wait at version GLIBC_PRIVATE.
7903         * include/pthread.h (__pthread_barrier_init): Declare.
7904         (__pthread_barrier_wait): Likewise.
7905         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
7906         Call __pthread_barrier_wait instead of pthread_barrier_wait.
7907         (helper_thread): Likewise.
7908         (init_mq_netlink): Call __pthread_barrier_init instead of
7909         pthread_barrier_init.
7911         [BZ #18542]
7912         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
7913         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
7914         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
7915         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
7916         vswscanf.
7917         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
7918         Remove variable.
7920         [BZ #18540]
7921         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
7922         strong alias of _IO_fflush.  Use libc_hidden_def.
7923         * libio/iofflush_u.c (fflush_unlocked): Rename to
7924         __fflush_unlocked and define as weak alias of __fflush_unlocked.
7925         Use libc_hidden_weak.
7926         * include/stdio.h (__fflush_unlocked): Declare.  Use
7927         libc_hidden_proto.
7928         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
7929         fflush_unlocked.
7930         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
7931         Remove variable.
7933         [BZ #18539]
7934         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
7935         define as weak alias of __addseverity.
7936         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
7937         Remove variable.
7938         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7939         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7940         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7942         [BZ #18536]
7943         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
7944         (__tfind): Likewise.
7945         (__tdelete): Likewise.
7946         (__twalk): Likewise.
7947         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
7948         __twalk to GLIBC_PRIVATE.
7949         * include/search.h (__tsearch): Use libc_hidden_proto.
7950         (__tfind): Likewise.
7951         (__tdelete): Likewise.
7952         (__twalk): Likewise.
7953         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
7954         Call __tdelete instead of tdelete.
7955         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
7956         tfind.  Call __tsearch instead of tsearch.
7957         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
7958         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
7959         Remove variable.
7960         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7962         [BZ #18534]
7963         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
7964         (dprintf): Define as a weak alias of __dprintf, not a strong
7965         alias.
7966         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
7967         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
7968         dprintf.
7969         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
7970         Remove variable.
7971         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7972         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7974         [BZ #18533]
7975         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
7976         not a strong alias.
7977         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
7978         Remove variable.
7980         [BZ #18532]
7981         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
7982         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
7983         (in6addr_loopback): Rename to __in6addr_loopback and define as
7984         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
7985         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
7986         libc_hidden_proto.
7987         (__in6addr_any): Likewise.
7988         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
7989         in6addr_any.
7990         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
7991         variable.
7992         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7994 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7996         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
7997         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
7998         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
7999         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8000         redirections for pow.
8001         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8002         * sysdeps/x86_64/fpu/Versions: New versions added.
8003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8004         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8005         build of SSE, AVX2 and AVX512 IFUNC versions.
8006         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8007         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8008         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8009         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8010         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8011         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8012         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8013         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8014         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8015         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8016         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8017         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8018         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8019         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8020         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8021         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8022         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8023         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8024         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8025         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8026         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8027         * NEWS: Mention addition of x86_64 vector pow.
8029         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8030         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8031         redirections for expf.
8032         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8033         * sysdeps/x86_64/fpu/Versions: New versions added.
8034         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8035         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8036         build of SSE, AVX2 and AVX512 IFUNC versions.
8037         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8038         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8039         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8040         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8041         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8042         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8043         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8044         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8045         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8046         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8047         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8048         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8049         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8050         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8051         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8052         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8053         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8054         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8055         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8056         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8057         * NEWS: Mention addition of x86_64 vector expf.
8059         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8060         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8061         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8062         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8063         redirections for exp.
8064         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8065         * sysdeps/x86_64/fpu/Versions: New versions added.
8066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8067         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8068         build of SSE, AVX2 and AVX512 IFUNC versions.
8069         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8070         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8071         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8072         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8073         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8074         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8075         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8076         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8077         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8078         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8079         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8080         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8081         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8082         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8083         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8084         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8085         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8086         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8087         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8088         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8089         * NEWS: Mention addition of x86_64 vector exp.
8091         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8092         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8093         redirections for logf.
8094         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8095         * sysdeps/x86_64/fpu/Versions: New versions added.
8096         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8097         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8098         build of SSE, AVX2 and AVX512 IFUNC versions.
8099         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8100         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8101         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8102         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8103         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8104         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8105         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8106         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8107         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8108         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8109         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8110         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8111         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8112         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8113         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8114         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8115         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8116         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8117         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8118         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8119         * NEWS: Mention addition of x86_64 vector logf.
8121         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8122         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8124         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8125         redirections for log.
8126         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8127         * sysdeps/x86_64/fpu/Versions: New versions added.
8128         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8129         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8130         build of SSE, AVX2 and AVX512 IFUNC versions.
8131         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8132         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8133         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8134         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8135         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8136         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8137         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8138         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8139         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8140         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8141         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8142         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8143         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8144         test.
8145         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8147         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8148         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8149         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8150         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8151         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8152         * NEWS: Mention addition of x86_64 vector log.
8154 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8156         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8157         cfi_adjust_cfa_offset argument.
8158         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8159         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8161         [BZ #18034]
8162         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8163         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8164         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8165         ordering using ldar.
8166         (_dl_tlsdesc_dynamic): Likewise.
8167         (_dl_tlsdesc_return_lazy): Likewise.
8168         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8169         relaxed atomics instead of volatile and synchronize with release store.
8170         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8171         volatile.
8172         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8174 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
8176         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8177         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
8178         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8179         * sysdeps/x86_64/fpu/Versions: New versions added.
8180         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8181         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8182         build of SSE, AVX2 and AVX512 IFUNC versions.
8183         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
8184         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
8185         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
8186         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
8187         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
8188         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
8189         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
8190         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
8191         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
8192         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
8193         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
8194         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
8195         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
8196         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8197         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8198         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8199         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8200         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8201         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8202         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8203         * NEWS: Mention addition of x86_64 vector sinf.
8205 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
8207         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
8208         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
8209         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
8210         Remove variable.
8211         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8212         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8214 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8216         [BZ #18530]
8217         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
8218         strong alias of _IO_fputs.  Use libc_hidden_def.
8219         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
8220         and define as weak alias of __fputs_unlocked.  Use
8221         libc_hidden_weak.
8222         * include/stdio.h (__fputs_unlocked): Declare.  Use
8223         libc_hidden_proto.
8224         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
8225         fputs_unlocked.
8227         [BZ #18529]
8228         * resolv/netdb.h [__USE_POSIX]: Change condition to
8229         [__USE_XOPEN2K].
8230         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
8231         not expect.
8232         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
8233         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
8234         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
8235         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
8236         [XPG4 || UNIX98] (AI_ALL): Likewise.
8237         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
8238         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
8239         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
8240         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
8241         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
8242         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
8243         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
8244         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
8245         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
8246         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
8247         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
8248         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
8249         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
8250         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
8251         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
8252         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8253         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
8254         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
8255         [XPG4 || UNIX98] (gai_strerror): Likewise.
8256         [XPG4 || UNIX98] (getaddrinfo): Likewise.
8257         [XPG4 || UNIX98] (getnameinfo): Likewise.
8259         [BZ #18528]
8260         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
8261         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
8262         __USE_XOPEN2K8].
8263         (getgrent): Likewise.
8264         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
8265         expect.
8266         [XPG3 || POSIX2008] (endgrent): Likewise.
8267         [XPG3] (setgrent): Likewise.
8268         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
8269         variable.
8270         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8272         [BZ #18527]
8273         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
8274         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
8275         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
8276         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
8277         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
8278         * include/unistd.h (__getlogin_r): Declare.  Use
8279         libc_hidden_proto.
8280         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
8281         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
8282         variable.
8283         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8284         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8285         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8287 2015-06-12  Martin Sebor  <msebor@redhat.com>
8289         [BZ #18512]
8290         * Makerules (check-install-supported): New target.
8291         (install): Add check-install-supported as a dependency.
8292         * manual/install.texi (Installing the C Library): Document
8293         that overriding prefix and exec_prefix is not supported.
8294         Mention DESTDIR.
8295         * INSTALL: Regenerate from the above.
8297 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
8299         [BZ #18519]
8300         * posix/Versions (libc): Export __libc_pread at version
8301         GLIBC_PRIVATE.
8302         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
8303         instead of pread.
8304         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
8305         variable.
8307         [BZ #18522]
8308         * misc/efgcvt_r.c
8309         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
8310         (cvt_symbol): Use weak_alias instead of strong_alias.
8311         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
8312         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
8313         Remove variable.
8314         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8315         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8317         [BZ #18520]
8318         * inet/herrno.c (h_errno): Rename to __h_errno.
8319         (__libc_h_errno): Define as alias of __h_errno not h_errno.
8320         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
8321         to __h_errno instead of h_errno.
8322         * nptl/herrno.c (h_errno): Rename to __h_errno.
8323         (__h_errno_location): Refer to __h_errno not h_errno.
8324         * resolv/Versions (h_errno): Rename to __h_errno.
8325         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
8326         Remove variable.
8327         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8329 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
8331         * configure.ac: More strict check for AVX512 assembler support.
8332         * configure: Regenerated.
8334         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
8335         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
8336         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8337         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
8338         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8339         * sysdeps/x86_64/fpu/Versions: New versions added.
8340         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8341         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8342         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8343         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
8344         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
8345         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
8346         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
8347         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
8348         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
8349         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
8350         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
8351         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
8352         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
8353         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
8354         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
8355         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
8356         test.
8357         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8358         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8359         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8360         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8361         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8362         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8363         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8364         * NEWS: Mention addition of x86_64 vector sin.
8366 2015-06-11  Florian Weimer  <fweimer@redhat.com>
8368         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
8369         comment.
8371 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8373         [BZ #18479]
8374         * nptl/pt-interp.c: New file.
8375         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
8376         Add pt-interp.
8377         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
8378         $(common-objpfx)runtime-linker.h.
8380 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
8382         * Makeconfig (+interp): Remove unused variable.
8383         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
8384         only.  Depend on $(common-objpfx)runtime-linker.h instead of
8385         $(elf-objpfx)runtime-linker.h.
8386         ($(elf-objpfx)runtime-linker.h): Rename to
8387         $(common-objpfx)runtime-linker.h and move ...
8388         * Makerules [$(build-shared) = yes]: ... here.
8389         * elf/interp.c: Include <runtime-linker.h> instead of
8390         <elf/runtime-linker.h>.
8392 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8394         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
8395         (__gettimeofday_syscall): Remove vsyscall fallback.
8396         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
8397         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
8398         Add syscall fallback function.
8399         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
8400         if vDSO is not present.
8401         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
8402         fallback function.
8403         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
8404         present.
8405         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
8406         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8408 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
8410         [BZ #18497]
8411         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
8412         of wcscmp.
8413         (wcscmp): Define as weak alias of WCSCMP.
8414         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
8415         wcscoll.
8416         (USE_HIDDEN_DEF): Define.
8417         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
8418         __wcscoll.  Don't use libc_hidden_weak.
8419         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
8420         wcscmp.
8421         * sysdeps/i386/i686/multiarch/wcscmp-c.c
8422         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
8423         __GI_wcscmp.
8424         (weak_alias): Undefine and redefine.
8425         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
8426         __wcscmp and define as weak alias of __wcscmp.
8427         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
8428         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
8429         (__wcscoll): Likewise.
8430         (wcscmp): Don't use libc_hidden_proto.
8431         (wcscoll): Likewise.
8432         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
8433         wcscoll.
8434         * posix/regexec.c (check_node_accept_bytes): Likewise.
8435         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
8436         variable.
8437         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8438         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8440         [BZ #18507]
8441         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
8442         __fstatvfs and define as weak alias of __fstatvfs.  Use
8443         libc_hidden_weak.
8444         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
8445         and define as weak alias of __statvfs.  Use libc_hidden_weak.
8446         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
8447         Define as alias of __fstatvfs, not fstatvfs.
8448         (fstatvfs64): Likewise.
8449         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
8450         Define as alias of __statvfs, not statvfs.
8451         (statvfs64): Likewise.
8452         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
8453         Remove variable.
8455 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8458         (HAVE_GETCPU_VSYSCALL): Define.
8459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8460         (HAVE_GETCPU_VSYSCALL): Likewise.
8461         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
8462         * sysdeps/unix/sysv/linux/sched_getcpu.c
8463         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
8464         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
8465         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
8466         prototype.
8467         * sysdeps/unix/sysv/linux/x86_64/init-first.c
8468         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
8469         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
8470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
8471         Define.
8472         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
8473         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8474         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
8475         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8477 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
8479         * sysdeps/x86_64/fpu/Makefile: New file.
8480         * sysdeps/x86_64/fpu/Versions: New file.
8481         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
8482         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
8483         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
8484         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
8485         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
8486         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
8487         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
8488         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
8489         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
8490         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
8491         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
8492         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
8493         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
8494         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8495         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8496         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
8497         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
8498         * sysdeps/x86_64/configure.ac: Options for libmvec build.
8499         * sysdeps/x86_64/configure: Regenerated.
8500         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
8501         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
8502         * manual/install.texi (Configuring and compiling): Document
8503         --disable-mathvec.
8504         * INSTALL: Regenerated.
8505         * NEWS: Mention addition of libmvec and x86_64 vector cos.
8507         * math/Makefile: Added rules for vector tests.
8508         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
8509         declaration under condition.
8510         * math/test-double-vlen2.h: New file.
8511         * math/test-double-vlen4.h: New file.
8512         * math/test-double-vlen8.h: New file.
8513         * math/test-vec-loop.h: Added initialization macro.
8514         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
8515         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
8516         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
8517         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
8518         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
8519         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
8520         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
8521         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
8522         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
8523         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
8524         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
8526         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8527         * sysdeps/x86_64/fpu/Versions: New versions added.
8528         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
8529         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
8530         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
8531         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
8532         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
8533         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
8534         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
8535         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
8536         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
8537         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
8538         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
8539         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
8540         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
8541         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8542         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8543         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8544         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
8545         * NEWS: Mention addition of x86_64 vector cosf.
8547         * math/Makefile: Added CFLAGS for new tests.
8548         * math/test-float-vlen16.h: New file.
8549         * math/test-float-vlen4.h: New file.
8550         * math/test-float-vlen8.h: New file.
8551         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
8552         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
8553         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8554         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
8555         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
8556         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
8557         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
8558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
8559         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
8560         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
8561         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
8563 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
8565         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
8566         * locale/programs/ld-ctype.c: Likewise.
8568 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
8570         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
8571         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
8572         bit_ZMM16_31_state): New macro.
8573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8574         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
8576 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
8578         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
8580 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
8582         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
8584 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
8586         [BZ #18498]
8587         * libio/memstream.c (open_memstream): Rename to __open_memstream
8588         and define as weak alias of __open_memstream.
8589         * include/stdio.h (__open_memstream): Declare.  Use
8590         libc_hidden_proto.
8591         (open_memstream): Don't use libc_hidden_proto.
8592         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
8593         open_memstream.
8594         * posix/getopt.c (_getopt_internal_r): Likewise.
8595         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
8596         variable.
8597         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8598         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8599         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8601         [BZ #18496]
8602         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
8603         instead of wcrtomb.
8605         [BZ #18483]
8606         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
8607         [__USE_XOPEN2K8].  Remove redundant #endif.
8608         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
8609         Remove redundant #if.
8610         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
8611         Remove variable.
8612         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8613         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8615         [BZ #18495]
8616         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
8617         (__iswlower): Likewise.
8618         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
8619         (__iswlower): Likewise.
8620         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
8621         instead of towlower.
8622         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
8623         instead of iswlower.  Call __towupper instead of towupper.
8624         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
8625         instead of iswalnum.
8627 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8629         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
8630         errors to stderr.
8632 2015-06-05  Florian Weimer  <fweimer@redhat.com>
8634         [BZ #15661]
8635         [BZ #17322]
8636         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8637         Check for overflow properly.  Check for O_APPEND.  Ignore large
8638         file system block sizes.  Add comments about problems.
8639         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
8640         * manual/filesys.texi (Storage Allocation): New node.
8642 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8644         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
8645         cancellable syscalls.
8646         (SYS_ify): Add guard to no redefine it.
8647         (INLINE_SYSCALL): Likewise.
8648         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
8649         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
8650         SYSCALL_CANCEL instead.
8651         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
8652         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8653         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8654         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8655         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8656         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
8657         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
8658         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
8659         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8660         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8661         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
8662         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
8663         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
8664         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
8665         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
8666         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8667         Likewise.
8668         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8669         (__libc_pread64): Likewise.
8670         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
8671         (__libc_preadv): Likewise.
8672         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
8673         (__libc_readv64): Likewise.
8674         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8675         (__libc_pwrite): Likewise.
8676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8677         (__libc_pwrite64): Likewise.
8678         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
8679         (__libc_pwritev): Likewise.
8680         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
8681         (__libc_pwritev64): Likewise.
8682         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
8683         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8684         (sync_file_range): Likewise.
8685         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
8686         Likewise.
8687         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
8688         Likewise.
8689         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8690         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8691         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8692         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8693         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8694         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8695         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8696         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
8697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8698         Likewise.
8699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8700         (__libc_read64): Likewise.
8701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
8702         Likewise.
8703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
8704         Likewise.
8705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
8706         Likewise.
8707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
8708         Likewise.
8709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8710         (__libc_pread64): Likewise.
8711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
8712         Likewise.
8713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8714         (__libc_pwrite64): Likewise.
8715         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
8716         (sync_file_range): Likewise.
8717         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
8718         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8719         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8720         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
8721         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
8722         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8723         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8724         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
8725         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
8726         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8727         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8728         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8729         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8730         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8731         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
8732         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8733         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8734         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8735         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8736         Likewise.
8737         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
8738         Likewise.
8739         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
8740         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
8741         Likewise.
8742         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
8743         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
8744         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
8745         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
8746         Likewise.
8747         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
8748         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
8749         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
8750         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
8751         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
8753 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
8755         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
8756         Include dl-vdso.
8757         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
8758         Use VDSO routines for gettimeofday, clock_gettime if
8759         available.
8760         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
8761         Declare VDSO symbols.
8762         * sysdeps/unix/sysv/linux/arm/sysdep.h:
8763         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
8764         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
8765         * sysdeps/unix/sysv/linux/arm/Versions: Add
8766         __vdso_clock_gettime.
8768 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8770         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
8771         be an inline implementation regardless of library is built within.
8772         (open_not_cancel_2): Likewise.
8773         (__read_nocancel): Likewise.
8774         (__write_nocancel): Likewise.
8775         (openat_not_cancel): Likewise.
8776         (openat_not_cancel_3): Likewise.
8777         (openat64_not_cancel): Likewise.
8778         (openat64_not_cancel_3): Likewise.
8779         (__close_nocancel): Likewise.
8780         (pause_not_cancel): Likewise.
8781         (nanosleep_not_cancel): Likewise.
8782         (sigsuspend_not_cancel): Likewise.
8784 2015-06-04  Torvald Riegel  <triegel@redhat.com>
8786         [BZ #14958]
8787         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
8788         wake-up.
8789         (__pthread_rwlock_rdlock_slow): Likewise.
8790         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8791         Likewise.
8792         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8793         Likewise.
8794         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
8795         * nptl/tst-rwlock16.c: New file.
8796         * nptl/Makefile (tests): Add new test.
8798 2015-06-04  Torvald Riegel  <triegel@redhat.com>
8800         [BZ #18324]
8801         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
8802         missing wake-up of readers.
8803         * nptl/tst-rwlock15.c: New file.
8804         * nptl/Makefile (tests): Add new test.
8806 2015-06-03  Roland McGrath  <roland@hack.frob.com>
8808         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
8809         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
8810         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
8811         and __nacl_supply_interface_rtld.
8812         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
8813         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
8814         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
8815         Add __nacl_supply_interface_rtld.
8816         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
8818 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
8820         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
8821         isfinite.
8822         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8823         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
8825 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
8827         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
8828         __signbit* with standard C99 macros.
8829         * math/e_exp10l.c: Likewise.
8830         * math/e_exp2l.c: Likewise.
8831         * math/e_scalb.c: Likewise.
8832         * math/e_scalbf.c: Likewise.
8833         * math/e_scalbl.c: Likewise.
8834         * math/s_ldexp.c: Likewise.
8835         * math/s_ldexpf.c: Likewise.
8836         * math/s_ldexpl.c: Likewise.
8837         * math/w_atan2.c: Likewise.
8838         * math/w_atan2f.c: Likewise.
8839         * math/w_atan2l.c: Likewise.
8840         * math/w_cosh.c: Likewise.
8841         * math/w_coshf.c: Likewise.
8842         * math/w_coshl.c: Likewise.
8843         * math/w_exp10.c: Likewise.
8844         * math/w_exp10f.c: Likewise.
8845         * math/w_exp10l.c: Likewise.
8846         * math/w_exp2.c: Likewise.
8847         * math/w_exp2f.c: Likewise.
8848         * math/w_exp2l.c: Likewise.
8849         * math/w_fmod.c: Likewise.
8850         * math/w_fmodf.c: Likewise.
8851         * math/w_fmodl.c: Likewise.
8852         * math/w_hypot.c: Likewise.
8853         * math/w_hypotf.c: Likewise.
8854         * math/w_hypotl.c: Likewise.
8855         * math/w_jnl.c: Likewise.
8856         * math/w_lgamma.c: Likewise.
8857         * math/w_lgamma_r.c: Likewise.
8858         * math/w_lgammaf.c: Likewise.
8859         * math/w_lgammaf_r.c: Likewise.
8860         * math/w_lgammal.c: Likewise.
8861         * math/w_lgammal_r.c: Likewise.
8862         * math/w_pow.c: Likewise.
8863         * math/w_powf.c: Likewise.
8864         * math/w_powl.c: Likewise.
8865         * math/w_remainder.c: Likewise.
8866         * math/w_remainderf.c: Likewise.
8867         * math/w_remainderl.c: Likewise.
8868         * math/w_scalb.c: Likewise.
8869         * math/w_scalbf.c: Likewise.
8870         * math/w_scalbl.c: Likewise.
8871         * math/w_scalbln.c: Likewise.
8872         * math/w_scalblnf.c: Likewise.
8873         * math/w_scalblnl.c: Likewise.
8874         * math/w_sinh.c: Likewise.
8875         * math/w_sinhf.c: Likewise.
8876         * math/w_sinhl.c: Likewise.
8877         * math/w_tgamma.c: Likewise.
8878         * math/w_tgammaf.c: Likewise.
8879         * math/w_tgammal.c: Likewise.
8880         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8881         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
8882         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8883         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8884         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8885         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8886         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8887         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8888         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8889         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8890         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8891         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8892         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8893         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8894         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8895         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8896         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8897         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8898         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8899         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8900         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8901         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8902         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8903         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8904         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8905         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8906         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8907         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8908         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8909         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8910         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
8911         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
8912         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
8913         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
8914         * stdio-common/printf_fp.c: Likewise.
8915         * stdio-common/printf_fphex.c: Likewise.
8916         * stdio-common/printf_size.c: Likewise.
8918 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
8920         [BZ #18470]
8921         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
8922         strnlen.
8923         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
8924         Remove variable.
8925         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8926         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8927         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8928         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8929         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8930         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8931         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8932         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8933         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8934         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8936         [BZ #18468]
8937         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
8938         weak alias of __wmemchr.  Use libc_hidden_weak.
8939         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
8940         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
8941         instead of wmemchr.
8943 2015-06-02  Roland McGrath  <roland@hack.frob.com>
8945         [BZ #18383]
8946         * elf/tst-tlsalign-extern.c: New file.
8947         * elf/tst-tlsalign-extern-static.c: New file.
8948         * elf/tst-tlsalign-vars.c: New file.
8949         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
8950         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
8951         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
8952         ($(objpfx)tst-tlsalign-extern-static): Likewise.
8953         (test-xfail-tst-tlsalign-extern-static): New variable.
8955 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
8957         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
8958         Use variable name _sc_err instead of err.
8959         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
8960         instead of ret.
8961         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
8962         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
8963         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
8964         (INLINE_SYSCALL): Likewise.
8966         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
8967         * include/string.h (__strnlen): Use libc_hidden_proto.
8968         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
8969         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
8970         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
8971         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
8972         (libc_hidden_def): Undefine and redefine.
8973         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
8974         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
8975         __GI_strnlen.
8976         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
8977         libc_hidden_def.
8978         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
8980         [BZ #18469]
8981         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
8982         weak alias of __towlower.  Use libc_hidden_weak.
8983         (towupper): Rename to __towupper and define as weak alias of
8984         __towupper.  Use libc_hidden_weak.
8985         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
8986         (__towupper): Likewise.
8987         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
8988         __towlower instead of towlower.
8990 2015-06-02  Roland McGrath  <roland@hack.frob.com>
8992         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
8993         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
8995 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8997         * sysdeps/aarch64/libm-test-ulps: Update.
8999 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9001         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9002         Define.
9003         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9004         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9005         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9006         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9007         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9008         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9009         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9011 2015-06-01  Martin Sebor  <msebor@redhat.com>
9013         [BZ #18116]
9014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9015         (__setcontext): Use extended four-operand version of mtsf whenever
9016         possible.
9017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9018         (__novec_swapcontext): Likewise.
9020 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9022         * benchtests/scripts/compare_bench.py: New file.
9023         * benchtests/scripts/import_bench.py (mean): New function.
9024         (split_list): Likewise.
9025         (do_for_all_timings): Likewise.
9026         (compress_timings): Likewise.
9028         * benchtests/scripts/import_bench.py: New file.
9029         * benchtests/scripts/validate_benchout.py: Import import_bench
9030         instead of jsonschema.
9031         (validate_bench): Remove function.
9032         (main): Use import_bench.
9034 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9036         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9037         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9039 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9043 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9045         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9046         set THREAD_SELF->tid to a magic value and futex-wake it.
9047         Pass its address to the thread_exit system call.
9048         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9049         bit is clear.
9050         * sysdeps/nacl/lowlevellock.h: New file.
9051         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9053         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9054         Add TIMEOUT to current time, don't subtract it.
9056 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9058         [BZ #2981]
9059         [BZ #18422]
9060         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9061         ($(objpfx)tst-audit2.out): Also depend on
9062         $(objpfx)tst-auditmod9b.so.
9063         * elf/tst-audit2.c: Include <dlfcn.h>.
9064         (calloc_called): New.
9065         (calloc): Allow to be called more than once.
9066         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9068 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9070         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9071         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9073 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9075         * stdlib/monetary.h: Fix comment.
9077 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9079         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9080         Avoid using variables in #defines that might cause shadowing.
9081         (INTERNAL_VSYSCALL_CALL): Likewise.
9083 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9085         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9087         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9088         * nptl/lll_timedlock_wait.c: ... to this new file.
9089         * nptl/Makefile (libpthread-routines): Add it.
9090         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9091         * nptl/lll_timedwait_tid.c: ... to this new file.
9092         * nptl/Makefile (libpthread-routines): Add it.
9093         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9094         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9095         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9096         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9097         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9098         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9099         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9100         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9101         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9102         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9104 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9106         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9107         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9108         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9109         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9110         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9112         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9114         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9115         * sysdeps/unix/sysv/linux/tile/sysdep.h
9116         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9117         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9118         using vDSO syscall macro.
9120 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9122         [BZ #17293]
9123         * uk_UA: Fix sorting order for Ukrainian locale
9125 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9127         * stdlib/monetary.h: Fix comment.
9129 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9131         [BZ #18234]
9132         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9133         st_mtim and st_ctim members.
9134         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9135         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9136         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9137         (struct stat64): Likewise.
9138         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9139         (struct stat64): Likewise.
9140         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9141         (struct stat64): Likewise.
9143 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9145         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9146         Define and include sysdep-vdso.h.
9147         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9148         Likewise.
9149         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9150         Likewise.
9151         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9152         Define with VDSO_SYMBOL and use PTR_MANGLE.
9153         (__vdso_clock_gettime): Likewise.
9154         (__vdso_clock_getres): Likewise.
9155         (_libc_vdso_platform_setup): Likewise.
9156         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9157         Likewise.
9158         (_libc_vdso_platform_setup): Likewise.
9159         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9160         Likewise.
9161         (__vdso_clock_gettime): Likewise.
9162         (__vdso_clock_getres): Likewise.
9163         (__vdso_get_tbfreq): Likewise.
9164         (__vdso_getcpu): Likewise.
9165         (__vdso_time): Likewise.
9166         (__vdso_sigtramp_rt64): Likewise.
9167         (__vdso_signtramp32): Likewise.
9168         (__vdso_sigtramp_rt32): Likewise.
9169         (_libc_vdso_platform_setup): Likewise.
9170         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9171         Likewise.
9172         (__vdso_clock_gettime): Likewise.
9173         (__vdso_clock_getres): Likewise.
9174         (_libc_vdso_platform_setup): Likewise.
9175         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
9176         Likewise.
9177         (__vdso_clock_gettime): Likewise.
9178         (_libc_vdso_platform_setup): Likewise.
9179         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9180         Likewise.
9181         (__vdso_getcpu): Likewise.
9182         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
9183         Use VDSO_SYMBOL macro to define.
9184         (__vdso_clock_gettime): Likewise.
9185         (__vdso_clock_getres): Likewise.
9186         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
9187         Likewise.
9188         (__vdso_clock_gettime): Likewise.
9189         (__vdso_clock_getres): Likewise.
9190         (__vdso_get_tbfreq): Likewise.
9191         (__vdso_getcpu): Likewise.
9192         (__vdso_time): Likewise.
9193         (__vdso_sigtramp_rt64): Likewise.
9194         (__vdso_signtramp32): Likewise.
9195         (__vdso_sigtramp_rt32): Likewise.
9196         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
9197         Likewise.
9198         (__vdso_clock_gettime): Likewise.
9199         (__vdso_clock_getres): Likewise.
9200         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
9201         Likewise.
9202         (__vdso_clock_gettime): Likewise.
9203         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9204         Likewise.
9205         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
9206         macro.
9207         (INTERNAL_VSYSCALL): Likewise.
9208         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
9209         Remove macro.
9210         (INTERNAL_VSYSCALL): Likewise.
9211         (INTERNAL_VSYSCALL_NCS): Likewise.
9212         (INTERNAL_VSYSCALL_CALL): New macro.
9213         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9214         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
9215         Likewise.
9216         (INTERNAL_VSYSCALL): Likewise.
9217         (INTERNAL_VSYSCALL_NCS): Likewise.
9218         (INTERNAL_VSYSCALL_CALL): New macro.
9219         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
9220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9221         (INLINE_VSYSCALL): Remove macro.
9222         (INTERNAL_VSYSCALL): Remove macro.
9223         (INTERNAL_VSYSCALL_NCS): Remove macro.
9224         (INTERNAL_VSYSCALL_CALL): New macro.
9225         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
9226         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
9227         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9228         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
9229         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9231         (INLINE_VSYSCALL): Remove macro.
9232         (INTERNAL_VSYSCALL): Likewise.
9233         (INTERNAL_VSYSCALL_NCS): Likewise.
9234         (INTERNAL_VSYSCALL_CALL): New macro.
9235         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
9236         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
9237         PTR_DEMANGLE on vDSO pointer.
9238         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
9239         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
9240         macro.
9241         (INTERNAL_SYSCALL): Likewise.
9242         (INTERNAL_VSYSCALL_NCS): Remove macro.
9243         (INTERNAL_VSYSCALL_CALL): New macro.
9244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
9245         Remove macro.
9246         (INTERNAL_VSYSCALL): Likewise.
9247         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
9248         sysdep-vdso.h instead of libc-vdso.h.
9249         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
9250         definition.
9251         (INLINE_VSYSCALL): Likewise.
9252         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
9253         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
9254         definition.
9255         (INLINE_VSYSCALL): Likewise.
9256         (INTERNAL_VSYSCALL): Likewise.
9257         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9258         * sysdeps/unix/sysv/linux/timespec_get.c
9259         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9260         (timespec_get): Use ANSI prototype.
9261         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
9262         and definition for Linux.
9264 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9266         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
9267         * include/libc-symbols.h: libmvec_hidden_* macro series added.
9269 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
9271         [BZ #2981]
9272         [BZ #18410]
9273         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
9274         for missing DT_PLTRELSZ.
9276 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
9278         Remove obsolete aliases that broke 'locale -a'
9279         [BZ #18412]
9280         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
9281         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
9282         breaking some applications that use 'locale -a' output.
9283         Change the encoding of this file from Latin-1 to ASCII to avoid
9284         other potential problems with people grepping this file.
9286 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9288         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
9289         -fasynchronous-unwind-tables.
9290         (CFLAGS-sendto.c): Likewise.
9291         (CFLAGS-sendmsg.c): Likewise.
9292         (CFLAGS-connect.c): Likewise.
9293         (CFLAGS-recvmsg.c): Likewise.
9294         (CFLAGS-recvfrom.c): Likewise.
9295         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
9296         (SOCKETCALL): New macro: non-cancellable socketcall.
9297         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
9298         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
9299         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
9300         * sysdeps/unix/sysv/linux/accept.c: New file.
9301         * sysdeps/unix/sysv/linux/bind.c: Likewise.
9302         * sysdeps/unix/sysv/linux/connect.c: Likewise.
9303         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
9304         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
9305         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
9306         * sysdeps/unix/sysv/linux/listen.c: Likewise.
9307         * sysdeps/unix/sysv/linux/recv.c: Likewise.
9308         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
9309         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9310         * sysdeps/unix/sysv/linux/send.c: Likewise.
9311         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9312         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
9313         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
9314         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
9315         * sysdeps/unix/sysv/linux/socket.c: Likewise.
9316         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
9317         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
9318         prototype.
9319         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
9320         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9321         instead of __internal_xxx function.
9322         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
9323         prototype.
9324         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
9325         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9326         instead of __internal_xxx function.
9327         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
9328         prototype.
9329         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
9330         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
9331         instead of __internal_xxx function.
9332         * sysdeps/unix/sysv/linux/accept.S: Remove file.
9333         * sysdeps/unix/sysv/linux/bind.S: Likewise.
9334         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9335         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
9336         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
9337         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
9338         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
9339         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
9340         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
9341         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
9342         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
9343         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9344         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
9345         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
9346         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
9347         * sysdeps/unix/sysv/linux/listen.S: Likewise.
9348         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
9349         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
9350         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
9351         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
9352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
9353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
9354         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9355         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9356         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9357         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
9358         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9359         * sysdeps/unix/sysv/linux/send.S: Likewise.
9360         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9361         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9362         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
9363         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
9364         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
9365         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
9366         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9367         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
9368         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
9369         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
9370         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
9371         socketcall is implemented in GLIBC.
9373 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9375         * soft-fp/fmadf4.c: Include <libc-internal.h>.
9376         (__fma): Ignore uninitialized warnings around packing.
9377         * soft-fp/fmasf4.c: Include <libc-internal.h>.
9378         (__fmaf): Ignore uninitialized warnings around packing.
9379         * soft-fp/fmatf4.c: Include <libc-internal.h>.
9380         (__fmal): Ignore uninitialized warnings around packing.
9382         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
9383         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9384         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
9385         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9387         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
9388         switch statement into default case.
9389         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
9391         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
9392         a conditional in forcing "inexact".
9393         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9394         Likewise.
9396 2015-05-22  Roland McGrath  <roland@hack.frob.com>
9398         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9399         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
9400         for each INTERNAL_SYSCALL use.
9402 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
9404         [BZ #438]
9405         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
9406         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
9407         variable.
9409         [BZ #18444]
9410         * string/basename.c (basename): Rename to __basename and define as
9411         weak alias of __basename.  Use libc_hidden_weak.
9412         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
9413         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
9414         __basename instead of basename.
9415         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
9416         Remove variable.
9417         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9419 2015-05-18  Florian Weimer  <fweimer@redhat.com>
9421         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
9422         (_IO_JUMPS_FILE_plus): New.
9423         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
9424         _IO_CAST_FIELD_ACCESS.
9425         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
9426         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
9427         * libio/freopen.c (freopen): Likewise.
9428         * libio/freopen64.c (freopen64): Likewise.
9429         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
9430         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
9431         * libio/iofwide.c (_IO_fwide): Likewise.
9432         * libio/memstream.c (open_memstream): Likewise.
9433         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9434         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9435         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9437 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
9439         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
9440         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
9441         NADJ.
9442         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
9443         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
9444         NADJ.
9445         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
9446         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
9447         NADJ.
9449         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
9450         (p == 4) case.
9452         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
9453         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
9454         Remove variable.
9455         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9456         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9457         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9459 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9461         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
9462         Adjust jump table label generation macros.
9464 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9466         * stdio-common/vfprintf.c (vfprintf): Move local variables
9467         args_malloced, specs, specs_malloced, and the code after
9468         do_positional to the printf_positional function.
9469         (printf_positional): New function.
9471 2015-05-21  Florian Weimer  <fweimer@redhat.com>
9473         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
9474         function.
9475         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
9476         STEP4_TABLE, process_arg): Move macro definitions
9477         out of the vfprintf function.  (Cosmetic change only.)
9479 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
9481         * benchtests/Makefile (stdio-common-bench): Define.
9482         (benchset): Add stdio-common-bench.
9483         * sprintf-inputs: New file.
9484         * sprintf-source.c: New file.
9486 2015-05-21  Andreas Schwab  <schwab@suse.de>
9488         [BZ #13028]
9489         [BZ #17053]
9490         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
9491         of struct __res_state.
9492         * resolv/res_send.c (__libc_res_nsend): Likewise.
9493         (get_nsaddr): New function.
9494         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
9495         statp directly.
9497 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
9499         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
9500         -D_POSIX_C_SOURCE=199506L.
9502         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
9504         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
9505         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
9506         Do not mention otherwise.
9507         [POSIX] (_XOPEN_VERSION): Do not expect.
9508         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
9509         [POSIX] (_POSIX2_C_BIND): Likewise.
9510         [POSIX] (_POSIX2_VERSION): Likewise.
9511         [POSIX] (_XOPEN_XPG2): Likewise.
9512         [POSIX] (_XOPEN_XPG3): Likewise.
9513         [POSIX] (_XOPEN_XPG4): Likewise.
9514         [POSIX] (_XOPEN_UNIX): Likewise.
9515         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
9516         [POSIX] (_POSIX_BARRIERS): Likewise.
9517         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
9518         [POSIX] (_POSIX_CPUTIME): Likewise.
9519         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
9520         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
9521         [POSIX] (_POSIX_SHELL): Likewise.
9522         [POSIX] (_POSIX_SPAWN): Likewise.
9523         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
9524         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
9525         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
9526         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
9527         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
9528         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
9529         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
9530         [POSIX] (_XBS5_LP64_OFF64): Likewise.
9531         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
9532         [POSIX] (_POSIX_TIMEOUTS): Likewise.
9533         [POSIX] (_POSIX2_PBS): Likewise.
9534         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
9535         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
9536         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
9537         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
9538         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
9539         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
9540         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
9541         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
9542         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
9543         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
9544         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
9545         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
9546         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
9547         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
9548         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
9549         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
9550         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
9551         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
9552         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
9553         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
9554         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
9555         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
9556         [POSIX] (_SC_2_C_BIND): Likewise.
9557         [POSIX] (_SC_2_C_VERSION): Likewise.
9558         [POSIX] (_SC_2_PBS): Likewise.
9559         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
9560         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
9561         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
9562         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
9563         [POSIX] (_SC_2_PBS_TRACK): Likewise.
9564         [POSIX] (_SC_ATEXIT_MAX): Likewise.
9565         [POSIX] (_SC_BARRIERS): Likewise.
9566         [POSIX] (_SC_BASE): Likewise.
9567         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
9568         [POSIX] (_SC_DEVICE_IO): Likewise.
9569         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
9570         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
9571         [POSIX] (_SC_FD_MGMT): Likewise.
9572         [POSIX] (_SC_FIFO): Likewise.
9573         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
9574         [POSIX] (_SC_FILE_LOCKING): Likewise.
9575         [POSIX] (_SC_FILE_SYSTEM): Likewise.
9576         [POSIX] (_SC_IOV_MAX): Likewise.
9577         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
9578         [POSIX] (_SC_NETWORKING): Likewise.
9579         [POSIX] (_SC_PAGE_SIZE): Likewise.
9580         [POSIX] (_SC_PASS_MAX): Likewise.
9581         [POSIX] (_SC_PIPE): Likewise.
9582         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
9583         [POSIX] (_SC_REGEXP): Likewise.
9584         [POSIX] (_SC_SHELL): Likewise.
9585         [POSIX] (_SC_SIGNALS): Likewise.
9586         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
9587         [POSIX] (_SC_SPIN_LOCKS): Likewise.
9588         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
9589         [POSIX] (_SC_USER_GROUPS): Likewise.
9590         [POSIX] (_SC_USER_GROUPS_R): Likewise.
9591         [POSIX] (_SC_STREAMS): Likewise.
9592         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
9593         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
9594         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
9595         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
9596         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
9597         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
9598         [POSIX] (_PC_FILESIZEBITS): Likewise.
9599         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
9600         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
9601         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
9602         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
9603         [POSIX] (uid_t): Likewise.
9604         [POSIX] (gid_t): Likewise.
9605         [POSIX] (off_t): Likewise.
9606         [POSIX] (pid_t): Likewise.
9607         [POSIX] (cuserid): Allow.
9608         (_SC_2_CHAR_TERM): Require constant.
9609         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
9610         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
9611         variable.
9613 2015-05-20  Roland McGrath  <roland@hack.frob.com>
9615         * sysdeps/nacl/pthread-pids.h: New file.
9616         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
9617         (create_thread): Use __nacl_get_tid to initialize PD->tid.
9619         * nptl/pthread-pids.h: New file.
9620         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
9621         * nptl/nptl-init.c: Include <pthread-pids.h>.
9622         (__pthread_initialize_minimal_internal):
9623         Call __pthread_initialize_pids instead of set_tid_address syscall.
9625         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
9626         * sysdeps/posix/usleep.c: ... here.
9628 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9630         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
9631         call_pselect6 object.
9632         [$(subdir) = io]: Remove call_sync_file_range object.
9633         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
9634         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
9635         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
9636         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
9638 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
9640         * math/s_cproj.c: Add include "math_private.h".
9641         * math/s_cprojf.c: Likewise.
9642         * math/s_cprojl.c: Likewise.
9644 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
9646         [BZ #18244]
9647         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
9648         high mantissa bit when testing whether P is a NaN.
9649         * math/libm-test.inc (remainder_test_data): Add more tests.
9650         (remquo_test_data): Likewise.
9652         [BZ #18049]
9653         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
9654         below -32, return the argument, with underflow if subnormal.
9655         * math/auto-libm-test-in: Add more tests of atanh.
9656         * math/auto-libm-test-out: Regenerated.
9658 2015-05-19  Roland McGrath  <roland@hack.frob.com>
9660         [BZ #18434]
9661         * nptl/tst-sem15.c: New file.
9662         * nptl/Makefile (tests): Add it.
9663         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
9664         s/<</>>/ to fix typo in EOVERFLOW check.
9665         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
9667 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9669         * manual/strings.texi (envz_remove): Fix typo in safety
9670         annotations.
9672 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
9673             Steve Ellcey  <sellcey@imgtec.com>
9675         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
9676         in order to avoid strict alias warnings.
9677         (iruserok_af): Ditto for ra.
9679 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
9681         [BZ #17581]
9682         * malloc/hooks.c
9683         (magicbyte): Convert to a function and avoid returning 0x01.
9684         (mem2mem_check): Avoid using a length byte equal to the magic byte.
9685         (mem2chunk_check): Fix unsigned comparisons to zero.
9686         Hoist defs of sz and magic.
9688 2015-05-19  Richard Henderson  <rth@redhat.com>
9690         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
9692         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9694 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9696         [BZ #16159]
9697         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
9698         * malloc/arena.c (arena_lock): Check if arena is corrupt.
9699         (reused_arena): Find a non-corrupt arena.
9700         (heap_trim): Pass arena to unlink.
9701         * malloc/hooks.c (malloc_check_get_size): Pass arena to
9702         malloc_printerr.
9703         (top_check): Likewise.
9704         (free_check): Likewise.
9705         (realloc_check): Likewise.
9706         * malloc/malloc.c (malloc_printerr): Add arena argument.
9707         (unlink): Likewise.
9708         (munmap_chunk): Adjust.
9709         (ARENA_CORRUPTION_BIT): New macro.
9710         (arena_is_corrupt): Likewise.
9711         (set_arena_corrupt): Likewise.
9712         (sysmalloc): Use mmap if there are no usable arenas.
9713         (_int_malloc): Likewise.
9714         (__libc_malloc): Don't fail if arena_get returns NULL.
9715         (_mid_memalign): Likewise.
9716         (__libc_calloc): Likewise.
9717         (__libc_realloc): Adjust for additional argument to
9718         malloc_printerr.
9719         (_int_free): Likewise.
9720         (malloc_consolidate): Likewise.
9721         (_int_realloc): Likewise.
9722         (_int_memalign): Don't touch corrupt arenas.
9723         * malloc/tst-malloc-backtrace.c: New test case.
9725         * Makefile (summarize-tests): Fix return value on success.
9727         * manual/string.texi (Envz Functions): Add envz_remove.
9729 2015-05-18  Roland McGrath  <roland@hack.frob.com>
9731         * sysdeps/posix/opendir.c: Include <stdbool.h>.
9732         (invalid_name): New function, broken out of ...
9733         (__opendirat): ... here.  Call it.
9734         (need_isdir_precheck): New function, broken out of ...
9735         (__opendirat): ... here.  Call it.
9736         Use __fxstatat64, not __xstatat64.
9737         (opendir_oflags): New function, broken out of ...
9738         (__opendirat): ... here.  Call it.
9739         (opendir_tail): New function, broken out of ...
9740         (__opendirat): ... here.  Call it.
9741         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
9742         opendir_tail, rather than punting to __opendirat.
9743         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
9745 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9747         * .gitignore: Ignore generated *.pyc.
9749 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
9751         * include/stdio.h: Define __need_wint_t.
9752         * test-skeleton.c: Avoid `for' loop initial declaration.
9753         * nptl/tst-initializers1.c: Use test-skeleton.c.
9755 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9757         [BZ #18418]
9758         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
9760 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
9762         [BZ #16352]
9763         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
9764         (__ieee754_atanh): Force underflow exception for results with
9765         small absolute value.
9766         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
9767         (__ieee754_atanhf): Force underflow exception for results with
9768         small absolute value.
9769         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
9770         (__ieee754_atanh): Force underflow exception for results with
9771         small absolute value.
9772         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
9773         (__ieee754_atanhf): Force underflow exception for results with
9774         small absolute value.
9775         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
9776         (__ieee754_atanhl): Force underflow exception for results with
9777         small absolute value.
9778         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
9779         (__ieee754_atanhl): Force underflow exception for results with
9780         small absolute value.
9781         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
9782         (__ieee754_atanhl): Force underflow exception for results with
9783         small absolute value.
9784         * math/auto-libm-test-in: Do not allow missing underflow
9785         exceptions from atanh.
9786         * math/auto-libm-test-out: Regenerated.
9788         [BZ #18221]
9789         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
9790         2**-28 as threshold for returning x or +/- 1/x.
9791         * math/auto-libm-test-in: Add more tests of tan.
9792         * math/auto-libm-test-out: Regenerated.
9794         [BZ #18220]
9795         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9796         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
9797         * math/auto-libm-test-in: Add another test of lgamma.
9798         * math/auto-libm-test-out: Regenerated.
9800 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
9802         * stdio-common/printf_fp.c (___printf_fp): Use abs.
9803         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
9804         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
9805         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
9806         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
9807         (ADD2A): Use fabs.  (SUB2A): Use fabs.
9808         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
9809         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
9810         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
9811         (log1): Use fabs.  (my_log2): Use fabs.
9812         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
9813         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
9814         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
9815         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
9816         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
9817         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
9818         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
9819         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
9820         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
9821         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
9822         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
9824 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
9826         [BZ #18217]
9827         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
9828         as threshold for returning 1 - x.
9829         * math/auto-libm-test-in: Add more tests of erfc.
9830         * math/auto-libm-test-out: Regenerated.
9832 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
9834         [BZ #18196]
9835         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
9836         threshold for large arguments.
9837         * math/auto-libm-test-in: Add another test of atan.
9838         * math/auto-libm-test-out: Regenerated.
9840         [BZ #16339]
9841         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
9842         (__log1p): Force underflow exception for results with small
9843         absolute value.
9844         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
9845         (__log1pf): Force underflow exception for results with small
9846         absolute value.
9847         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
9848         (__log1p): Force underflow exception for results with small
9849         absolute value.
9850         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
9851         (__log1pf): Force underflow exception for results with small
9852         absolute value.
9853         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
9854         (__log1pl): Force underflow exception for results with small
9855         absolute value.
9856         * math/auto-libm-test-in: Do not allow missing underflow
9857         exceptions from log1p.
9858         * math/auto-libm-test-out: Regenerated.
9860 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
9861             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9863         [BZ #16704]
9864         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
9866 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
9868         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
9869         (libmvec): New variable.
9870         * configure.ac: Added option for mathvec build.
9871         * configure: Regenerated.
9872         * mathvec/Depend: New file.
9873         * mathvec/Makefile: New file.
9874         * shlib-versions: Added libmvec.
9875         * math/Makefile: Added rule for libm.so installation.
9877         * bits/math-vector.h: New file.
9878         * bits/libm-simd-decl-stubs.h: New header.
9879         * math/Makefile (headers): Added new header
9880         libm-simd-decl-stubs.h.
9881         * math/math.h (__MATHCALL_VEC): New macro.
9883         * math/gen-libm-have-vector-test.sh: Script generates series of macros
9884         for conditions in testing functions.
9885         * math/Makefile: Added call of libm-have-vector-test.sh.
9886         * math/libm-test.inc (HAVE_VECTOR): New macros.
9888         * math/libm-test.inc: START refactored.
9889         * math/test-double.c (TEST_MATHVEC): Add define.
9890         * math/test-float.c: Likewise.
9891         * math/test-idouble.c: Likewise.
9892         * math/test-ifloat.c: Likewise.
9893         * math/test-ildoubl.c: Likewise.
9894         * math/test-ldouble.c: Likewise.
9895         * sysdeps/generic/math-tests-arch.h
9896         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
9897         architecture check.
9899         * math/test-double.c (FUNC_TEST): New macro.
9900         * math/test-float.c: Likewise.
9901         * math/test-idouble.c: Likewise.
9902         * math/test-ifloat.c: Likewise.
9903         * math/test-ildoubl.c: Likewise.
9904         * math/test-ldouble.c: Likewise.
9905         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
9907 2015-05-13  Roland McGrath  <roland@hack.frob.com>
9909         * sysdeps/nacl/fdopendir.c: New file.
9911         * dirent/scandir-tail.c: New file.
9912         * dirent/scandir64-tail.c: New file.
9913         * dirent/Makefile (routines): Add them.
9914         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
9915         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
9916         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
9917         [!SCANDIR] (SCANDIR_TAIL): New macro.
9918         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
9919         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
9920         (SCANDIRAT): Macro removed.
9921         (SCANDIR_TAIL): New macro.
9922         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
9923         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
9924         (SCANDIRAT): Just call __opendirat and __scandir_tail.
9925         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
9926         (READDIR): Macro removed.
9927         (SCANDIR_TAIL): New macro.
9928         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
9929         (SCANDIR_TAIL): New macro.
9931         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
9932         * dirent/scandir-cancel.c: ... to this new file.
9933         * dirent/Makefile (routines): Add it.
9934         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
9935         * sysdeps/unix/sysv/linux/i386/scandir64.c
9936         (SKIP_SCANDIR_CANCEL): Macro removed.
9937         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
9939         * dirent/tst-scandir.c: New file.
9940         * dirent/tst-scandir64.c: New file.
9941         * dirent/Makefile (tests): Add them.
9943 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
9945         [BZ #18409]
9946         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
9948 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9950         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
9951         list.
9953 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
9955         * benchtests/bench-strcoll.c: New benchmark.
9956         * benchtests/Makefile: Generate locales and run benchmark.
9957         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
9958         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9959         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
9960         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
9961         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
9962         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
9963         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
9964         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
9965         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
9966         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
9967         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
9968         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
9969         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
9970         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
9971         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
9972         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
9973         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
9974         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
9975         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
9976         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
9977         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
9978         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
9979         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
9980         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
9982 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
9984         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
9985         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9987 2015-05-12  Roland McGrath  <roland@hack.frob.com>
9989         * posix/uname-values.h: New file.
9990         * posix/uname.c: Include that instead of <config-name.h>.
9991         * sysdeps/nacl/uname-values.h: New file.
9992         * sysdeps/arm/nacl/uname-values.h: New file.
9994 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
9996         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
9997         splitting into fields.
9999 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10001         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10002         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10003         * locale/localeinfo.h: Add enum collation_encoding_type.
10004         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10005         * programs/ld-collate.c (collate_output): Add encoding type info.
10006         * string/strcoll_l.c (STRDIFF): New function.
10007         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10008         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10010 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10012         [BZ #18397]
10013         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10014         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10015         <fpu_control.h> instead of <math/fpu_control.c>.
10016         * sysdeps/mips/mips32/fpu/Makefile: New file.
10018 2015-05-11  Andreas Schwab  <schwab@suse.de>
10020         [BZ #18007]
10021         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10022         nss_endgrent.
10023         (_nss_compat_endgrent): Call nss_endgrent.
10024         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10025         nss_endpwent.
10026         (_nss_compat_endpwent): Call nss_endpwent.
10027         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10028         needent, call nss_setspent only if non-zero.
10029         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10030         (internal_endspent): Don't call nss_endspent.
10031         (_nss_compat_endspent): Call nss_endspent.
10032         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10033         Remove.  All uses removed.
10034         (internal_setent): Remove parameter stayopen, add parameter
10035         stream.  Use it instead of global variable.
10036         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10037         (internal_endent, internal_getent): Add parameter stream.  Use it
10038         instead of global variable.
10039         (CONCAT(_nss_files_end,ENTNAME))
10040         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10041         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10042         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10043         uses removed.
10044         (internal_setent, internal_endent): Add parameter stream.  Use it
10045         instead of global variable.
10046         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10047         stream.
10048         (get_next_alias): Add parameter stream.
10049         (_nss_files_getaliasent_r): Pass global stream.
10050         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10051         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10052         (_nss_files_gethostbyname4_r): Pass local stream to
10053         internal_setent, internal_getent and internal_endent.  Remove
10054         locking.
10056 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10058         * tst-strfmon1.c (tests): Update expected currency symbol.
10060 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10062         * sysdeps/nacl/gethostname.c: New file.
10064 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10066         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10067         and sinh.
10068         * math/auto-libm-test-out: Regenerated.
10069         * sysdeps/i386/fpu/libm-test-ulps: Update.
10070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10072 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10074         [BZ #18125]
10075         * stdlib/tst-setcontext3.c: New file.
10076         * stdlib/tst-setcontext3.sh: New file.
10077         * stdlib/Makefile (tests): Add tst-setcontext3.
10078         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10079         to verify test program created output file.
10080         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10081         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10082         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10083         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10085 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10087         [BZ #18383]
10088         * elf/tst-tlsalign.c: New file.
10089         * elf/tst-tlsalign-static.c: New file.
10090         * elf/tst-tlsalign-lib.c: New file.
10091         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10092         (tests-static): Add tst-tlsalign-static.
10093         (modules-names): Add tst-tlsalign-lib.
10094         (test-xfail-tst-tlsalign): New variable.
10095         (test-xfail-tst-tlsalign-static): New variable.
10097         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10098         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10100 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10102         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10103         csqrt, erfc, sin and sincos.
10104         * math/auto-libm-test-out: Regenerated.
10105         * sysdeps/i386/fpu/libm-test-ulps: Update.
10106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10108 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10110         * sysdeps/aarch64/libm-test-ulps: Update.
10112 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10114         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10115         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10116         * math/auto-libm-test-out: Regenerated.
10117         * sysdeps/i386/fpu/libm-test-ulps: Update.
10118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10120 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10122         [BZ #18265]
10123         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10124         (wcsncpy): Likewise.
10126 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10128         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10129         Assume __ASSUME_FALLOCATE is always true.
10130         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10131         (__posix_fallocate64_l64): Likweise.
10132         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10133         (posix_fallocate): Likewise.
10134         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10135         (__posix_fallocate64_l64): Likewise.
10136         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10137         [!__ASSUME_FALLOCATE]: Add comment.
10139 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10141         * sysdeps/unix/sysv/linux/i386/Makefile
10142         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10143         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10144         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10145         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10146         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10147         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10148         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10150 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10152         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10153         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10154         tgamma.
10155         * math/auto-libm-test-out: Regenerated.
10156         * sysdeps/i386/fpu/libm-test-ulps: Update.
10157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10159 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10161         * math/auto-libm-test-in: Add more tests of tgamma.
10162         * math/auto-libm-test-out: Regenerated.
10163         * sysdeps/i386/fpu/libm-test-ulps: Update.
10164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10166         * math/auto-libm-test-in: Add more tests of tanh.
10167         * math/auto-libm-test-out: Regenerated.
10168         * sysdeps/i386/fpu/libm-test-ulps: Update.
10169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10171         * math/auto-libm-test-in: Add more tests of tan.
10172         * math/auto-libm-test-out: Regenerated.
10173         * sysdeps/i386/fpu/libm-test-ulps: Update.
10174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10176         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
10177         * math/auto-libm-test-out: Regenerated.
10178         * sysdeps/i386/fpu/libm-test-ulps: Update.
10179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10181         * math/auto-libm-test-in: Add another test of pow.
10182         * math/auto-libm-test-out: Regenerated.
10183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10185         * math/auto-libm-test-in: Add more tests of lgamma.
10186         * math/auto-libm-test-out: Regenerated.
10187         * sysdeps/i386/fpu/libm-test-ulps: Update.
10188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10190         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
10191         log1p.
10192         * math/auto-libm-test-out: Regenerated.
10193         * sysdeps/i386/fpu/libm-test-ulps: Update.
10194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10196 2015-05-01  Mark Wielaard  <mjw@redhat.com>
10198         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
10199         Elf64_Chdr structs and ELFCOMPRESS constants.
10201 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10203         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
10204         expm1.
10205         * math/auto-libm-test-out: Regenerated.
10206         * sysdeps/i386/fpu/libm-test-ulps: Update.
10207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10209         * math/auto-libm-test-in: Add more tests of erf and erfc.
10210         * math/auto-libm-test-out: Regenerated.
10211         * sysdeps/i386/fpu/libm-test-ulps: Update.
10212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10214 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10216         * config.h.in (HAVE_AARCH64_BE): Add.
10218 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
10220         * math/auto-libm-test-in: Add more tests of csqrt.
10221         * math/auto-libm-test-out: Regenerated.
10222         * sysdeps/i386/fpu/libm-test-ulps: Update.
10223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10225         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10226         * math/auto-libm-test-out: Regenerated.
10227         * sysdeps/i386/fpu/libm-test-ulps: Update.
10228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10230         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
10232 2015-04-29  Roland McGrath  <roland@hack.frob.com>
10234         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
10235         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
10237         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
10238         (euidaccess, eaccess): Define as weak aliases.
10240         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
10241         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
10242         but __suseconds_t is often 'long int' so some sources assume that
10243         type is being used (e.g. they use %ld to print tv_usec).
10245 2015-04-29  Florian Weimer  <fweimer@redhat.com>
10247         [BZ #18007]
10248         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
10249         (CVE-2014-8121)
10250         * nss/tst-nss-getpwent.c: New file.
10251         * nss/Makefile (tests): Add new test.
10253 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
10255         [BZ #18346]
10256         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
10257         exponents less than 48 as cases where high part of mantissa needs
10258         examining to determine whether argument is integral.
10259         * math/libm-test.inc (round_test_data): Add more tests.
10261 2015-04-28  Mark Wielaard  <mjw@redhat.com>
10263         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
10265 2015-04-27  David S. Miller  <davem@davemloft.net>
10267         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
10268         __tls_get_addr.
10269         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10271 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
10273         [BZ#18333]
10274         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
10276 2015-04-27  Florian Weimer  <fweimer@redhat.com>
10278         [BZ#18333]
10279         * time/tzset.c (parse_tzname): Return error on memory allocation
10280         failure.
10281         * test-skeleton.c (struct temp_name_list): Change type of name
10282         member to non-const.
10283         (add_temp_file): Create a copy of the file name.
10284         (delete_temp_files): Deallocate memory.
10285         (create_temp_file): Add comment.
10287 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10289         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
10290         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
10292 2015-04-24  Roland McGrath  <roland@hack.frob.com>
10294         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
10295         * sysdeps/arm/configure: Regenerated.
10297 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10299         [BZ #17715]
10300         * time/tzfile.c (__tzfile_read): Check for large values of
10301         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
10302         * time/tzset.c (__tzstring_len): New function, based on the old
10303         __tzstring function.
10304         (__tzstring): Call __tzstring_len.
10305         (parse_tzname): New helper function extracted from
10306         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
10307         the input string.
10308         (parse_offset): New helper function extracted from
10309         __tzset_parse_tz.  Replace switch with fallthrough with
10310         initialization before sscanf.
10311         (parse_rule): Likewise.
10312         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
10313         new-style function definition.
10314         * timezone/Makefile (tests): Add tst-tzset.
10315         (tst-tzset.out): Dependencies on time zone files.
10316         (tst-tzset-ENV): Set TZDIR.
10317         (testdata/XT%): Copy crafted time zone files.
10318         * timezone/README: Mention crafted time zone files.
10319         * timezone/testdata/XT1, timezone/testdata/XT2,
10320         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
10321         files.
10322         * timezone/tst-tzset.c: New test.
10324 2015-04-24  Florian Weimer  <fweimer@redhat.com>
10326         * Makeconfig (+gccwarn): Remove -Winline.
10328 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10330         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
10332 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10334         * NEWS: Mention sysconf() cache information support for s390.
10335         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
10337 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
10339         * math/k_casinh.c (__kernel_casinh): Use __copysign.
10340         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
10341         (__nearbyint): Likewise.
10342         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
10343         (copysignl): Likewise.
10345 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
10347         [BZ #18287]
10348         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
10349         based on padding.  (CVE-2015-1781)
10351 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10353         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
10354         libc-vdso.h.
10355         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
10356         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
10357         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
10358         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10359         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10360         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
10361         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
10362         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10363         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10364         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
10365         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10366         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
10367         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10368         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
10369         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10370         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
10371         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
10372         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
10373         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
10374         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
10375         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
10376         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
10377         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
10379 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
10381         * stdlib/setenv.c (__add_to_environ):
10382         Dump core quickly if setenv (..., NULL, ...) is called.
10383         This time, do it the right way, and pacify GCC with a pragma.
10385 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10387         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
10388         IMAP->l_prev cannot be null, and #if out the code for the contrary
10389         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
10390         believe that NS (&_dl_ns[NSID]) could point outside the array.
10392         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
10393         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
10394         before using NSID as an index.
10396 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
10398         [BZ #17825]
10399         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
10400         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
10401         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
10403 2015-04-17  Roland McGrath  <roland@hack.frob.com>
10405         Add preliminary port to Google Native Client on ARM.
10406         * abi-tags (.*-.*-nacl.*): New entry.
10407         * sysdeps/arm/nacl: New directory.
10408         * sysdeps/nacl: New directory.
10410 2015-04-16  David S. Miller  <davem@davemloft.net>
10412         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
10413         lowlevellock-futex.h
10415 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
10417         * sysdeps/tile/configure.ac: New file.
10418         * sysdeps/tile/configure: Regenerated.
10420 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10422         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
10423         conditionals for weak_alias and libc_hidden_weak.
10424         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
10425         libc_hidden_weak and weak_alias.
10426         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
10427         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
10428         and weak_alias for static one.
10430 2015-04-15  David S. Miller  <davem@davemloft.net>
10432         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10434 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10436         [BZ #18206]
10437         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
10438           Use signed comparision instead of substraction to avoid
10439           overflow bug.
10440         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
10441           Take the sign of ret.
10442         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
10443           Do not expect precise return values. Only the sign matters.
10444         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
10445         * wcsmbs/test-wcsncmp.c: New File.
10446         * string/test-strncmp.c: Add wcsncmp support.
10448 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10450         [BZ #6792]
10451         * math/w_log1p.c: New file.
10452         * math/w_log1pf.c: Likewise.
10453         * math/w_log1pl.c: Likewise.
10454         * math/Makefile (libm-calls): Add w_log1p.
10455         * math/s_log1pl.c (log1pl): Remove weak_alias.
10456         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
10457         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
10458         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
10459         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
10460         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
10461         [NO_LONG_DOUBLE] (log1pl): Likewise.
10462         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
10463         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
10464         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
10465         (log1p): Remove long_double_symbol.
10466         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
10467         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
10468         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
10469         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
10470         remove weak_alias for corresponding log1p function.
10471         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
10472         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
10473         * sysdeps/ia64/fpu/w_log1p.c: New file.
10474         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
10475         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
10476         * math/libm-test.inc (log1p_test_data): Add errno expectations.
10478 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
10480         [BZ #18247]
10481         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
10482         decimal exponent by 1.
10483         * stdlib/tst-strtod-round-data: Add more tests.
10484         * stdlib/tst-strtod-round.c (tests): Regenerated.
10486 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
10488         * math/auto-libm-test-in: Add more tests of clog and clog10.
10489         * math/auto-libm-test-out: Regenerated.
10490         * sysdeps/i386/fpu/libm-test-ulps: Update.
10491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10493 2015-04-09  Roland McGrath  <roland@hack.frob.com>
10495         * Makeconfig (module-cppflags): Exclude all .v.i files.
10496         (skip-module-cppflags): Variable removed.
10498         * configure.ac (libc_config_ok): Initialize before reading
10499         preconfigure scripts, not after.
10500         * configure: Regenerated.
10502         * test-skeleton.c (TIMEOUT): Move #define to top level.
10503         (main): Grok environment variable TEST_DIRECT.  If set, print
10504         test expectation details into that file and then behave as if
10505         given --direct.
10507 2015-04-09  Florian Weimer  <fweimer@redhat.com>
10509         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
10510         warning on 32-bit.
10512 2015-04-08  David S. Miller  <davem@davemloft.net>
10514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10516 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10518         * math/auto-libm-test-in: Add more tests of atanh.
10519         * math/auto-libm-test-out: Regenerated.
10520         * sysdeps/i386/fpu/libm-test-ulps: Update.
10521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10523         * math/auto-libm-test-in: Add more tests of atan.
10524         * math/auto-libm-test-out: Regenerated.
10525         * sysdeps/i386/fpu/libm-test-ulps: Update.
10526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10528 2015-04-08  Florian Weimer  <fweimer@redhat.com>
10530         * elf/pldd.c (main): Rewrite to use struct
10531         scratch_buffer instead of extend_alloca.
10532         * elf/pldd-xx.c (find_maps): Likewise.
10533         * grp/initgroups.c: Include <scratch_buffer.h> instead of
10534         <alloca.h>.
10535         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
10536         scratch_buffer instead of extend_alloca.
10537         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
10538         grp/compat-initgroups.c.
10539         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
10540         Rewrite to use struct scratch_buffer instead of extend_alloca.
10541         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
10542         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10544 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
10546         * math/auto-libm-test-in: Add more tests of cbrt.
10547         * math/auto-libm-test-out: Regenerated.
10548         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10550         * math/auto-libm-test-in: Add more tests of cabs.
10551         * math/auto-libm-test-out: Regenerated.
10552         * sysdeps/i386/fpu/libm-test-ulps: Update.
10553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10555         [BZ #18210]
10556         [BZ #18211]
10557         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
10558         (__ieee754_atan2): Set FE_TONEAREST mode for internal
10559         computations.
10560         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
10561         clog10.
10562         * math/auto-libm-test-out: Regenerated.
10563         * sysdeps/i386/fpu/libm-test-ulps: Update.
10564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10566         [BZ #18197]
10567         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
10568         (atan): Set FE_TONEAREST mode for internal computations.
10569         * math/auto-libm-test-in: Add more tests of atan.
10570         * math/auto-libm-test-out: Regenerated.
10572 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
10574         [BZ #17930]
10575         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
10577 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10579         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
10581 2015-04-07  Florian Weimer  <fweimer@redhat.com>
10583         * include/scratch_buffer.h: New file.
10584         * malloc/scratch_buffer_grow.c: Likewise.
10585         * malloc/scratch_buffer_grow_preserve.c: Likewise.
10586         * malloc/scratch_buffer_set_array_size.c: Likewise.
10587         * malloc/tst-scratch_buffer.c: Likewise.
10588         * malloc/Makefile (routines): Add scratch_buffer_grow.
10589         (tests): Add test case.
10590         * malloc/Versions (GLIBC_PRIVATE): Export
10591         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
10592         __libc_scratch_buffer_set_array_size.
10594 2015-04-06  Richard Henderson  <rth@redhat.com>
10596         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
10597         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10599         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
10600         unsigned int before printing.
10602 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10604         [BZ #17596]
10605         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
10606         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10608 2015-04-02  Florian Weimer  <fweimer@redhat.com>
10610         * include/libc-internal.h (libc_max_align_t): Define.
10612 2015-04-02  Andreas Schwab  <schwab@suse.de>
10614         [BZ #16850]
10615         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
10617 2015-04-02  Mel Gorman  <mgorman@suse.de>
10619         [BZ #17195]
10620         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
10621         as well as the main arena.
10623 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10625         [BZ #18185]
10626         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
10627         sharing L2 cache to 2 for Silvermont/Knights Landing.
10629 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10631         [BZ #17711]
10632         * config.make.in (have-protected-data): New.
10633         * configure.ac: Check linker support for protected data symbol.
10634         * configure: Regenerated.
10635         * elf/Makefile (modules-names): Add tst-protected1moda and
10636         tst-protected1modb if $(have-protected-data) is yes.
10637         (tests): Add tst-protected1a and tst-protected1b if
10638         $(have-protected-data) is yes.
10639         ($(objpfx)tst-protected1a): New.
10640         ($(objpfx)tst-protected1b): Likewise.
10641         (tst-protected1modb.so-no-z-defs): Likewise.
10642         * elf/tst-protected1a.c: New file.
10643         * elf/tst-protected1b.c: Likewise.
10644         * elf/tst-protected1mod.h: Likewise.
10645         * elf/tst-protected1moda.c: Likewise.
10646         * elf/tst-protected1modb.c: Likewise.
10648 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
10650         [BZ #17711]
10651         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
10652         indicates it is called from do_lookup_x on relocation against
10653         protected data, skip the data definion in the executable from
10654         copy reloc.
10655         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
10656         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
10657         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
10658         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
10659         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
10660         otherwise to 0.
10661         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10662         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
10663         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
10664         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
10665         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
10666         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
10668 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
10670         * sysdeps/nptl/pthread.h: Remove duplicate definition of
10671         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
10673 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
10675         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
10676         THREAD_SETMEM_NC.
10677         * sysdeps/x86_64/nptl/tls.h: Ditto.
10679 2015-03-27  Roland McGrath  <roland@hack.frob.com>
10681         * dlfcn/tststatic.c (main): Converted to ...
10682         (do_test): ... this.
10683         (TEST_FUNCTION): New macro.
10684         Include test-skeleton.c.
10686 2015-03-26  Alan Modra  <amodra@gmail.com>
10688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
10689         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
10690         zero for undefined weak.
10691         (elf_machine_plt_conflict): Similarly.
10693 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10695         * math/auto-libm-test-in: Add more tests of acosh, asinh and
10696         atanh.
10697         * math/auto-libm-test-out: Regenerated.
10698         * sysdeps/i386/fpu/libm-test-ulps: Update.
10699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10701         * math/auto-libm-test-in: Add another test of asin.
10702         * math/auto-libm-test-out: Regenerated.
10703         * sysdeps/i386/fpu/libm-test-ulps: Update.
10704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10706         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
10707         Remove macro.
10708         (LLL_EBX_REG): Likewise.
10709         (LLL_ENTER_KERNEL): Likewise.
10711         * math/auto-libm-test-in: Add more tests of asin.
10712         * math/auto-libm-test-out: Regenerated.
10713         * sysdeps/i386/fpu/libm-test-ulps: Update.
10714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10716         [BZ #18138]
10717         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
10718         libc_do_syscall_args): New structure.
10719         (INTERNAL_SYSCALL_MAIN_0): New macro.
10720         (INTERNAL_SYSCALL_MAIN_1): Likewise.
10721         (INTERNAL_SYSCALL_MAIN_2): Likewise.
10722         (INTERNAL_SYSCALL_MAIN_3): Likewise.
10723         (INTERNAL_SYSCALL_MAIN_4): Likewise.
10724         (INTERNAL_SYSCALL_MAIN_5): Likewise.
10725         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
10726         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
10727         Replace conditional definitions by conditional definitions of ....
10728         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
10729         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
10730         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
10731         (libpthread-sysdep_routines): Add libc-do-syscall.
10732         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
10733         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
10734         to __NR_futex not 240.
10736 2015-03-25  Alan Modra  <amodra@gmail.com>
10738         * NEWS: Advertise TLS optimization.
10739         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
10740         (DT_PPC_NUM): Increment.
10741         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
10742         (CHECK_STATIC_TLS): Use here.
10743         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
10744         TLS descriptors.
10745         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10746         * sysdeps/powerpc/dl-tls.c: New file.
10747         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
10748         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
10749         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
10750         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
10751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
10752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10755 2015-03-25  Alan Modra  <amodra@gmail.com>
10757         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
10758         for overlapping .opd entries" to "support...".
10759         * sysdeps/powerpc/powerpc64/configure: Regenerate
10761 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
10763         * math/auto-libm-test-in: Add more tests of acos.
10764         * math/auto-libm-test-out: Regenerated.
10765         * sysdeps/i386/fpu/libm-test-ulps: Update.
10766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10768         * math/auto-libm-test-in: Add more tests of expm1.
10769         * math/auto-libm-test-out: Regenerated.
10770         * sysdeps/i386/fpu/libm-test-ulps: Update.
10771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10773 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
10775         * math/auto-libm-test-in: Add more tests of cosh and sinh.
10776         * math/auto-libm-test-out: Regenerated.
10777         * sysdeps/i386/fpu/libm-test-ulps: Update.
10778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10780         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10783         * math/auto-libm-test-in: Add more tests of log2.
10784         * math/auto-libm-test-out: Regenerated.
10785         * sysdeps/i386/fpu/libm-test-ulps: Update.
10786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10788 2015-03-23  Roland McGrath  <roland@hack.frob.com>
10790         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
10791         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
10792         _IO_IS_APPENDING bit in READ_WRITE instead.
10794 2015-03-23  Florian Weimer  <fweimer@redhat.com>
10796         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10797         (__determine_cpumask_size): Replace extend_alloca with a
10798         variable-length array.  Do not treat res == 0 as an error.
10800 2015-03-23  Florian Weimer  <fweimer@redhat.com>
10802         [BZ #18100]
10803         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
10804         and integer overflow.
10805         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
10806         (main): Add integer overflow tests.
10807         * manual/pattern.texi (Calling Wordexp): Document additional use
10808         for WRDE_SYNTAX.
10810 2015-03-23  Alan Modra  <amodra@gmail.com>
10812         * config.h.in: Remove HAVE_ASM_PPC_REL16.
10813         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
10814         and false branch of conditional.
10815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10816         Likewise.
10818 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
10820         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
10821         libc-modules.h
10822         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
10823         unused declaration of _hurd_intr_rpc_msg_in_trap.
10824         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
10825         defined instead of whether it is non-zero.
10826         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
10827         input constraint instead of both input and output constraint.  Use ecx
10828         clobber instead of %ecx.
10829         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
10830         mutex_unlock): Use a statement expression instead of an expression list.
10831         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
10832         type to vm_size_t instead of vm_address_t.
10833         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
10834         defined instead of whether it is non-zero.
10835         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
10836         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
10837         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
10838         comparisons with mapaddr.
10839         * nscd/nscd-client.h: Include <time.h>.
10840         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
10841         9th parameter to __vm_region instead of int.
10842         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
10843         * scripts/check-local-headers.sh (exclude): Add device/,
10844         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
10845         cthreads.h.
10847 2015-03-19  Roland McGrath  <roland@hack.frob.com>
10849         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
10850         to account for alignment padding.
10851         * sysdeps/arm/memmove.S: Likewise.
10853 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
10855         * sysdeps/unix/sysv/linux/generic/README: New file.
10857 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
10859         [BZ #18138]
10860         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
10861         (futex_abstimed_wait)
10862         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
10863         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
10864         of lll_futex_timed_wait.
10866 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
10868         [BZ #17542]
10869         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
10871 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
10873         [BZ #17090]
10874         [BZ #17620]
10875         [BZ #17621]
10876         [BZ #17628]
10877         * NEWS: Update.
10878         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
10879         entries with Static TLS too.  Skip entries past the end of the
10880         allocated DTV, from Alan Modra.
10881         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
10882         Static TLS DTV entry set up from...
10883         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
10884         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
10885         * nptl/allocatestack.c (init_one_static_tls): ... and here...
10886         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
10887         for Static TLS.
10888         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
10889         that the slot we find is associated with the given map before
10890         using its generation count.
10891         * nptl_db/db_info.c: Include ldsodefs.h.
10892         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
10893         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
10894         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
10895         (link_map::l_tls_offset): New struct field.
10896         (dtv_t::counter): Likewise.
10897         (rtld_global): New struct.
10898         (_rtld_global): New rtld variable.
10899         (dl_tls_dtv_slotinfo_list): New rtld global field.
10900         (dtv_slotinfo_list): New struct.
10901         (dtv_slotinfo): Likewise.
10902         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
10903         (td_lookup): Rename to...
10904         (td_mod_lookup): ... this.  Use new mod parameter instead of
10905         LIBPTHREAD_SO.
10906         * nptl_db/td_thr_tlsbase.c: Include link.h.
10907         (dtv_slotinfo_list, dtv_slotinfo): New functions.
10908         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
10909         addresses even if the DTV is out of date or missing them.
10910         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
10911         index zero-length arrays.
10912         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
10913         (td_lookup): Make it a macro implemented in terms of...
10914         (td_mod_lookup): ... this declaration.
10915         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
10916         (DB_MAIN_VARIABLE): Likewise.
10918 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10920         [BZ #18134]
10921         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
10923 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
10925         * stdlib/setenv.c (__add_to_environ): Revert previous change.
10927 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10929         [BZ #18128]
10930         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
10931         (atomic_add, atomic_increment_and_test)
10932         (atomic_decrement_and_test): Fix 64-bit arithmetic.
10934 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
10936         * stdlib/setenv.c (__add_to_environ):
10937         Dump core quickly if setenv (..., NULL, ...) is called.
10939 2015-03-13  Roland McGrath  <roland@hack.frob.com>
10941         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
10942         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
10943         all the necessary asm magic in one place.
10944         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
10945         using those.
10947 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
10949         [BZ #14906]
10950         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
10951         traced file mtime. Use consistent log message.
10952         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
10953         (register_traced_file): Call install_watches. Always set mtime.
10954         (invalidate_cache): Iterate over all trace files. Call install_watches.
10955         (inotify_check_files): Don't inline. Handle watching parent
10956         directories and configuration file movement in and out.
10957         (handle_inotify_events): New function.
10958         (main_loop_poll): Call handle_inotify_events.
10959         (main_loop_epoll): Likewise.
10960         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
10961         (struct traced_file): Use array of inotify fds. Add parent directory,
10962         and basename.
10963         (struct database_dyn): Remove unused file_mtime.
10964         (init_traced_file): New inline function.
10965         (define_traced_file): New macro.
10966         * nss/nss_db/db-init.c: Use define_traced_file.
10967         (_nss_db_init): Use init_traced_file.
10968         * nss/nss_files/files-init.c: Use define_traced_file.
10969         (_nss_files_init): Use init_traced_file.
10971 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
10973         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
10974         [_LIBC]: Do not include <stdlib.h>.
10975         [!_LIBC] (abort): Remove declaration.
10976         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
10977         _FP_STATIC_ASSERT instead of conditionally calling abort.
10978         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
10979         (_FP_EXTEND_CNAN): Likewise.
10980         (FP_TRUNC): Likewise.
10981         (__FP_CLZ): Likewise.
10982         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
10984 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
10986         * manual/string.texi (XPG basename): Fix prototype.
10988 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10990         [BZ #18080]
10991         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
10992         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
10993         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
10994         (__setcontext): Likewise.
10995         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
10996         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
10997         Call rt_sigprocmask syscall one time to set new signal mask
10998         and retrieve the current signal mask instead of two calls.
10999         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11000         (__swapcontext): Likewise.
11001         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11002         * stdlib/tst-setcontext2.c: New file.
11004 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11006         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11008 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11010         [BZ #18093]
11011         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11012         the wrong size.
11014 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11016         [BZ #18043]
11017         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11019 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11021         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11022         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11023         Remove define.
11024         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11025         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11026         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11027         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11028         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11029         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11030         define.
11031         * nptl_db/td_symbol_list.c (td_lookup): Remove
11032         HAVE_ASM_GLOBAL_DOT_NAME code.
11033         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11034         HAVE_ASM_GLOBAL_DOT_NAME check.
11035         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11036         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11037         (DOT_LABEL): Remove define.
11038         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11039         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11040         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11041         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11042         (__TLS_GET_ADDR): Likewise.
11043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11044         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11046 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11048         [BZ #18111]
11049         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11050         (_FPU_SETCW): Initialize cw from fpsr before storing.
11051         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11052         (fesetexceptflag): Rewrite using fpu_control.h.
11053         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11055 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11057         [BZ #18110]
11058         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11059         asms.
11060         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11062 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11064         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11065         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11066         abort.
11067         (_FP_FMA): Likewise.
11068         (_FP_DIV): Likewise.
11070 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11072         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11073         with 0 in that case.
11074         * Makefile (summarize-tests): New canned sequence, factored out of
11075         commands for targets tests and xtests.  Display summary lines that
11076         don't start with PASS: or XFAIL: rather than ones that do start with
11077         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11078         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11079         do start with ERROR: or FAIL:.
11080         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11081         (except for [$(build-shared) = yes]).
11082         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11083         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11084         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11085         * nptl/Makefile: Revert 2015-03-04 changes.
11086         [$(CXX) empty] (tests-unsupported): New variable.
11087         * debug/Makefile: Likewise.
11089         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11090         gnulib file.  Replace __attribute with __attribute__ throughout.
11092 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11094         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11096 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11098         [BZ #18104]
11099         * math/auto-libm-test-in: Add another test of pow.
11100         * math/auto-libm-test-out: Regenerated.
11102 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11104         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11105         $(config-cflags-nofma).
11107 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11109         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11110         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11111         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11112         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11113         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11114         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11115         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11116         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11117         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11118         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11119         Add comment on closing #endif.
11121 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11123         * posix/wordexp.c (CHAR_IN_SET): New macro.
11124         (parse_param): Use it.
11126 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11128         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11130 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11132         [BZ #18043]
11133         * posix/wordexp.c (parse_param): Fix buffer overflow.
11134         * posix/wordexp-test.c (test_case): Add test case.
11136 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11138         [BZ #18042]
11139         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11140         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11142 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11144         [BZ #18043]
11145         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11146         (do_bz18043): Delete.
11147         (at_page_end): New.
11148         (testit): Refactor to have words at the edge of unreadable page.
11150 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11152         [BZ #16734]
11153         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11154         Cleanup read-only streams as well.
11155         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11157 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11159         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11160         <bits/libc-lockP.h>
11162 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11164         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11165         on [__KERNEL__].
11166         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11167         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11168         * soft-fp/op-common.h (_FP_DECL): Likewise.
11170 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11172         * elf/ifuncdep2.c (global): Replace
11173         __attribute__((visibility("protected"))) with
11174         asm (".protected global").
11175         * elf/ifuncmod1.c (global): Likewise.
11176         * elf/ifuncmod5.c (global): Likewise.
11178 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
11180         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
11181         <asm/sfp-machine.h> instead of <sfp-machine.h>.
11183 2015-03-06  Roland McGrath  <roland@hack.frob.com>
11185         * manual/install.texi (Configuring and compiling):
11186         Document test-wrapper-env-only.
11187         * INSTALL: Regenerated.
11189 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11191         [BZ #18043]
11192         * posix/wordexp.c (parse_param): Fix buffer overflow.
11193         * posix/wordexp-test.c (do_bz18043): Add test case.
11195 2015-03-06  Vincent Bernat  <vincent@bernat.im>
11197         * time/tst-strptime2.c (do_test): Ensure failing tests are
11198         reported correctly.
11199         * time/tst-strptime3.c (do_test): Likewise.
11201 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
11203         Fix aio_error thread-safety.
11204         * sysdeps/pthread/aio_error.c: New file
11205         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
11206         synchronization.
11208 2015-03-06  Florian Weimer  <fweimer@redhat.com>
11210         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
11211         (group_number, vfprintf): Use it.
11212         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
11213         (JUMP, REF): Use it.
11214         (WORK_BUFFER_SIZE): New enum constant.
11215         (process_arg, vfprintf): Use it.
11217 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
11219         * manual/errno.texi (Error Messages): Complete example function
11220         by adding missing #define.
11221         (program_invocation_name): Add statement indicating GNU
11222         extension and reference which header file declares the variable.
11223         (program_invocation_short_name): Likewise.
11225 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
11227         * manual/errno.texi (Error Messages): Delete strerror ISO C89
11228         compatibility note.
11230 2015-03-05  Roland McGrath  <roland@hack.frob.com>
11232         * Makeconfig (test-wrapper-env-only): New variable.
11233         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
11234         then use that with $(test-wrapper-env-only) rather than using
11235         $(test-wrapper-env) $(run-program-env) $($*-ENV).
11237 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
11239         [BZ #18082]
11240         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
11241         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
11242         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
11243         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
11244         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
11245         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
11246         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
11247         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
11248         Likewise.
11249         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
11250         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
11251         Likewise.
11252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
11253         Likewise.
11254         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
11255         Likewise.
11256         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
11257         Likewise.
11258         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
11259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
11260         Likewise.
11261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
11262         Likewise.
11263         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
11264         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
11266 2015-03-04  Roland McGrath  <roland@hack.frob.com>
11268         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
11269         (ETH_ALEN): New macro.
11270         (struct ether_addr): Use it for length of ether_addr_octet.
11272         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
11273         (setdb): Don't call __nss_configure_lookup for "rpc".
11274         (do_test): Don't call test_rpc.
11275         (output_rpcent, test_rpc): Functions moved ...
11276         * sunrpc/test-rpcent.c: ... to this new file.
11277         * sunrpc/Makefile (tests): Add it.
11279         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
11280         __xpg_sigpause.
11281         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
11282         * nptl/tst-signal6.c: Likewise.
11283         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
11284         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
11286         * configure.ac (libc_cv_cxx_link_ok): New check.
11287         Reset CXX to empty if it fails to link.
11288         * configure: Regenerated.
11289         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
11290         bug-atexit3-lib only if $(CXX) is nonempty.
11291         * nptl/Makefile (tests): Likewise for tst-cancel24.
11292         (tests, tests-static): Likewise for tst-cancel24-static.
11293         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
11294         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
11295         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
11296         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
11298 2015-03-04  Andreas Schwab  <schwab@suse.de>
11300         [BZ #17631]
11301         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
11302         for non-GCC compilers.
11303         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11304         Likewise.
11306 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11308         [BZ #17776]
11309         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
11310         integer before bitwise and assembly operations.
11311         (feclearexcept): Likewise.
11312         * math/test-fenvinline.c: New file.
11313         * math/Makefile: Add test-fenvinline test.
11315 2015-03-03  Alan Modra  <amodra@gmail.com>
11317         [BZ #16512]
11318         * scripts/localplt.awk: Strip off symbol version.
11319         * NEWS: Mention bug fix.
11321 2015-03-02  Roland McGrath  <roland@hack.frob.com>
11323         * sysdeps/pthread/timer_routines.c
11324         (timer_free_list, thread_free_list, thread_active_list): Make static.
11326 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
11328         [BZ #17779]
11329         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11330         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11331         Undefine.
11332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11333         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11334         Likewise.
11335         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11336         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
11337         Likewise.
11339 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
11341         [BZ #18036]
11342         * posix/fnmatch_loop.c (END): Detect invalid pattern.
11343         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
11345 2015-03-02  Andreas Schwab  <schwab@suse.de>
11347         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
11348         variable name.
11350 2015-03-02  Florian Weimer  <fweimer@redhat.com>
11352         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
11353         Return error status.
11355 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
11357         [BZ #15969]
11358         * locale/findlocale.c (_nl_find_locale): Introduce const
11359         version of loc_name and drop unsafe type casts.
11361 2015-02-27  Roland McGrath  <roland@hack.frob.com>
11363         * dlfcn/tststatic2.c (main): Converted to ...
11364         (do_test): ... this.
11365         (TEST_FUNCTION): New macro.
11366         Include test-skeleton.c.
11368 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
11370         [BZ #17711]
11371         * elf/Makefile (tests): Add vismain only if PIE is enabled.
11372         (tests-pie): Add vismain.
11373         (CFLAGS-vismain.c): New.
11374         * elf/vismain.c: Add comments for PIE requirement.
11376 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11378         [BZ #18046]
11379         [BZ #18047]
11380         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
11381         0x1p-56L as threshold for just returning the argument.
11382         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
11383         0x1p-32L as threshold for just returning the argument.
11384         * math/auto-libm-test-in: Add more tests of atanh.
11385         * math/auto-libm-test-out: Regenerated.
11386         * sysdeps/i386/fpu/libm-test-ulps: Update.
11387         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
11389 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11391         * string/bcopy.c (bcopy): Call memmove for performance.
11393 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
11395         * string/bzero.c (__bzero): Call memset for performance.
11397 2015-02-27  John David Anglin  <dave.anglin@bell.net>
11399         [BZ #18068]
11400         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
11401         to 00100000.
11403 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
11405         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
11407 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11409         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
11410         (__kernel_standard): Use CSTR macro when setting exc.name.
11411         * sysdeps/ieee754/Makefile [$(subdir) = math]
11412         (CFLAGS-k_standard.c): Remove variable.
11414         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
11415         setting p and q from "else if" to "else".
11416         (qzero): Likewise.
11417         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
11418         (qone): Likewise.
11419         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
11420         (qzerof): Likewise.
11421         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
11422         (qonef): Likewise.
11423         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
11424         (qzero): Likewise.
11425         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
11426         (qone): Likewise.
11428         [BZ #18038]
11429         [BZ #18039]
11430         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
11431         return pi/2 for arguments below 0x1p-113L.
11432         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
11433         return pi/2 for arguments below 0x1p-106L.
11434         * math/auto-libm-test-in: Add more tests of acos.
11435         * math/auto-libm-test-out: Regenerated.
11437         [BZ #16351]
11438         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
11439         (MO): New macro.
11440         (__ieee754_asin): Force underflow exception for results with small
11441         absolute value.
11442         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
11443         (MO): New macro.
11444         (__ieee754_asinf): Force underflow exception for results with
11445         small absolute value.
11446         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
11447         (__ieee754_asin): Force underflow exception for results with small
11448         absolute value.
11449         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
11450         (__ieee754_asinf): Force underflow exception for results with
11451         small absolute value.
11452         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
11453         (__ieee754_asinl): Force underflow exception for results with
11454         small absolute value.
11455         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
11456         (__ieee754_asinl): Force underflow exception for results with
11457         small absolute value.
11458         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
11459         (__ieee754_asinl): Force underflow exception for results with
11460         small absolute value.
11461         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11462         Include <math.h>.
11463         * math/auto-libm-test-in: Do not mark underflow exceptions as
11464         possibly missing for bug 16351.
11465         * math/auto-libm-test-out: Regenerated.
11467         [BZ #18030]
11468         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
11469         of power of 2 down when low part has opposite sign.
11470         * math/libm-test.inc (logb_test_data): Add more tests.
11472 2015-02-26  Andreas Schwab  <schwab@suse.de>
11474         [BZ #18032]
11475         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
11476         over collating symbol inside a bracket expression.  Minor cleanup.
11477         * posix/tst-fnmatch3.c (do_test): Add test case.
11479 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
11481         [BZ #18029]
11482         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
11483         Adjust exponent of power of 2 down when low part has opposite
11484         sign.
11485         * math/libm-test.inc (ilogb_test_data): Add more tests.
11487 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
11489         [BZ #15969]
11490         * locale/findlocale.c (_nl_find_locale): Fix constness error in
11491         the previous change.
11493         [BZ #15969]
11494         * locale/findlocale.c (_nl_find_locale): Retry archive search
11495         after alias expansion.
11497 2015-02-25  Roland McGrath  <roland@hack.frob.com>
11499         * iconv/tst-iconv3.c (main): Converted to ...
11500         (do_test): ... this.
11501         (TEST_FUNCTION): New macro.
11502         Include test-skeleton.c.
11504         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
11505         (convert): Make function static.
11506         (test_unalign): Likewise.  Add const to argument pointee types.
11507         (main): Replace with static function do_test.
11508         Print "Succeeded." only if RET is zero.
11509         (TEST_FUNCTION): New macro.
11510         Include test-skeleton.c.
11512         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
11513         returns a null pointer.
11515 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11517         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
11518         to __memcpy_ppc only for static builds.
11520 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
11522         [BZ #18020]
11523         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
11524         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
11525         * math/auto-libm-test-in: Add more tests of asinh.
11526         * math/auto-libm-test-out: Regenerated.
11527         * sysdeps/i386/fpu/libm-test-ulps: Update.
11528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11530 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
11532         [BZ #15850]
11533         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
11534         and ip6_mtuinfo definitions here.
11535         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
11536         in this define too.  Update comment.
11538 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
11540         * elf/sprof.c (load_shobj): Tweak error message to match others.
11542 2015-02-24  Kevin Easton  <kevin@guarana.org>
11544         [BZ #16145] (partial fix)
11545         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
11546         to reduce lock contention.
11548 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
11550         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
11551         (struct timex): Update time comment.
11552         (ADJ_SETOFFSET): Define.
11554 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11556         [BZ #18019]
11557         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11558         2**56 not 2**28 as threshold for log (2x) formula.
11559         * math/auto-libm-test-in: Add more tests of acosh.
11560         * math/auto-libm-test-out: Regenerated.
11561         * sysdeps/i386/fpu/libm-test-ulps: Update.
11562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11564 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11566         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
11567         parenthesis around the buf assignment.
11568         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
11570 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
11572         [BZ #16783]
11573         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
11574         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
11575         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
11576         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11577         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11578         * math/libm-test.inc (scalb_test_data): Add more tests.
11580 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11582         [BZ #17916]
11583         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
11584         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
11586 2015-02-24  Eric Rannaud  <e@nanocritical.com>
11588         [BZ #17523]
11589         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
11590         * io/bits/fcntl2.h (open): Use it.
11591         (openat): Likewise.
11592         * io/open.c (__libc_open): Likewise.
11593         * io/open64.c (__libc_open64): Likewise.
11594         * io/open64_2.c (__open64_2): Likewise.
11595         * io/open_2.c (__open_2): Likewise.
11596         * io/openat.c (__openat): Likewise.
11597         * io/openat64.c (__openat64): Likewise.
11598         * io/openat64_2.c (__openat64_2): Likewise.
11599         * io/openat_2.c (__openat_2): Likewise.
11600         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
11601         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11602         * sysdeps/posix/open64.c (__libc_open64): Likewise.
11603         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11604         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11605         (__open_nocancel): Likewise.
11606         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11607         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11608         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
11610 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11612         [BZ #14841]
11613         * resolv/gethnamaddr.c (getanswer): Skip logging if
11614         RES_USE_DNSSEC is set.
11615         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11617 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
11619         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
11621 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
11623         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11624         201304L, for Unicode 7.
11626 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
11628         [BZ #17836]
11629         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
11630         shared library.  Add gmon-start.os otherwise.
11631         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
11632         $(objpfx)gmon-start.os if builing shared library.
11633         ($(objpfx)g$(static-start-installed-name)): Likewise.
11635 2015-02-23  Andreas Schwab  <schwab@suse.de>
11637         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
11639 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
11641         [BZ #17269]
11642         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
11643         (enlarge_userbuf): Likewise.
11645 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
11647         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
11648         * math/atest-exp.c (TIMEOUT): Adjust to 200.
11649         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
11650         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
11652 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
11654         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
11655         expression inside statement expression.
11657 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11659         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
11660         <sysdeps/nptl/lowlevellock.h> and remove macros and
11661         functions that are now defined there.
11662         (SYS_futex): Remove.
11663         (lll_compare_and_swap): Remove.
11664         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
11666 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
11668         [BZ #17999]
11669         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
11670         instead of scandirat.
11671         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
11672         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
11673         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
11674         __scandirat.
11675         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
11676         (__scandirat): Declare.  Use libc_hidden_proto.
11677         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
11678         Remove variable.
11679         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11681 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11683         [BZ #15319]
11684         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
11685         (MO): New macro.
11686         (__ieee754_atan2): For results with small absolute value, force
11687         underflow exception and remove excess range and precision from
11688         return value.
11689         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
11690         (MO): New macro.
11691         (__ieee754_atan2f): For results with small absolute value, force
11692         underflow exception and remove excess range and precision from
11693         return value.
11694         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
11695         (MO): New macro.
11696         (__atan): For results with small absolute value, force underflow
11697         exception and remove excess range and precision from return value.
11698         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
11699         (MO): New macro.
11700         (__atanf): For results with small absolute value, force underflow
11701         exception and remove excess range and precision from return value.
11702         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
11703         <math.h>.
11704         (__ieee754_atan2): Force underflow exception for results with
11705         small absolute value.
11706         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
11707         <math_private.h>.
11708         (atan): Force underflow exception for results with small absolute
11709         value.
11710         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
11711         (__atanf): Force underflow exception for results with small
11712         absolute value.
11713         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
11714         <math.h>.
11715         (__atanl): Force underflow exception for results with small
11716         absolute value.
11717         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
11718         (__atanl): Force underflow exception for results with small
11719         absolute value.
11720         * sysdeps/x86/fpu/bits/mathinline.h
11721         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
11722         (__ieee754_atan2): Only define inline for long double.
11723         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11724         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
11725         * math/auto-libm-test-in: Do not mark underflow exceptions as
11726         possibly missing for bug 15319.  Add more tests of atan2.
11727         * math/auto-libm-test-out: Regenerated.
11728         * math/libm-test.inc (casin_test_data): Do not mark underflow
11729         exceptions as possibly missing for bug 15319.
11730         (casinh_test_data): Likewise.
11731         * sysdeps/i386/fpu/libm-test-ulps: Update.
11733 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
11735         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
11736         * sysdeps/mips/bits/endian.h: Fix comments.
11738 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
11740         [BZ #17996]
11741         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
11742         (hdestroy_r): Likewise.
11743         (hsearch_r): Likewise.
11744         (__hcreate_r): Declare and use libc_hidden_proto.
11745         (__hdestroy_r): Likewise.
11746         (__hsearch_r): Likewise.
11747         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
11748         (hcreate): Call __hcreate_r instead of hcreate_r.
11749         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
11750         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
11751         as weak alias of __hcreate_r.
11752         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
11753         __hdestroy_r.
11754         (hsearch_r): Rename to __hsearch_r and define as weak alias of
11755         __hsearch_r.
11756         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
11757         Remove variable.
11758         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11759         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11760         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11761         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11763 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11765         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
11766         arena_lock into a single arena_get.
11768 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
11770         * dl-reloc.c: Inlucde libc-internal.h.
11771         (_dl_try_allocate_static_tls): Call ALIGN_UP.
11772         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
11773         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
11774         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
11775         (grow_heap): Likewise.
11776         * malloc/malloc.c: Include libc-internal.h.
11777         (do_check_malloc): Call powerof2.
11778         (sysmalloc): Use pagesize. Call ALIGN_UP.
11779         (systrim): Use pagesize.
11780         (mremap_chunk): Use pagesize. Call ALIGN_UP.
11781         (__libc_valloc): Use pagesize.
11782         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
11784 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
11786         [BZ #17991]
11787         * include/sys/resource.h (__getrlimit64): Declare.  Use
11788         libc_hidden_proto.
11789         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
11790         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
11791         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
11792         getrlimit64.
11793         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
11794         __getrlimit64.
11795         [!getrlimit64] (getrlimit64): Define as weak alias of
11796         __getrlimit64.  Use libc_hidden_weak.
11797         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
11798         using __getrlimit64 not __new_getrlimit64.
11799         (__GI_getrlimit64): Likewise.
11800         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
11801         Likewise.
11802         (__GI_getrlimit64): Likewise.
11803         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
11804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
11805         (getrlimit): Add __getrlimit64 alias.
11806         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
11807         Likewise.
11808         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
11809         Remove variable.
11810         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11811         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11813 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
11815         * libio/fileops.c: Add missing sys/mman.h
11816         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
11818 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
11820         * manual/math.texi (Errors in Math Functions): Clarify goals
11821         regarding inexact and underflow exceptions.
11823 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
11825         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
11826         * sysdeps/mips/memset.S: Ditto.
11828 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
11830         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
11832 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11834         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
11835         (__v1longjmp): Remove versioned symbol.
11836         (__v1siglongjmp): Remove alias and versioned symbol.
11837         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
11838         (__v2siglongjmp): Likewise.
11840 2015-02-16  Torvald Riegel  <triegel@redhat.com>
11842         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
11844 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
11846         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
11848 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
11850         [BZ #17987]
11851         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
11852         zero result does not depend on the sign resulting from
11853         subtraction.
11854         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11855         Likewise.
11856         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11857         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11858         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11859         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11860         * math/libm-test.inc (remquo_test_data): Add more tests.
11862 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
11864         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
11865         Problem reported by J William Piggott.
11867 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
11869         [BZ #17978]
11870         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
11871         products 4 * y and 2 * y where those would overflow.
11872         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11873         Likewise.
11874         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
11875         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
11876         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11877         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
11878         * math/libm-test.inc (remquo_test_data): Add more tests.
11880         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
11882         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
11883         [defined _COMPILING_NEWLIB].
11884         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
11885         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
11887         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
11888         [!defined __mips_isa_rev || __mips_isa_rev < 6].
11890 2015-02-16  Torvald Riegel  <triegel@redhat.com>
11892         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
11893         acquired.
11895 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
11897         [BZ #17792]
11898         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
11899         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
11900         HOST_STACK_END_ADDR): Likewise.
11902 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
11904         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
11905         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
11906         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
11908 2015-02-13  Roland McGrath  <roland@hack.frob.com>
11910         * sysdeps/generic/c++-types.data: New file.
11911         * sysdeps/generic/ld.abilist: New file.
11912         * sysdeps/generic/libBrokenLocale.abilist: New file.
11913         * sysdeps/generic/libanl.abilist: New file.
11914         * sysdeps/generic/libc.abilist: New file.
11915         * sysdeps/generic/libcrypt.abilist: New file.
11916         * sysdeps/generic/libdl.abilist: New file.
11917         * sysdeps/generic/libm.abilist: New file.
11918         * sysdeps/generic/libpthread.abilist: New file.
11919         * sysdeps/generic/libresolv.abilist: New file.
11920         * sysdeps/generic/librt.abilist: New file.
11922 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
11924         [BZ #17569]
11925         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
11926         Compute absolute value of x as modified by fmod, not original
11927         value of x.
11928         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
11929         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
11930         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
11931         RUN_TEST_ffI_f1_mod8.
11932         (remquo_test_data): Add more tests.
11934 2015-02-13  Roland McGrath  <roland@hack.frob.com>
11936         * sysdeps/init_array/pt-crti.S: New file.
11938 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
11940         [BZ #17967]
11941         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
11942         __builtin_fmaf instead of relying on contraction of a * b + c.
11944 2015-02-12  J William Piggott  <elseifthen@gmx.com>
11946         [BZ #17969]
11947         * manual/time.texi: correct the zoneinfo path in the TZ Variable
11948         node.
11950 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
11952         [BZ #17964]
11953         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
11954         __builtin_fma instead of relying on contraction of a * b + c.
11956 2015-02-12  Roland McGrath  <roland@hack.frob.com>
11958         * Makeconfig (ASFLAGS): Add -Werror=undef.
11959         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
11960         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
11961         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
11963         * Makeconfig (after-link): New variable.
11964         (+link-pie, +link-pie-tests): Use it.
11965         (+link-static, +link-static-tests): Likewise.
11966         (+link, +link-tests): Likewise.
11967         * Makerules (build-module, build-module-asneeded): Likewise.
11968         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
11969         Likewise.
11970         * elf/Makefile ($(objpfx)ld.so): Likewise.
11972 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
11974         [BZ #17965]
11975         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
11976         both struct timeval and struct timespec.
11978 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
11980         [BZ #16560]
11981         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11982         and redefine.
11983         (__ieee754_exp2l): Do not multiply small fractional parts by
11984         M_LN2l.
11985         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
11986         small argument.
11987         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11988         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11989         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
11990         * math/auto-libm-test-in: Add more tests of exp2.
11991         * math/auto-libm-test-out: Regenerated.
11993 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11995         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
11996         unaligned path.
11998 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12000         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12001         little endian.
12003 2015-02-12  Andreas Schwab  <schwab@suse.de>
12005         [BZ #15790]
12006         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12007         Filter out elision flags from value returned in kind.
12008         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12009         * nptl/tst-pthread-mutexattr.c: New file.
12011 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12013         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12014         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12015         into gnu-gnu, and update comment to refer to abi-tags.
12017 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12019         [BZ #15467]
12020         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12021         (__sincos): Set errno to EDOM for infinite argument.
12022         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12023         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12024         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12025         (__sincosl): Set errno to EDOM for infinite argument.
12026         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12027         (__sincosl): Set errno to EDOM for infinite argument.
12028         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12029         (__sincosl): Set errno to EDOM for infinite argument.
12030         * math/libm-test.inc (sincos_test_data): Test errno setting.
12032 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12034         * string/strxfrm_l.c: Remove #define STRCMP.
12035         * string/strcoll_l.c: Remove #define STRLEN.
12036         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12037         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12039 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12041         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12042         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12043         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12044         * sysdeps/mips/mips64/Makefile: ... here.
12045         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12046         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12047         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12048         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12049         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12050         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12051         * sysdeps/mips/mips64/n64/Implies: Likewise.
12053 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12055         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12056         <sys/time.h>, <string.h>, and <errno.h>.
12057         (dest_offset, dest_address, value, zero): Remove unused variables.
12058         (ldouble): Remove typedef.
12059         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12060         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12061         1).  Fix code style.
12062         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12063         (check): Function removed.
12064         (CHECK): New macro.
12065         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12066         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12067         Don't call set_sigaction_FP and remove_sigaction_FP here.
12068         (ldouble_test): Just use 'long double' as macro argument, no need for
12069         the 'ldouble' typedef.
12070         (do_test): Set up SIGFPE handler at start, using plain signal rather
12071         than sigaction.  Fix code style.
12073 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12075         [BZ #17949]
12076         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12077         jump label.
12079 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12081         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12082         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12084         * sysdeps/powerpc/configure.ac: Remove file.
12085         * sysdeps/powerpc/configure: Likewise.
12087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12088         [sysdep_routines]: Remove wordcopy-power6 object.
12089         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12090         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12091         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12092         (__memmove_ppc32): Likewise.
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12094         file.
12095         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12097         Remove preprocessor.
12099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12100         [sysdep_routines]: Remove wide chars objects.
12101         [wcsmbs]: New rule for wide char objects.
12103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12104         Remove wordcopy-power6 obejct.
12105         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12106         Use local call for wordcopy and memcpy symbols.
12107         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12108         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12109         implementation for loader.
12110         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12113         Remove wordcopy-power7 object.
12114         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12115         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12116         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12117         (_wordcopy_fwd_dest_aligned): Likewise.
12118         (_wordcopy_bwd_aligned): Likewise.
12119         (_wordcopy_bwd_dest_aligned): Likewise.
12121         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12122         Rewrite to call __memmove_ppc instead of include default
12123         implementation.
12125         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12126         Remove wide chars objects.
12127         [wcsmbs]: New rule for wide char objects.
12129 2015-02-09  Andreas Schwab  <schwab@suse.de>
12131         [BZ #17912]
12132         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12133         in terms of __O_DIRECTORY.
12135 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12137         * time/getdate.c: Include <stdbool.h>.
12138         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12139         call PTR_MANGLE.
12140         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12141         PTR_DEMANGLE.
12143 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12145         Add ersatz _Static_assert on older C hosts
12146         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12147         pre-C11 C platform that is not known to support _Static_assert.
12149 2015-02-07  Richard Braun  <rbraun@sceen.net>
12151         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12152         sigstate.
12153         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12155 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12157         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12158         priority against unexistent AIO_PRIO_DELTA_MAX.
12159         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12160         instead of int.
12161         * misc/fchflags.c (fchflags): Likewise.
12162         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12163         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12164         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12165         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12166         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12167         Declare macros.
12168         [__USE_MISC] (chflags, fchflags): Declare functions.
12169         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12170         EINVAL when nfds is greater than FD_SETSIZE.
12171         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12172         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12173         45.
12174         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12175         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
12176         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
12177         MACH_RCV_TIMED_OUT.
12178         * hurd/hurd/signal.h (_hurd_self_sigstate,
12179         _hurd_critical_section_lock, _hurd_critical_section_unlock):
12180         Explicit casts from void *.
12181         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
12182         * abi-tags: Rename gnu-gnu os into gnu.
12184         [BZ #4719]
12185         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
12186         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
12187         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
12188         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
12189         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
12190         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
12192         [BZ #17944]
12193         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
12194         duplicates ADDR->sun_path with sockaddr LEN limitation.
12195         * sysdeps/mach/hurd/connect.c: Include <string.h>
12196         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
12197         * sysdeps/mach/hurd/sendmsg.c: Likewise.
12198         * sysdeps/mach/hurd/sendto.c: Likewise.
12199         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
12200         implementing it by hand.
12202 2015-02-06  Roland McGrath  <roland@hack.frob.com>
12204         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
12205         Use sfi_breg on ldr.
12206         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
12207         Likewise.
12209         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
12210         it's defined.
12211         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
12212         Test SIGSETXID only if it's defined.
12214         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
12216         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
12217         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
12219         * nptl/tst-align2.c: Moved ...
12220         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
12221         * nptl/Makefile (tests): Remove tst-align2.
12222         * sysdeps/unix/sysv/linux/Makefile
12223         [$(subdir) = nptl] (tests): Add tst-align-clone.
12224         * nptl/tst-getpid1.c: Moved ...
12225         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
12226         * nptl/tst-getpid2.c: Moved ...
12227         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
12228         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
12229         * sysdeps/unix/sysv/linux/Makefile
12230         [$(subdir) = nptl] (tests): ... here.
12231         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
12232         * sysdeps/unix/sysv/linux/Makefile
12233         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
12235         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
12236         Drop trailing \n from perror argument.  Use return rather than exit.
12238         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
12239         on [SA_SIGINFO].
12240         * nptl/tst-cancel21.c (do_test): Likewise.
12241         * debug/tst-backtrace6.c: Include <signal.h> first thing.
12242         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
12243         [!SA_SIGINFO]: Make it a stub test.
12245         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
12246         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
12248         * posix/tst-getlogin.c: Move to ...
12249         * login/tst-getlogin.c: ... here.
12250         * posix/Makefile (tests): Move tst-getlogin to ...
12251         * login/Makefile (tests): ... here.
12253         * libio/tst-atime.c (do_test): Move local variables SV and E
12254         inside [ST_NOATIME] conditional.
12256         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
12258         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
12260         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
12261         (wait_code): New function replaces macro.
12262         Call nanosleep rather than syscall.
12264         * nptl/pt-system.c: Rewritten.  Put everything under
12265         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12266         Use IFUNC to redirect when possible.
12268         * nptl/pt-longjmp.c: Rewritten.  Put everything under
12269         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12270         Use IFUNC to redirect when possible.
12272         * nptl/pt-fork.c: Rewritten.  Put everything under
12273         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
12274         Use IFUNC to redirect when possible.
12275         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
12277         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
12278         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
12279         unconditionally nowadays.  This included the only reference to
12280         __vdso_clock_gettime that appears outside libc proper.
12281         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
12282         Remove version set (containing only __vdso_clock_gettime).
12283         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12284         Add attribute_hidden.
12285         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12286         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
12287         libc_hidden_data_def.
12288         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12289         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12291         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
12292         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
12293         setrpcent, and getrpcport to ...
12294         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
12295         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
12296         getrpcbynumber_r, and getrpcent_r to ...
12297         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
12298         * inet/getrpcbyname.c: Moved ...
12299         * sunrpc/getrpcbyname.c: ... here.
12300         * inet/getrpcbyname_r.c: Moved ...
12301         * sunrpc/getrpcbyname_r.c: ... here.
12302         * inet/getrpcbynumber.c: Moved ...
12303         * sunrpc/getrpcbynumber.c: ... here.
12304         * inet/getrpcbynumber_r.c: Moved ...
12305         * sunrpc/getrpcbynumber_r.c: ... here.
12306         * inet/getrpcent.c: Moved ...
12307         * sunrpc/getrpcent.c: ... here.
12308         * inet/getrpcent_r.c: Moved ...
12309         * sunrpc/getrpcent_r.c: ... here.
12310         * inet/Makefile (routines): Move those to ...
12311         * sunrpc/Makefile (routines): ... here.
12312         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
12313         the $(subdirs) list.
12314         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
12315         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
12316         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
12317         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
12319         * elf/Makefile (routines): Include $(all-dl-routines), not just
12320         $(dl-routines).
12321         (rtld-routines): Likewise.  Use = rather than :=.
12322         * sysdeps/aarch64/Makefile [$(subdir) = elf]
12323         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
12324         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
12325         * sysdeps/arm/Makefile: Likewise.
12326         * sysdeps/i386/Makefile: Likewise.
12327         * sysdeps/x86_64/Makefile: Likewise.
12328         * sysdeps/hppa/Makefile [$(subdir) = elf]
12329         (sysdep_routines, sysdep-rtld-routines): Don't add
12330         $(sysdep-dl-routines) to these.
12331         * sysdeps/ia64/Makefile: Likewise.
12332         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
12333         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
12334         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
12335         Don't add dl-static to these; sysdep-dl-routines alone is enough.
12336         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
12337         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
12338         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
12339         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
12340         * sysdeps/powerpc/Makefile [$(subdir) = elf]
12341         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
12342         these; sysdep-dl-routines alone is enough.
12344 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
12346         [BZ #17932]
12347         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
12348         where multiplication results in zero and third argument is finite
12349         and nonzero.
12350         * math/auto-libm-test-in: Add more tests of fma.
12351         * math/auto-libm-test-out: Regenerated.
12353         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
12354         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12355         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
12356         (_FP_CMP_EQ): Likewise.
12357         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
12359         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
12360         extra argument CHECK_NAN.  Redefine as wrapper around
12361         _FP_EXTEND_CNAN.
12363 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
12365         * version.h (RELEASE): Set to "stable".
12366         (VERSION): Set to "2.21"
12367         * include/features.h (__GLIBC_MINOR__): Set to 21.
12369         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
12371 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12372             Paul Eggert  <eggert@cs.ucla.edu>
12374         [BZ #16618]
12375         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
12376         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
12377         size in bytes. Store needed elements in wpmax. Use needed size
12378         in bytes for extend_alloca.
12380 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
12382         * manual/install.texi: Latest tested versions are GCC 4.9.2,
12383         binutls 2.25, and texinfo 5.2.
12384         * INSTALL: Regenerate.
12385         * sysdeps/nios2/configure: Regenerate.
12386         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
12387         * manual/contrib.texi: Update.
12388         * po/be.po: Update.
12389         * po/bg.po: Update.
12390         * po/ca.po: Update.
12391         * po/cs.po: Update.
12392         * po/da.po: Update.
12393         * po/de.po: Update.
12394         * po/el.po: Update.
12395         * po/eo.po: Update.
12396         * po/es.po: Update.
12397         * po/fi.po: Update.
12398         * po/fr.po: Update.
12399         * po/gl.po: Update.
12400         * po/hr.po: Update.
12401         * po/hu.po: Update.
12402         * po/ia.po: Update.
12403         * po/id.po: Update.
12404         * po/it.po: Update.
12405         * po/ja.po: Update.
12406         * po/ko.po: Update.
12407         * po/lt.po: Update.
12408         * po/nb.po: Update.
12409         * po/nl.po: Update.
12410         * po/pl.po: Update.
12411         * po/pt_BR.po: Update.
12412         * po/ru.po: Update.
12413         * po/rw.po: Update.
12414         * po/sk.po: Update.
12415         * po/sl.po: Update.
12416         * po/sv.po: Update.
12417         * po/tr.po: Update.
12418         * po/uk.po: Update.
12419         * po/vi.po: Update.
12420         * po/zh_CN.po: Update.
12421         * po/zh_TW.po: Update.
12423         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
12424         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
12425         * sysdeps/hppa/dl-irel.h: Remove #warning.
12426         * sysdeps/hppa/entry.h: Provide prototype for
12427         __canonicalize_funcptr_for_compare and cast argument.
12428         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
12429         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
12430         * sysdeps/hppa/sotruss-lib.c: New file.
12431         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
12432         (atomic_compare_and_exchange_val_acq): Use __typeof__.
12433         (atomic_compare_and_exchange_bool_acq): Likewise.
12434         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
12435         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
12437         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
12438         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
12439         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
12441 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
12443         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
12444         called function in non-PIC case.
12446 2015-01-31  David S. Miller  <davem@davemloft.net>
12448         * sysdeps/sparc/sparc32/bits/atomic.h
12449         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
12450         unlock not after it.
12451         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
12452         volatile register usage warnings from the compiler.
12454         * sysdeps/sparc/nptl/sem_init.c: Delete.
12455         * sysdeps/sparc/nptl/sem_post.c: Delete.
12456         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
12457         * sysdeps/sparc/nptl/sem_wait.c: Delete.
12458         * sysdeps/sparc/sparc32/sem_init.c: New file.
12459         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
12460         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
12461         padding explicitly initialized.
12462         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
12463         padding for in-semaphore spinlock.
12464         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
12465         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
12466         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
12467         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
12468         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
12469         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
12470         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
12471         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
12472         version.
12473         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
12474         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
12476 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
12478         [BZ #17801]
12479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12480         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
12481         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
12482         New.
12483         (index_AVX_Fast_Unaligned_Load): Likewise.
12484         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
12485         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
12486         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
12487         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
12488         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
12489         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
12490         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
12491         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
12492         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
12494 2015-01-29  Andreas Schwab  <schwab@suse.de>
12496         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
12498 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
12500         [BZ #17892]
12501         * nscd/nscd_stat.c (send_stats): Initialize DATA.
12503 2015-01-28  Martin Sebor  <msebor@redhat.com>
12505         * math/README.libm-test: Clarify. Add "How to read the test output."
12507 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
12509         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
12510         Define to 0.
12512 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
12514         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
12515         (__HAVE_64B_ATOMICS): Define to 0.
12517 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12519         [BZ #17885]
12520         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
12521         value to set as new flag.
12523         [BZ #16576]
12524         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
12525         and use _ARCH_PPCSQ instead.
12526         (__ieee754_sqrt): Likewise.
12527         (__ieee754_sqrtf): Likewise.
12528         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
12529         _ARCH_PPCSQ is defined.
12530         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
12531         fsqrt instruction.
12532         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
12533         _ARCH_PPCSQ is defined.
12534         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
12535         fsqrts instruction.
12536         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
12538 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12540         * iconv/loop.c: Suppress array out of bound warning caused by GCC
12541         bug (GCC BZ #64739).
12543 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
12545         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
12546         Mark _retval as used.
12547         (lll_futex_wake_unlock): Likewise.
12548         (lll_futex_timed_wait_requeue_pi): Likewise.
12550         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12551         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
12552         register variables.
12554         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
12555         libm_hidden_def.
12557         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
12558         (__bswap_64): Mark as __always_inline.
12560 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
12562         [BZ #15378]
12563         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
12564         when none of the search directories exist.
12566 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12568         [BZ #17869]
12569         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
12570         power8 in .machine directive.
12572         [BZ #17868]
12573         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
12574         set dependency from opd value.
12576 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12579         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
12580         architecture.
12582 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
12584         [BZ #17870]
12585         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
12586         with uint64_t.
12587         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
12588         (uint64_t) 1.
12589         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
12590         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
12591         Replace 1UL with (uint64_t) 1.
12592         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
12593         int with uint64_t.
12595 2015-01-23  Roland McGrath  <roland@hack.frob.com>
12597         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
12598         (if_freenameindex): Likewise.
12600         * resource/getrlimit64.c: Add missing libc_hidden_def.
12602 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
12604         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
12605         __label__.
12606         (_FP_FMA): Likewise.
12607         (_FP_TO_INT_ROUND): Likewise.
12608         (_FP_FROM_INT): Likewise.
12610 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12612         [BZ #16418]
12613         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
12614         Make code racy and cancel safe.
12616 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
12618         * sysdeps/arm/unwind-resume.h: Fix copyright year.
12619         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
12620         attribution.
12622         * pwd/tst-getpw.c: Rewrite.
12624         [BZ #17702]
12625         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
12626         (modules-names): Add moddummy1 and moddummy2.
12627         ($(objpfx)tst-rec-dlopen): Define.
12628         * dlfcn/moddummy1.c: New file.
12629         * dlfcn/moddummy2.c: New file.
12630         * dlfcn/tst-rec-dlopen.c: New file.
12631         * elf/dl-cache.c (_dl_load_cache_lookup):
12632         Return char*. Copy result with alloca/strcpy/strdup.
12633         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
12634         returns char*. Free cached. If not saving realname
12635         free cached.
12636         * elf/dl-open.c (dl_open_worker): Do not assert that
12637         _r_debug->r_state is RT_CONSISTENT.
12638         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
12639         returns char*.
12641 2015-01-21  Torvald Riegel  <triegel@redhat.com>
12642             Carlos O'Donell  <carlos@redhat.com>
12644         [BZ #12674]
12645         * nptl/sem_waitcommon.c: New file.
12646         * nptl/sem_wait.c: Include sem_waitcommon.c.
12647         (__sem_wait_cleanup, do_futex_wait): Remove.
12648         (__new_sem_wait): Adapt.
12649         (__new_sem_trywait): New function.
12650         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
12651         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
12652         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
12653         (sem_timedwait): Adapt.
12654         * nptl/sem_post.c (__new_sem_post): Adapt.
12655         (futex_wake): New function.
12656         (__old_sem_post): Add release MO fence.
12657         * nptl/sem_open.c (sem_open): Adapt.
12658         * nptl/sem_init.c (__new_sem_init): Adapt.
12659         (futex_private_if_supported): New function.
12660         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
12661         (__old_sem_getvalue): Add using previous code.
12662         * sysdeps/nptl/internaltypes.h: Adapt.
12663         * nptl/tst-sem13.c (do_test): Adapt.
12664         * nptl/tst-sem11.c (main): Adapt.
12665         * nptl/sem_trywait.c: Remove.
12666         * nptl/DESIGN-sem.txt: Remove.
12667         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
12668         (gen-as-const-headers): Remove structsem.sym.
12669         * nptl/structsem.sym: Remove.
12670         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
12671         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
12672         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
12673         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
12674         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
12675         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
12676         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
12677         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
12678         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
12679         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
12680         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
12681         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
12682         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
12683         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
12684         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
12685         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
12686         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
12687         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
12688         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
12689         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
12690         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
12691         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
12693 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
12695         * INSTALL: Regenerated.
12697         * po/libc.pot: Regenerated.
12699 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
12700             Sandra Loosemore  <sandra@codesourcery.com>
12701             Andrew Jenner  <andrew@codesourcery.com>
12702             Joseph Myers  <joseph@codesourcery.com>
12703             Nathan Sidwell  <nathan@codesourcery.com>
12705         * NEWS: Mention new Nios II port.
12706         * sysdeps/nios2/Implies: New file.
12707         * sysdeps/nios2/Makefile: New file.
12708         * sysdeps/nios2/Subdirs: New file.
12709         * sysdeps/nios2/Versions: New file.
12710         * sysdeps/nios2/__longjmp.S: New file.
12711         * sysdeps/nios2/abort-instr.h: New file.
12712         * sysdeps/nios2/backtrace.c: New file.
12713         * sysdeps/nios2/bits/endian.h: New file.
12714         * sysdeps/nios2/bits/fenv.h: New file.
12715         * sysdeps/nios2/bits/link.h: New file.
12716         * sysdeps/nios2/bits/setjmp.h: New file.
12717         * sysdeps/nios2/bsd-_setjmp.S: New file.
12718         * sysdeps/nios2/bsd-setjmp.S: New file.
12719         * sysdeps/nios2/configure: New generated file.
12720         * sysdeps/nios2/configure.ac: New file.
12721         * sysdeps/nios2/crti.S: New file.
12722         * sysdeps/nios2/crtn.S: New file.
12723         * sysdeps/nios2/dl-init.c: New file.
12724         * sysdeps/nios2/dl-machine.h: New file.
12725         * sysdeps/nios2/dl-sysdep.h: New file.
12726         * sysdeps/nios2/dl-tls.h: New file.
12727         * sysdeps/nios2/dl-trampoline.S: New file.
12728         * sysdeps/nios2/gccframe.h: New file.
12729         * sysdeps/nios2/gmp-mparam.h: New file.
12730         * sysdeps/nios2/jmpbuf-offsets.h: New file.
12731         * sysdeps/nios2/jmpbuf-unwind.h: New file.
12732         * sysdeps/nios2/ldsodefs.h: New file.
12733         * sysdeps/nios2/libc-tls.c: New file.
12734         * sysdeps/nios2/libm-test-ulps: New file.
12735         * sysdeps/nios2/machine-gmon.h: New file.
12736         * sysdeps/nios2/math-tests.h: New file.
12737         * sysdeps/nios2/math_private.h: New file.
12738         * sysdeps/nios2/memusage.h: New file.
12739         * sysdeps/nios2/nptl/Makefile: New file.
12740         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
12741         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
12742         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
12743         * sysdeps/nios2/nptl/pthreaddef.h: New file.
12744         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
12745         * sysdeps/nios2/nptl/tls.h: New file.
12746         * sysdeps/nios2/preconfigure: New file.
12747         * sysdeps/nios2/s_fma.c: New file.
12748         * sysdeps/nios2/s_fmaf.c: New file.
12749         * sysdeps/nios2/setjmp.S: New file.
12750         * sysdeps/nios2/sfp-machine.h: New file.
12751         * sysdeps/nios2/sotruss-lib.c: New file.
12752         * sysdeps/nios2/stackguard-macros.h: New file.
12753         * sysdeps/nios2/stackinfo.h: New file.
12754         * sysdeps/nios2/start.S: New file.
12755         * sysdeps/nios2/sysdep.h: New file.
12756         * sysdeps/nios2/tls-macros.h: New file.
12757         * sysdeps/nios2/tst-audit.h: New file.
12758         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
12759         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
12760         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
12761         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
12762         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
12763         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
12764         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
12765         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
12766         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
12767         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
12768         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
12769         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
12770         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
12771         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
12772         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
12773         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
12774         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
12775         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
12776         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
12777         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
12778         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
12779         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
12780         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
12781         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
12782         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
12783         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
12784         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
12785         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
12786         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
12787         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
12788         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
12789         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
12790         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
12791         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
12792         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
12793         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
12794         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
12795         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
12796         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
12797         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
12798         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
12799         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
12800         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
12801         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
12803 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12805         [BZ #17844]
12806         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
12807         (getutent): Use weak_alias in non SHARED case
12808         and default_symbol_version in SHARED case.
12809         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
12810         (getutent_r, pututline): Likewise.
12811         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
12812         (getutid): Likewise.
12813         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
12814         (getutid_r): Likewise.
12815         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
12816         (getutline): Likewise.
12817         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
12818         (getutline_r): Likewise.
12819         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
12820         (updwtmp): Likewise.
12822 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12824         [BZ #17848]
12825         * sysdeps/s390/s390-32/memcmp.S
12826         (memcmp_g5): Rename to __memcmp_g5.
12827         * sysdeps/s390/s390-32/memcpy.S
12828         (memcpy_g5): Rename to __memcpy_g5.
12829         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12830         (memcpy_mvcle) Rename to __memcpy_mvcle.
12831         * sysdeps/s390/s390-32/memset.S
12832         (memset_g5): Rename to __memset_g5.
12833         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12834         (IFUNC_RESOLVE): Prefix ifunc-resolve function
12835         and use prefixed functions.
12836         * sysdeps/s390/s390-32/multiarch/memcmp.S
12837         (memcmp_z196): Rename to __memcmp_z196.
12838         (memcmp_z10): Rename to __memcmp_z10.
12839         (memcmp): Set alias to __memcmp_g5.
12840         (bcmp): Set alias to __memcmp_g5.
12841         * sysdeps/s390/s390-32/multiarch/memcpy.S
12842         (memcpy_z196): Rename to __memcpy_z196.
12843         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12844         (memcpy_z10): Rename to __memcpy_z10.
12845         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12846         (memcpy): Set alias to __memcpy_g5.
12847         * sysdeps/s390/s390-32/multiarch/memset.S
12848         (memset_z196): Rename to __memset_z196.
12849         Jump to __memset_mvcle instead of memset_mvcle.
12850         (memset_z10): Rename to __memset_z10.
12851         Jump to __memset_mvcle instead of memset_mvcle.
12852         (memset_mvcle) Rename to __memset_mvcle.
12853         (memset): Set alias to __memset_g5.
12854         * sysdeps/s390/s390-64/memcmp.S
12855         (memcmp_z900): Rename to __memcmp_z900.
12856         * sysdeps/s390/s390-64/memcpy.S
12857         (memcpy_z900): Rename to __memcpy_z900.
12858         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12859         (memcpy_mvcle) Rename to __memcpy_mvcle.
12860         * sysdeps/s390/s390-64/memset.S
12861         (memset_z900): Rename to __memset_z900.
12862         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
12863         (IFUNC_RESOLVE): Prefix ifunc-resolve function
12864         and use prefixed functions.
12865         * sysdeps/s390/s390-64/multiarch/memcmp.S
12866         (memcmp_z196): Rename to __memcmp_z196.
12867         (memcmp_z10): Rename to __memcmp_z10.
12868         (memcmp): Set alias to __memcmp_z900.
12869         (bcmp): Set alias to __memcmp_z900.
12870         * sysdeps/s390/s390-64/multiarch/memcpy.S
12871         (memcpy_z196): Rename to __memcpy_z196.
12872         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12873         (memcpy_z10): Rename to __memcpy_z10.
12874         Jump to __memcpy_mvcle instead of memcpy_mvcle.
12875         (memcpy): Set alias to __memcpy_z900.
12876         * sysdeps/s390/s390-64/multiarch/memset.S
12877         (memset_z196): Rename to __memset_z196.
12878         Jump to __memset_mvcle instead of memset_mvcle.
12879         (memset_z10): Rename to __memset_z10.
12880         Jump to __memset_mvcle instead of memset_mvcle.
12881         (memset_mvcle) Rename to __memset_mvcle.
12882         (memset): Set alias to __memset_z900.
12884 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
12886         [BZ #17748]
12887         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
12888         __fesetenv instead of fesetenv.
12890 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12892         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
12893         macro.
12895 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12897         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
12898         regression on LE.
12900         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
12901         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
12902         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12903         strncmp-power8 object.
12904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12905         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
12906         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
12907         * NEWS: Update.
12909 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12910             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12912         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
12913         trailing byte check.
12915 2015-01-13  David S. Miller  <davem@davemloft.net>
12917         * include/signal.h (__sigreturn): Guard with __USE_MISC.
12919 2015-01-13  Roland McGrath  <roland@hack.frob.com>
12921         * login/logout.c (logout): Use memset rather than bzero.
12922         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
12923         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
12924         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
12925         (_gethtbyaddr): Likewise.
12926         * locale/programs/simple-hash.c (bcopy): Macro removed.
12928 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12930         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12931         Add strcmp-power8 object.
12932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12933         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
12934         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
12935         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
12936         __strcmp_power8 implementation.
12937         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
12938         * NEWS: Update.
12940         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12941         Add strncpy-power8 and stpncpy-power8 objects.
12942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12943         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
12944         implementations.
12945         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
12946         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
12947         __stpncpy_power8 implementation.
12948         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
12949         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
12950         __strncpy_power8 implementation.
12951         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
12952         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
12953         * NEWS: Update.
12955         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
12956         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
12957         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
12959         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12960         strncat-power8 object.
12961         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
12962         __strcat_power8 implementation.
12963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12964         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
12965         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
12966         optimized strcat for power8.
12968         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
12969         strcpy-power8 and stpcpy-power8 objects.
12970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12971         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
12972         implementations.
12973         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
12974         multiarch stpcpy implementation for POWER8.
12975         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
12976         multiarch strcpy implementation for POWER8.
12977         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
12978         __strcpy_power8 function.
12979         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
12980         stpcpy for POWER8.
12981         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
12982         strcpy for POWER8.
12983         * NEWS: Update.
12985 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
12987         [BZ #16009]
12988         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
12989         weights and rules. Use do_xfrm_cached if data fits in cache,
12990         do_xfrm otherwise.  Moved former main loop to...
12991         * (do_xfrm_cached): New function.
12992         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
12993         find_idx, find_position and stack_push.
12994         * (find_idx): New function.
12995         * (find_position): Likewise.
12996         * localedata/sort-test.sh: Added test run for do_xfrm.
12997         * localedata/xfrm-test.c (main): Added command line option
12998         -nocache to run the test with strings that are too large for
12999         the STRXFRM cache.
13001 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13003         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13004         variable to lll_futex_wake call, not the value itself.
13006 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13008         [BZ #17803]
13009         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13010         twom64.  Adjust value to 0x1p-64L.
13011         (__scalblnl): Only return standard underflowing result for K <=
13012         -64 not K <= -63; adjust exponent for underflowing result by 64
13013         not 63.
13014         * math/libm-test.inc (scalbn_test_data): Add more tests.
13015         (scalbln_test_data): Likewise.
13017         [BZ #17834]
13018         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13019         0x1p63L.
13020         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13021         not HX.
13022         * math/libm-test.inc (scalbn_test_data): Add more tests.
13023         (scalbln_test_data): Likewise.
13025 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13026             Stefani Seibold  <stefani@seibold.net>
13028         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13029         (sysdep_routines): Add dl-vdso here, ...
13030         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13031         (sysdep_routines): ... not here.
13032         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13033         fallback when vDSO is not presented.
13034         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13035         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13036         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13037         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13038         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13039         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13040         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13041         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13042         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13044         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13045         fallback configurable symbol when vDSO is not available.
13046         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13047         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13048         be able to redefine fallback symbol when vDSO is not available.
13049         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13050         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13052 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13054         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13055         (TLS_INIT_TP): Add tm_capable initialization.
13056         (TLS_DEFINE_INIT_TP): Likewise.
13057         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13058         TCB.
13059         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13060         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13061         calculation.
13062         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13063         transactoion is lock elision is built and TCB tm_capable is set.
13064         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13066         (INTERNAL_SYSCALL_NCS): Likewise.
13067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13068         (INTERNAL_SYSCALL_NCS): Likewise.
13069         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13071         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13072         for powerpc.
13073         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13074         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13075         and remove it for 32 bits case.
13076         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13078         initialization.
13079         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13080         Disable lock elision with rdlocks if elision is not available.
13082         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13083         (sysdep_routines): Add lock elision objects.
13084         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13085         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13086         [pthread_mutex_t] (__elision): Add field.
13087         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13088         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13089         elision definitions for powerpc.
13090         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13091         implementation of lock elision for powerpc.
13092         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13093         implementation of timed lock elision for powerpc.
13094         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13095         implementation of trylock with lock elision for powerpc.
13096         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13097         implementaion of unlock for lock elision for powerpc.
13098         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13099         automatic enable lock elision for mutexes.
13100         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13101         transaction execution definitions for powerpc.
13102         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13103         definitions.
13104         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13105         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13106         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13107         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13108         * NEWS: Update.
13110 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13112         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13113         for #include of <shm-directory.h>.
13115 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13117         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13118         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13120 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13122         [BZ #17791]
13123         * NEWS: Mention bug fix.
13124         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13125         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13126         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13128 2015-01-09  Torvald Riegel <triegel@redhat.com>
13130         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13132 2015-01-09  Torvald Riegel <triegel@redhat.com>
13134         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13136 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13138         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13139         pointer and cast to uintptr_t.
13141 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13143         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13144         removed.
13145         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13147 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13149         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13150         of 0.
13152 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13154         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13155         <nptl/pthreadP.h> instead.
13156         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13158         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13159         already defined.
13160         [__SIGRTMIN] (init): Function removed.
13161         [__SIGRTMIN] (initialized): Variable removed.
13162         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13163         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13164         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13165         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13166         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13167         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13168         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13169         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13170         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13171         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13172         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13173         * sysdeps/nptl/allocrtsig.c: New file.
13174         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13175         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
13176         * sysdeps/generic/testrtsig.h: File removed.
13178         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
13179         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
13181         * nptl/nptl-init.c (pthread_functions): Conditionalize
13182         .ptr__nptl_setxid initialization on [SIGSETXID].
13184         * sysdeps/nptl/sys/procfs.h: New file.
13185         * nptl_db/Makefile (headers): Add it.
13186         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
13188         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
13189         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
13190         * nptl/pthread_attr_setaffinity.c: Include it.
13191         * nptl/pthread_setattr_default_np.c: Likewise.
13192         * nptl/check-cpuset.h: New file.
13194 2015-01-08  Richard Henderson  <rth@redhat.com>
13196         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
13197         (CFLAGS-tst-execstack-prog.c): Likewise.
13198         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
13200 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
13201             Sandra Loosemore  <sandra@codesourcery.com>
13202             Andrew Jenner  <andrew@codesourcery.com>
13203             Joseph Myers  <joseph@codesourcery.com>
13204             Nathan Sidwell  <nathan@codesourcery.com>
13206         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
13207         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
13208         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
13209         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
13210         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
13211         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
13212         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
13213         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
13214         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
13215         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
13216         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
13217         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
13218         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
13219         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
13220         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
13221         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
13222         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
13224 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13226         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
13227         timespec struct member in syscall macro.
13228         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13229         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
13230         first timeval struct member in syscall macro.
13231         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
13233 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
13235         [BZ #17748]
13236         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
13237         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
13238         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
13239         __feupdateenv and define as weak alias of __feupdateenv.  Use
13240         libm_hidden_weak.
13241         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
13242         libm_hidden_def.
13243         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
13244         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
13245         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13246         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
13247         libm_hidden_def.
13248         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
13249         __feupdateenv and define as weak alias of __feupdateenv.  Use
13250         libm_hidden_weak.
13251         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
13252         libm_hidden_def.
13253         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
13254         __feupdateenv and define as weak alias of __feupdateenv.  Use
13255         libm_hidden_weak.
13256         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
13257         libm_hidden_def.
13258         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13259         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13260         (__feupdateenv): Likewise.
13261         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
13262         __feupdateenv and define as weak alias of __feupdateenv.  Use
13263         libm_hidden_weak.
13264         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13265         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
13266         libm_hidden_def.
13267         * sysdeps/tile/math_private.h (__feupdateenv): New inline
13268         function.
13269         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
13270         libm_hidden_def.
13271         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
13272         __feupdateenv instead of feupdateenv.
13273         (default_libc_feupdateenv_test): Likewise.
13274         (libc_feresetround_ctx): Likewise.
13276 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13278         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
13279         prototype.
13281 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
13283         * posix/regcomp.c (parse_bracket_exp): Initialize type to
13284         COLL_SYM in a couple of places to avoid uninitialized variable
13285         wanings on tilegx gcc 4.8.2.
13287 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13289         * sysdeps/aarch64/strcpy.S: New file.
13290         * sysdeps/aarch64/stpcpy.S: New file.
13291         * NEWS: Updated.
13293 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
13295         * sysdeps/aarch64/strrchr.S: New file.
13296         * NEWS: Updated.
13298 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
13300         [BZ #17658]
13301         * stdlib/setenv.c: Fix memory leak when setting large,
13302         duplicate string.
13304 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
13306         [BZ #17273]
13307         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
13308         and tabs from buffer before parsing fstab entry.
13309         * misc/tst-mntent.c (main): Add test for mount entry with
13310         trailing spaces and tabs.
13312 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
13314         [BZ #17748]
13315         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
13316         * math/fesetround.c (fesetround): Rename to __fesetround and
13317         define as weak alias of __fesetround.  Use libm_hidden_weak.
13318         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
13319         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
13320         * sysdeps/arm/fesetround.c (fesetround): Likewise.
13321         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
13322         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
13323         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
13324         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
13325         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
13326         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
13327         __fesetround_inline.
13328         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
13329         __fesetround_inline instead of __fesetround.
13330         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
13331         __fesetround and define as weak alias of __fesetround.  Use
13332         libm_hidden_weak.  Call __fesetround_inline instead of
13333         __fesetround.
13334         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
13335         __fesetround and define as weak alias of __fesetround.  Use
13336         libm_hidden_weak.
13337         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
13338         Likewise.
13339         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
13340         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13341         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
13342         * sysdeps/tile/math_private.h (__fesetround): New inline function.
13343         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
13344         __fesetround and define as weak alias of __fesetround.  Use
13345         libm_hidden_weak.
13346         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
13347         __fesetround instead of fesetround.
13348         (default_libc_feholdexcept_setround): Likewise.
13349         (libc_feholdsetround_ctx): Likewise.
13350         (libc_feholdsetround_noex_ctx): Likewise.
13352         [BZ #17748]
13353         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
13354         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
13355         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13356         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13357         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13358         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
13359         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13360         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13361         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13362         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13363         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13364         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13365         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13366         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13367         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
13368         libm_hidden_def.
13369         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
13370         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
13371         Likewise.
13372         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
13373         define as weak alias of __fesetenv.  Use libm_hidden_weak.
13374         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13375         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
13376         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
13377         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
13378         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
13379         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
13380         __fesetenv instead of fesetenv.
13381         (libc_feresetround_noex_ctx): Likewise.
13382         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13383         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
13384         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
13385         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13386         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13387         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13388         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13389         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
13390         (__feupdateenv): Likewise.
13391         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13392         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13393         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13394         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
13396 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13398         [BZ #17806]
13399         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
13400         addresses have been freed.
13402 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
13404         * resolv/res_init.c (__res_vinit): Improve comments about nserv
13405         and nservall.
13407 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
13409         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
13410         Clean up check_pf allocation pattern. addresses
13412 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13414         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
13415         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
13416         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
13417         * nptl/pthread_exit.c (__pthread_exit): Likewise.
13418         * nptl/pthread_join.c (pthread_join): Likewise.
13419         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
13420         * sysdeps/posix/waitid.c (__waitid): Likewise.
13421         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13422         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13423         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13424         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13425         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13426         Likewise.
13427         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13428         (__libc_pread64): Likewise.
13429         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13430         (__libc_pwrite): Likewise.
13431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13432         (__libc_pwrite64): Likewsie.
13433         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13434         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13435         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13436         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13437         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13438         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13439         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13441         Likewise.
13442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13443         (__libc_pread64): Likewise.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
13445         Likewise.
13446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13447         (__libc_pwrite64): Likewise.
13448         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13449         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13450         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
13451         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13452         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13453         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13454         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
13455         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13456         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13457         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13458         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
13459         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13460         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13461         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
13462         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13463         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13464         Likewise.
13466 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
13468         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
13469         (CFLAGS-test-double.c): Likewise.
13470         (CFLAGS-test-ldouble.c): Likewise.
13471         (CPPFLAGS-test-ifloat.c): Likewise.
13472         (CPPFLAGS-test-idouble.c): Likewise.
13473         (CPPFLAGS-test-ildoubl.c): Likewise.
13474         (CFLAGS-test-test-fenv.c): Remove variable.
13475         (CFLAGS-test-misc.c): Likewise.
13477 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
13479         [BZ #17797]
13480         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
13481         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
13482         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
13483         CLOCKS_PER_SEC == 1000000.
13484         * time/clocktest.c (main): Replace %ld with %jd and cast to
13485         intmax_t.
13487 2015-01-05  Roland McGrath  <roland@hack.frob.com>
13489         * sysdeps/generic/unwind-resume.h: New file.
13490         * sysdeps/gnu/unwind-resume.c: Include it.
13491         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
13492         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
13493         argument list.
13494         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
13495         global rather than static.
13496         (_Unwind_Resume): Update user.
13497         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
13498         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
13499         rather than static.  Add __attribute__ ((cold)).
13500         (_Unwind_Resume, __gcc_personality_v0): Update callers.
13501         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
13502         * sysdeps/arm/arm-unwind-resume.S: New file.
13503         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
13504         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
13505         * sysdeps/arm/Makefile [$(subdir) = csu]
13506         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
13507         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13508         Add rt-arm-unwind-resume.
13509         [$(subdir) = nptl]
13510         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13511         Add pt-arm-unwind-resume.
13512         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
13513         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
13515 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13517         [BZ #17748]
13518         * include/fenv.h (__feholdexcept): Declare.  Use
13519         libm_hidden_proto.
13520         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
13521         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
13522         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13523         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
13524         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
13525         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
13526         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
13527         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13528         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
13529         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
13530         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13531         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
13532         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
13533         (feholdexcept): Likewise.
13534         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13535         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13536         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13537         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13538         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
13539         __feholdexcept instead of feholdexcept.
13540         (default_libc_feholdexcept_setround): Likewise.
13542 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13544         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
13545         to avoid using stl/str to align destination.
13547 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13549         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
13551 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13553         [BZ #17796]
13554         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
13555         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
13556         Define as weak alias not strong alias.
13558 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
13560         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
13561         bltzal with addiupc.
13562         (RTLD_START): Ditto.
13564 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
13566         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
13567         for __vdso_* functions in declarations.
13568         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
13569         definitions.
13570         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
13571         INTERNAL_VSYSCALL): Use struct return types to check for error.
13573         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
13574         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
13575         function with cast from llround().
13576         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
13577         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13578         Define.
13580 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
13582         [BZ #17793]
13583         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
13584         Define as weak alias not strong alias.
13586         [BZ #17635]
13587         * ctype/ctype-c99.c: New file.  isblank implementation moved from
13588         ...
13589         * ctype/ctype-extn.c: ... here.
13590         (__isblank_l): Move to ...
13591         * ctype/ctype-c99_l.c: ... here.  New file.
13592         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
13593         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
13594         Remove variable.
13595         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13596         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13597         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13598         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13599         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13601         [BZ #17777]
13602         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
13603         (posix_fadvise64): Define as weak alias not strong alias.
13604         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13605         (posix_fallocate64): Likewise.
13606         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
13607         Remove variable.
13608         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13609         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13610         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13611         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13612         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13614 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
13616         [BZ #16191]
13617         * NEWS: Mention bug fix.
13618         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
13619         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
13620         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
13621         (HOST_STACK_END_ADDR): Likewise.
13623 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13625         [BZ #17748]
13626         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
13627         * math/fegetround.c (fegetround): Rename to __fegetround and
13628         define as weak alias of __fegetround.  Use libm_hidden_weak.
13629         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
13630         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
13631         * sysdeps/arm/fegetround.c (fegetround): Likewise.
13632         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
13633         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13634         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
13635         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
13636         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
13637         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13638         Undefine after rather than before function definition; use
13639         parentheses around function name in definition.
13640         (__fegetround): Also undefine macro after function definition.
13641         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
13642         __fegetround and define as weak alias of __fegetround.  Use
13643         libm_hidden_weak.  Do not undefine as macro.
13644         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13645         Likewise.
13646         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
13647         __fegetround and define as weak alias of __fegetround.  Use
13648         libm_hidden_weak.
13649         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13650         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13651         * sysdeps/tile/math_private.h (__fegetround): New inline function.
13652         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
13653         __fegetround and define as weak alias of __fegetround.  Use
13654         libm_hidden_weak.
13655         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
13656         __fegetround instead of fegetround.
13658         [BZ #17782]
13659         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
13660         Condition macro definition on [__USE_MISC].
13662         [BZ #17781]
13663         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
13664         (struct sigaction): Change type of sa_flags field to int.
13666         [BZ #17780]
13667         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
13668         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
13669         __glibc_reserved0.
13671         * nptl/version.c (banner): Use single year in copyright notice.
13673         * NEWS: Update copyright dates.
13674         * catgets/gencat.c (print_version): Likewise.
13675         * csu/version.c (banner): Likewise.
13676         * debug/catchsegv.sh: Likewise.
13677         * debug/pcprofiledump.c (print_version): Likewise.
13678         * debug/xtrace.sh (do_version): Likewise.
13679         * elf/ldconfig.c (print_version): Likewise.
13680         * elf/ldd.bash.in: Likewise.
13681         * elf/pldd.c (print_version): Likewise.
13682         * elf/sotruss.sh: Likewise.
13683         * elf/sprof.c (print_version): Likewise.
13684         * iconv/iconv_prog.c (print_version): Likewise.
13685         * iconv/iconvconfig.c (print_version): Likewise.
13686         * locale/programs/locale.c (print_version): Likewise.
13687         * locale/programs/localedef.c (print_version): Likewise.
13688         * login/programs/pt_chown.c (print_version): Likewise.
13689         * malloc/memusage.sh (do_version): Likewise.
13690         * malloc/memusagestat.c (print_version): Likewise.
13691         * malloc/mtrace.pl: Likewise.
13692         * manual/libc.texinfo: Likewise.
13693         * nptl/version.c (banner): Likewise.
13694         * nscd/nscd.c (print_version): Likewise.
13695         * nss/getent.c (print_version): Likewise.
13696         * nss/makedb.c (print_version): Likewise.
13697         * posix/getconf.c (main): Likewise.
13698         * scripts/test-installation.pl: Likewise.
13699         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13701 2015-01-02  Will Newton  <will.newton@linaro.org>
13703         * sysdeps/arm/armv7/configure: Removed.
13704         * sysdeps/arm/armv7/configure.ac: Likewise.
13706 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
13708         * All files with FSF copyright notices: Update copyright dates
13709         using scripts/update-copyrights.
13710         * intl/plural.c: Regenerated.
13711         * locale/programs/charmap-kw.h: Likewise.
13712         * locale/programs/locfile-kw.h: Likewise.
13714 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13716         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
13718 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
13720         [BZ #17748]
13721         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
13722         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
13723         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13724         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13725         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13726         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
13727         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13728         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
13729         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13730         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13731         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13732         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13733         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13734         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13735         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
13736         libm_hidden_def.
13737         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
13738         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
13739         Likewise.
13740         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
13741         define as weak alias of __fegetenv.  Use libm_hidden_weak.
13742         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13743         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
13744         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
13745         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
13746         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
13747         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
13748         __fegetenv instead of fegetenv.
13749         (libc_feholdsetround_noex_ctx): Likewise.
13751 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13753         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
13754         (Elf_MIPS_ABIFlags_v0): New structure.
13755         (EF_MIPS_FP64): Define.
13756         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
13757         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
13758         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
13759         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
13760         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
13761         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
13762         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
13763         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
13764         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
13765         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
13766         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
13767         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
13768         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
13769         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
13770         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
13771         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
13772         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
13773         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
13774         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
13775         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
13776         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
13777         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
13778         field.
13779         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
13780         EF_MIPS_FP64.
13781         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
13782         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
13783         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
13784         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
13785         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
13786         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
13787         * sysdeps/mips/tst-abi-interlink.c: Likewise.
13788         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
13789         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
13790         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
13791         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
13792         record the current FP ABI extension.
13793         (mips-mode-switch): Define to show if kernel headers support mode
13794         switching.
13795         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13796         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
13797         supported SYSV ABI version to 3.
13798         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
13799         feature.
13801 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13802             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13804         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
13805         path.
13806         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
13808 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
13810         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
13811         __fegetround and redefine to call __fegetround.  Remove condition
13812         on [!__NO_MATH_INLINES].
13813         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
13814         function.
13815         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
13816         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13817         Remove macro.
13818         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
13819         instead of <fenv_libc.h>.
13820         (__llrintl): Call fegetround instead of __fegetround.
13821         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
13822         instead of <fenv_libc.h>.
13823         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13824         (__lrintl): Call fegetround instead of __fegetround.
13825         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
13826         instead of <fenv_libc.h>.
13827         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13828         (__rintl): Call fegetround instead of __fegetround.
13830 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13832         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
13833         arrays.
13835 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
13837         [BZ #17775]
13838         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
13839         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
13840         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
13842 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13844         * sysdeps/i386/tls-macros.h: Include <features.h>.
13845         (TLS_LE): Use non-PIC version for GCC >= 5.0.
13846         (TLS_IE): Likewise.
13847         (TLS_LD): Likewise.
13848         (TLS_GD): Likewise.
13849         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
13850         define for GCC >= 5.0.
13852 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
13854         * math/test-fenv.c (test_single_exception, set_single_exc,
13855         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
13856         feexcp_mask_test, feenable_test, fe_single_test): Add
13857         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
13858         case where they are not used.
13859         * math/libm-test.inc: Likewise.
13860         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
13861         unused in the absence of FP rounding/exception support.
13862         * stdio-common/tst-printf-round.c: Likewise.
13863         * stdlib/tst-strtod-round.c: Likewise.
13864         * stdlib/tst-strtod-underflow.c: Likewise.
13866 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
13868         [BZ #17723]
13869         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
13870         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
13871         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13872         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13873         libm_hidden_weak.
13874         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
13875         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13876         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
13877         libm_hidden_def.
13878         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13879         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13880         libm_hidden_weak.
13881         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
13882         Likewise.
13883         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
13884         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13885         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13886         libm_hidden_weak.
13887         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13888         libm_hidden_def.
13889         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13890         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
13891         (__feraiseexcept): Likewise.
13892         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
13893         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
13894         libm_hidden_weak.
13895         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
13896         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
13897         libm_hidden_def.
13898         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
13899         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
13900         Use libm_hidden_def.
13901         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
13902         libm_hidden_def.
13903         (feraiseexcept): Define as weak not strong alias.  Use
13904         libm_hidden_weak.
13905         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
13906         New inline function.  Factored out of ...
13907         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
13908         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
13909         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
13910         feraiseexcept.
13911         * math/w_acos.c (__acos): Likewise.
13912         * math/w_asin.c (__asin): Likewise.
13913         * math/w_ilogb.c (__ilogb): Likewise.
13914         * math/w_j0.c (y0): Likewise.
13915         * math/w_j1.c (y1): Likewise.
13916         * math/w_jn.c (yn): Likewise.
13917         * math/w_log.c (__log): Likewise.
13918         * math/w_log10.c (__log10): Likewise.
13919         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
13920         * sysdeps/aarch64/fpu/math_private.h
13921         (libc_feupdateenv_test_aarch64): Likewise.
13922         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
13923         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
13924         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
13925         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
13926         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
13927         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
13928         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
13929         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13930         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13931         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13933 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
13935         [BZ #17732]
13936         * io/test-utime.c (main): Replace %ld with %jd and cast to
13937         intmax_t.
13938         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
13939         * nptl/tst-mutex5.c: Include <stdint.h>.
13940         (do_test): Replace %ld with %jd and cast to intmax_t.
13941         * posix/tst-regex.c (run_test): Likewise.
13942         (run_test_backwards): Likewise.
13943         * rt/tst-clock.c: Include <stdint.h>.
13944         (clock_test): Replace %ld with %jd and cast to intmax_t.
13945         * rt/tst-cpuclock1.c: Include <stdint.h>.
13946         (do_test): Replace %lu with %ju and cast to uintmax_t.
13947         * rt/tst-cpuclock2.c: Include <stdint.h>.
13948         (do_test): Replace %lu with %ju and cast to uintmax_t.
13949         * rt/tst-mqueue1.c: Include <stdint.h>.
13950         (check_attrs): Replace %ld with %jd and cast to intmax_t.
13951         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
13952         intmax_t.
13953         * rt/tst-mqueue4.c (do_test): Likewise.
13954         * rt/tst-timer4.c: Include <stdint.h>.
13955         (check_ts): Replace %ld with %jd and cast to intmax_t.
13956         (do_test): Likewise.
13957         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
13958         and cast to intmax_t.
13959         * sysdeps/pthread/tst-timer.c (main): Likewise.
13960         * time/clocktest.c (main): Likewise.
13961         * time/tst-posixtz.c (do_test): Likewise.
13962         * timezone/tst-timezone.c (main): Likewise.
13964 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13965             H.J. Lu  <hongjiu.lu@intel.com>
13967         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
13968         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
13969         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
13970         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
13971         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
13972         version if bit_Fast_Unaligned_Load is set.
13973         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13974         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13975         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13976         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13977         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13978         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13979         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13980         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
13981         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
13982         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
13983         to 4.
13984         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
13985         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
13986         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
13987         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
13989 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
13991         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
13992         instead of #if to avoid a Wundef warning.
13993         * stdlib/tst-limits.c (do_test): Likewise.
13995         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
13996         parallel other exception macros.
13997         (fegetenv): Convert from macro to extern inline so that it applies
13998         retroactively to inline functions already seen by the compiler.
13999         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14001         * posix/Makefile (before-compile): Use $(objpfx) for
14002         posix-conf-vars-def.h.
14004 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14006         * posix/getconf.c (main): Use size_t for type of I.
14007         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14008         NSPEC.
14010         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14011         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14012         * posix/posix-envs.def: Likewise.
14013         * sysdeps/posix/sysconf.c: Likewise.
14014         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14015         (specs): Remove array.
14016         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14017         array.
14019         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14020         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14021         (__sysconf): Use CONF_IS_* macros.
14023         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14024         ($(objpfx)posix-conf-vars-def.h): New target.
14025         * posix/posix-conf-vars.list: New file.
14026         * posix/posix-conf-vars.h: New file.
14027         * posix/confstr.c: Include posix-conf-vars.h.
14028         (confstr): Use CONF_IS_* macros.
14029         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14030         CONF_IS_* macros.
14031         * scripts/gen-posix-conf-vars.awk: New file.
14033 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14035         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14036         fegetround): Add no-op macros to avoid linknamespace issues.
14038         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14039         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14041         * sysdeps/unix/sysv/linux/tile/sysdep.h
14042         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14043         assembly-specific section to avoid a redefinition warning.
14045         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14046         long before casting to pointer to avoid a cast warning.
14048 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14050         * sysdeps/tile/tilegx/Implies: New file.
14052 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14054         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14056 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14058         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14060 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14062         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14063         not define.
14064         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14065         <kernel-features.h>.
14066         (__utimes) [__NR_utimes]: Make code unconditional.
14067         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14068         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14069         (__ASSUME_UTIMES): Do not undefine.
14070         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14071         (__ASSUME_UTIMES): Likewise.
14072         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14073         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14074         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14075         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14077 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14079         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14081 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14083         [BZ #17747]
14084         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14085         alias to weak alias for j0l, y0l.
14086         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14087         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14089         [BZ #17746]
14090         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14091         conversion.
14093 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14095         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14096         to zero if not already defined.
14098 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14100         [BZ #17724]
14101         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14102         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14103         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14104         (char *) casts added.
14105         * sysdeps/ieee754/k_standardf.c: New file.
14106         * sysdeps/ieee754/k_standardl.c: Likewise.
14107         * math/Makefile (libm-support): Remove k_standard.
14108         (libm-calls): Add k_standard.
14110 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14112         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14113         Optimize to avoid an unnecessary FPCR read.
14115 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14117         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14118         Optimize to reduce FPCR/FPSR accesses.
14120 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14122         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14123         Call libc_fetestexcept_aarch64.
14125 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14127         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14128         Call libc_fesetround_aarch64.
14130 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14132         [BZ #17733]
14133         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14134         (__bind): Do not define as weak alias.
14135         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14136         define.
14137         (__getsockname): Do not define as weak alias.
14139 2014-12-22  Will Newton  <will.newton@linaro.org>
14141         * manual/install.texi: Document that we require bison 2.7
14142         or above.
14143         * INSTALL: Regenerate.
14144         * configure.ac: Use AC_CHECK_PROG_VER instead of
14145         AC_PATH_PROG when checking for bison and check for
14146         version 2.7 or above.
14147         * configure: Regenerate.
14149 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14151         [BZ #17745]
14152         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14153         * sysdeps/tile/ffsll.c (ffsll): To here.
14155         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14157 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14159         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14160         if not defined.
14161         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14162         definition.
14163         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14164         hidden ___tls_get_addr.
14165         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14166         hidden __tls_get_addr.
14167         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14168         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14169         Likewise.
14171 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14173         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14174         _dl_init call.
14176 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14178         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
14179         from "call _dl_init@PLT".
14180         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
14182 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
14184         * manual/search.texi: (Array Sort Function): Clarify stable sorting
14185         guarantees.
14187 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
14189         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
14191 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14193         [BZ #17744]
14194         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
14195         strnlen.
14197 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14199         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
14200         of multu on MIPSr6.
14201         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
14202         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
14203         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
14204         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
14205         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
14207 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
14209         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
14210         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
14211         (PTR_SUBU): Use subu for mips32r6/mips64r6.
14212         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
14213         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
14214         mips32r6/mips64r6.
14215         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
14217 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
14219         * string/strncat.c (STRNCAT): Simplify implementation.
14221 2014-12-19  David S. Miller  <davem@davemloft.net>
14223         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
14224         access the quad as both a long double and as a series of 4 words.
14226         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
14227         link_map->l_info array access.
14229 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
14231         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
14233         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
14234         * math/atest-exp2.c (TIMEOUT): Likewise.
14235         * math/atest-sincos.c (TIMEOUT): Likewise.
14237 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14239         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
14240         -Wno-error with -fno-builtin-lround.
14242 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14244         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
14245         Contains futex constants and functions moved over from ...
14246         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
14247         <lowlevellock-futex.h>.
14248         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14249         (lll_timedwait_tid): Add comments and parentheses around macro
14250         arguments.
14252 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14254         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
14255         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
14256         (__lll_private_flag): Remove.
14257         (lll_futex_wait): Likewise.
14258         (lll_futex_timed_wait): Likewise.
14259         (lll_futex_wake): Likewise.
14260         (lll_futex_requeue): Likewise.
14261         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
14262         (__lll_timedwait_tid): Spell out argument names.
14263         (lll_timedwait_tid): Add comments and parentheses around macro
14264         arguments.
14265         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
14266         LLL_SHARED and LLL_PRIVATE usable from assembly code.
14268 2014-12-19  Torvald Riegel  <triegel@redhat.com>
14270         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
14271         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14272         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14273         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
14274         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
14275         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
14276         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
14277         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
14278         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
14279         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
14280         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
14281         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
14282         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
14283         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
14284         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
14285         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
14286         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
14287         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
14288         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
14290 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14292         * sysdeps/x86_64/x32/Makefile: New file.
14294 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
14296         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
14297         1L with (mp_limb_t) 1.
14299 2014-12-17  Roland McGrath  <roland@hack.frob.com>
14301         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
14302         * nptl/libc_pthread_init.c: ... here.
14303         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
14304         * nptl/register-atfork.c: ... here.
14306         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
14307         Use pthread_sigmask rather than INTERNAL_SYSCALL.
14308         Use assert_perror to check its return value.
14309         (__gai_create_helper_thread): Likewise.
14311         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
14313         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
14315 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
14317         [BZ #17725]
14318         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
14319         __profil_counter.
14320         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
14321         Likewise.
14322         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
14323         Likewise.
14324         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
14325         Likewise.
14326         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
14327         (profil_counter): Likewise.
14328         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
14329         (profil_counter): Likewise.
14330         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
14331         Likewise.
14332         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
14333         Likewise.
14334         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
14335         (profil_counter): Likewise.
14336         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
14337         Likewise.
14338         [!__profil_counter] (profil_counter): Define as weak alias of
14339         __profil_counter.
14340         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
14341         (profil_counter): Rename to __profil_counter.
14342         [!__profil_counter] (profil_counter): Define as weak alias of
14343         __profil_counter.
14344         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
14345         (profil_counter): Rename to __profil_counter.
14346         [!__profil_counter] (profil_counter): Define as weak alias of
14347         __profil_counter.
14348         * sysdeps/posix/profil.c: Update comment referring to
14349         profil_counter.
14350         (__profil): Use __profil_counter instead of profil_counter.
14351         * sysdeps/posix/sprofil.c (profil_counter): Rename to
14352         __profil_counter.  Use __profil_counter_ushort and
14353         __profil_counter_uint in definitions.
14354         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
14355         instead of profil_counter_uint and profil_counter_ushort.
14357         [BZ #17722]
14358         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
14359         define as weak alias of __inet_makeaddr.
14360         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
14361         as weak alias of __inet_addr.
14362         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
14363         as weak alias of __inet_pton.  Use libc_hidden_weak.
14364         * include/arpa/inet.h (__inet_pton): Declare.  Use
14365         libc_hidden_proto.
14366         (inet_makeaddr): Don't use libc_hidden_proto.
14367         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14368         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
14369         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
14370         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
14371         Remove variable.
14372         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14373         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14375 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
14377         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
14379 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14381         * stdio-common/bug-vfprintf-nargs.c (do_test):
14382         Cast value to intptr_t to avoid format warning
14383         for usage with PRIdPTR printing macro.
14385 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14387         * libio/tst-widetext.c (do_test):
14388         Use format type %td instead of %Zd for ptrdiff_t
14389         in order to avoid format warning.
14391 2014-12-17  Andreas Schwab  <schwab@suse.de>
14393         * nscd/mem.c (gc): Add size_t cast to match printf format.
14395 2014-12-16  Roland McGrath  <roland@hack.frob.com>
14397         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
14398         (init): Apply PTR_MANGLE to pointers before storing them.
14399         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
14400         before using them.
14402 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
14404         [BZ #17719]
14405         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
14406         define as weak alias of __memrchr.
14407         (__memrchr): Do not define as strong alias of memrchr.
14408         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
14409         Remove variable.
14410         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14411         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14412         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14414         [BZ #17717]
14415         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
14416         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
14417         (if_indextoname): Rename to __if_indextoname and define as weak
14418         alias of __if_indextoname.  Use libc_hidden_weak.
14419         (if_freenameindex): Rename to __if_freenameindex and define as
14420         weak alias of __if_freenameindex.
14421         (if_nameindex): Rename to __if_nameindex and define as weak alias
14422         of __if_nameindex.
14423         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
14424         __if_nametoindex and define as weak alias of __if_nametoindex.
14425         Use libc_hidden_weak.
14426         (if_freenameindex): Rename to __if_freenameindex and define as
14427         weak alias of __if_freenameindex.
14428         (if_nameindex): Rename to __if_nameindex and define as weak alias
14429         of __if_nameindex.
14430         (if_indextoname): Rename to __if_indextoname and define as weak
14431         alias of __if_indextoname.  Use libc_hidden_weak.
14432         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
14433         __if_nametoindex and define as weak alias of __if_nametoindex.
14434         Use libc_hidden_weak.
14435         (if_freenameindex): Rename to __if_freenameindex and define as
14436         weak alias of __if_freenameindex.  Use libc_hidden_weak.
14437         (if_nameindex_netlink): Use __if_freenameindex instead of
14438         if_freenameindex.
14439         (if_nameindex): Rename to __if_nameindex and define as weak alias
14440         of __if_nameindex.  Use libc_hidden_weak.
14441         (if_indextoname): Rename to __if_indextoname and define as weak
14442         alias of __if_indextoname.  Use libc_hidden_weak.
14443         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
14444         libc_hidden_proto.
14445         [!_ISOMAC] (__if_freenameindex): Likewise.
14446         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
14447         if_nametoindex.
14448         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
14449         variable.
14450         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14451         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14452         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14453         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14454         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14455         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14456         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14458         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
14459         Remove variable.
14460         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14461         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14463 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14465         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
14466         subscript above bounds'
14468         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
14469         bounds.
14471 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
14473         * libio/tst-fopenloc.c: Use test-skeleton.c.
14475         * stdlib/tst-bsearch.c: Use test-skeleton.c.
14476         (entry): Rename to ITEM.
14477         (do_test, comp): Adjust.
14479         * stdio-common/tst-fseek.c: Use test-skeleton.c.
14481 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14483         * string/tester.c: Include <libc-internal.h>.
14484         (test_memset): Ignore -Wmemset-transposed-args.
14486 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14488         * misc/tst-mntent2.c (do_test): Fix warning.
14490 2014-12-16  Torvald Riegel  <triegel@redhat.com>
14492         * elf/tst-unique4lib.cc(a): Mark as used.
14494 2014-12-16  Florian Weimer  <fweimer@redhat.com>
14496         [BZ #17630]
14497         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
14498         names.
14500 2014-12-16  Allan McRae  <allan@archlinux.org>
14502         * stdio-common/Makefile (tests): Re-add bug26.
14504 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
14506         [BZ #17657]
14507         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
14508         static array.
14510 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
14512         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
14513         (__lll_lock_wait): Likewise.
14514         (__lll_timedlock_wait): Likewise.
14515         (__lll_timedwait_tid): Likewise.
14516         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
14517         (__lll_robust_timedlock_wait): Likewise.
14518         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
14519         (lll_cond_trylock): Likewise.
14520         (__lll_lock): Likewise.
14521         (__lll_robust_lock): Likewise.
14522         (__lll_cond_lock): Likewise.
14523         (lll_robust_cond_lock): Likewise.
14524         (__lll_timedlock): Likewise.
14525         (__lll_robust_timedlock): Likewise.
14526         (__lll_unlock): Likewise.
14527         (__lll_robust_unlock): Likewise.
14528         (lll_wait_tid): Likewise.
14529         (lll_timedwait_tid): Likewise.
14531 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14533         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
14535 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14537         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
14539 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14541         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
14542         * stdio-common/tst-sprintf.c: Likewise.
14544 2014-12-15  Torvald Riegel  <triegel@redhat.com>
14546         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
14548 2014-12-15  Jeff Law  <law@redhat.com>
14550         [BZ #16617]
14551         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
14552         on the heap.  (CVE-2012-3406)
14553         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
14554         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
14555         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
14557 2014-12-15  Will Newton  <will.newton@linaro.org>
14559         * manual/install.texi: Bump required version of texinfo
14560         to 4.7 from 4.5.
14561         * INSTALL: Regenerated.
14562         * configure.ac: Check for makeinfo version 4.7 and above.
14563         * configure: Regenerated.
14565 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14567         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
14568         PREFIX, string constant to insert between directory and name.
14569         * sysdeps/posix/shm_open.c: Update caller.
14570         * sysdeps/posix/shm_unlink.c: Likewise.
14571         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
14572         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
14573         (SEM_SHM_PREFIX): New macro.
14574         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
14575         [$(have-thread-library) = no].
14576         * nptl/Makefile (libpthread-routines): Add shm-directory.
14577         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
14578         * sysdeps/nptl/shm-directory.h: New file.
14579         * sysdeps/posix/shm-directory.c
14580         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
14581         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14582         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
14583         INTERNAL_SYSCALL.
14584         (__where_is_shmfs): Function removed.
14585         (mountpoint, defaultmount, defaultdir, __namedsem_once):
14586         Variables removed.
14587         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
14588         Use SHM_GET_NAME.
14589         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
14591         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
14592         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
14593         unconditional for use inside libpthread.
14594         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
14596 2014-12-12  Roland McGrath  <roland@hack.frob.com>
14598         * nptl/pthread_getaffinity.c: New file.
14599         * nptl/pthread_setaffinity.c: New file.
14600         * nptl/pthread_getname.c: New file.
14601         * nptl/pthread_setname.c: New file.
14603         * nptl/pthread_create.c (START_THREAD_DEFN)
14604         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
14606 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14607             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14609         * resolv/res_send.c (send_vc): Disable warning resplen may
14610         be used uninitialized.
14612 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14614         * nptl/tst-mutex6.c
14615         (ATTR_NULL): New define checks ATTR against NULL.
14616         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
14617         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
14619 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
14621         [BZ #17581]
14622         * malloc/hooks.c
14623         (mem2mem_check): Revert my previous change.
14624         (malloc_check_get_size): Revert my previous change.
14625         (mem2chunk_check): Revert my previous change.
14627 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14629         * sysdeps/posix/shm-directory.c: New file.
14630         * sysdeps/posix/shm-directory.h: New file.
14631         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
14632         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
14633         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
14634         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
14635         Transmute EPERM to EACCES.
14636         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
14637         from ...
14638         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
14639         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
14641 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14643         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
14644         pointer and cast to uintptr_t.
14645         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
14646         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
14647         Add cast to avoid warning.
14648         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
14650 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14652         * nptl/semaphore.h: Move to ...
14653         * sysdeps/pthread/semaphore.h: ... here.
14654         * Makefile (installed-headers): Change nptl/semaphore.h to
14655         sysdeps/pthread/semaphore.h.
14657 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14659         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
14660         generated error format strings.
14662         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
14663         -Wformat-extra-args warnings for scanf formats.
14664         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
14665         test of zero-length format (duh).
14666         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
14667         corner-case scanf format test.
14668         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
14669         generated fprintf format string.
14670         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
14671         corner-case sprintf format tests.
14672         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
14673         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
14674         -Wformat-extra-args warnings throughout.
14675         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
14676         (CFLAGS-scanf4.c): Likewise.
14677         (CFLAGS-scanf7.c): Likewise.
14678         (CFLAGS-tst-sprintf.c): Likewise.
14679         (CFLAGS-tst-printf.c): Likewise.
14680         (CFLAGS-tst-printfsz.c): Likewise.
14682 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
14684         * include/cpio.h: New file.
14685         * include/fmtmsg.h: Likewise.
14687         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
14688         corresponding format argument to size_t.
14689         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
14690         arguments.
14691         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
14692         corresponding format argument to size_t.
14693         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
14694         arguments.
14695         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
14696         corresponding format argument to size_t.
14697         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
14698         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
14699         (CFLAGS-tst-mbswcs2.c): Likewise.
14700         (CFLAGS-tst-mbswcs3.c): Likewise.
14701         (CFLAGS-tst-mbswcs4.c): Likewise.
14702         (CFLAGS-tst-mbswcs5.c): Likewise.
14703         (CFLAGS-tst-trans.c): Likewise
14705 2014-12-11  Roland McGrath  <roland@hack.frob.com>
14707         * posix/regexbug1.c (main): Use "%s" format with regerror results,
14708         rather than assuming they won't contain any '%'s.
14710 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
14712         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
14713         inhibit_loop_to_libcall to avoid recursive calls.
14714         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
14715         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
14717 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
14719         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
14720         prototype.
14722 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14724         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
14725         integer value instead of boolean.
14727 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
14729         * malloc/malloc.c: Fix powerof2 check.
14731 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14733         * locale/programs/locfile.h (maybe_swap_uint32):
14734         Remove inline and add unused attribute.
14736 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14738         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14739         Truncating assembler expression to a .long expression.
14741 2014-12-11  Andreas Schwab  <schwab@suse.de>
14743         * elf/rtld.c (struct map_args): Constify str member.
14744         (do_preload): Constify fname argument.
14746 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14748         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
14749         constants definition.
14751 2014-12-11  Andreas Schwab  <schwab@suse.de>
14753         [BZ #16657]
14754         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
14755         FORCE_ELISION instead of DO_ELISION.
14756         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
14757         Remove.
14758         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
14759         Likewise.
14761         * iconvdata/gconv-modules: Remove duplicate entry.
14763 2014-12-11  Will Newton  <will.newton@linaro.org>
14765         Merge gettext 0.19.3 into intl/.
14767         This involves a number of cosmetic changes to comments
14768         and ANSI function definitions and prototypes throughout
14769         all the files. The gettext copyright header is used but
14770         with the date ranges taken from the glibc copy.
14772         * NEWS: Add gettext merge to 2.21.
14773         * intl/bindtextdom.c: Switch to gettext copyright.
14774         Use ANSI definitions and prototypes.
14775         Use gl_* locking primitives rather than __libc_* ones.
14776         Use __builtin_expect rather than __glibc_likely/unlikely.
14777         * intl/dcgettext.c: Switch to gettext copyright.
14778         Use ANSI definitions and prototypes.
14779         * intl/dcigettext.c: Switch to gettext copyright.
14780         Use ANSI definitions and prototypes.
14781         (INTDIV0_RAISES_SIGFPE): New define.
14782         Use gl_* locking primitives rather than __libc_* ones.
14783         Include eval-plural.h instead of plural-eval.c.
14784         Use __builtin_expect rather than __glibc_likely/unlikely.
14785         * intl/dcngettext.c: Switch to gettext copyright.
14786         Use ANSI definitions and prototypes.
14787         * intl/dgettext.c: Likewise.
14788         * intl/dngettext.c: Likewise.
14789         * intl/plural-eval.c: Renamed to...
14790         * intl/eval-plural.h: ...this.
14791         * intl/explodename.c: Switch to gettext copyright.
14792         Use ANSI definitions and prototypes.
14793         (_nl_explode_name): Use strchr instead of __rawmemchr.
14794         * intl/finddomain.c: Switch to gettext copyright.
14795         Use ANSI definitions and prototypes.
14796         Use gl_* locking primitives rather than __libc_* ones.
14797         (_nl_find_domain): Use malloc rather than alloca for
14798         allocation of temporary locale name.
14799         * intl/gettext.c: Switch to gettext copyright.
14800         Use ANSI definitions and prototypes.
14801         * intl/gettextP.h: Switch to gettext copyright.
14802         Use ANSI definitions and prototypes.
14803         Use gl_* locking primitives rather than __libc_* ones.
14804         * intl/gmo.h: Switch to gettext copyright.
14805         (struct sysdep_string): Move struct segment_pair outside of
14806         struct definition.
14807         * intl/hash-string.c: Use ANSI definitions and prototypes.
14808         * intl/hash-string.h: Switch to gettext copyright.
14809         Use ANSI definitions and prototypes.
14810         * intl/l10nflist.c: Switch to gettext copyright.
14811         Use ANSI definitions and prototypes.
14812         (_nl_normalize_codeset): Avoid integer overflow.
14813         * intl/loadinfo.h: Switch to gettext copyright.
14814         Use ANSI definitions and prototypes.
14815         (LIBINTL_DLL_EXPORTED): New define.
14816         (PATH_SEPARATOR): New define.
14817         * intl/loadmsgcat.c: Switch to gettext copyright.
14818         * intl/localealias.c: Switch to gettext copyright.
14819         Use ANSI definitions and prototypes.
14820         (_nl_expand_alias): Use PATH_SEPARATOR.
14821         * intl/ngettext.c: Switch to gettext copyright.
14822         Use ANSI definitions and prototypes.
14823         * intl/plural-exp.c: Likewise.
14824         * intl/plural-exp.h: Switch to gettext copyright.
14825         Use ANSI definitions and prototypes.
14826         (struct expression): Move definition of enum operator outside
14827         of struct definition.
14828         * intl/plural.c: Regenerate.
14829         * intl/plural.y: Switch to gettext copyright.
14830         Use ANSI definitions and prototypes.
14831         Port to bison 3.0.
14832         * intl/textdomain.c: Switch to gettext copyright.
14833         Use ANSI definitions and prototypes.
14834         Use gl_* locking primitives rather than __libc_* ones.
14836 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
14838         * debug/warning-nop.c: Add used atrribute.
14840 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14842         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
14844         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
14845         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
14846         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
14848 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14849             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14851         [BZ #17634]
14852         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
14853         Undefine after defining function.  Define as weak alias of
14854         __wcschr.  Use libc_hidden_weak.
14855         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
14856         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
14857         (libc_hidden_def): Also define __GI___wcschr alias.
14858         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
14859         __wcschr and define as weak alias of __wcschr.
14860         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
14861         __wcschr.
14862         [!WCSCHR] (DEFAULT_WCSCHR): Define.
14863         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
14864         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
14865         libc_hidden_weak.  Do not use libc_hidden_def.
14866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
14867         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
14868         __GI___wcschr alias.
14869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
14870         [IS_IN (libc)] (wcschr): Define as macro expanding to
14871         __redirect_wcschr.
14872         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
14873         [IS_IN (libc)] (__wcschr_power6): Likewise.
14874         [IS_IN (libc)] (__wcschr_power7): Likewise.
14875         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
14876         instead of wcschr.
14877         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
14878         __libc_wcschr.
14879         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
14880         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
14881         __wcschr and define as weak alias of __wcschr.  Use
14882         libc_hidden_builtin_def.
14883         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
14884         as weak alias of __wcschr.  Use libc_hidden_weak.
14885         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
14886         wcschr.
14887         * time/era.c (_nl_init_era_entries): Likewise.
14888         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
14889         variable.
14890         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14891         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14893 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14895         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
14896         format for long int variable.
14898 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
14900         [BZ #10672]
14901         * manual/search.texi: (Array Sort Function): Remove claim how to make
14902         qsort stable.
14904 2014-12-10  Andreas Schwab  <schwab@suse.de>
14906         [BZ #12847]
14907         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
14908         user-controlled locks.
14910 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
14912         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
14913         register.
14915 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
14917         * configure.ac (--disable-werror): New configure option.
14918         (enable_werror): New AC_SUBST.
14919         * configure: Regenerated.
14920         * config.make.in (enable-werror): New variable.
14921         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
14922         -Wno-error=undef.
14923         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
14924         * manual/install.texi (Configuring and compiling): Document
14925         --disable-werror.
14926         * INSTALL: Regenerated.
14927         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
14928         (CFLAGS-tst-chk2.c): Likewise.
14929         (CFLAGS-tst-chk3.c): Likewise.
14930         (CFLAGS-tst-chk4.cc): Likewise.
14931         (CFLAGS-tst-chk5.cc): Likewise.
14932         (CFLAGS-tst-chk6.cc): Likewise.
14933         (CFLAGS-tst-lfschk1.c): Likewise.
14934         (CFLAGS-tst-lfschk2.c): Likewise.
14935         (CFLAGS-tst-lfschk3.c): Likewise.
14936         (CFLAGS-tst-lfschk4.cc): Likewise.
14937         (CFLAGS-tst-lfschk5.cc): Likewise.
14938         (CFLAGS-tst-lfschk6.cc): Likewise.
14940         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
14941         (main): Disable -Wdeprecated-declarations around calls to
14942         register_printf_function.
14944         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
14945         (do_test): Disable -Wdiv-by-zero around some calls to
14946         fwrite_unlocked and fread_unlocked.
14948         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
14949         (DIAG_POP_NEEDS_COMMENT): Likewise.
14950         (_DIAG_STR1): Likewise.
14951         (_DIAG_STR): Likewise.
14952         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
14953         * stdio-common/bug21.c: Include <libc-internal.h>.
14954         (do_test): Disable -Wformat around call to sscanf.
14955         * stdio-common/scanf14.c: Include <libc-internal.h>.
14956         (main): Disable -Wformat around some calls to scanf functions.
14958 2014-12-09  Torvald Riegel  <triegel@redhat.com>
14960         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
14962 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14964         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
14965         stack variable alignment.
14967 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
14969         [BZ #17682]
14970         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
14971         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
14972         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
14973         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
14974         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
14975         __getrlimit instead of getrlimit.
14976         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
14977         __gettimeofday instead of gettimeofday.
14978         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14979         Likewise.
14980         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14981         Likewise.
14982         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14983         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
14984         Remove variable.
14985         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14986         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14988 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14990         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
14991         for wide-character tests.
14993 2014-12-04  Roland McGrath  <roland@hack.frob.com>
14995         * io/openat64.c: #include <libc-internal.h>
14996         (__openat64): Prototypify.  Use ignore_value on MODE.
14997         * io/openat.c: Likewise.
14998         * misc/reboot.c: #include <libc-internal.h>
14999         (reboot): Prototypify.  Use ignore_value on HOWTO.
15000         * misc/ptrace.c: #include <libc-internal.h>
15001         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15003 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15005         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15006         XPG4, UNIX98 and XOPEN2K.
15007         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15008         Remove variable.
15009         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15011 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15013         * libio/fileops.c: Use ISO C style for function definitions.
15014         * libio/iofopen.c: Likewise.
15015         * libio/wfileops.c: Likewise.
15017         [BZ #17653]
15018         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15019         offset on EOF.
15020         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15021         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15022         (fgets_func): Function pointer to fgets and fgetws.
15023         (do_ftell_test): Add test to verify ftell value after read
15024         EOF.
15025         (do_test): Set fgets_func.
15027         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15028         O_TRUNC flag for w and w+ modes.
15029         (do_rewind_test): Likewise.
15030         (do_ftell_test): Likewise.
15031         (do_write_test): Likewise.
15033         [BZ #17647]
15034         * libio/fileops.c (do_ftell): Seek only when there are
15035         unflushed writes.
15036         * libio/wfileops.c (do_ftell_wide): Likewise.
15037         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15038         test case.
15039         (do_one_test): Call it.
15041 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15043         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15044         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15045         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15046         Remove variable.
15047         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15048         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15049         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15051 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15053         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15054         Remove variable.
15055         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15057         [BZ #17668]
15058         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15059         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15060         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15061         __freeifaddrs.  Use libc_hidden_weak.
15062         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15063         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15064         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15065         __freeifaddrs.  Use libc_hidden_weak.
15066         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15067         __getifaddrs and define as weak alias of __getifaddrs.  Use
15068         libc_hidden_weak.
15069         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15070         __freeifaddrs.  Use libc_hidden_weak.
15071         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15072         Remove variable.
15073         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15074         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15076 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15078         [BZ #17601]
15079         * sysdeps/mips/start.S (__start): Use indirect jump to call
15080         __libc_start_main.
15082 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15084         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15086         * nptl/tst-mutex1.c: Include <stdbool.h>.
15087         [!ATTR] (ATTR_NULL): New macro.
15088         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15089         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15090         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15092         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15093         to char *.
15095         [BZ #17665]
15096         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15097         Change conditional to [__USE_MISC].
15099         [BZ #17664]
15100         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15101         fgets_unlocked.
15102         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15103         __fgets_unlocked.
15104         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15105         fgets_unlocked.
15106         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15107         Remove variable.
15108         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15109         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15110         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15111         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15112         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15113         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15114         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15115         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15116         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15118         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15120 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15122         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15123         Remove strpbrk objects.
15124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15125         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15126         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15127         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15128         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15129         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15131         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15132         Remove strcspn objects.
15133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15134         (__libc_ifunc_impl_list): Remove strcspn implementation.
15135         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15136         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15137         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15138         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15140         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15141         Remove strspn objetcs.
15142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15143         (__libc_ifunc_impl_list): Remove strspn implementation.
15144         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15145         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15146         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15147         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15149 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15151         [BZ #17581]
15152         * malloc/hooks.c
15153         (mem2mem_check): Add a terminator to the chain of checking blocks.
15154         (malloc_check_get_size): Use it here.
15155         (mem2chunk_check): Ditto.
15157 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15159         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15160         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15162 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15164         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15166         * nptl/nptl-init.c: Include libc-internal.h.
15167         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15169         * elf/ldconfig.c (search_dir): Expand comment.
15171 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15173         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15174         variable.
15175         (linknamespace-symlist-stdlibs-tests): Likewise.
15176         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
15177         instead of $(objpfx)symlist-stdlibs.
15178         (linknamespace-libs-isoc): New variable.
15179         (linknamespace-libs): Use $(linknamespace-libs-isoc).
15180         (linknamespace-libs-ISO): New variable.
15181         (linknamespace-libs-ISO99): Likewise.
15182         (linknamespace-libs-ISO11): Likewise.
15183         (linknamespace-libs-XPG3): Likewise.
15184         (linknamespace-libs-XPG4): Likewise.
15185         (linknamespace-libs-POSIX): Likewise.
15186         (linknamespace-libs-UNIX98): Likewise.
15187         (linknamespace-libs-XOPEN2K): Likewise.
15188         (linknamespace-libs-POSIX2008): Likewise.
15189         (linknamespace-libs-XOPEN2K8): Likewise.
15190         ($(objpfx)symlist-stdlibs): Replace by
15191         $(linknamespace-symlist-stdlibs-tests).  Use
15192         $(linknamespace-libs-$*) as set of libraries.
15193         ($(linknamespace-header-tests)): Update dependencies.  Use
15194         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
15195         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
15196         * conform/linknamespace.pl: Remove comment about considering
15197         definitions of symbols from irrelevant libraries.
15199 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
15201         [BZ #13862]
15202         * elf/dl-tls.c: Include <atomic.h>.
15203         (oom): Remove #ifdef SHARED/#endif.
15204         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
15205         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
15206         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
15207         big enough.
15208         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
15209         * nptl/Makefile (tests): Add tst-stack4.
15210         (modules-names): Add tst-stack4mod.
15211         ($(objpfx)tst-stack4): New.
15212         (tst-stack4mod.sos): Likewise.
15213         ($(objpfx)tst-stack4.out): Likewise.
15214         ($(tst-stack4mod.sos)): Likewise.
15215         (clean): Likewise.
15216         * nptl/tst-stack4.c: New file.
15217         * nptl/tst-stack4mod.c: Likewise.
15219 2014-11-27  J. Brown  <jb999@gmx.de>
15221         * sysdeps/x86/bits/string.h: Add recent CPUs.
15223 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15225         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
15226         sigblock.
15228         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
15229         feof.
15231         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
15232         variable.
15234 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15236         * nscd/connections.c: Include libc-internal.h because of macro
15237         usage ignore_value.
15239 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15241         * string/bits/string3.h (__warn_memset_zero_len): Don't
15242         declare for gcc newer than 5.0.
15243         (memset): Don't test for zero-length __LEN for gcc newer than
15244         5.0.
15246 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
15248         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
15249         size_t for %zu format.
15251         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
15252         difference, not %ju.
15254 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15256         * include/libc-internal.h (ignore_value): New macro.
15257         * nscd/connections.c (restart): Wrap calls to setuid and setgid
15258         with ignore_value.
15260         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
15261         definition.
15263         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
15264         pthread_cleanup_push to void *.
15266         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
15267         Undefine.
15269         [BZ #16619]
15270         [BZ #16740]
15271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
15272         instead of 1L << 52.
15274         * libio/bug-rewind.c (do_test): Check fwscanf return values.
15275         * libio/bug-rewind2.c (do_test): Likewise.
15277         * debug/test-stpcpy_chk-ifunc.c: Remove file.
15278         * debug/test-strcpy_chk-ifunc.c: Likewise.
15279         * wcsmbs/test-wcschr-ifunc.c: Likewise.
15280         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15281         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15282         * wcsmbs/test-wcslen-ifunc.c: Likewise.
15283         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15284         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15285         * Rules [$(multi-arch) = no] (tests): Do not filter out
15286         $(tests-ifunc).
15287         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
15288         * debug/Makefile (tests-ifunc): Remove variable.
15289         (tests): Do not add $(tests-ifunc).
15290         * wcsmbs/Makefile (tests-ifunc): Remove variable.
15291         (tests): Do not add $(tests-ifunc).
15292         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
15293         [TEST_IFUNC]: Remove conditionals.
15294         * string/test-string.h (TEST_IFUNC): Remove macro.
15295         [TEST_IFUNC]: Remove conditionals.
15297         * string/test-strchr.c [!WIDE] (L): New macro.
15298         [WIDE] (L): Likewise.
15299         (check1): Use CHAR instead of char.  Use L on string and character
15300         constants.
15302 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
15304         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
15305         tests.
15306         * sysdeps/powerpc/bits/atomic.h
15307         (__arch_atomic_exchange_and_add_32_acq): Add definition.
15308         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15309         (atomic_exchange_and_add_acq): Likewise.
15310         (atomic_exchange_and_add_rel): Likewise.
15311         * sysdeps/powerpc/powerpc32/bits/atomic.h
15312         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15313         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15314         * sysdeps/powerpc/powerpc64/bits/atomic.h
15315         (__arch_atomic_exchange_and_add_64_acq): Add definition.
15316         (__arch_atomic_exchange_and_add_64_rel): Likewise.
15318 2014-11-26  Torvald Riegel  <triegel@redhat.com>
15320         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
15321         Change synchronization of __sched_fifo_min_prio and
15322         __sched_fifo_max_prio.
15323         * nptl/pthread_mutexattr_getprioceiling.c
15324         (pthread_mutexattr_getprioceiling): Likewise.
15325         * nptl/pthread_mutexattr_setprioceiling.c
15326         (pthread_mutexattr_setprioceiling): Likewise.
15327         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
15328         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
15329         Likewise.
15331 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
15333         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
15334         void.
15336 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15338         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
15339         third argument const.
15341 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
15343         fnmatch: work around GCC compiler warning bug with uninit var
15344         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
15345         This works around a bug with x86-64 GCC 4.9.2 and earlier
15346         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
15347         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
15348         used uninitialized in this function [-Wmaybe-uninitialized]".
15350 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
15352         * posix/bug-regex31.c (main): Return RES not 0.
15354 2014-11-25  Anton Blanchard <anton@samba.org>
15356         * sysdeps/powerpc/bits/atomic.h
15357         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
15359 2014-11-24  Sterling Augustine  <saugustine@google.com>
15361         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
15363 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
15365         [BZ #17608]
15366         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
15368 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #17633]
15371         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
15372         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
15373         variable.
15374         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
15375         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
15377 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15379         * string/strncpy.c (strncpy): Improve performance by using memset.
15381 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
15383         * string/strcpy.c (strcpy):
15384         Improve performance by using strlen and memcpy.
15386 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
15388         * string/strcoll_l.c (get_next_seq): __always_inline.
15389         * string/strcoll_l.c (do_compare): __always_inline.
15391 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15393         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
15394         defined.
15395         * include/mqueue.h: Likewise.
15396         * include/stdlib.h: Likewise.
15398         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
15399         (get_null_defines): Adjust.
15400         * sunrpc/Makefile: Adjust comment.
15401         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
15402         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
15403         (CFLAGS-interp.c): Likewise.
15404         (CFLAGS-ldconfig.c): Likewise.
15405         (CPPFLAGS-.os): Likewise.
15406         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15407         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15408         * extra-modules.mk (extra-modules.mk): Likewise.
15409         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
15410         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
15411         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
15412         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
15413         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
15414         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
15415         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
15416         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
15417         * iconvdata/Makefile (CPPFLAGS): Likewise.
15418         (cpp-srcs-left): Add libof for all iconvdata routines.
15419         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
15420         * include/assert.h: Likewise.
15421         * include/ctype.h: Likewise.
15422         * include/errno.h: Likewise.
15423         * include/libc-symbols.h: Likewise.
15424         * include/math.h: Likewise.
15425         * include/netdb.h: Likewise.
15426         * include/resolv.h: Likewise.
15427         * include/stdio.h: Likewise.
15428         * include/stdlib.h: Likewise.
15429         * include/string.h: Likewise.
15430         * include/sys/stat.h: Likewise.
15431         * include/wctype.h: Likewise.
15432         * intl/l10nflist.c: Likewise.
15433         * libidn/idn-stub.c: Likewise.
15434         * libio/libioP.h: Likewise.
15435         * nptl/libc_multiple_threads.c: Likewise.
15436         * nptl/pthreadP.h: Likewise.
15437         * posix/regex_internal.h: Likewise.
15438         * resolv/res_hconf.c: Likewise.
15439         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
15440         * sysdeps/arm/memmove.S: Likewise.
15441         * sysdeps/arm/sysdep.h: Likewise.
15442         * sysdeps/generic/_itoa.h: Likewise.
15443         * sysdeps/generic/symbol-hacks.h: Likewise.
15444         * sysdeps/gnu/errlist.awk: Likewise.
15445         * sysdeps/gnu/errlist.c: Likewise.
15446         * sysdeps/i386/i586/memcpy.S: Likewise.
15447         * sysdeps/i386/i586/memset.S: Likewise.
15448         * sysdeps/i386/i686/memcpy.S: Likewise.
15449         * sysdeps/i386/i686/memmove.S: Likewise.
15450         * sysdeps/i386/i686/mempcpy.S: Likewise.
15451         * sysdeps/i386/i686/memset.S: Likewise.
15452         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15453         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15454         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
15455         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
15456         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15457         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15458         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
15459         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15460         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15461         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15462         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15463         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15464         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15465         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15466         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15467         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15468         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
15469         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
15470         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
15471         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15472         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15473         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15474         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15475         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15476         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15477         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15478         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
15479         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15480         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
15481         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
15482         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15483         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15484         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15485         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15486         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15487         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15488         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15489         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15490         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
15491         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15492         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15493         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15494         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
15495         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
15496         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15497         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15498         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
15499         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
15500         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15501         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15502         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15503         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
15504         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
15505         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15506         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15507         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
15508         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15509         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
15510         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
15511         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15512         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15513         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15514         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
15515         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15516         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15517         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
15518         * sysdeps/posix/closedir.c: Likewise.
15519         * sysdeps/posix/opendir.c: Likewise.
15520         * sysdeps/posix/readdir.c: Likewise.
15521         * sysdeps/posix/rewinddir.c: Likewise.
15522         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
15523         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
15524         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15525         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15526         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15527         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
15528         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
15529         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
15530         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15531         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
15532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15533         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15534         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15535         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
15536         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
15537         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
15538         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15539         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15540         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
15541         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
15542         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15543         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
15544         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
15545         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15546         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
15547         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
15548         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
15549         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15550         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
15552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
15553         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
15554         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
15555         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
15556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
15557         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
15558         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15559         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15560         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
15561         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
15562         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
15563         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
15564         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15565         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
15566         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
15567         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
15568         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
15569         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15570         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
15571         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
15572         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
15573         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15574         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15575         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15576         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15577         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
15578         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
15579         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15580         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15581         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
15582         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
15583         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15584         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15585         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15586         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
15587         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
15588         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
15589         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
15590         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
15591         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
15592         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
15593         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15594         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
15595         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15596         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15597         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
15598         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
15599         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15600         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15601         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
15602         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15603         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15604         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
15605         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
15606         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15607         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
15608         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
15609         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15610         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15611         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15612         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
15613         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
15614         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
15615         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15616         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15617         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
15618         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15620         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
15621         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
15622         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15623         * sysdeps/unix/alpha/sysdep.S: Likewise.
15624         * sysdeps/unix/alpha/sysdep.h: Likewise.
15625         * sysdeps/unix/make-syscalls.sh: Likewise.
15626         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15627         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15628         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15629         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
15630         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15631         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15632         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
15633         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15634         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15635         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
15636         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15637         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15638         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15639         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15640         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15641         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15642         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15643         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15644         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15645         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15646         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15647         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15648         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15649         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15650         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15651         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15652         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15655         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
15656         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15657         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15658         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15660         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15662         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15663         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15664         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15665         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15666         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15667         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15668         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15669         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15670         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15671         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15673         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15674         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15675         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15676         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15677         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15678         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15679         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15680         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
15681         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15682         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15684         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
15685         * sysdeps/x86_64/memcpy.S: Likewise.
15686         * sysdeps/x86_64/memmove.c: Likewise.
15687         * sysdeps/x86_64/memset.S: Likewise.
15688         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
15689         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15690         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15691         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
15692         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
15693         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15694         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15695         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15696         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15697         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15698         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15699         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15700         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
15701         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15702         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15703         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
15704         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15705         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15706         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
15707         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15708         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
15709         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15710         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15711         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15712         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15713         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15714         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15715         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
15716         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15717         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15718         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
15719         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15720         * sysdeps/x86_64/strcmp.S: Likewise.
15722         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
15724         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
15725         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
15726         * elf/rtld-Rules: Likewise.
15727         * elf/setup-vdso.h: Likewise.
15728         * include/assert.h: Likewise.
15729         * include/bits/stdlib-float.h: Likewise.
15730         * include/errno.h: Likewise.
15731         * include/sys/stat.h: Likewise.
15732         * include/unistd.h: Likewise.
15733         * sysdeps/aarch64/setjmp.S: Likewise.
15734         * sysdeps/alpha/setjmp.S: Likewise.
15735         * sysdeps/arm/__longjmp.S: Likewise.
15736         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
15737         * sysdeps/arm/setjmp.S: Likewise.
15738         * sysdeps/arm/sysdep.h: Likewise.
15739         * sysdeps/generic/_itoa.h: Likewise.
15740         * sysdeps/generic/dl-sysdep.h: Likewise.
15741         * sysdeps/generic/ldsodefs.h: Likewise.
15742         * sysdeps/i386/dl-tls.h: Likewise.
15743         * sysdeps/i386/setjmp.S: Likewise.
15744         * sysdeps/m68k/setjmp.c: Likewise.
15745         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
15746         * sysdeps/mach/hurd/opendir.c: Likewise.
15747         * sysdeps/posix/getcwd.c: Likewise.
15748         * sysdeps/posix/opendir.c: Likewise.
15749         * sysdeps/posix/profil.c: Likewise.
15750         * sysdeps/powerpc/dl-procinfo.h: Likewise.
15751         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15752         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15753         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15754         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15755         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
15756         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15757         * sysdeps/s390/dl-tls.h: Likewise.
15758         * sysdeps/s390/s390-32/setjmp.S: Likewise.
15759         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15760         * sysdeps/sh/sh3/setjmp.S: Likewise.
15761         * sysdeps/sh/sh4/setjmp.S: Likewise.
15762         * sysdeps/unix/alpha/sysdep.h: Likewise.
15763         * sysdeps/unix/arm/sysdep.S: Likewise.
15764         * sysdeps/unix/i386/sysdep.S: Likewise.
15765         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15766         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15767         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15768         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15769         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15770         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
15771         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15772         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15773         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
15774         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
15775         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15776         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15777         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15780         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15781         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15782         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15783         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15784         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15785         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15786         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15787         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15788         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15789         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15790         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15792         * sysdeps/unix/x86_64/sysdep.S: Likewise.
15793         * sysdeps/x86_64/setjmp.S: Likewise.
15795         * include/math.h: Use IS_IN instead of IS_IN_libm.
15796         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
15797         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15798         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15799         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15800         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15801         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15802         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15803         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15804         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15805         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15806         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
15807         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
15808         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
15809         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
15810         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
15811         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
15812         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
15813         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
15814         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
15815         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
15816         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
15817         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
15818         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
15819         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
15820         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
15821         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15822         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
15823         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
15824         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
15825         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
15826         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
15827         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15828         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
15830         Likewise.
15831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15832         Likewise.
15833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
15834         Likewise.
15835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
15836         Likewise.
15837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
15838         Likewise.
15839         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15840         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
15841         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15842         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15843         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15844         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
15846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
15850         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
15851         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
15852         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15853         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15854         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15855         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15856         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15857         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15858         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15859         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
15860         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
15861         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
15862         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
15863         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
15864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15865         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
15867         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
15868         * nptl/pthreadP.h: Likewise.
15869         * nptl_db/structs.def: Likewise.
15870         * sysdeps/arm/sysdep.h: Likewise.
15871         * sysdeps/nptl/bits/libc-lock.h: Likewise.
15872         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
15873         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
15874         * sysdeps/unix/alpha/sysdep.h: Likewise.
15875         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15877         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15878         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15879         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15880         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15881         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15882         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15883         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15884         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15885         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15886         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15887         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15888         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
15890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
15891         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15892         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15893         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15894         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15895         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15896         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15897         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15898         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15899         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
15900         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15902         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
15903         * nptl/pthreadP.h: Likewise.
15904         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
15905         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
15906         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
15907         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
15908         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
15909         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
15910         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15911         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
15912         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
15913         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15914         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
15915         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
15916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15917         Likewise.
15918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15919         Likewise.
15920         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
15921         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
15922         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
15923         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
15924         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
15925         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
15926         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
15927         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
15929         * dlfcn/dladdr.c: Use IS_IN.
15930         * dlfcn/dladdr1.c: Likewise.
15931         * dlfcn/dlclose.c: Likewise.
15932         * dlfcn/dlerror.c: Likewise.
15933         * dlfcn/dlinfo.c: Likewise.
15934         * dlfcn/dlmopen.c: Likewise.
15935         * dlfcn/dlopen.c: Likewise.
15936         * dlfcn/dlsym.c: Likewise.
15937         * dlfcn/dlvsym.c: Likewise.
15939         * include/ifaddrs.h: Use IS_IN.
15940         * inet/check_pf.c: Likewise.
15941         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15942         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
15944         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
15945         IS_IN_ldconfig.
15946         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
15947         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
15949         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
15950         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
15951         IS_IN (libc).
15953         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
15955         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
15956         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15957         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
15958         * include/libc-symbols.h (IS_IN_LIB): New macro.
15959         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
15960         * include/netdb.h: Likewise.
15961         * include/stap-probe.h: Remove all uses of IN_LIB.
15963         * Makeconfig (module-cppflags-real): Define MODULE_NAME
15964         instead of IN_MODULE.
15965         * include/libc-symbols.h (IN_MODULE): Define using
15966         MODULE_NAME.
15967         (PASTE_NAME, PASTE_NAME1): New macros.
15968         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
15969         of IN_LIB.
15970         (STAP_PROBE_ASM): Likewise.
15972 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15974         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
15975         __mach_init in dlopened libc.
15977 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
15979         * sysdeps/arm/preconfigure.ac: Delete EABI check.
15980         * sysdeps/arm/preconfigure: Regenerate.
15982 2014-11-21  Roland McGrath  <roland@hack.frob.com>
15984         * nptl/pthread_create.c (__pthread_create_2_1): Set
15985         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
15986         when copying values from IATTR into PD.
15988 2014-11-21  Will Newton  <will.newton@linaro.org>
15989             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
15991         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
15992         Refactor inline-asm.  Also add comment.
15994         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
15995         ElfW macro instead of hardcoded Elf64 types.
15996         (la_aarch64_gnu_pltenter): Likewise.
15997         * sysdeps/aarch64/dl-machine.h
15998         (elf_machine_runtime_setup): Use ElfW(Addr).
16000         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16001         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16002         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16003         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16004         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16005         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16006         (R_AARCH64_TLS_DTPMOD): This.
16007         (R_AARCH64_TLS_DTPREL64): Rename to ...
16008         (R_AARCH64_TLS_DTPREL): This.
16009         (R_AARCH64_TLS_TPREL64): Rename to ...
16010         (R_AARCH64_TLS_TPREL): This.
16011         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16012         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16013         R_AARCH64_TLS_TPREL64.
16014         (elf_machine_rela): Likewise.
16016 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16018         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16019         by setting it to 0.  64b atomics are not supported currently.
16021 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16023         [BZ #16469]
16024         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16025         search domain names.
16027 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16029         [BZ #16469]
16030         * NEWS: Update.
16031         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16032         trailing dot.
16033         * posix/tst-getaddrinfo5.c: New.
16034         * posix/Makefile (tests): Add it.
16036 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16038         [BZ #14498]
16039         * NEWS: Fixed.
16040         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16041         after parsing line but before break_if_match.
16042         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16043         if there is a protocol mismatch.
16045 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16047         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16048         because the potential race is on the user-supplied stream.
16050 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16052         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16053         string literal if not passed a buffer.
16054         * manual/job.texi (ctermid): Update reasoning, note deviation
16055         from posix, suggest mtasurace when not passed a buffer, for
16056         future non-preliminary safety notes.
16058 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16060         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16061         of not passing it a buffer.
16062         Reported by Peng Haitao.
16064 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16066         * manual/Makefile ($(objpfx)stamp-summary): Require
16067         check-safety.sh to pass.
16068         * manual/check-safety.sh: Wish for verification that every
16069         @deftypefn and @deftypefun is followed by a @safety remark.
16071 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16073         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16075         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16076         PTHREAD_CANCEL_ASYNCHRONOUS.
16077         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16078         send SIGCANCEL.
16080         * nptl/default-sched.h: New file.
16081         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16082         * nptl/pthread_create.c: Include it.
16083         (__pthread_create_2_1): Use collect_default_sched instead of making
16084         Linux syscalls here directly.
16086 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16088         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16089         __pthread_once): Use C11 atomics.
16091 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16093         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16095 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16097         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16098         atomic_thread_fence_acquire, atomic_thread_fence_release,
16099         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16100         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16101         atomic_compare_exchange_weak_relaxed,
16102         atomic_compare_exchange_weak_acquire,
16103         atomic_compare_exchange_weak_release,
16104         atomic_exchange_acquire, atomic_exchange_release,
16105         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16106         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16107         atomic_fetch_and_acquire,
16108         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16110 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16112         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16113         USE_ATOMIC_COMPILER_BUILTINS): Define.
16114         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16115         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16116         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16117         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16118         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16119         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16120         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16121         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16122         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16123         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16124         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16125         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16126         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16127         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16128         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16129         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16130         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16131         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16132         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16133         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16134         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16135         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16136         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16137         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16138         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16139         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16140         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16141         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16142         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16143         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16144         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16145         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16146         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16147         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16148         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16149         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16150         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16151         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16152         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16153         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16155 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16157         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16158         the sched_priority value here.  It was already checked when the user
16159         called pthread_attr_setschedparam.
16161         * nptl/tst-bad-schedattr.c: New file.
16162         * nptl/Makefile (tests): Add it.
16164 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16165             Florian Weimer  <fweimer@redhat.com>
16166             Joseph Myers  <joseph@codesourcery.com>
16167             Adam Conrad  <adconrad@0c3.net>
16168             Andreas Schwab  <schwab@suse.de>
16169             Brooks  <bmoses@google.com>
16171         [BZ #17625]
16172         * wordexp-test.c (__dso_handle): Add prototype.
16173         (__register_atfork): Likewise.
16174         (__app_register_atfork): New function.
16175         (registered_forks): New global.
16176         (register_fork): New function.
16177         (test_case): Add 3 new tests for WRDE_CMDSUB.
16178         (main): Call __app_register_atfork.
16179         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
16180         fork count is non-zero fail the test.
16181         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
16182         is set.
16183         (parse_dollars): Remove check for WRDE_NOCMD.
16184         (parse_dquote): Likewise.
16186 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16188         * Makeconfig (built-modules): List non-library modules to be
16189         built.
16190         (module-cppflags): Include libc-modules.h for
16191         everything except shlib-versions.v.i.
16192         (CPPFLAGS): Use it.
16193         (before-compile): Add libc-modules.h.
16194         ($(common-objpfx)libc-modules.h,
16195         $(common-objpfx)libc-modules.stmp): New targets.
16196         (common-generated): Add libc-modules.h and libc-modules.stmp.
16197         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
16198         * include/libc-symbols.h: Don't include libc-modules.h.
16199         * include/libc-modules.h: Remove file.
16200         * scripts/gen-libc-modules.awk: New script to generate
16201         libc-modules.h.
16202         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
16203         Depend on libc-modules.stmp.
16205         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
16207         * Makeconfig (in-module): Get value of libof set for the
16208         translation unit.
16209         (CPPFLAGS): Use $(in-module).
16210         * Makerules: Don't suffix routine names for nonlib.
16211         * include/libc-modules.h: New file.
16212         * include/libc-symbols.h: Include libc-modules.h
16213         (IS_IN): New macro to replace IS_IN_* macros.
16214         * elf/Makefile: Set libof-* for each routine.
16215         * elf/rtld-Rules: Likewise.
16216         * extra-modules.mk: Likewise.
16217         * iconv/Makefile: Likewise.
16218         * iconvdata/Makefile: Likewise.
16219         * locale/Makefile: Likewise.
16220         * malloc/Makefile: Likewise.
16221         * nss/Makefile: Likewise.
16222         * sysdeps/gnu/Makefile: Likewise.
16223         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
16224         * sysdeps/unix/sysv/linux/Makefile: Likewise.
16225         * sysdeps/s390/s390-64/Makefile: Likewise.
16226         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
16227         CPPFLAGS for nscd instead of nonlib.
16229 2014-11-18  Roland McGrath  <roland@hack.frob.com>
16231         * nptl/createthread.c: New file.
16233         * nptl/createthread.c: Moved ...
16234         * sysdeps/unix/sysv/linux/createthread.c: ... here.
16236         * nptl/createthread.c: Add proper top-line comment.
16237         (do_clone): Folded into ...
16238         (create_thread): ... here.  Take new arguments STOPPED_START and
16239         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
16240         increment __nptl_threads, do event-reporting logic, do
16241         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
16242         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
16243         resource cleanup if sched_setaffinity or sched_setscheduler fails,
16244         just send SIGCANCEL.
16245         * nptl/pthread_create.c: Forward-declare create_thread before
16246         including createthread.c.
16247         (start_thread): Use new macro START_THREAD_DEFN to replace defining
16248         declaration, and new macro START_THREAD_SELF to replace argument.
16249         Remove return statement.
16250         (report_thread_creation): New function.
16251         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
16252         synchronization logic, and __nptl_nthreads increment here, around
16253         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
16254         PD->parent_cancelhandling here, before create_thread.  When
16255         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
16256         __deallocate_stack, and ENOMEM translation here.
16258 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
16260         [BZ #17616]
16261         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
16262         (mptwo): Rename to __mptwo.
16263         (__inv): Use __mptwo instead of mptwo.
16264         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
16265         (mptwo): Rename to __mptwo.
16266         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
16267         of mpone and __mptwo instead of mptwo.
16268         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
16269         instead of mpone.
16270         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16271         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
16272         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
16273         of mpone and __mptwo instead of mptwo.
16274         (__mpranred): Use __mpone instead of mpone.
16275         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
16276         variable.
16277         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16278         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16279         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16280         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16281         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16282         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16283         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16284         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16285         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16286         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16287         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16288         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16289         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16290         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16291         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16292         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16293         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16294         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16295         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16297 2014-11-18  Tom de Vries  <tom@codesoucery.com>
16299         * manual/signal.texi (Primitives Interrupted by Signals): In section,
16300         replace BSD Handler xref with BSD Signal Handling.
16302 2014-11-17  Richard Henderson  <rth@redhat.com>
16304         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
16305         (_FP_PACK_RAW_2): Remove.
16306         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
16307         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
16308         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
16309         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
16310         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
16311         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
16312         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
16313         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
16314         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
16315         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
16316         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
16317         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
16318         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
16319         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
16320         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
16321         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
16323 2014-11-14  Roland McGrath  <roland@hack.frob.com>
16325         * signal/signal.h [__USE_MISC]
16326         (struct sigvec): Remove type.
16327         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
16328         (sigvec): Remove declaration.
16329         * sysdeps/posix/sigvec.c: Moved ...
16330         * signal/sigvec.c: ... here, replacing old file.
16331         (struct sigvec): New type, copied from old signal.h definition.
16332         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
16333         (__sigvec): Convert definition to prototype.
16334         (sigvec): Replace weak_alias with compat_symbol.
16335         * signal/Versions (libc: GLIBC_2.21): New version set.
16336         * include/signal.h: Remove __sigvec declaration.
16337         * sysdeps/unix/bsd/sigvec.c: Remove file.
16338         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
16339         * manual/signal.texi (BSD Handler): Remove subsection.
16340         Move siginterrupt up to ...
16341         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
16342         (Blocking in BSD): Fold subsection into its parent.
16343         * NEWS: Mention sigvec removal.
16345 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16347         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
16348         (DLA_FMS): Make definition conditional only on [__FMA4__].
16349         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
16350         definition.
16352         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
16353         Make definition conditional only on [PROF].
16354         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
16355         definition.
16356         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
16357         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
16359         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
16360         !__GNUC__].
16361         * include/signal.h (__sigpause): Move declaration above call to
16362         libc_hidden_proto.
16363         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
16364         variable.
16365         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16366         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16368 2014-11-14  David S. Miller  <davem@davemloft.net>
16370         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
16371         Define before including <string/memcpy.c> and <string/mempcpy.c>.
16373 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
16375         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
16376         * configure: Regenerated.
16377         * manual/install.texi (Tools for Compilation): Document a
16378         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
16379         compiler verified to work.
16380         * INSTALL: Regenerated.
16382         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
16383         redeclare with asm name.
16384         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
16385         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
16386         including <string.h>.
16387         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16388         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
16389         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16390         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
16391         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16392         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16393         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
16395 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
16397         * stdlib/strtol.c (__strtol): Use prototype definition.
16399         [BZ #17594]
16400         * stdlib/strtol.c (SYM__): New macro.
16401         (SYM__1): Likewise.
16402         (__strtol): Likewise.
16403         (strtol): Rename to __strtol and define as weak alias of
16404         __strtol.  Use libc_hidden_weak.
16406 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16408         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
16409         Use numbered labels in inline assembly.
16411 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16413         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
16414         Add setjmp LIBC_PROBE.
16415         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
16416         Likewise.
16417         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
16418         Add longjmp, longjmp_target LIBC_PROBE.
16419         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
16420         Likewise.
16422 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16424         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16425         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16426         to get rid of unused variable warning.
16428 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16430         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
16431         Check for unwind_backtrace ==  NULL only in SHARED case.
16432         (__backchain_backtrace): Compile only in SHARED case.
16433         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
16434         Likewise.
16435         (__backchain_backtrace): Declare as static.
16437 2014-11-12  Roland McGrath  <roland@hack.frob.com>
16439         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
16440         (__libc_multiple_threads_ptr): Variable moved ...
16441         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
16443 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
16445         * conform/GlibcConform.pm: New file.
16446         * conform/conformtest.pl: Use GlibcConform module.
16447         * conform/linknamespace.pl: New file.
16448         * conform/list-header-symbols.pl: Likewise.
16449         * conform/Makefile (linknamespace-symlists-base): New variable.
16450         (linknamespace-symlists-tests): Likewise.
16451         (linknamespace-header-base): Likewise.
16452         (linknamespace-header-tests): Likewise.
16453         (tests-special): Add new tests.
16454         ($(linknamespace-symlists-tests)): New rule.
16455         (linknamespace-libs): New variable.
16456         ($(objpfx)symlist-stdlibs): New rule.
16457         ($(linknamespace-header-tests)): Likewise.
16458         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
16459         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
16460         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
16461         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
16462         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
16463         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
16464         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
16465         (test-xfail-ISO/math.h/linknamespace): Likewise.
16466         (test-xfail-ISO/signal.h/linknamespace): Likewise.
16467         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
16468         (test-xfail-ISO/time.h/linknamespace): Likewise.
16469         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
16470         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
16471         (test-xfail-ISO99/math.h/linknamespace): Likewise.
16472         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
16473         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16474         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
16475         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
16476         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16477         (test-xfail-ISO11/math.h/linknamespace): Likewise.
16478         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
16479         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16480         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
16481         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16482         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
16483         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
16484         (test-xfail-XPG3/math.h/linknamespace): Likewise.
16485         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
16486         (test-xfail-XPG3/search.h/linknamespace): Likewise.
16487         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
16488         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16489         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
16490         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16491         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16492         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
16493         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16494         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16495         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
16496         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
16497         (test-xfail-XPG4/math.h/linknamespace): Likewise.
16498         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
16499         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16500         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16501         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16502         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16503         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
16504         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
16505         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
16506         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
16507         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16508         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
16509         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16510         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
16511         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16512         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16513         (test-xfail-POSIX/math.h/linknamespace): Likewise.
16514         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
16515         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
16516         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16517         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16518         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
16519         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16520         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16521         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
16522         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16523         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16524         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16525         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16526         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16527         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16528         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16529         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16530         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
16531         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
16532         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16533         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16534         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16535         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
16536         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16537         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16538         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
16539         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16540         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16541         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16542         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16543         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16544         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16545         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
16546         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
16547         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16548         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
16549         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
16550         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
16551         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16552         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16553         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16554         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
16555         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16556         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
16557         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16558         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
16559         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
16560         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
16561         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16562         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16563         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16564         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16565         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
16566         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
16567         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16568         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16569         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16570         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16571         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16572         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
16573         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16574         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16575         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16576         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16577         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
16578         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
16579         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16580         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
16581         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16582         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16583         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
16584         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16585         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16586         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16587         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16588         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16589         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16590         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16591         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16592         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16593         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
16594         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16595         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
16596         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16597         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
16598         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16599         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16600         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16601         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
16602         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16603         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
16604         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16605         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16606         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16607         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16608         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16609         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16610         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16611         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16612         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16613         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16614         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16615         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
16616         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
16617         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16618         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16620         [BZ #17589]
16621         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
16622         of fgets_unlocked.
16624         [BZ #17585]
16625         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
16626         (memmem): Rename to __memmem and define as weak alias of
16627         __memmem.  Use libc_hidden_weak.
16628         (__memmem): Use libc_hidden_def.
16629         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
16630         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
16631         memmem.
16633         [BZ #17582]
16634         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
16635         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
16636         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
16637         and define as weak alias of __fgets_unlocked.  Use
16638         libc_hidden_weak.
16639         (__fgets_unlocked): Use libc_hidden_def.
16640         * include/stdio.h (__fgets_unlocked): Declare.  Use
16641         libc_hidden_proto.
16642         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
16643         __fgets_unlocked instead of fgets_unlocked.
16644         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
16645         (GET_NPROCS_CONF_PARSER): Likewise.
16646         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
16647         (GET_NPROCS_CONF_PARSER): Likewise.
16649         [BZ #17574]
16650         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
16651         weak alias of __wmemset.  Use libc_hidden_weak.
16652         (__wmemset): Use libc_hidden_def.
16653         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
16654         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
16655         of wmemset.
16657         [BZ #17573]
16658         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
16659         with asm name __mempcpy.
16660         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
16662         [BZ #17572]
16663         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
16664         and define as weak alias of __rawmemchr.
16665         (__rawmemchr): Do not define as strong alias of rawmemchr.
16667         [BZ #17571]
16668         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
16669         alias of __qsort_r.
16670         (qsort): Call __qsort_r instead of qsort_r.
16671         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
16672         (__qsort_r): Declare.  Call libc_hidden_proto.
16673         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
16674         instead of qsort_r.
16675         * nscd/gai.c (__qsort_r): Define to qsort_r.
16676         * posix/tst-rfc3484.c (__qsort_r): Likewise.
16677         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
16678         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
16680         [BZ #17570]
16681         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
16682         define as weak alias of __malloc_info.
16684         [BZ #17584]
16685         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
16686         as weak alias of __rewinddir.  Don't use libc_hidden_def.
16687         (__rewinddir): Use libc_hidden_def.
16688         * sysdeps/mach/hurd/rewinddir.c: 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/posix/rewinddir.c: Rename to __rewinddir and define as
16692         weak alias of __rewinddir.  Don't use libc_hidden_def.
16693         (__rewinddir): Use libc_hidden_def.
16694         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
16695         (__rewinddir): Use libc_hidden_proto.
16696         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
16697         rewinddir.
16698         (__getcwd): Use __rewinddir instead of rewinddir.
16700         [BZ #17583]
16701         * libio/fileno.c (fileno): Rename to __fileno and define as weak
16702         alias of __fileno.  Use libc_hidden_weak.
16703         (__fileno): Use libc_hidden_def.
16704         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
16705         * libio/ftello.c (ftello): Rename to __ftello and define as weak
16706         alias of __ftello.
16707         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
16708         __ftello.
16709         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
16710         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
16711         libc_hidden_def.
16712         (fread_unlocked): Don't use libc_hidden_ver.
16713         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
16714         and define as weak alias of __fread_unlocked.  Don't use
16715         libc_hidden_def.
16716         (__fread_unlocked): Use libc_hidden_def.
16717         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
16718         (ftello): Don't use libc_hidden_proto.
16719         (__ftello): Declare.  Use libc_hidden_proto.
16720         (fread_unlocked): Don't use libc_hidden_proto.
16721         (__fread_unlocked): Declare.  Use libc_hidden_proto.
16722         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
16723         and __ftello instead of fileno, fread_unlocked and ftello.
16725 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16727         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
16728         GOT12.
16729         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16730         Likewise.
16731         (_dl_start_user): Likewise.
16732         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
16734 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
16735             Siddhesh Poyarekar  <siddhesh@redhat.com>
16737         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
16738         Move argv and envp down instead of moving argc up.
16739         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
16741 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
16743         [BZ #17506]
16744         * test-skeleton.c (main): Return successful if one of
16745         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
16746         * string/tst-strcoll-overflow.c: Define expected status.
16748 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
16750         [BZ #17475]
16751         * locale/iso-639.def: Define Bhili and Tulu language codes.
16753 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
16755         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
16757 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
16759         [BZ #17555]
16760         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
16762 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16764         * configure.ac: Updated check of minimal required version to
16765         2.22.
16766         * manual/install.texi (Tools for Compilation): Updated version
16767         number.
16768         * configure: Regenerated.
16769         * INSTALL: Likewise.
16771 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
16773         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
16774         __tls_get_addr.
16776 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
16778         * include/sys/wait.h (__libc_waitpid): Remove declaration.
16779         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
16780         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16781         libc_hidden_weak.
16782         (waitpid): Define as alias of __waitpid.
16783         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
16784         __waitpid.
16785         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16786         libc_hidden_weak.
16787         (waitpid): Define as alias of __waitpid.
16788         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
16789         __libc_waitpid alias.
16790         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
16791         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
16792         Likewise.
16793         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
16794         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
16795         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
16796         alias.
16797         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
16798         __waitpid.
16799         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16800         libc_hidden_weak.
16801         (waitpid): Define as alias of __waitpid.
16803 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
16805         * manual/llio.texi: Add comment that write safety has been
16806         fixed in Linux.
16808         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
16809         (localplt-build-dso): Add elf/ld.so.
16810         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
16811         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
16812         and free for ld.so.
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
16814         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
16815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
16816         Likewise.
16817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16818         Likewise.
16819         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
16820         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
16821         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
16822         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
16823         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16824         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
16825         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
16826         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
16827         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16828         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
16829         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16831 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
16833         [BZ #14132]
16834         * include/libc-symbols.h (INTUSE): Remove macro.
16835         (INTDEF): Likewise.
16836         (INTVARDEF): Likewise.
16837         (_INTVARDEF): Likewise.
16838         (INTDEF2): Likewise.
16839         (INTVARDEF2): Likewise.
16840         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
16841         rtld_hidden_def instead of INTVARDEF.
16842         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
16843         (_dl_starting_up_internal): Remove declaration.
16844         (_dl_starting_up): Use rtld_hidden_proto.
16845         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
16846         declaration.
16847         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
16848         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
16849         _dl_starting_up.
16850         * elf/dl-writev.h (_dl_writev): Likewise.
16851         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
16852         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
16853         _dl_starting_up_internal.
16855 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16857         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16858         test-skeleton.c.
16860 2014-11-05  Will Newton  <will.newton@linaro.org>
16862         * benchtests/Makefile: (bench-malloc): Add malloc thread
16863         scalability benchmark.
16864         * benchtests/bench-malloc-threads.c: New file.
16866 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
16868         * sysdeps/aarch64/strchrnul.S: New file.
16870 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16872         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
16873         definition.
16874         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16875         Likwise.
16876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16877         Likewise.
16878         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16879         Likewise.
16880         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16881         Likewise.
16882         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16883         Likewise.
16885 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
16887         * catgets/test-gencat.c: Use test-skeleton.c.
16888         * catgets/tst-catgets.c: Likewise.
16889         * csu/tst-empty.c: Likewise.
16890         * elf/tst-audit2.c: Likewise.
16891         * elf/tst-global1.c: Likewise.
16892         * elf/tst-pathopt.c: Likewise.
16893         * elf/tst-piemod1.c: Likewise.
16894         * elf/tst-tls10.c: Likewise.
16895         * elf/tst-tls11.c: Likewise.
16896         * elf/tst-tls12.c: Likewise.
16897         * gnulib/tst-gcc.c: Likewise.
16898         * iconvdata/tst-e2big.c: Likewise.
16899         * iconvdata/tst-loading.c: Likewise.
16900         * iconv/tst-iconv1.c: Likewise.
16901         * iconv/tst-iconv2.c: Likewise.
16902         * inet/test-inet6_opt.c: Likewise.
16903         * inet/tst-gethnm.c: Likewise.
16904         * inet/tst-network.c: Likewise.
16905         * inet/tst-ntoa.c: Likewise.
16906         * intl/tst-codeset.c: Likewise.
16907         * intl/tst-gettext2.c: Likewise.
16908         * intl/tst-gettext3.c: Likewise.
16909         * intl/tst-ngettext.c: Likewise.
16910         * intl/tst-translit.c: Likewise.
16911         * io/test-stat.c: Likewise.
16912         * libio/test-fmemopen.c: Likewise.
16913         * libio/tst-freopen.c: Likewise.
16914         * libio/tst-sscanf.c: Likewise.
16915         * libio/tst-ungetwc1.c: Likewise.
16916         * libio/tst-ungetwc2.c: Likewise.
16917         * libio/tst-widetext.c: Likewise.
16918         * localedata/tst-ctype.c: Likewise.
16919         * localedata/tst-digits.c: Likewise.
16920         * localedata/tst-leaks.c: Likewise.
16921         * localedata/tst-mbswcs1.c: Likewise.
16922         * localedata/tst-mbswcs2.c: Likewise.
16923         * localedata/tst-mbswcs3.c: Likewise.
16924         * localedata/tst-mbswcs4.c: Likewise.
16925         * localedata/tst-mbswcs5.c: Likewise.
16926         * localedata/tst-setlocale.c: Likewise.
16927         * localedata/tst-trans.c: Likewise.
16928         * localedata/tst-wctype.c: Likewise.
16929         * localedata/tst-xlocale1.c: Likewise.
16930         * login/tst-grantpt.c: Likewise.
16931         * malloc/tst-calloc.c: Likewise.
16932         * malloc/tst-malloc.c: Likewise.
16933         * malloc/tst-mallocstate.c: Likewise.
16934         * malloc/tst-mcheck.c: Likewise.
16935         * malloc/tst-mtrace.c: Likewise.
16936         * malloc/tst-obstack.c: Likewise.
16937         * math/atest-exp2.c: Likewise.
16938         * math/atest-exp.c: Likewise.
16939         * math/atest-sincos.c: Likewise.
16940         * math/test-matherr.c: Likewise.
16941         * math/test-misc.c: Likewise.
16942         * math/test-powl.c: Likewise.
16943         * math/tst-definitions.c: Likewise.
16944         * misc/tst-dirname.c: Likewise.
16945         * misc/tst-efgcvt.c: Likewise.
16946         * misc/tst-fdset.c: Likewise.
16947         * misc/tst-hsearch.c: Likewise.
16948         * misc/tst-mntent2.c: Likewise.
16949         * nptl/tst-sem7.c: Likewise.
16950         * nptl/tst-sem8.c: Likewise.
16951         * nptl/tst-sem9.c: Likewise.
16952         * nss/test-netdb.c: Likewise.
16953         * posix/tst-fnmatch.c: Likewise.
16954         * posix/tst-getlogin.c: Likewise.
16955         * posix/tst-gnuglob.c: Likewise.
16956         * posix/tst-mmap.c: Likewise.
16957         * pwd/tst-getpw.c: Likewise.
16958         * resolv/tst-inet_ntop.c: Likewise.
16959         * rt/tst-timer.c: Likewise.
16960         * stdio-common/test-fseek.c: Likewise.
16961         * stdio-common/test-popen.c: Likewise.
16962         * stdio-common/test-vfprintf.c: Likewise.
16963         * stdio-common/tst-cookie.c: Likewise.
16964         * stdio-common/tst-fileno.c: Likewise.
16965         * stdio-common/tst-gets.c: Likewise.
16966         * stdio-common/tst-obprintf.c: Likewise.
16967         * stdio-common/tst-perror.c: Likewise.
16968         * stdio-common/tst-sprintf2.c: Likewise.
16969         * stdio-common/tst-sprintf3.c: Likewise.
16970         * stdio-common/tst-sprintf.c: Likewise.
16971         * stdio-common/tst-swprintf.c: Likewise.
16972         * stdio-common/tst-tmpnam.c: Likewise.
16973         * stdio-common/tst-unbputc.c: Likewise.
16974         * stdio-common/tst-wc-printf.c: Likewise.
16975         * stdlib/tst-environ.c: Likewise.
16976         * stdlib/tst-fmtmsg.c: Likewise.
16977         * stdlib/tst-limits.c: Likewise.
16978         * stdlib/tst-rand48-2.c: Likewise.
16979         * stdlib/tst-rand48.c: Likewise.
16980         * stdlib/tst-random2.c: Likewise.
16981         * stdlib/tst-random.c: Likewise.
16982         * stdlib/tst-strtol.c: Likewise.
16983         * stdlib/tst-strtoll.c: Likewise.
16984         * stdlib/tst-tls-atexit.c: Likewise.
16985         * stdlib/tst-xpg-basename.c: Likewise.
16986         * string/test-ffs.c: Likewise.
16987         * string/tst-bswap.c: Likewise.
16988         * string/tst-inlcall.c: Likewise.
16989         * string/tst-strtok.c: Likewise.
16990         * string/tst-strxfrm.c: Likewise.
16991         * sysdeps/x86_64/tst-audit10.c: Likewise.
16992         * sysdeps/x86_64/tst-audit3.c: Likewise.
16993         * sysdeps/x86_64/tst-audit4.c: Likewise.
16994         * sysdeps/x86_64/tst-audit5.c: Likewise.
16995         * time/tst-ftime_l.c: Likewise.
16996         * time/tst-getdate.c: Likewise.
16997         * time/tst-mktime3.c: Likewise.
16998         * time/tst-mktime.c: Likewise.
16999         * time/tst-posixtz.c: Likewise.
17000         * time/tst-strptime2.c: Likewise.
17001         * time/tst-strptime3.c: Likewise.
17002         * wcsmbs/tst-btowc.c: Likewise.
17003         * wcsmbs/tst-mbrtowc.c: Likewise.
17004         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17005         * wcsmbs/tst-wchar-h.c: Likewise.
17006         * wcsmbs/tst-wcpncpy.c: Likewise.
17007         * wcsmbs/tst-wcrtomb.c: Likewise.
17008         * wcsmbs/tst-wcsnlen.c: Likewise.
17009         * wcsmbs/tst-wcstof.c: Likewise.
17011 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17013         [BZ #14132]
17014         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17015         INTDEF.
17016         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17017         declaration.
17018         (_dl_mcount): Use rtld_hidden_proto.
17019         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17020         _dl_mcount.
17021         * elf/rtld.c (_rtld_global_ro): Likewise.
17023         [BZ #14132]
17024         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17025         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17026         of _dl_init_internal.
17027         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17028         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17029         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17030         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17031         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17032         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17033         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17034         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17035         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17036         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17037         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17038         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17039         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17040         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17041         * sysdeps/tile/dl-start.S (_start): Likewise.
17042         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17043         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17045         [BZ #14132]
17046         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17047         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17048         (rtld_progname): Make macro definition unconditional.
17049         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17050         INTDEF.
17051         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17052         (dl_main): Likewise.
17053         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17054         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17055         instead of _dl_argv_internal.
17056         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17057         __GI__dl_argv instead of INTUSE(_dl_argv).
17058         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17059         __GI__dl_argv instead of _dl_argv_internal.
17061         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17062         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17063         macro.
17064         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17065         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17066         New macro.
17067         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17068         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17069         macro.
17070         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17071         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17073 2014-11-04  Andreas Schwab  <schwab@suse.de>
17075         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17077 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17079         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17080         mtvsrd instruction in binary form.
17082 2014-11-03  Andreas Schwab  <schwab@suse.de>
17084         [BZ #17522]
17085         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17086         for less than MB_LEN_MAX use a local buffer of that size.
17087         * libio/tst-fputws.c: New file.
17088         * libio/Makefile (tests): Add tst-fputws.
17090 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17092         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17093         the size of the fpu_fr.fpu_dregs[] array.
17095 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17097         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17098         (__nanosleep): Do not define as alias.
17099         (nanosleep): Define as alias of __nanosleep.
17100         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17101         __libc_nanosleep name.
17103 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17105         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17106         install.texi in comment.
17108 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17110         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17111         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17112         ... add here and use lwsync or sync ...
17113         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17114         ... and add here using lwsync.
17116 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17118         * elf/dl-machine-reject-phdr.h: New file.
17119         * elf/dl-load.c: #include that.
17120         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17121         if that returned true.
17123 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17125         [BZ #17496]
17126         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17127         gen-as-const-headers chunk.  Add a big scare comment after the last
17128         safe place to touch before-compile.
17130 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17132         * manual/install.texi (Tools for Compilation): Update autoconf
17133         version requirements.
17134         * INSTALL: Regenerated.
17136         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17137         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17138         (__libc_pselect): Likewise.
17140         [BZ #14138]
17141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17146 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17148         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17149         correct barrier instruction.
17150         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17151         Likewise.
17152         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17153         Likewise.
17155 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17157         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17158         after defining inlines.  Instead, just use parens to defeat macro
17159         expansion of __isctype in its declaration.
17161 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17163         * include/sys/uio.h (__libc_readv): Remove declaration.
17164         (__libc_writev): Likewise.
17165         * misc/readv.c (__libc_readv): Rename to __readv.
17166         (__readv): Do not define as alias.
17167         (readv): Define as alias of __readv.
17168         * misc/writev.c (__libc_writev): Rename to __writev.
17169         (__writev): Do not define as alias.
17170         (writev): Define as alias of __writev.
17171         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17172         (__readv): Do not define as alias.
17173         (readv): Define unconditionally as alias of __readv.
17174         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17175         (__writev): Do not define as alias.
17176         (writev): Define unconditionally as alias of __writev.
17177         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
17178         name.
17179         (writev): Do not define __libc_writev name.
17181 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17183         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
17184         (convert_charseq): New function, broken out of ...
17185         (use_from_charmap): ... here.  Call it.
17186         (use_to_charmap): Use convert_charseq and free instead of duplicating
17187         its code with a variable-length stack struct.
17189 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17191         * include/fcntl.h (__libc_creat): Remove declaration.
17192         * io/creat.c (__libc_creat): Rename to creat.
17193         (creat): Do not define as alias.
17194         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
17195         of creat instead of __libc_creat.
17196         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
17197         to creat.
17198         (creat): Do not define as alias.
17199         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
17200         __libc_creat.
17201         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
17202         __libc_creat name.
17203         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
17204         Likewise.
17206 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
17208         * manual/llio.texi: Add comments discussing why write() may be
17209         considered MT-unsafe on Linux.
17211 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
17213         * dl-load.c (local_strdup): Remove.
17214         (expand_dynamic_string_token): Use __strdup.
17215         (decompose_rpath): Likewise.
17216         (_dl_map_object): Likewise.
17218 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
17220         [BZ #14132]
17221         * sysdeps/generic/unwind-dw2-fde.c
17222         (__register_frame_info_bases_internal): Do not declare.
17223         (__register_frame_info_table_bases_internal): Likewise.
17224         (__deregister_frame_info_bases_internal): Likewise.
17225         (__register_frame_info_bases): Declare and use hidden_proto before
17226         definition.  Use hidden_def instead of INTDEF.
17227         (__register_frame_info_table_bases): Likewise.
17228         (__deregister_frame_info_bases): Likewise.
17229         (__register_frame_info): Do not use INTUSE.
17230         (__register_frame): Likewise.
17231         (__register_frame_info_table): Likewise.
17232         (__register_frame_table): Likewise.
17233         (__deregister_frame_info): Likewise.
17234         (__deregister_frame): Likewise.
17236 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
17238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17239         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
17240         not undefine.
17241         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
17242         Likewise.
17243         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
17244         Likewise.
17246 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
17248         [BZ #14138]
17249         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
17250         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
17251         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
17252         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
17253         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
17254         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
17255         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
17256         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
17257         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
17258         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
17259         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
17260         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
17261         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
17262         syscall.
17263         (setfsuid): Likewise.
17264         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
17265         (setfsuid): Likewise.
17266         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
17267         (setfsuid): Likewise.
17268         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
17269         Likewise.
17270         (setfsuid): Likewise.
17271         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
17272         (setfsuid): Likewise.
17273         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
17274         Likewise.
17275         (setfsuid): Likewise.
17277 2014-10-27  Andreas Schwab  <schwab@suse.de>
17279         [BZ #17501]
17280         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
17281         check for Slow_SSE4_2 feature bit.
17282         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
17283         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17284         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
17285         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
17287 2014-10-24  Roland McGrath  <roland@hack.frob.com>
17289         * configure.ac: Validate compiler version with a empirical test of
17290         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
17291         $CC -v output.
17292         * configure: Regenerated.
17294         * inet/htons.c (htons): Prototypify.
17295         * inet/htonl.c (htonl): Likewise.
17297 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17299         * string/strncat.c (strncat): Improve performance by using strlen.
17301 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17303         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
17305 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17307         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
17308         Call libc_fetestexcept_aarch64.
17310 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17312         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
17313         Call libc_feholdexcept_aarch64.
17315 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17317         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
17318         Call get_rounding_mode.
17320 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17322         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17323         Simplify logic.
17325 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
17327         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
17328         Simplify logic.
17330 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
17332         [BZ #14138]
17333         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
17334         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
17335         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
17336         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
17337         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
17338         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
17339         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
17340         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
17341         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
17342         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
17343         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17344         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
17345         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
17346         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
17347         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
17348         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
17349         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
17350         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
17351         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
17352         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
17353         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
17354         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
17355         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
17356         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
17357         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
17358         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
17359         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
17360         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
17361         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
17362         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
17363         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
17364         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
17365         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
17366         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
17367         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
17368         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
17369         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
17370         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
17371         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
17372         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
17373         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
17374         syscall.
17375         (geteuid): Likewise.
17376         (getgid): Likewise.
17377         (getuid): Likewise.
17378         (getresgid): Likewise.
17379         (getresuid): Likewise.
17380         (getgroups): Likewise.
17381         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
17382         (geteuid): Likewise.
17383         (getgid): Likewise.
17384         (getuid): Likewise.
17385         (getresgid): Likewise.
17386         (getresuid): Likewise.
17387         (getgroups): Likewise.
17388         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
17389         (geteuid): Likewise.
17390         (getgid): Likewise.
17391         (getuid): Likewise.
17392         (getresgid): Likewise.
17393         (getresuid): Likewise.
17394         (getgroups): Likewise.
17395         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
17396         Likewise.
17397         (geteuid): Likewise.
17398         (getgid): Likewise.
17399         (getuid): Likewise.
17400         (getresgid): Likewise.
17401         (getresuid): Likewise.
17402         (getgroups): Likewise.
17403         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
17404         (geteuid): Likewise.
17405         (getgid): Likewise.
17406         (getuid): Likewise.
17407         (getresgid): Likewise.
17408         (getresuid): Likewise.
17409         (getgroups): Likewise.
17410         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
17411         Likewise.
17412         (geteuid): Likewise.
17413         (getgid): Likewise.
17414         (getuid): Likewise.
17415         (getgroups): Likewise.
17417         [BZ #14138]
17418         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
17419         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
17420         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
17421         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17422         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
17423         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
17424         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
17425         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
17426         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
17427         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
17428         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
17429         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
17430         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
17431         __chown.
17432         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
17433         (lchown): Likewise.
17434         (fchown): Likewise.
17435         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
17436         Likewise.
17437         (lchown): Likewise.
17438         (fchown): Likewise.
17439         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
17440         (lchown): Likewise.
17441         (fchown): Likewise.
17442         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
17443         Likewise.
17444         (lchown): Likewise.
17445         (fchown): Likewise.
17447 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17449         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
17450         Simplify logic.
17452 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17454         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17455         Cleanup logic.
17457 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17459         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
17460         Remove unused include.
17462 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
17464         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
17465         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
17466         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
17467         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
17469 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
17470             Helge Deller <deller@gmx.de>
17472         [BZ #17508]
17473         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
17474         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
17475         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
17477 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
17479         [BZ #14132]
17480         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
17481         Remove macro definition.
17482         (__ashrdi3_v_glibc20): Likewise.
17483         (__lshrdi3_v_glibc20): Likewise.
17484         (__cmpdi2_v_glibc20): Likewise.
17485         (__ucmpdi2_v_glibc20): Likewise.
17486         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
17487         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17488         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17489         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17490         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17491         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
17493 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17495         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
17496         old GNU extension [0] syntax.
17497         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
17498         alloca rather than an array member with variable length.
17499         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
17500         * nscd/nscd.c (invalidate_db): New function, broken out of ...
17501         (parse_opt): ... here.  Likewise use alloca there.
17502         Validate the -i argument before checking for rootness.
17503         (send_shutdown): New function, broken out of ...
17504         (parse_opt): ... here.
17506 2014-10-22  Roland McGrath  <roland@hack.frob.com>
17508         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
17509         macro to get at the _rt_local_ro field.
17510         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
17511         ([PIC] case) or _dl_hwcap ([!PIC] case).
17512         * sysdeps/arm/setjmp.S: Likewise.
17514         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
17515         * sysdeps/arm/configure.ac: New check to define it.
17516         * sysdeps/arm/configure: Regenerated.
17517         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
17518         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
17519         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
17520         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
17521         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
17522         Use move/movt pair instead of a load.
17523         (LDST_GLOBAL): Macro removed.
17524         (LDR_GLOBAL): New macro replaces it.
17525         (LDR_HIDDEN): New macro.
17526         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
17527         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
17529         * setjmp/tst-setjmp-static.c: New file.
17530         * setjmp/Makefile (tests): Add it.
17531         (tests-static): New variable.
17533 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
17535         [BZ #17485]
17536         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
17538 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
17540         [BZ #14132]
17541         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
17543 2014-10-21  Roland McGrath  <roland@hack.frob.com>
17545         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
17547 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17549         * io/fts.c (dirent_not_directory): New function.
17550         (fts_build): Call it.
17552 2014-10-20  Roland McGrath  <roland@hack.frob.com>
17554         * nptl/version.c (__nptl_main): Use normal __write rather than
17555         INTERNAL_SYSCALL.
17556         (banner): Update copyright years.
17558         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
17559         gettimeofday.
17560         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17561         * nptl/pthread_cond_timedwait.c: Likewise.
17562         * nptl/pthread_mutex_timedlock.c: Likewise.
17563         * nptl/sem_timedwait.c: Likewise.
17565         * sysdeps/nptl/bits/libc-lock.h
17566         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17567         (__libc_lock_init_recursive): Return void, not 0.
17568         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
17569         (__libc_rwlock_init): Likewise.
17570         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
17572 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17574         [BZ #15215]
17575         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
17576         (__pthread_once_slow): ... here.
17577         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
17578         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
17580 2014-10-20  Torvald Riegel  <triegel@redhat.com>
17582         [BZ #15215]
17583         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
17584         __PTHREAD_ONCE_FORK_GEN_INCR): New.
17585         * sysdeps/nptl/fork.c (__libc_fork): Use them.
17586         * nptl/pthread_once.c (__pthread_once): Likewise.
17587         Update comments.
17589 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
17591         [BZ #14138]
17592         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
17593         name.
17594         (writev): Use __libc_writev as strong name.
17595         * sysdeps/unix/sysv/linux/readv.c: Remove file.
17596         * sysdeps/unix/sysv/linux/writev.c: Likewise.
17598 2014-10-17  Roland McGrath  <roland@hack.frob.com>
17600         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
17602         * sysdeps/i386/nptl/tls.h
17603         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
17604         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
17605         New macros.
17606         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
17607         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
17608         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
17609         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
17610         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
17611         Call CHECK_THREAD_SYSINFO instead of doing an assert.
17613         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17614         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
17615         on [__NR_futex].
17616         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
17617         broken out of ...
17618         (__pthread_mutex_init): ... here.  Call it.
17619         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
17620         Conditionalize PI cases on [__NR_futex].
17621         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
17622         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
17623         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17625         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
17626         conditional on [SIGSETXID].
17627         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
17628         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
17629         is defined.  Likewise for SIGSETXID.
17630         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
17631         Conditionalize definitions on [SIGSETXID].
17632         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
17633         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
17634         unblocking on [SIGCANCEL].
17636         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
17637         [__NR_set_robust_list].
17639 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17641         * string/strcoll_l.c (get_next_seq): Fix up formatting.
17642         (do_compare): Likewise.
17644 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
17646         [BZ #15884]
17647         * string/strcoll_l.c: Don't include stdio.h.
17648         (coll_seq): Remove members idxarr and rulearr.
17649         (get_next_seq_cached): Remove function.
17650         (get_next_seq): Likewise.
17651         (get_next_seq_nocache): Rename to get_next_seq.
17652         (do_compare): Remove function.
17653         (do_compare_nocache): Rename to do_compare.
17654         (STRCOLL): Remove weight and rules cache.
17656 2014-10-16  Roland McGrath  <roland@hack.frob.com>
17658         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
17659         * sysdeps/arm/sfp-machine.h: ... to here.
17660         * sysdeps/arm/Implies: Remove arm/soft-fp.
17662 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
17664         * conform/data/sys/utsname.h-data (*_t): Allow.
17665         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
17666         [POSIX] (WEXITED): Do not expect constant.
17667         [POSIX] (WSTOPPED): Likewise.
17668         [POSIX] (WNOHANG): Likewise.
17669         [POSIX] (WNOWAIT): Likewise.
17670         [POSIX] (siginfo_t): Do not expect type or elements.
17671         [POSIX] (pid_t): Do not expect type.
17672         [POSIX] (signal.h): Do not allow header.
17673         [POSIX] (sys/resource.h): Likewise.
17674         [POSIX] (si_*): Do not allow pattern.
17675         [POSIX] (W*): Likewise.
17676         [POSIX] (P_*): Likewise.
17677         [POSIX] (BUS_*): Likewise.
17678         [POSIX] (CLD_*): Likewise.
17679         [POSIX] (FPE_*): Likewise.
17680         [POSIX] (ILL_*): Likewise.
17681         [POSIX] (POLL_*): Likewise.
17682         [POSIX] (SEGV_*): Likewise.
17683         [POSIX] (SI_*): Likewise.
17684         [POSIX] (TRAP_*): Likewise.
17685         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
17686         variable.
17688 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17690         [BZ #12926]
17691         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
17692         infinite loop when __recvmsg returns 0.
17694 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
17696         * CANCEL-FCT-WAIVE: Remove file.
17697         * CANCEL-FILE-WAIVE: Likewise.
17699         [BZ #14132]
17700         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
17701         instead of INTVARDEF.
17702         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17703         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
17704         rtld_hidden_data_def instead of INTVARDEF.
17705         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
17706         * elf/dl-deps.c (expand_dst): Likewise.
17707         * elf/dl-load.c (_dl_dst_count): Likewise.
17708         (_dl_dst_substitute): Likewise.
17709         (decompose_rpath): Likewise.
17710         (_dl_init_paths): Likewise.
17711         (open_path): Likewise.
17712         (_dl_map_object): Likewise.
17713         * elf/rtld.c (dl_main): Likewise.
17714         (process_dl_audit): Likewise.
17715         (process_envvars): Likewise.
17716         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
17717         Remove declaration.
17718         (__libc_enable_secure): Use rtld_hidden_proto.
17720 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17722         * elf/dl-load.c
17723         (add_path): New function broken out of _dl_rtld_di_serinfo.
17724         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
17726 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
17728         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
17729         parentheses around macro arguments.
17730         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
17731         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
17732         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
17733         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
17734         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
17735         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17736         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17737         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
17738         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
17739         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
17740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
17741         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
17742         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
17743         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
17744         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
17745         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
17746         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
17747         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
17748         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
17749         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
17750         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
17751         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
17752         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
17753         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
17754         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
17755         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
17756         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
17757         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
17758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
17759         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
17760         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
17761         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
17762         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
17763         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
17764         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
17765         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
17766         Likewise.
17767         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
17768         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17769         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17770         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
17771         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
17772         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
17773         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
17774         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
17775         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
17776         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
17777         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
17778         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
17779         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
17780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
17781         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
17782         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
17783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
17784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
17785         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
17786         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
17787         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
17788         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
17789         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
17790         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
17791         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
17792         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
17793         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
17794         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
17795         (_FP_FRAC_SRS_1): Likewise.
17796         (_FP_FRAC_CLZ_1): Likewise.
17797         (_FP_MUL_MEAT_1_imm): Likewise.
17798         (_FP_MUL_MEAT_1_wide): Likewise.
17799         (_FP_MUL_MEAT_1_hard): Likewise.
17800         (_FP_SQRT_MEAT_1): Likewise.
17801         (_FP_FRAC_ASSEMBLE_1): Likewise.
17802         (_FP_FRAC_DISASSEMBLE_1): Likewise.
17803         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
17804         (__FP_CLZ_2): Likewise.
17805         (_FP_MUL_MEAT_2_wide): Likewise.
17806         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17807         (_FP_MUL_MEAT_2_gmp): Likewise.
17808         (_FP_MUL_MEAT_2_120_240_double): Likewise.
17809         (_FP_SQRT_MEAT_2): Likewise.
17810         (_FP_FRAC_ASSEMBLE_2): Likewise.
17811         (_FP_FRAC_DISASSEMBLE_2): Likewise.
17812         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
17813         (_FP_FRAC_CLZ_4): Likewise.
17814         (_FP_MUL_MEAT_4_wide): Likewise.
17815         (_FP_MUL_MEAT_4_gmp): Likewise.
17816         (_FP_SQRT_MEAT_4): Likewise.
17817         (_FP_FRAC_ASSEMBLE_4): Likewise.
17818         (_FP_FRAC_DISASSEMBLE_4): Likewise.
17819         * soft-fp/op-common.h (_FP_CMP): Likewise.
17820         (_FP_CMP_EQ): Likewise.
17821         (_FP_CMP_UNORD): Likewise.
17822         (_FP_TO_INT): Likewise.
17823         (_FP_FROM_INT): Likewise.
17824         [!__FP_CLZ] (__FP_CLZ): Likewise.
17825         (_FP_DIV_HELP_imm): Likewise.
17826         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
17827         Likewise.
17828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
17829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
17830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
17831         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
17832         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
17833         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17834         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
17836         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
17837         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
17838         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
17839         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
17840         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
17841         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
17842         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
17843         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
17844         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
17845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
17846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
17847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
17848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
17849         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
17850         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
17851         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
17852         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
17853         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
17854         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
17855         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
17856         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
17857         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
17858         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
17859         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
17860         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
17861         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
17862         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
17863         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
17864         (FP_UNPACK_RAW_SP): Likewise.
17865         (FP_PACK_RAW_S): Likewise.
17866         (FP_PACK_RAW_SP): Likewise.
17867         (FP_UNPACK_S): Likewise.
17868         (FP_UNPACK_SP): Likewise.
17869         (FP_UNPACK_SEMIRAW_S): Likewise.
17870         (FP_UNPACK_SEMIRAW_SP): Likewise.
17871         (FP_PACK_S): Likewise.
17872         (FP_PACK_SP): Likewise.
17873         (FP_PACK_SEMIRAW_S): Likewise.
17874         (FP_PACK_SEMIRAW_SP): Likewise.
17875         (_FP_SQRT_MEAT_S): Likewise.
17876         (FP_CMP_S): Likewise.
17877         (FP_CMP_EQ_S): Likewise.
17878         (FP_CMP_UNORD_S): Likewise.
17879         (FP_TO_INT_S): Likewise.
17880         (FP_FROM_INT_S): Likewise.
17882         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
17884         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
17885         (FP_EX_INVALID_IMZ): Likewise.
17886         (FP_EX_INVALID_IMZ_FMA): Likewise.
17887         (FP_EX_INVALID_ISI): Likewise.
17888         (FP_EX_INVALID_ZDZ): Likewise.
17889         (FP_EX_INVALID_IDI): Likewise.
17890         (FP_EX_INVALID_SQRT): Likewise.
17891         (FP_EX_INVALID_CVI): Likewise.
17892         (FP_EX_INVALID_VC): Likewise.
17893         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
17894         "invalid" exceptions.
17895         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
17896         (_FP_ADD_INTERNAL): Likewise.
17897         (_FP_MUL): Likewise.
17898         (_FP_FMA): Likewise.
17899         (_FP_DIV): Likewise.
17900         (_FP_CMP_CHECK_NAN): Likewise.
17901         (_FP_SQRT): Likewise.
17902         (_FP_TO_INT): Likewise.
17903         (FP_EXTEND): Likewise.
17905 2014-10-09  Allan McRae  <allan@archlinux.org>
17907         * po/fr.po: Update French translation from translation project.
17909 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
17911         [BZ #14132]
17912         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
17913         of INTDEF.
17914         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
17915         (__cxa_atexit): Use libc_hidden_proto.
17916         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
17918         [BZ #14132]
17919         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
17920         declaration.
17921         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
17922         [!_ISOMAC] (__iswspace_l_internal): Likewise.
17923         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
17924         [!_ISOMAC] (__iswctype_internal): Likewise.
17925         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
17926         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
17927         alias.
17928         (fcntl): Remove __fcntl_internal alias.
17929         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
17930         __connect_internal alias.
17931         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
17932         Likewise.
17934         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
17935         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
17936         FP_DENORM_ZERO.
17937         (_FP_CHECK_FLUSH_ZERO): New macro.
17938         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
17939         (_FP_CMP): Likewise.
17940         (_FP_CMP_EQ): Likewise.
17941         (_FP_TO_INT): Do not set inexact for subnormal arguments if
17942         FP_DENORM_ZERO.
17943         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
17944         (FP_TRUNC): Likewise.
17946         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
17947         treated as invalid conversion, not as normal exponent.
17949         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
17950         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
17951         (_FP_CMP_EQ): Likewise.
17952         (_FP_CMP_UNORD): Likewise.
17953         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
17954         (FP_CMP_EQ_D): Likewise.
17955         (FP_CMP_UNORD_D): Likewise.
17956         * soft-fp/extended.h (FP_CMP_E): Likewise.
17957         (FP_CMP_EQ_E): Likewise.
17958         (FP_CMP_UNORD_E): Likewise.
17959         * soft-fp/quad.h (FP_CMP_Q): Likewise.
17960         (FP_CMP_EQ_Q): Likewise.
17961         (FP_CMP_UNORD_Q): Likewise.
17962         * soft-fp/single.h (FP_CMP_S): Likewise.
17963         (FP_CMP_EQ_S): Likewise.
17964         (FP_CMP_UNORD_S): Likewise.
17965         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
17966         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
17967         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
17968         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
17969         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
17970         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
17971         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
17972         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
17973         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
17974         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
17975         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
17976         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
17977         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
17978         to FP_CMP_Q.
17979         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
17980         FP_CMP_Q.
17981         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
17982         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
17983         FP_CMP_EQ_Q.
17984         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
17985         FP_CMP_Q.
17986         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
17987         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
17988         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
17989         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
17990         FP_CMP_EQ_Q.
17991         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
17992         FP_CMP_Q.
17993         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
17994         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
17995         FP_CMP_EQ_Q.
17996         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
17997         FP_CMP_Q.
17998         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
17999         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18000         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18001         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18002         FP_CMP_EQ_Q.
18004         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18005         a subnormal result, set the underflow exception if trapping on
18006         underflow is enabled.
18007         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18008         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18009         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18010         redefine to 0.
18011         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18012         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18013         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18014         * soft-fp/extendxftf2.c (__extendxftf2): Use
18015         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18017         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18018         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18019         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18020         FP_HANDLE_EXCEPTIONS.
18021         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18022         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18023         FP_HANDLE_EXCEPTIONS.
18024         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18025         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18026         FP_HANDLE_EXCEPTIONS.
18027         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18028         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18029         FP_HANDLE_EXCEPTIONS.
18031 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18033         [BZ #14132]
18034         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18035         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18036         use INTUSE.
18037         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18038         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18039         Remove alias.
18040         (__adjtimex): Define using libc_hidden_ver.
18041         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18042         Remove declaration.
18043         (ntp_gettime): Call __adjtimex directly.
18044         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18045         Remove declaration.
18046         (ntp_gettimex): Call __adjtimex directly.
18047         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18048         __adjtimex_internal alias.
18050 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18052         [BZ #17460]
18053         * nscd/nscd.c (more_help): Rewrite list of tables collection
18054         using xstrdup and asprintf.
18056         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18058 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18059             Roland McGrath  <roland@hack.frob.com>
18061         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18062         (do_lookup_unique): ... local function 'enter' here; update callers.
18064 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18066         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18067         compat_symbol calls on [SHARED].
18068         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18069         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18070         Remove.
18071         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18072         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18073         (oldsetrlimit): Remove.
18074         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18076         (lchown): New syscall entry.
18077         (oldsetrlimit): Remove.
18078         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18079         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18080         (oldsetrlimit): Remove.
18081         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18083         [BZ #14138]
18084         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18085         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18086         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18087         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18088         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18089         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18090         (fchown): Likewise.
18091         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18092         (fchown): Likewise.
18093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18094         Likewise.
18096 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18098         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18099         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18100         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18101         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18102         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18103         Likewise.
18104         (__old_sem_post): Likewise.
18106 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18108         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18109         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18110         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18111         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18112         Use INLINE_VSYSCALL macro.
18113         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18114         __vdso_clock_gettime.
18115         * sysdeps/unix/sysv/linux/tile/init-first.c
18116         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18117         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18118         __vdso_clock_gettime.
18120         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18121         to set up frame more cleanly.
18123         * sysdeps/tile/memcmp.c: New file.
18125         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18127         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18128         * sysdeps/tile/tilegx/strcasestr.c: New file.
18129         * sysdeps/tile/tilegx/strnlen.c: New file.
18130         * sysdeps/tile/tilegx/strstr.c: New file.
18132         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18134 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18136         * nptl/tst-setuid3.c: Write errors to stdout.
18138 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18140         * elf/dl-deps.c
18141         (preload): New functions broken out of _dl_map_object_deps.
18142         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18144 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18146         [BZ #14138]
18147         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18148         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18150 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18152         * sysdeps/mips/strcmp.S: New.
18154 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18156         [BZ #14138]
18157         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18158         (linkat): Likewise.
18159         (mkdirat): Likewise.
18160         (readlinkat): Likewise.
18161         (renameat): Likewise.
18162         (symlinkat): Likewise.
18163         (unlinkat): Likewise.
18164         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18165         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18166         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18167         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18168         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18169         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18170         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18172 2014-09-30  Will Newton  <will.newton@linaro.org>
18174         * math/math.h: Define long double math functions if
18175         _LIBC_TEST is defined.
18176         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
18178         * localedata/Makefile: Move assignment to tests-special
18179         into an ifdef testing run-built-tests.
18180         * timezone/Makefile: Likewise.
18182 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
18184         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
18185         with $(BASH) not $(SHELL).
18187 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
18188             Matthew LeGendre  <legendre1@llnl.gov>
18190         [BZ #17411]
18191         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
18192         l_reloc_result.
18194 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18196         * stdio-common/printf_fp.c
18197         (hack_digit): New function, broken out of ...
18198         (__printf_fp): ... local function here.  Update call sites.
18199         hack_digit now takes an additional parameter that is a pointer
18200         to a struct of the referenced locals.  Those locals moved inside
18201         the struct and references updated.
18203 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
18205         * aclocal.m4: Require autoconf 2.69.
18206         * configure: Regenerated.
18207         * sysdeps/aarch64/configure: Likewise.
18208         * sysdeps/alpha/configure: Likewise.
18209         * sysdeps/arm/armv7/configure: Likewise.
18210         * sysdeps/arm/configure: Likewise.
18211         * sysdeps/ia64/configure: Likewise.
18212         * sysdeps/mach/configure: Likewise.
18213         * sysdeps/mips/configure: Likewise.
18214         * sysdeps/s390/configure: Likewise.
18215         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
18216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
18218         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
18219         file.
18220         * sysdeps/ia64/configure.ac: Likewise.
18222 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
18224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
18225         specify symbol version for ld.so.  Do not include entry for
18226         libpthread.
18227         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18228         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18229         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18231         [BZ #14171]
18232         * Makeconfig [$(build-shared) = yes]
18233         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
18234         makefiles.
18235         [$(build-shared) = yes && $(soversions.mk-done) = t]
18236         ($(common-objpfx)gnu/lib-names.h): Remove rule.
18237         [$(build-shared) = yes && $(soversions.mk-done) = t]
18238         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
18239         to Makerules.
18240         [$(build-shared) = yes && $(soversions.mk-done) = t]
18241         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
18242         here.
18243         [$(build-shared) = yes && $(soversions.mk-done) = t]
18244         (common-generated): Don't append gnu/lib-names.h and
18245         gnu/lib-names.stmp here.
18246         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
18247         (lib-names-h-abi): New variable.
18248         [$(build-shared) = yes && $(soversions.mk-done) = t]
18249         (lib-names-stmp-abi): Likewise.
18250         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18251         abi-variants] (before-compile): Append
18252         $(common-objpfx)$(lib-names-h-abi).
18253         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18254         abi-variants] (common-generated): Append gnu/lib-names.h.
18255         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18256         abi-variants] (install-others-nosubdir): Depend on
18257         $(inst_includedir)/$(lib-names-h-abi).
18258         [$(build-shared) = yes && $(soversions.mk-done) = t &&
18259         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
18260         [$(build-shared) = yes && $(soversions.mk-done) = t]
18261         ($(common-objpfx)$(lib-names-h-abi)): New rule.
18262         [$(build-shared) = yes && $(soversions.mk-done) = t]
18263         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
18264         [$(build-shared) = yes && $(soversions.mk-done) = t]
18265         (common-generated): Append $(lib-names-h-abi) and
18266         $(lib-names-stmp-abi).
18267         * scripts/lib-names.awk: Do not handle multi being set.
18268         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
18269         Remove variable.
18270         (abi-lp64_be-ld-soname): Likewise.
18271         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
18272         Likewise.
18273         (abi-hard-ld-soname): Likewise.
18274         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
18275         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
18276         Remove variable.
18277         (abi-o32_hard-ld-soname): Likewise.
18278         (abi-o32_soft_2008-ld-soname): Likewise.
18279         (abi-o32_hard_2008-ld-soname): Likewise.
18280         (abi-n32_soft-ld-soname): Likewise.
18281         (abi-n32_hard-ld-soname): Likewise.
18282         (abi-n32_soft_2008-ld-soname): Likewise.
18283         (abi-n32_hard_2008-ld-soname): Likewise.
18284         (abi-n64_soft-ld-soname): Likewise.
18285         (abi-n64_hard-ld-soname): Likewise.
18286         (abi-n64_soft_2008-ld-soname): Likewise.
18287         (abi-n64_hard_2008-ld-soname): Likewise.
18288         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
18289         Likewise.
18290         (abi-64-v2-ld-soname): Likewise.
18291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
18292         ld.so entries.
18293         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
18294         variable.
18295         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
18296         entry.
18297         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
18298         variable.
18299         (abi-64-ld-soname): Likewise.
18300         (abi-x32-ld-soname): Likewise.
18301         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
18302         entry.
18303         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18305 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
18307         [BZ #14138]
18308         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
18309         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
18310         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
18311         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
18312         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
18313         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
18314         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
18315         syscall entry for GLIBC_2.2 symbol version.
18316         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
18317         Likewise.
18318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18319         (setrlimit): Likewise.
18320         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
18321         Likewise.
18323 2014-09-23  Will Newton  <will.newton@linaro.org>
18325         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
18326         _LINUX_ARM_SYSDEP_H include guard too.
18327         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
18328         define.
18330 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18332         * sysdeps/unix/sysv/linux/eventfd.c:
18333         Make first argument unsigned.
18334         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
18335         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
18337 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
18339         * socket/recvmmsg.c (recvmmsg): Drop const argument.
18340         * socket/sys/socket.h: Likewise
18341         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
18343 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18345         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
18347 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
18349         * time/tst-ftime.c: New test.
18350         * time/Makefile (tests): Add tst-ftime.
18352 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
18354         * soft-fp/extended.h: Fix comment formatting.
18355         * soft-fp/op-1.h: Likewise.
18356         * soft-fp/op-2.h: Likewise.
18357         * soft-fp/op-4.h: Likewise.
18358         * soft-fp/op-8.h: Likewise.
18359         * soft-fp/op-common.h: Likewise.
18360         * soft-fp/soft-fp.h: Likewise.
18362         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
18364 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
18366         [BZ #6652]
18367         * Makeconfig (soversions-default-setname): Remove variable.
18368         ($(common-objpfx)soversions.i): Don't pass default_setname to
18369         soversions.awk.
18370         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
18371         oldest_abi to abi-versions.awk.
18372         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
18373         * config.make.in (oldest-abi): Remove variable.
18374         * configure.ac (--enable-oldest-abi): Remove configure option.
18375         * configure: Regenerated.
18376         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18377         text.
18378         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
18379         * scripts/soversions.awk: Do not handle default_setname variable.
18380         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
18381         variable.
18382         * sysdeps/mach/hurd/configure: Regenerated.
18383         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
18384         variable.
18385         * sysdeps/unix/sysv/linux/configure: Regenerated.
18387 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18389         * elf/Makefile (CFLAGS-interp.c): Remove.
18390         ($(elf-objpfx)runtime-linker.h): Generate header with linker
18391         path string.
18392         * elf/interp.c: Include generated runtime-linker.h
18394         * Makerules (lib%.so): Don't include $(+interp) in
18395         prerequisites.
18396         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
18397         * dlfcn/eval.c: Remove file.
18399         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
18400         macros.
18402         [BZ #17266]
18403         * misc/sys/cdefs.h: Define __extern_always_inline for clang
18404         4.2 and newer.
18406         [BZ #17370]
18407         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
18409 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18410             Jakub Jelinek  <jakub@redhat.com>
18412         [BZ #17266]
18413         * libio/stdio.h: Check definition of __fortify_function
18414         instead of __extern_always_inline to include bits/stdio2.h.
18415         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
18416         check if __extern_always_inline is defined.
18417         [__USE_MISC || __USE_XOPEN]: Likewise.
18418         [__USE_ISOC99] Likewise.
18419         * misc/sys/cdefs.h (__fortify_function): Define only if
18420         __extern_always_inline is defined.
18421         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
18422         __extern_always_inline and __extern_inline only for g++-4.3
18423         and newer or a compatible gcc.
18425 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
18427         [BZ #17371]
18428         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18429         last change to handle zero prefix length.
18431 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18433         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
18434         _SC_REGEX_VERSION.
18436         * posix/getconf.c (vars): Add _POSIX_IPV6 and
18437         _POSIX_RAW_SOCKETS.
18439 2014-09-13  Allan McRae  <allan@archlinux.org>
18441         * po/ru.po: Update Russian translation from translation project.
18443 2014-09-12  Roland McGrath  <roland@hack.frob.com>
18445         * locale/programs/locale.c (show_locale_vars): Inline local function
18446         into its sole call site.  Clean up some style nits.
18447         (print_item): New function, broken out of ...
18448         (show_info): ... local function here.  Clean up style nits.
18450         * locale/programs/ld-ctype.c (set_one_default): New function, broken
18451         out of ...
18452         (set_class_defaults): ... local function set_default here.
18453         Define set_default as a macro locally to pass constant parameters.
18454         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
18455         rather than a shared local.
18457         * stdlib/rpmatch.c (try): New function, broken out of ...
18458         (rpmatch): ... local function here.  Also, prototypify definition.
18460 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
18462         * scripts/soversions.awk: Do not handle configuration names.
18463         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
18464         vendor and os variables to soversions.awk.
18465         * configure.ac: Do not modify gnu-* host_os.
18466         * configure: Regenerated
18467         * shlib-versions: Remove first column with configuration names.
18468         * nptl/shlib-versions: Likewise.
18469         * nptl_db/shlib-versions: Likewise.
18470         * sysdeps/hppa/shlib-versions: Likewise.
18471         * sysdeps/m68k/shlib-versions: Likewise.
18472         * sysdeps/mach/hurd/shlib-versions: Likewise.
18473         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
18474         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
18475         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
18476         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
18477         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
18478         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
18479         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
18480         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
18481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18482         Likewise.
18483         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18484         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18485         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18486         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18487         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18488         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
18489         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
18490         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
18492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18493         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
18494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
18495         Regenerated.
18496         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
18497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
18498         Condition symbol version definitions on [HAVE_ELFV2_ABI].
18500         * shlib-versions: Remove OS-specific entries.  Moved to files in
18501         sysdeps.
18502         * sysdeps/mach/hurd/shlib-versions: New file.
18503         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
18505         * nptl/shlib-versions: Remove architecture-specific entries.
18506         Moved to files in sysdeps.
18507         * shlib-versions: Likewise.
18508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
18509         file.
18510         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
18511         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
18512         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
18513         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
18515         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
18516         (UDP_NO_CHECK6_RX): Likewise.
18518 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18520         * sysdeps/posix/sysconf.c (__sysconf): Spell
18521         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
18523 2014-08-12  Florian Weimer  <fweimer@redhat.com>
18525         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
18526         loading.
18527         * iconv/Versions (__gconv_transliterate): Export for use from
18528         gconv modules.
18529         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
18530         (struct __gconv_trans_data, __gconv_trans_fct,
18531         __gconv_trans_context_fct, __gconv_trans_query_fct,
18532         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
18533         definitions.
18534         (struct __gconv_step_data): Remove __trans member.
18535         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
18536         longer hidden.  Remove unused trans_data argument.
18537         * iconv/gconv_int.h (struct trans_struct): Remove definition.
18538         (__gconv_translit_find): Remove declaration.
18539         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
18540         prototype.
18541         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
18542         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
18543         trans_data argument.  Add hidden definition.
18544         (__gconv_translit_find): Remove.
18545         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
18546         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
18547         * iconv/skeleton.c: Remove transliteration initialization.
18548         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
18549         __gconv_step_data initialization.
18550         * libio/iofwide.c (__libio_translit_): Remove.
18551         (_IO_fwide): Adjust struct __gconv_step_data initialization.
18552         * wcsmbs/btowc.c (__btowc): Likewise.
18553         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18554         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18555         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
18556         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
18557         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
18558         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
18559         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
18560         * wcsmbs/wctob.c (wctob): Likewise.
18562 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18564         [BZ #16194]
18565         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
18566         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
18567         register usage.
18568         * sysdeps/x86/Makefile: Adjust.
18570 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18571             Roland McGrath  <roland@hack.frob.com>
18573         * locale/weight.h: Add include guard.
18574         (findidx): Make static rather than auto; take new parameters
18575         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
18576         * locale/weightwc.h: Likewise.
18577         * posix/fnmatch_loop.c
18578         (FCT): Change type of EXTRA from int32_t to wint_t.
18579         Don't include either header inside the function.
18580         Call FINDIDX rather than findidx, and pass new arguments.
18581         #undef FINDIDX at the end of the file.
18582         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
18583         FINDIDX before including fnmatch_loop.c for the non-wide version.
18584         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
18585         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
18586         for the wide version.
18587         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
18588         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
18589         Pass new arguments to findidx.
18590         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
18591         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
18592         Don't #include it inside the function.  Pass new arguments to findidx.
18593         * posix/regex_internal.h
18594         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
18595         (re_string_elem_size_at): Don't #include it inside the function.
18596         Pass new arguments to findidx.
18597         * string/strcoll_l.c: #include WEIGHT_H at top level.
18598         (get_next_seq): Don't #include it inside the function.
18599         Pass new arguments to findidx.
18600         (get_next_seq_nocache): Likewise.
18601         * string/strxfrm_l.c: #include WEIGHT_H at top level.
18602         (STRXFRM): Don't #include it inside the function.
18603         Pass new arguments to findidx.
18605 2014-09-11  Florian Weimer  <fweimer@redhat.com>
18607         [BZ #17344]
18608         * malloc/malloc.c (unlink): Turn asserts into a call to
18609         malloc_printerr.
18611 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
18613         [BZ #17370]
18614         * libio/wfileops (do_ftell_wide): Free OUT.
18616 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
18618         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
18620 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18622         [BZ #17363]
18623         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
18624         group if the current group is empty.
18626 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18628         * benchtests/bench-memset.c (test_main): Add more test from size
18629         from 32 to 512 bytes.
18630         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18631         Add POWER8 memset object.
18632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18633         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
18634         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
18635         implementation.
18636         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
18637         Likewise.
18638         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
18639         multiarch POWER8 memset optimization.
18640         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
18641         POWER8 memset optimization.
18643         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18644         Remove bzero multiarch objects.
18645         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
18646         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
18647         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
18648         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
18649         Remove define.
18650         [__bzero]: Redefine to specific name.
18651         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
18652         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
18653         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
18654         define.
18655         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18656         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18658 2014-09-10  Florian Weimer  <fweimer@redhat.com>
18660         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
18661         warnings into errors.
18663         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
18664         __cxa_thread_atexit_impl prototype.
18666 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18668         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
18669         Fix capitalization of error message.
18671 2014-09-09  Steve Ellcey  <sellcey@mips.com>
18673         * sysdeps/mips/preconfigure: Modify ABI tests.
18675 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
18677         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
18679 2014-09-07  Roland McGrath  <roland@hack.frob.com>
18680             Carlos O'Donell  <carlos@systemhalted.org>
18682         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
18683         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
18684         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
18685         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
18686         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
18687         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
18688         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
18689         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
18690         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
18691         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
18692         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
18693         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
18694         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
18695         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
18696         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
18697         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
18698         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
18699         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
18700         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
18701         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
18702         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
18703         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
18704         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
18705         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
18706         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
18707         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
18708         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
18709         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
18710         Deconditionalize the code that was previously under [RESET_PID].
18711         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
18712         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
18713         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
18714         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
18715         include sysdep.h.
18717 2014-09-08  Allan McRae  <allan@archlinux.org>
18719         * version.h (RELEASE): Set to "development".
18720         (VERSION): Set to "2.20.90"
18722 2014-09-07  Allan McRae  <allan@archlinux.org
18724         * version.h (RELEASE): Set to "stable".
18725         (VERSION): Set to "2.20"
18726         * include/features.h (__GLIBC_MINOR__): Set to 20.
18728         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
18729         Liebler.
18731         * po/ko.po: Update Korean translation from translation project.
18733 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
18735         [BZ #17354]
18736         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
18737         macro for handling signed relocations.
18739 2014-09-03  Florian Weimer  <fweimer@redhat.com>
18741         [BZ #17325]
18742         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
18743         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
18744         assert.
18745         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
18746         * iconvdata/ibm935.c (BODY): Likewise.
18747         * iconvdata/ibm937.c (BODY): Likewise.
18748         * iconvdata/ibm939.c (BODY): Likewise.
18749         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
18750         assert.
18751         * iconvdata/Makefile (iconv-test.out): Pass module list to test
18752         script.
18753         * iconvdata/run-iconv-test.sh: New test loop for checking for
18754         decoder crashers.
18756 2014-09-02  Khem Raj  <raj.khem@gmail.com>
18758         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
18759         libm_hidden_ver.
18761 2014-09-01  Allan McRae  <allan@archlinux.org>
18763         * po/eo.po: Update Esperanto translation from translation project.
18765         * po/ca.po: Update Catalan translation from translation project.
18767 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18769         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
18770         __proc_dostop call.
18772 2014-08-27  Mark Wielaard  <mjw@redhat.com>
18774         [BZ #17319]
18775         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
18776         to call set_thread_area instead of hand written asm.
18777         (__NR_set_thread_area): Removed define.
18778         (TLS_FLAG_WRITABLE): Likewise.
18779         (__ASSUME_SET_THREAD_AREA): Remove check.
18780         (TLS_EBX_ARG): Remove define.
18781         (TLS_LOAD_EBX): Likewise.
18783 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18785         Simplify atomicity of socket creation in bind.
18787         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
18788         looking up the name after linking the file.
18790 2014-08-27  Allan McRae  <allan@archlinux.org>
18792         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18794 2014-08-26  Florian Weimer  <fweimer@redhat.com>
18796         [BZ #17187]
18797         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
18798         trans_compare, open_translit, __gconv_translit_find):
18799         Remove module loading code.
18801 2014-08-26  Allan McRae  <allan@archlinux.org>
18803         * po/vi.po: Update Vietnamese translation from translation project.
18805         * po/uk.po: Update Ukrainian translation from translation project.
18807         * po/fr.po: Update French translation from translation project.
18809         * po/ru.po: Update Russian translation from translation project.
18811         * po/pl.po: Update Polish translation from translation project.
18813         * po/cs.po: Update Czech translation from translation project.
18815         * po/de.po: Update German translation from translation project.
18817         * po/bg.po: Update Bulgarian translation from translation project.
18819         * po/sv.po: Update Sweedish translation from translation project.
18821         * po/nl.po: Update Dutch translation from translation project.
18823         * po/es.po: Update Spanish translation from translation project.
18825 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18827         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
18829         * catgets/Makefile (CPPFLAGS-gencat): Remove.
18830         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
18831         (CPPFLAGS-iconvconfig): Likewise.
18832         * timezone/Makefile (CPPFLAGS-zic): Likewise.
18834         * include/libc-symbols.h: Remove unnecessary check for
18835         NOT_IN_libc.
18836         * nptl/pthreadP.h: Likewise.
18837         * sysdeps/aarch64/setjmp.S: Likewise.
18838         * sysdeps/alpha/setjmp.S: Likewise.
18839         * sysdeps/arm/sysdep.h: Likewise.
18840         * sysdeps/i386/setjmp.S: Likewise.
18841         * sysdeps/m68k/setjmp.c: Likewise.
18842         * sysdeps/posix/getcwd.c: Likewise.
18843         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18844         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18845         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18846         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18847         * sysdeps/sh/sh3/setjmp.S: Likewise.
18848         * sysdeps/sh/sh4/setjmp.S: Likewise.
18849         * sysdeps/unix/alpha/sysdep.h: Likewise.
18850         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18852         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18853         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18856         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18857         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18858         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18859         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18860         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18861         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18863         * sysdeps/x86_64/setjmp.S: Likewise.
18865 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
18867         [BZ #17263]
18868         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
18869         <stdint.h>.
18870         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
18871         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
18873 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18875         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
18877         [BZ #17262]
18878         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
18879         and __x86_64__ when disabling x87 inline functions.
18881 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
18883         [BZ #17259]
18884         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
18885         asm statement with __cpuid_count.
18887 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
18889         * configure.ac: Change __ehdr_start code to dereference the struct.
18890         Run readelf on the output to look for relocations.
18891         * configure: Regenerated.
18893 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
18895         [BZ #17261]
18896         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
18897         value to 0.
18898         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
18900 2014-08-12  Roland McGrath  <roland@hack.frob.com>
18902         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
18904 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
18906         [BZ #16892]
18907         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
18908         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
18910 2014-08-12  Sean Anderson  <seanga2@gmail.com>
18912         * malloc/malloc.c: Fix typo in comment.
18914 2014-08-09  Allan McRae  <allan@archlinux.org>
18916         * Regenerate libc.po.
18918 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
18920         * intl/tst-gettext2.sh: Check every lang file for creation.
18922 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
18924         * sysdeps/aarch64/fpu/math_private.h
18925         (libc_feholdsetround_noex_aarch64_ctx): New function.
18927 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
18929         * sysdeps/arm/armv6/strcpy.S (strcpy):
18930         Fix performance issue in misaligned cases.
18932 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18934         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
18935         Move definition from termios.h.
18936         (struct termio): Likewise.
18937         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18938         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18939         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18940         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18941         Likewise.
18942         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
18943         Move definition to ioctl-types.h
18944         (struct termio): Likewise.
18945         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18946         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
18947         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
18948         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
18949         Likewise.
18951 2014-08-05  Richard Henderson  <rth@redhat.com>
18953         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
18954         exceptions.
18955         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
18956         Add fraiseexcpt.
18957         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
18958         Use __feraiseexcept.
18959         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
18960         Protect libm symbols with IS_IN_libm.
18962         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
18964 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
18966         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
18968 2014-08-04  Will Newton  <will.newton@linaro.org>
18970         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
18971         file.
18973 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
18975         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
18976         variants for each function.
18978 2014-08-04  Roland McGrath  <roland@hack.frob.com>
18980         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
18981         appended ...
18982         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
18983         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
18984         appended ...
18985         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
18986         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
18987         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
18988         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
18989         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
18990         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
18991         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
18992         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
18993         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
18994         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
18995         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
18996         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
18997         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
18998         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
18999         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19000         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19001         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19002         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19003         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19004         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19005         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19006         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19007         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19008         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19009         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19010         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19011         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19012         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19013         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19014         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19015         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19016         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19017         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19018         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19019         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19020         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19021         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19022         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19023         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19024         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19025         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19026         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19027         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19028         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19029         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19030         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19031         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19032         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19033         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19034         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19035         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19036         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19037         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19038         Update #include.
19039         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19040         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19042 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19044         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19045         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19046         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19047         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19048         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19049         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19051 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19053         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19054         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19055         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19056         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19058 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19060         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19061         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19062         (__libc_vfork): Define function under this name.
19063         (__vfork): Define as an alias.
19064         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19065         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19067 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19069         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19070         that was previously under [RESET_PID].
19071         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19073 2014-08-04  Andreas Schwab  <schwab@suse.de>
19075         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19077 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19079         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19080         (main): Likewise.
19082 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19084         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19086 2014-08-01  Richard Henderon  <rth@redhat.com>
19088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19089         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19090         typo in exact zero test.
19091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19092         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19093         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19095 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19097         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19098         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19099         * sysdeps/arm/sysdep.h: ... here.
19100         [!__ASSEMBLER__]: Include <stdint.h>.
19102 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19104         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19105         (HAVE_WCTYPE_H): Likewise.
19106         (HAVE_ISWCTYPE): Likewise.
19107         (ENABLE_NLS): Likewise.
19108         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19109         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19111         * posix/regex_internal.c: Check if DEBUG is defined and is
19112         set.
19114         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19115         (HAVE_MBSRTOWCS): Likewise.
19116         * posix/fnmatch.c: Include string.h unconditionally.
19118 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19120         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19121         reversal.
19123 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19125         * sysdeps/generic/safe-fatal.h: New file.
19126         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19127         * nptl/forward.c: Include it.
19128         (__pthread_unwind): Use __safe_fatal as default action, rather
19129         than a bogus use of INTERNAL_SYSCALL that could never work.
19131         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19132         * configure.ac (libc_cv_builtin_trap): New test.
19133         * configure: Regenerated.
19134         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19135         (ABORT_INSTRUCTION): Define using __builtin_trap.
19137         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19138         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19139         * sysdeps/nptl/nptl-signals.h: New file.
19140         * nptl/pthreadP.h: Include <nptl-signals.h>.
19142 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19144         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19145         (ONE_DIRECTION): Define.
19146         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19147         (ONE_DIRECTION): Define.
19148         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19149         (ONE_DIRECTION): Define.
19151 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19153         * sysdeps/s390/Makefile: Delete file.
19154         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19155         * sysdeps/s390/__longjmp.c: Delete file.
19156         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19157         Remove fields __flags and __reserved.
19158         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19159         and add versioning.
19160         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19161         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19162         * sysdeps/s390/rtld-setjmp.S: Likewise.
19163         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19164         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19165         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19166         * sysdeps/s390/s390-32/setjmp.S: ... here.
19167         Add versioning.
19168         (__sigsetjmp): Remove setting __flags field.
19169         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19170         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19171         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19172         * sysdeps/s390/s390-64/setjmp.S: ... here.
19173         Add versioning.
19174         (__sigsetjmp): Remove setting __flags field.
19175         * sysdeps/s390/setjmp.S: Delete file.
19176         * sysdeps/s390/sigjmp.c: Likewise.
19177         * sysdeps/s390/v1-longjmp.c: Likewise.
19178         * sysdeps/s390/v1-setjmp.h: Likewise.
19179         * sysdeps/s390/v1-sigjmp.c: Likewise.
19180         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
19181         Remove v1-longjmp_chk.
19182         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
19183         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
19184         Include debug/longjmp_chk.c and add versioning.
19185         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
19186         Include nptl/pt-longjmp.c and add versioning.
19187         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
19188         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
19189         Include __longjmp.c.
19190         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19191         Move to ...
19192         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
19193         (__getcontext): Remove setting __flags field.
19194         Add versioning.
19195         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19196         Don't restore upper high grps.
19197         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
19198         Likewise.
19199         (__swapcontext): Remove setting uc_flags field.
19200         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
19201         Delete file.
19202         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19203         Include __longjmp.c.
19204         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19205         Move to ...
19206         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
19207         (__getcontext): Remove setting __flags field.
19208         Add versioning.
19209         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
19210         (__swapcontext): Remove setting uc_flags field.
19211         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
19212         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
19213         Remove fields uc_high_gprs and __reserved.
19214         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
19215         New file with reverted content.
19216         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
19217         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
19218         Regenerated.
19219         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
19220         Regenerated.
19222 2014-07-31  Andreas Schwab  <schwab@suse.de>
19224         * config.h.in (HAVE_IFUNC): Define to 0.
19225         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
19226         definedness.
19228 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
19230         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19231         memmove-avx-unaligned, memcpy-avx-unaligned and
19232         mempcpy-avx-unaligned.
19233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19234         Add tests for AVX memcpy functions.
19235         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
19236         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
19237         memcpy_chk.
19238         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
19239         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
19240         memmove_chk.
19241         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
19242         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
19243         mempcpy_chk.
19244         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
19245         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19246         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
19248 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19250         [BZ #17213]
19251         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
19252         powerpc64le.
19254 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
19256         [BZ #16839]
19257         * manual/llio.texi: Add section about open file description locks.
19258         * manual/examples/ofdlocks.c: Example of open file description
19259         lock usage.
19260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
19261         F_OFD_SETLK, and F_OFD_SETLKW.
19263 2014-07-23  Allan McRae  <allan@archlinux.org>
19265         * po/es.po: Update Spanish translation from translation project.
19267 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
19269         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
19271 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
19273         [BZ #17078]
19274         * sysdeps/arm/dl-machine.h (elf_machine_rela)
19275         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
19276         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
19278 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
19280         [BZ #17088]
19281         * math/fesetenv.c (__fesetenv)
19282         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
19283         * math/feupdateenv.c (__feupdateenv)
19284         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
19286         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
19287         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19288         (__ASSUME_SOCKETCALL): Do not define.
19290         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
19291         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
19292         (__ASSUME_SOCKETCALL): Do not define.
19293         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
19294         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19295         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19296         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
19297         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19298         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
19299         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19300         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19302         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
19303         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
19304         (__ASSUME_SOCKETCALL): Do not define.
19305         (__ASSUME_IPC64): Define unconditionally.
19306         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19307         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19308         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
19309         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19310         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
19311         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19312         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
19313         Likewise.
19315         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
19316         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
19317         (__ASSUME_SOCKETCALL): Do not define.
19318         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
19319         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19320         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19321         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19322         (__ASSUME_REQUEUE_PI): Define unconditionally.
19323         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
19324         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
19325         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19326         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
19327         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19328         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19330         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
19331         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
19332         (__ASSUME_SOCKETCALL): Do not define.
19333         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
19334         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19335         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19336         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
19337         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19338         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19340         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
19341         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
19342         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
19343         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
19344         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19345         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
19346         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
19347         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
19348         (__ASSUME_GETCPU_SYSCALL): Likewise.
19350         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
19351         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
19352         cases for individual architectures.
19353         * sysdeps/gnu/configure: Regenerated.
19354         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
19355         LIBC_SLIBDIR_RTLDDIR.
19356         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
19357         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
19358         LIBC_SLIBDIR_RTLDDIR.
19359         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
19360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
19361         LIBC_SLIBDIR_RTLDDIR.
19362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19363         Regenerated.
19364         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
19365         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
19366         file.
19367         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
19368         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
19369         file.
19370         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
19371         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
19372         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
19373         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
19375         * sysdeps/aarch64/shlib-versions: Move to ...
19376         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
19377         * sysdeps/alpha/shlib-versions: Move to ...
19378         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
19379         * sysdeps/arm/shlib-versions: Move to ...
19380         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
19381         * sysdeps/hppa/shlib-versions: Move all contents except for
19382         libgcc_s entry to ...
19383         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
19384         entry from ...
19385         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
19386         * sysdeps/ia64/shlib-versions: Move to ...
19387         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
19388         entry from ...
19389         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
19390         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
19391         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
19392         * sysdeps/microblaze/shlib-versions: Move to ...
19393         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
19394         * sysdeps/mips/shlib-versions: Move to ...
19395         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
19396         entry from ...
19397         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
19398         * sysdeps/tile/shlib-versions: Move to ...
19399         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
19400         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
19401         from ...
19402         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
19403         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
19404         entry from ...
19405         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
19407 2014-07-17  Will Newton  <will.newton@linaro.org>
19409         * sysdeps/arm/bits/atomic.h
19410         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
19411         (__arch_compare_and_exchange_bool_16_int): Likewise.
19412         (__arch_compare_and_exchange_bool_64_int): Likewise.
19414         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
19415         into an #else block.
19417 2014-07-16  Roland McGrath  <roland@hack.frob.com>
19419         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
19420         just Linux configurations.  Test empirically that the compiler sets
19421         __ARM_EABI__, rather than using the tuple to decide.
19422         * sysdeps/arm/preconfigure: Regenerated.
19423         * sysdeps/unix/sysv/linux/arm/configure: File removed.
19424         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
19425         contents appended ...
19426         * sysdeps/arm/configure.ac: ... here.
19427         * sysdeps/arm/configure: Regenerated.
19429 2014-07-15  Roland McGrath  <roland@hack.frob.com>
19431         * nptl/pthread_kill.c: New file.
19432         * nptl/pthread_sigmask.c: New file.
19433         * nptl/pthread_sigqueue.c: New file.
19435         * sysdeps/nptl/lowlevellock.h: New file.
19436         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
19437         * sysdeps/nptl/lowlevellock-futex.h: New file.
19439         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
19440         Remove dead declarations.
19442 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
19444         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
19445         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
19446         config-cflags-avx2.
19447         * sysdeps/x86_64/configure.ac: Likewise.
19448         * sysdeps/i386/configure: Regenerated.
19449         * sysdeps/x86_64/configure: Likewise.
19450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19451         memset-avx2 only if config-cflags-avx2 is yes.
19452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19453         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
19454         defined.
19455         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
19456         only if HAVE_AVX2_SUPPORT is defined.
19457         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19459 2014-07-14  Alan Modra  <amodra@gmail.com>
19461         [BZ #17153]
19462         * elf/elf.h (DT_PPC64_NUM): Correct value.
19463         * NEWS: Add to fixed bug list.
19465 2014-07-13  Jim Meyering  <meyering@fb.com>
19467         [BZ 17150]
19468         regex: don't deref NULL upon heap allocation failure
19469         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
19470         failure in one more place.
19471         To trigger the segfault, configure grep -with-included-regex,
19472         build it, and run these commands:
19473         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
19475 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
19477         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19479 2014-07-11  Richard Henderson  <rth@redhat.com>
19481         * sysdeps/aarch64/libm-test-ulps: Update.
19483 2014-07-10  Florian Weimer  <fweimer@redhat.com>
19485         [BZ #17135]
19486         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
19487         * nptl/allocatestack.c (__nptl_setxid_error): New function.
19488         (__nptl_setxid): Initialize error member.  Call
19489         __nptl_setxid_error.
19490         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
19491         * nptl/descr.h (struct xid_command): Add error member.
19492         * nptl/tst-setuid3.c: New file.
19493         * nptl/Makefile (tests): Add it.
19495 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19497         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
19498         New define.
19499         (__lll_trylock): Use __lll_base_trylock.
19500         (__lll_cond_trylock): Likewise.
19502 2014-07-10  Roland McGrath  <roland@hack.frob.com>
19504         * nptl/pthread_create.c (start_thread): Use atomic_or and
19505         lll_futex_wake directly rather than lll_robust_dead.
19506         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19507         (lll_robust_dead): Macro removed.
19508         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
19509         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19510         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19511         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19512         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19513         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19514         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19515         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19516         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19517         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19518         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19519         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19520         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19521         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19522         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19524         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19525         Use atomic_compare_and_exchange_val_acq directly rather than
19526         lll_robust_trylock.
19527         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
19528         (__lll_robust_trylock, lll_robust_trylock): Removed.
19529         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
19530         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
19531         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19532         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19533         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
19534         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
19535         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19536         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
19537         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19538         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19539         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19540         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19541         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19542         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19544 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19546         * manual/locale.texi (Locale Names): New section documenting
19547         locale name syntax.  Adjust menu and node chaining accordingly.
19548         (Choosing Locale): Reference Locale Names, Locale Categories.
19549         Mention setting LC_ALL=C.  Reflect that name syntax is now
19550         documented.
19551         (Locale Categories): New section title.  Reference Locale Names.
19552         LC_ALL is an environment variable, but not a category.
19553         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
19554         description, now in Locale Name.  Reference that section.  Locale
19555         name syntax is now documented.
19557 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19559         [BZ #17137]
19560         * locale/findlocale.c (name_present, valid_locale_name): New
19561         functions.
19562         (_nl_find_locale): Use the loc_name variable to store name
19563         candidates.  Call name_present and valid_locale_name to check and
19564         validate locale names.  Return an error if the locale is invalid.
19566 2014-07-02  Florian Weimer  <fweimer@redhat.com>
19568         * locale/setlocale.c (setlocale): Use strdup for allocating
19569         composite name copy.
19571 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19573         Sync up with gnulib.
19574         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
19575         [!_LIBC && ENABLE_NLS]: Include gettext.h.
19576         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
19577         and _GL_ARG_NONNULL.
19578         [USE_UNLOCKED_IO]: Include unlocked-io.h.
19579         [!_LIBC]: Include code for Windows and Cygwin.
19580         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
19581         Include prototype for int strerror_r.
19582         [!_LIBC] (is_open): New function.
19583         (flush_stdout): New function.
19584         (print_errno_message): Use it.
19585         (error): Likewise.
19586         (error_at_line): Likewise.
19587         (error_tail) Add function attribute macros.  Use
19588         __builtin_expect.
19590         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
19592         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
19594         * io/ftw.c: Include sys/param.h unconditionally.
19596         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
19598         [BZ #17125]
19599         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
19600         libc_freeres_ptr.
19601         (freecache): New function to free CACHE on exit.
19603         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
19604         initialization.
19606 2014-07-09  David S. Miller  <davem@davemloft.net>
19608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19610         * sysdeps/sparc/nptl/internaltypes.h: Delete.
19611         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
19612         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
19613         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
19614         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
19615         * sysdeps/sparc/nptl/sem_init.c: Likewise.
19616         * sysdeps/sparc/nptl/sem_post.c: Likewise.
19617         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
19618         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
19619         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
19620         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
19621         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
19622         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
19624 2014-07-09  Andreas Schwab  <schwab@suse.de>
19626         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
19627         output.
19628         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
19629         (do_test): Likewise.
19631         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19633 2014-07-09  Will Newton  <will.newton@linaro.org>
19635         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
19636         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
19637         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
19638         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
19639         * sysdeps/hppa/start.S (_start): Likewise.
19641 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
19643         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
19645         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
19646         defined.
19648 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19650         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
19651         after checking that it is non-NULL.
19653         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
19655 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19657         * sysdeps/powerpc/memmove.c: Remove file.
19658         * sysdeps/powerpc/powerpc32/power4/memcopy.h
19659         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
19660         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19661         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
19662         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
19663         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
19664         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
19665         string memmove instead of removed powerpc one.
19667         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19668         [weak_alias]: Fix compiler warning due trailing data.
19669         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
19670         [weak_alias]: Likewise.
19671         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
19672         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
19674         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19675         (__libc_ifunc_impl_list): Add memmove functions.
19677 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19679         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
19680         Remove code.
19681         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
19682         Likewise
19683         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
19684         Likewise
19685         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
19686         Likewise
19687         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
19688         Likewise
19689         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
19690         Likewise
19691         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
19692         Likewise
19693         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
19694         Likewise
19695         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
19696         Likewise
19697         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
19698         Likewise
19699         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
19700         Likewise
19701         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
19702         Likewise
19703         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
19704         Likewise
19705         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
19706         Likewise
19707         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
19708         Likewise
19709         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
19710         Likewise
19711         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
19712         Likewise
19714 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19716         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
19717         to avoid alignment traps in non-cacheable memory.
19718         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
19721         multiarch objects.
19722         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
19723         file: multiarch power7 memmove.
19724         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
19725         multiarch default memmove.
19726         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
19727         multiarch memove for powerpc32/power4.
19729         * string/bcopy.c: Use full path to include memmove.c.
19730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
19731         multiarch objects.
19732         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
19733         bcopy for powerpc64.
19734         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
19735         bcopy for powerpc64.
19736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
19737         and memmove implementations.
19738         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
19739         optimized multiarch memmove for POWER7/powerpc64.
19740         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
19741         default multiarch memmove for powerpc64.
19742         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
19743         multiarch for powerpc64.
19744         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
19745         for POWER7/powerpc64.
19746         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
19747         memmove for POWER7/powerpc64.
19749         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
19750         glibc default one.
19752         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
19753         __ELF_NATIVE_CLASS equal to 64.
19755 2014-07-07  Roland McGrath  <roland@hack.frob.com>
19757         * sysdeps/nptl/lowlevellock.h: File removed.
19759         * NEWS: NPTL is no longer an add-on!
19760         * nptl/internaltypes.h: Moved ...
19761         * sysdeps/nptl/internaltypes.h: ... here.
19762         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
19763         * sysdeps/nptl/fork.c: Likewise.
19764         * sysdeps/nptl/gai_misc.h: Likewise.
19765         * sysdeps/nptl/librt-cancellation.c: Likewise.
19766         * sysdeps/nptl/jmp-unwind.c: Likewise.
19767         * sysdeps/nptl/setxid.h: Likewise.
19768         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
19769         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
19770         * sysdeps/unix/sysv/linux/arm/Implies: New file.
19771         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
19772         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
19773         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
19774         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
19775         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
19776         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
19777         * sysdeps/unix/sysv/linux/mips/Implies: New file.
19778         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
19779         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
19780         * sysdeps/unix/sysv/linux/sh/Implies: New file.
19781         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
19782         * sysdeps/unix/sysv/linux/tile/Implies: New file.
19783         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
19784         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
19785         * nptl/Makeconfig: Moved ...
19786         * sysdeps/nptl/Makeconfig: ... here.
19787         * nptl/configure: File removed.
19788         * nptl/ANNOUNCE: File removed.
19789         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
19790         * sysdeps/unix/sysv/linux/configure: Regenerated.
19792         * nptl/Makefile (routines): Add libc_pthread_init,
19793         libc_multiple_threads, register-atfork and unregister-atfork.
19794         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
19795         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
19796         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
19797         pthread-pi-defines.sym, structsem.sym.
19798         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
19799         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
19800         [$(subdir) = nptl] (tests): Add tst-setgetname.
19801         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
19802         * sysdeps/unix/sysv/linux/sigaction.c: Just include
19803         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
19804         [!LIBC_SIGACTION]: Remove aliases.
19805         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19806         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19807         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19808         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
19809         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19810         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
19811         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19812         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19813         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19814         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
19815         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
19816         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
19817         __libc_allocate_rtsig_private.
19818         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
19819         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
19820         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
19821         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
19822         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
19823         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
19824         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
19825         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
19826         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
19827         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
19828         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
19829         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
19830         * nptl/internaltypes.h: ... here.
19831         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
19832         * sysdeps/nptl/jmp-unwind.c: ... here.
19833         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
19834         * nptl/libc-lowlevellock.c: ... here.
19835         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
19836         * nptl/libc_multiple_threads.c: ... here.
19837         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
19838         * nptl/libc_pthread_init.c: ... here.
19839         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
19840         * nptl/lowlevelbarrier.sym: ... here.
19841         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
19842         * nptl/lowlevelcond.sym: ... here.
19843         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
19844         * nptl/lowlevellock.c: ... here.
19845         * nptl/lowlevellock.h: Moved ...
19846         * sysdeps/nptl/lowlevellock.h: ... here.
19847         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
19848         * nptl/lowlevelrobustlock.c: ... here.
19849         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
19850         * nptl/lowlevelrobustlock.sym: ... here.
19851         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
19852         * nptl/lowlevelrwlock.sym: ... here.
19853         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
19854         * nptl/pt-fork.c: ... here.
19855         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
19856         * nptl/pthread-pi-defines.sym: ... here.
19857         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
19858         * nptl/pthread_attr_getaffinity.c: ... here.
19859         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
19860         * nptl/pthread_attr_setaffinity.c: ... here.
19861         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
19862         * nptl/pthread_mutex_cond_lock.c: ... here.
19863         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19864         Update #include.
19865         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
19866         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
19867         * nptl/pthread_once.c: ... here, replacing old file.
19868         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
19869         * nptl/pthread_yield.c: ... here.
19870         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
19871         * nptl/register-atfork.c: ... here.
19872         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
19873         * nptl/sem_post.c: ... here.
19874         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
19875         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
19876         * nptl/sem_timedwait.c: ... here.
19877         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
19878         * nptl/sem_trywait.c: ... here.
19879         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
19880         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
19881         * nptl/sem_wait.c: ... here.
19882         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
19883         * nptl/structsem.sym: ... here.
19884         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
19885         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
19886         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
19887         * nptl/unregister-atfork.c: ... here.
19888         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
19889         * nptl/unwindbuf.sym: ... here.
19890         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
19891         * sysdeps/nptl/fork.c: ... here.
19892         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
19893         * sysdeps/nptl/fork.h: ... here.
19894         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
19895         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
19896         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
19897         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
19898         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
19899         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
19900         * sysdeps/unix/sysv/linux/getpid.c: ... here.
19901         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
19902         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
19903         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
19904         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
19905         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
19906         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
19907         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
19908         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
19909         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
19910         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
19911         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
19912         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
19913         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
19914         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
19915         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
19916         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
19917         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
19918         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
19919         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
19920         * sysdeps/unix/sysv/linux/raise.c: ... here.
19921         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
19922         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
19923         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
19924         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
19925         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
19926         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
19927         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
19928         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
19929         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
19930         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
19931         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
19932         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
19933         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
19934         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
19935         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
19937 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19939         * sysdeps/generic/memcopy.h: Add comment for
19940         MEMCPY_OK_FOR_FWD_MEMMOVE.
19942 2014-07-04  Will Newton  <will.newton@linaro.org>
19944         * string/memchr.c: Merge from gnulib.
19945         [_LIBC]: Remove conditionals.
19946         (__ptr_t): Remove define.
19947         (LONG_MAX_32_BITS): Likewise.
19948         (LONG_MAX): Likewise.
19949         (MEMCHR): Use ANSI prototype and optimize algorithm.
19951         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
19953 2014-07-03  Roland McGrath  <roland@hack.frob.com>
19955         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
19956         (lll_futex_timed_wait_bitset): Fix syscall argument count.
19958         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
19959         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
19960         in a bare environment with no <stdlib.h> installed.
19961         * sysdeps/nptl/configure: Regenerated.
19963         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
19965         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
19966         AC_EGREP_CPP for kernel header checks, so they only succeed if
19967         including <linux/version.h> actually works right.
19968         * sysdeps/unix/sysv/linux/configure: Regenerated.
19970         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
19971         value so it's not diagnosed as unused.
19973         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
19974         thing) with "ifeq ($(subdir),rt)".
19976 2014-07-03  Richard Henderson  <rth@redhat.com>
19978         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
19979         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
19980         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
19982         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
19983         (math_force_eval): New.
19985         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
19986         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
19988         * sysdeps/alpha/fpu/s_round.c: Remove file.
19989         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
19991         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
19992         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
19993         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
19994         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
19995         (_dl_start, print_statistics): Likewise.
19996         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
19997         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
19999         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20000         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20001         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20002         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20003         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20004         (HP_SMALL_TIMING_AVAIL): Define.
20005         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20006         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20007         (HP_SMALL_TIMING_AVAIL): Define.
20008         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20009         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20011         * sysdeps/aarch64/hp-timing.h: New file.
20013         * sysdeps/generic/hp-timing.h: Remove dead comment.
20014         * sysdeps/generic/hp-timing-common.h: New file.
20015         * sysdeps/alpha/hp-timing.h: Include it.
20016         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20017         * sysdeps/i386/i686/hp-timing.h: Likewise.
20018         * sysdeps/ia64/hp-timing.h: Likewise.
20019         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20020         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20021         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20022         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20023         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20024         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20025         (hp_timing_t): New.
20027         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20028         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20029         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20030         * elf/rtld.c (_dl_start_final): Likewise.
20031         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20032         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20033         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20034         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20035         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20036         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20037         (HP_TIMING_DIFF_INIT): Remove.
20038         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20039         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20040         (HP_TIMING_DIFF_INIT): Remove.
20041         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20042         * sysdeps/i386/i686/hp-timing.c: Remove file.
20043         * sysdeps/x86_64/hp-timing.c: Remove file.
20044         * sysdeps/ia64/hp-timing.c: Remove file.
20045         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20046         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20047         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20048         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20050         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20051         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20052         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20053         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20054         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20055         (HP_TIMING_ACCUM): Remove.
20056         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20057         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20058         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20060         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20061         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20062         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20063         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20064         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20065         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20067         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20069         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20071 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20073         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20075 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20077         Sync up with gettext.
20078         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20079         [_MSC_VER]: Include malloc.h
20080         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20081         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20082         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20083         TEMP_FAILURE_RETRY.  Cast return of alloca.
20084         [!_LIBC] Call gl_rwlock_init.
20085         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20087 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20089         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20090         before checking its value.
20092 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20094         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20096         * debug/memcpy_chk.c: Don't include pagecopy.h.
20097         * debug/mempcpy_chk.c: Likewise.
20098         * string/memcpy.c: Likewise.
20099         * string/memmove.c: Likewise.
20100         * sysdeps/powerpc/memmove.c: Likewise.
20101         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20102         definition of PAGE_COPY_FWD_MAYBE here...
20103         * sysdeps/generic/pagecopy.h: ... from here.
20104         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20106 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20107             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20109         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20111         optimizations.
20112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20113         (__libc_ifunc_impl_list): Likewise.
20114         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20115         multiarch strcat for PPC64.
20116         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20117         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20119 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20121         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20123 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20125         * intl/loadmsgcat.c: Remove declaration of
20126         get_sysdep_segment_value.
20127         (get_sysdep_segment_value): Use ISO C style.
20128         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20129         semicolon.  Fix typo and formatting in comment.
20130         (_nl_unload_domain): Use ISO C style.
20132         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20134 2014-07-02  Will Newton  <will.newton@linaro.org>
20136         * malloc/obstack.c: Merge from gnulib master.
20137         [HAVE_CONFIG_H]: Remove conditional code.
20138         [!_LIBC]: Include config.h.
20139         [!ELIDE_CODE]: Don't include inttypes.h, include
20140         stdint.h unconditionally.
20141         (print_and_abort): Mark as _Noreturn.
20142         (_obstack_allocated_p): Mark as __attribute_pure__.
20143         (obstack_free): Rename to __obstack_free.
20144         [!__attribute__]: Remove conditional code.
20145         * malloc/obstack.h: Merge from gnulib master.
20146         [__cplusplus]: Move conditional down.
20147         [!__attribute_pure__]: Define __attribute_pure__ here
20148         if it is not already defined.
20149         (_obstack_memory_used): Mark as __attribute_pure__.
20150         [!__obstack_free]: Define as obstack_free.
20151         [__GNUC__]: Remove check for ancient NeXT gcc.
20153 2014-07-02  Will Newton  <will.newton@linaro.org>
20154             Paul Eggert  <eggert@cs.ucla.edu>
20156         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20158 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20160         * resolv/gethnamaddr.c: Add comment warning that the file is
20161         not maintained.
20163 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20165         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20166         entries.
20168         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20169         entry for aio_cancel and aio_cancel64.
20170         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20171         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20172         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20173         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20174         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20175         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
20176         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
20177         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
20178         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
20179         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
20180         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
20181         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
20182         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
20184 2014-07-01  Roland McGrath  <roland@hack.frob.com>
20186         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
20187         * nptl/pthread_mutex_lock.c: Likewise.
20188         * nptl/pthread_mutex_timedlock.c: Likewise.
20189         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
20191 2014-07-01  Richard henderson  <rth@redhat.com>
20193         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
20194         (__isnan, __isnanl): Remove.
20195         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
20197         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20199 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20201         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20203 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20205         * resolv/nss_dns/dns-host.c (getanswer_r)
20206         [MULTI_PTRS_ARE_ALIASES]: Remove code.
20208 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
20210         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20211         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
20212         undefine.
20213         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20214         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
20216 2014-07-01  Roland McGrath <roland@hack.frob.com>
20218         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
20219         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
20221         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
20222         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
20224         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
20225         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20226         ... here.
20227         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
20228         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
20230         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
20231         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
20232         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
20233         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
20235         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
20236         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
20237         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
20238         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
20239         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
20240         Moved ...
20241         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
20242         ... here.
20243         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
20244         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
20245         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
20246         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
20247         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
20248         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
20249         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
20250         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
20251         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
20252         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
20253         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
20254         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
20255         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
20256         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
20257         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
20258         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
20259         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
20260         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
20261         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
20262         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
20263         ... here.
20264         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
20265         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
20266         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
20267         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
20268         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
20269         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
20270         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
20271         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
20273 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
20275         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
20276         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
20277         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
20278         Add sysdep.
20280 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20284 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20286         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20287         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20289         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20291         * sysdeps/arm/libm-test-ulps: Regenerated.
20293 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20294             Roland McGrath <roland@hack.frob.com>
20296         * test-skeleton.c (signal_handler): Kill the whole process group
20297         before killing the child individually.
20298         (main): Report any failure on `setpgid'.
20300 2014-06-30  Roland McGrath  <roland@hack.frob.com>
20302         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
20303         from _TLS_H to _ARM_NPTL_TLS_H.
20304         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
20305         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
20307 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
20309         [BZ #16539]
20310         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
20311         (__expm1l): Return argument unchanged when small but not
20312         subnormal.
20314         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
20315         include macro name.
20316         (_FP_UNPACK_RAW_1_P): Likewise.
20317         (_FP_PACK_RAW_1): Likewise.
20318         (_FP_PACK_RAW_1_P): Likewise.
20319         (_FP_MUL_MEAT_1_wide): Likewise.
20320         (_FP_MUL_MEAT_DW_1_hard): Likewise.
20321         (_FP_MUL_MEAT_1_hard): Likewise.
20322         (_FP_DIV_MEAT_1_imm): Likewise.
20323         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
20324         (_FP_DIV_MEAT_1_udiv): Likewise.
20325         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
20326         (_FP_UNPACK_RAW_2): Likewise.
20327         (_FP_UNPACK_RAW_2_P): Likewise.
20328         (_FP_PACK_RAW_2): Likewise.
20329         (_FP_PACK_RAW_2_P): Likewise.
20330         (_FP_MUL_MEAT_DW_2_wide): Likewise.
20331         (_FP_MUL_MEAT_2_wide): Likewise.
20332         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
20333         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20334         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
20335         (_FP_MUL_MEAT_2_gmp): Likewise.
20336         (_FP_DIV_MEAT_2_udiv): Likewise.
20337         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
20338         (_FP_FRAC_SRL_4): Likewise.
20339         (_FP_FRAC_SRST_4): Likewise.
20340         (_FP_FRAC_SRS_4): Likewise.
20341         (_FP_UNPACK_RAW_4): Likewise.
20342         (_FP_UNPACK_RAW_4_P): Likewise.
20343         (_FP_PACK_RAW_4): Likewise.
20344         (_FP_PACK_RAW_4_P): Likewise.
20345         (_FP_MUL_MEAT_DW_4_wide): Likewise.
20346         (_FP_MUL_MEAT_4_wide): Likewise.
20347         (_FP_MUL_MEAT_4_gmp): Likewise.
20348         (umul_ppppmnnn): Likewise.
20349         (_FP_DIV_MEAT_4_udiv): Likewise.
20350         (__FP_FRAC_ADD_4): Likewise.
20351         (__FP_FRAC_SUB_3): Likewise.
20352         (__FP_FRAC_SUB_4): Likewise.
20353         (__FP_FRAC_DEC_3): Likewise.
20354         (__FP_FRAC_DEC_4): Likewise.
20355         (__FP_FRAC_ADDI_4): Likewise.
20356         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
20357         (_FP_FRAC_SRL_8): Likewise.
20358         (_FP_FRAC_SRS_8): Likewise.
20360         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
20361         include macro name.
20362         (FP_UNPACK_RAW_EP): Likewise.
20363         (FP_PACK_RAW_E): Likewise.
20364         (FP_PACK_RAW_EP): Likewise.
20365         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
20366         (_FP_ISSIGNAN): Likewise.
20367         (_FP_ADD_INTERNAL): Likewise.
20368         (_FP_FMA): Likewise.
20369         (_FP_CMP): Likewise.
20370         (_FP_SQRT): Likewise.
20371         (_FP_TO_INT): Likewise.
20372         (_FP_FROM_INT): Likewise.
20373         (FP_EXTEND): Likewise.
20374         (_FP_DIV_MEAT_N_loop): Likewise.
20376 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
20378         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
20379         throughout.
20381 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
20383         [BZ #17097]
20384         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
20385         result with correct sign in case of exponents that produce
20386         overflow except for X very close to 1.
20388 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
20390         mktime: merge #if/#ifdef usage from glibc
20391         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
20392         as that works with both Glibc's and Gnulib's style.
20393         See thread starting at Siddhesh Poyarekar's bug report at:
20394         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
20396 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20398         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
20399         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
20400         * sysdeps/tile/tilegx/memmove.c: Remove file.
20402 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20404         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
20405         abi-name definition.
20406         * scripts/soversions.awk: Do not handle or generate ABI lines.
20407         * shlib-versions: Remove ABI entries.
20408         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
20409         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
20411 2014-06-27  Roland McGrath  <roland@hack.frob.com>
20413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
20414         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
20415         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
20416         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
20417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
20418         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
20419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
20420         Moved ...
20421         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
20422         ... here.
20423         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
20424         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
20425         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
20426         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
20427         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
20428         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
20429         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
20430         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
20431         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
20432         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
20433         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
20434         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
20435         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
20436         Moved ...
20437         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
20438         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
20439         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
20440         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
20441         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
20442         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
20443         Moved ...
20444         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
20445         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
20446         Moved ...
20447         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
20448         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
20449         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
20450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
20451         Moved ...
20452         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
20453         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
20454         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
20455         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
20456         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
20457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
20458         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
20459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
20460         Moved ...
20461         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
20462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
20463         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
20464         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
20465         Moved ...
20466         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
20467         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
20468         Moved ...
20469         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
20470         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
20471         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
20472         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
20473         Moved ...
20474         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
20475         ... here.
20476         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
20477         Identical file removed.
20478         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
20479         Moved ...
20480         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
20481         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
20482         Identical file removed.
20483         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
20484         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
20485         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
20486         Moved ...
20487         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
20488         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
20489         Identical file removed.
20490         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
20491         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
20492         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
20493         Identical file removed.
20494         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
20495         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
20496         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
20497         Identical file removed.
20498         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
20499         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
20500         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
20501         Identical file removed.
20502         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
20503         Moved ...
20504         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
20505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
20506         Identical file removed.
20507         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
20508         Moved ...
20509         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
20510         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
20511         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
20512         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
20513         Identical file removed.
20514         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
20515         Moved ...
20516         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
20517         ... here.
20518         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
20519         Identical file removed.
20520         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
20521         Moved ...
20522         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
20523         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
20524         Identical file removed.
20525         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
20526         Moved ...
20527         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
20528         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
20529         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
20530         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
20531         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
20532         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
20533         Moved ...
20534         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
20535         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
20536         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
20538         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
20539         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
20540         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
20541         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
20542         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
20544 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
20546         [BZ #17092]
20547         * nscd/nscd.c (monitor_child): Return exit status of child
20548         instead of return value from wait syscall.
20550 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
20552         * configure.ac (libc_commonpagesize): Remove variable.
20553         (libc_relro_required): Likewise.
20554         (libc_cv_z_relro): Remove configure test.
20555         * configure: Regenerated.
20556         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
20557         variable.
20558         (libc_relro_required): Likewise.
20559         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
20560         (libc_relro_required): Likewise.
20561         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
20562         (libc_relro_required): Likewise.
20563         * sysdeps/arm/preconfigure: Regenerated.
20564         * sysdeps/ia64/preconfigure: Remove file.
20565         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
20566         variable.
20567         (libc_relro_required): Likewise.
20569         [BZ #16561]
20570         [BZ #16562]
20571         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
20572         (__ieee754_yn): Set FE_TONEAREST mode internally and then
20573         recompute overflowing results in original rounding mode.
20574         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
20575         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
20576         recompute overflowing results in original rounding mode.
20577         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
20578         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
20579         recompute overflowing results in original rounding mode.
20580         * sysdeps/ieee754/ldbl-128ibm/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-96/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/i386/fpu/fenv_private.h [!__SSE2_MATH__]
20587         (libc_feholdsetround_ctx): New macro.
20588         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
20589         * sysdeps/i386/fpu/libm-test-ulps: Update.
20590         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
20592 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20594         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
20595         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
20596         corresponding .cpsetup call.
20598 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20600         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
20601         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
20602         * sysdeps/arm/Makefile [$(subdir) = csu]
20603         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
20604         (static-only-routines): Add aeabi_read_tp here.
20605         (shared-only-routines): Add libc-aeabi_read_tp here.
20606         (CFLAGS-libc-start.c): Add -fexceptions here.
20607         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
20608         (sysdep_routines, static-only-routines, shared-only-routines):
20609         Don't add to these here.
20610         (CFLAGS-libc-start.c): Likewise.
20612         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
20613         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20614         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
20615         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20616         * sysdeps/arm/Makefile [$(subdir) = rt]
20617         (librt-sysdep_routines, librt-shared-only-routines):
20618         Append rt-aeabi_unwind_cpp_pr1 here.
20619         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
20620         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
20621         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
20622         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20623         Append nptl-aeabi_unwind_cpp_pr1 here.
20624         (tests): Filter out tst-cleanupx4 here.
20625         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
20626         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
20627         Don't do those here.
20629 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20631         * scripts/list-sources.sh: Do not handle ports specially.
20633 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20635         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
20636         * sysdeps/arm/feupdateenv.c: Likewise.
20638         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
20640 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20642         * manual/texinfo.tex: Update to version 2014-05-05.10 with
20643         trailing whitespace removed.
20644         * scripts/config.guess: Update to version 2014-03-23.
20645         * scripts/config.sub: Update to version 2014-05-01
20646         * scripts/install-sh: Update to version 2013-12-25.23.
20647         * scripts/move-if-change: Update from gnulib.
20649 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20651         * debug/memmove_chk.c: Remove pagecopy.h include.
20653 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
20655         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
20656         identical to gnulib mktime.
20658 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
20660         * configure.ac: Do not test for machine being rs6000.  Do not test
20661         for powerpc*-*soft.
20662         * configure: Regenerated.
20664         [BZ #11505]
20665         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
20666         test.
20667         * configure: Regenerated.
20668         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
20669         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
20670         Remove configure test.
20671         * sysdeps/arm/configure: Regenerated.
20672         * sysdeps/nptl/configure.ac: Do not check
20673         libc_cv_asm_cfi_directives.
20674         * sysdeps/nptl/configure: Regenerated.
20675         * sysdeps/x86_64/nptl/configure.ac: Remove file.
20676         * sysdeps/x86_64/nptl/configure: Remove generated file.
20677         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
20678         unconditional.
20679         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
20681 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20683         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
20684         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
20685         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
20686         it is defined.
20688         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
20689         instead of whether it is defined.
20690         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
20691         * sysdeps/hppa/dl-machine.h: Likewise.
20692         * sysdeps/ia64/dl-machine.h: Likewise.
20693         * sysdeps/m68k/dl-machine.h: Likewise.
20694         * sysdeps/microblaze/dl-machine.h: Likewise.
20695         * sysdeps/mips/dl-machine.: Likewise.
20696         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20697         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20698         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20699         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20700         * sysdeps/sh/dl-machine.h: Likewise.
20701         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20702         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20703         * sysdeps/tile/dl-machine.h: Likewise.
20704         * sysdeps/x86_64/dl-machine.h: Likewise.
20706         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
20707         code.
20708         (verify_persistent_db): Likewise.
20710 2014-06-26  Roland McGrath  <roland@hack.frob.com>
20712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
20713         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
20714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
20715         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
20716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20717         Moved ...
20718         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
20719         ... here.
20720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
20721         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
20722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
20723         Identical file removed.
20724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
20725         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
20726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
20727         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
20728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
20729         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
20730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
20731         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
20732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
20733         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
20734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20735         Moved ...
20736         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
20737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
20738         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
20739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
20740         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
20741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20742         Moved ...
20743         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
20744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
20745         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
20746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
20747         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
20748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20749         Identical file removed.
20750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
20751         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
20752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
20753         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
20754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20755         Moved ...
20756         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
20757         ... here.
20758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
20759         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
20760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
20761         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
20762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
20763         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
20764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
20765         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
20766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
20767         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
20768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20769         Moved ...
20770         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
20771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
20772         Moved ...
20773         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
20774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
20775         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
20776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20777         Moved ...
20778         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
20779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
20780         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
20782         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
20783         folded into ...
20784         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
20785         * sysdeps/unix/sysv/linux/s390/Versions
20786         (libpthread: GLIBC_2.19): New version set.
20787         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
20788         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
20789         (librt: GLIBC_2.3.3): New version set.
20790         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
20791         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
20792         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
20793         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
20794         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
20795         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
20796         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
20797         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
20798         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
20799         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
20800         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
20801         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
20802         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
20803         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
20804         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
20805         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
20806         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
20807         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
20808         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
20809         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
20810         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
20811         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
20812         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
20813         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
20814         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
20815         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
20816         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
20817         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
20818         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
20819         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
20820         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
20821         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
20822         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
20823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
20824         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
20825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
20826         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
20827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
20828         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
20829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
20830         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
20831         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
20832         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
20833         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
20834         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
20836         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
20837         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
20838         (__libc_vfork): Define the function under this name.
20839         [!NOT_IN_libc] (__vfork): Make this an alias.
20840         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20841         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
20842         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
20843         (__libc_vfork): Define the function under this name.
20844         [!NOT_IN_libc] (__vfork): Make this an alias.
20845         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
20846         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
20847         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
20848         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
20849         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
20850         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20852         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
20853         code that was previously under [RESET_PID].
20854         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
20855         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
20856         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
20858         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
20859         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
20860         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
20861         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
20862         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
20863         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
20864         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
20865         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
20866         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
20867         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
20868         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
20869         Moved ...
20870         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
20871         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
20872         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
20873         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
20874         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
20875         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
20876         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
20877         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
20878         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
20879         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
20880         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
20881         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
20882         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
20883         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
20884         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
20885         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
20886         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
20887         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
20888         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
20889         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
20890         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
20891         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
20892         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
20893         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
20894         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
20895         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
20896         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
20897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
20898         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
20900 2014-06-25  Roland McGrath  <roland@hack.frob.com>
20902         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
20903         that was previously under [RESET_PID].
20904         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
20906 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
20908         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
20909         not undefine and redefine.
20910         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
20911         [O_CLOEXEC]: Make code unconditional.
20912         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
20913         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
20914         <kernel-features.h>.
20915         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
20916         conditional variable definition.
20917         (shm_open) [O_CLOEXEC]: Make code unconditional.
20918         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
20919         code.
20921         * configure.ac (USE_REGPARMS): Don't define here.
20922         * configure: Regenerated.
20923         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
20924         * sysdeps/i386/configure: Regenerated.
20926         * nptl/createthread.c: Don't include kernel-features.h.
20927         * nptl/pthread_cancel.c: Likewise.
20928         * nptl/pthread_condattr_setclock.c: Likewise.
20929         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
20930         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
20931         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
20932         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
20933         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
20934         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
20935         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20936         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
20937         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20938         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
20939         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
20940         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
20941         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
20942         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
20943         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
20944         * nscd/gai.c: Likewise.
20945         * nss/nss_db/db-open.c: Likewise.
20946         * sysdeps/generic/ldsodefs.h: Likewise.
20947         * sysdeps/sh/nptl/tls.h: Likewise.
20948         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20949         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
20950         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
20951         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
20952         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
20953         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20954         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
20955         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20956         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
20957         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20958         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20959         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
20960         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
20961         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
20962         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
20963         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
20964         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20965         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
20966         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
20967         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
20968         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20969         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20970         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
20971         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20972         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20974         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
20975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20976         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20977         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
20978         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
20979         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
20980         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
20981         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20982         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20983         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20984         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20985         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
20986         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
20987         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20988         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20989         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
20990         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
20991         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20992         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
20993         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
20994         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
20995         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
20996         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
20997         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
20998         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
20999         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21000         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21001         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21002         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21003         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21004         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21005         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21028         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21029         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21030         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21031         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21032         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21033         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21034         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21035         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21036         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21037         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21038         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21039         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21040         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21041         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21042         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21043         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21044         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21045         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21046         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21047         * sysdeps/unix/sysv/linux/system.c: Likewise.
21048         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21049         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21050         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21051         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21052         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21053         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21054         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21056         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21057         * configure: Regenerated.
21058         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21060         * configure.ac (base_machine): Do not set specially for particular
21061         machines here.
21062         * configure: Regenerated.
21063         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21064         settings from configure.ac.
21065         * sysdeps/i386/preconfigure: New file.
21066         * sysdeps/s390/preconfigure: Likewise.
21067         * sysdeps/sh/preconfigure: Likewise.
21068         * sysdeps/sparc/preconfigure: Likewise.
21070 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21072         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21073         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21074         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21075         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21076         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21077         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21078         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21079         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21080         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21081         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21082         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21083         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21084         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21085         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21086         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21087         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21088         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21089         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21090         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21092         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21093         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21094         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21095         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21096         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21097         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21098         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21099         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21100         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21101         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21102         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21103         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21104         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21105         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21106         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21107         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21108         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21109         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21110         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21111         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21112         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21113         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21114         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21115         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21116         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21117         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21118         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21119         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21120         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21121         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21122         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21123         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21124         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21125         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21126         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21127         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21128         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21129         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21132         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21134         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21136         Moved ...
21137         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21138         ... here.
21139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21140         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21142         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21144         Moved ...
21145         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21147         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21149         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21151         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21153         Moved ...
21154         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21156         Moved ...
21157         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21159         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21161         Moved ...
21162         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21164         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21166         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21168         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21170         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21172         Moved ...
21173         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21174         ... here.
21175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
21176         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
21177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
21178         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
21179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
21180         Moved ...
21181         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
21182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
21183         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
21184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
21185         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
21186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
21187         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
21188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21189         Moved ...
21190         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
21191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21192         Moved ...
21193         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
21194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
21195         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
21196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21197         Moved ...
21198         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
21199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
21200         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
21201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
21202         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
21204 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21206         * timezone/checktab.awk: Update from tzcode 2014e.
21207         * timezone/private.h: Likewise.
21208         * timezone/tzfile.h: Likewise.
21209         * timezone/zdump.c: Likewise.
21210         * timezone/zic.c: Likewise.
21212         * sysdeps/unix/sysv/linux/kernel-features.h
21213         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
21214         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
21215         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
21216         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21217         Remove conditional code.
21219 2014-06-25  Will Newton  <will.newton@linaro.org>
21221         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
21222         (_dl_arm_cap_flags): Add HWCAP2 values.
21223         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
21224         (_DL_HWCAP_COUNT): Increase to 37.
21225         (_DL_HWCAP_LAST): New define.
21226         (_DL_HWCAP2_LAST): New define.
21227         (_dl_procinfo): Add support for printing
21228         AT_HWCAP2 entries.
21229         (_dl_string_hwcap): Use _dl_hwcap_string.
21231 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21235 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21237         * README: Do not mention ports directory.
21239         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
21240         Remove macro.
21241         * sysdeps/unix/sysv/linux/futimes.c: Do not include
21242         <kernel-features.h>.
21243         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
21244         conditional variable definition.
21245         (__futimes): Update comment.
21246         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
21247         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
21249         [BZ #16560]
21250         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
21251         arguments close to 0.
21252         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
21253         Likewise.
21254         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
21255         Likewise.
21256         * math/auto-libm-test-in: Add more tests of exp10.
21257         * math/auto-libm-test-out: Regenerated.
21258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21260         * sysdeps/unix/sysv/linux/kernel-features.h
21261         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
21262         * sysdeps/unix/sysv/linux/readv.c: Do not include
21263         <kernel-features.h>.
21264         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21265         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21266         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21267         unconditional.
21268         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21269         conditional code.
21270         * sysdeps/unix/sysv/linux/writev.c: Do not include
21271         <kernel-features.h>.
21272         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
21273         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
21274         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
21275         unconditional.
21276         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
21277         conditional code.
21279 2014-06-25  Will Newton  <will.newton@linaro.org>
21281         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
21282         comment changes throughout the file.  Remove checks
21283         for HAVE_*_H definitions that are not required.
21284         (__gen_tempname): Call abort if an unknown kind value is
21285         passed.
21287 2014-06-25  Andreas Schwab  <schwab@suse.de>
21289         [BZ #17086]
21290         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
21291         scalbln, scalblnf, scalblnl in libc.
21293 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21295         [BZ #17086]
21296         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
21297         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
21298         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
21300 2014-06-24  Roland McGrath  <roland@hack.frob.com>
21302         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
21303         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
21304         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
21305         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
21306         Update #include.
21307         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
21308         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
21309         Update #include.
21310         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
21311         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
21312         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
21313         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
21314         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
21315         * sysdeps/x86/bits/pthreadtypes.h: ... here.
21316         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
21317         * sysdeps/x86/bits/semaphore.h: ... here.
21318         * sysdeps/x86/nptl/elide.h: Moved ...
21319         * sysdeps/x86/elide.h: ... here.
21320         * sysdeps/x86_64/nptl/Implies: File removed.
21321         * sysdeps/i386/nptl/Implies: File removed.
21323 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
21325         [BZ #16539]
21326         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
21327         return the argument for normal arguments with exponent below -64.
21328         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21329         Likewise.
21330         * math/auto-libm-test-in: Add another test of expm1.
21331         * math/auto-libm-test-out: Regenerated.
21333         [BZ #16287]
21334         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
21335         calling __erfcl for arguments at least 16.
21336         * math/auto-libm-test-in: Add more tests of erf.
21337         * math/auto-libm-test-out: Regenerated.
21339         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
21340         individual architectures.
21341         * sysdeps/unix/sysv/linux/configure: Regenerated.
21342         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
21343         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
21344         * sysdeps/unix/sysv/linux/powerpc/configure.ac
21345         (ldd_rewrite_script): Define variable.
21346         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
21348         file.
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
21350         generated file.
21351         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
21352         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
21353         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
21354         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
21355         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
21356         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
21357         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
21358         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
21360 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21362         [BZ #17084]
21363         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
21364         Rename member __data.d to __data.__elision_data.
21366 2014-06-24  Wilco  <wdijkstr@arm.com>
21368         * NEWS: Add 16918 to fixed bug list.
21370 2014-06-24  Wilco  <wdijkstr@arm.com>
21372         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
21374 2014-06-24  Wilco  <wdijkstr@arm.com>
21376         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
21377         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
21378         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
21379         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
21380         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
21381         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
21382         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
21383         Use _FPU_MASK_RM.
21385 2014-06-24  Wilco  <wdijkstr@arm.com>
21387         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
21389 2014-06-24  Wilco  <wdijkstr@arm.com>
21391         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
21392         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
21393         * sysdeps/arm/fesetround.c (fesetround): Remove space.
21394         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
21396 2014-06-24  Wilco  <wdijkstr@arm.com>
21398         [BZ #16918]
21399         * sysdeps/arm/feupdateenv.c (feupdateenv):
21400         Rewrite to reduce FPSCR accesses and fix return value.
21402 2014-06-24  Wilco  <wdijkstr@arm.com>
21404         * sysdeps/arm/fclrexcpt.c (feclearexcept):
21405         Optimize to avoid unnecessary FPSCR writes.
21406         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
21407         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
21408         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
21409         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
21411 2014-06-24  Wilco  <wdijkstr@arm.com>
21413         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
21414         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
21415         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
21416         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
21417         Call libc_fetestexcept_vfp.
21418         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
21419         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
21420         __SOFTFP__ ifdef so that they can be built for softfp.
21422 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21424         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
21425         argument type signed char.
21427         * Makerules (check-abi): Dump diff of symlist if the test
21428         fails.
21430 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21432         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
21433         using abort.
21435         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21436         Remove unused variable ST.
21438 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21440         [BZ #16354]
21441         [BZ #17061]
21442         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
21443         small arguments before calling __expm1.
21444         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
21445         small arguments before calling __expm1f.
21446         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
21447         small arguments before calling __expm1l.
21448         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21449         Likewise.
21450         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
21451         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
21452         spurious underflow for some cosh tests.
21453         * math/auto-libm-test-out: Regenerated.
21454         * sysdeps/i386/fpu/libm-test-ulps: Update.
21456         [BZ #17050]
21457         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
21458         (__ieee754_y1): Set errno if return value overflows.
21459         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
21460         (__ieee754_y1f): Set errno if return value overflows.
21461         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
21462         (__ieee754_y1l): Set errno if return value overflows.
21463         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
21464         (__ieee754_y1l): Set errno if return value overflows.
21465         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
21466         * math/auto-libm-test-out: Regenerated.
21468         * math/gen-auto-libm-tests.c: Document use of
21469         ignore-zero-inf-sign.
21470         (input_flag_type): Add value flag_ignore_zero_inf_sign.
21471         (input_flags): Add ignore-zero-inf-sign.
21472         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
21473         * math/gen-libm-test.pl (generate_testfile): Handle
21474         ignore-zero-inf-sign.
21475         * math/auto-libm-test-in: Mark some cpow tests with
21476         ignore-zero-inf-sign and some with xfail-rounding.
21477         * math/auto-libm-test-out: Regenerated.
21478         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
21479         * sysdeps/i386/fpu/libm-test-ulps: Update.
21480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21482         [BZ #16315]
21483         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
21484         overflowing or underflowing operations take place with sign of
21485         result.
21486         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21487         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21488         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
21489         (__ieee754_pow): Recompute overflowing and underflowing results in
21490         original rounding mode.
21491         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
21492         (__powl_helper): Allow negative argument X and scale negated value
21493         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
21494         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
21495         overflowing or underflowing operations take place with sign of
21496         result.
21497         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
21498         Include <math.h>.
21499         * math/auto-libm-test-in: Add more tests of pow.
21500         * math/auto-libm-test-out: Regenerated.
21501         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
21502         (pow_tonearest_test_data): Remove.
21503         (pow_test_tonearest): Likewise.
21504         (pow_towardzero_test_data): Likewise.
21505         (pow_test_towardzero): Likewise.
21506         (pow_downward_test_data): Likewise.
21507         (pow_test_downward): Likewise.
21508         (pow_upward_test_data): Likewise.
21509         (pow_test_upward): Likewise.
21510         (main): Don't call removed functions.
21511         * sysdeps/i386/fpu/libm-test-ulps: Update.
21512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21514 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
21517         Moved ...
21518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
21519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21520         Moved ...
21521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
21522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21523         Moved ...
21524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
21525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21526         Moved ...
21527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
21528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21529         File removed.
21530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21531         File removed.
21532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
21533         File removed.
21534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
21535         File removed.
21536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
21537         File removed.
21538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
21539         File removed.
21540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
21541         File removed.
21542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21543         File removed.
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
21545         File removed.
21546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21547         File removed.
21548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
21549         File removed.
21550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
21551         File removed.
21552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
21553         Moved ...
21554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
21555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
21556         Moved ...
21557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
21558         ... here.
21559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
21560         Moved ...
21561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
21562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
21563         Moved ...
21564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
21565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
21566         Moved ...
21567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
21568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
21569         Moved ...
21570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
21571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
21572         Moved ...
21573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
21574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
21575         Moved ...
21576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
21577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
21578         Moved ...
21579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
21580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
21581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
21582         ... here.
21583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
21584         Moved ...
21585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
21586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21587         Moved ...
21588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21589         ... here.
21590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
21591         Moved ...
21592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21593         ... here.
21594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21595         Moved ...
21596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21597         ... here.
21598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21599         Moved ...
21600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
21601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21602         Moved ...
21603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
21604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
21605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
21606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21607         Moved ...
21608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
21609         ... here.
21610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21611         Moved ...
21612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
21613         ... here.
21614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21615         Moved ...
21616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
21617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21618         Moved ...
21619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
21620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21621         Moved ...
21622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
21623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21624         Moved ...
21625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
21626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21627         Moved ...
21628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
21629         ... here.
21630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21631         Moved ...
21632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
21633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21634         Moved ...
21635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
21636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21637         Moved ...
21638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
21639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21640         Moved ...
21641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
21642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
21643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
21644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21645         Moved ...
21646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
21647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21648         Moved ...
21649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
21650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21651         Moved ...
21652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
21653         ... here.
21654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21655         Moved ...
21656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
21657         ... here.
21658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21659         Moved ...
21660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
21661         ... here.
21662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21663         Moved ...
21664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
21665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21666         Moved ...
21667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
21668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21669         Moved ...
21670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
21671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21672         Moved ...
21673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
21674         ... here.
21675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21676         Moved ...
21677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
21678         ... here.
21679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21680         Moved ...
21681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
21682         ... here.
21683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21684         Moved ...
21685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
21686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21687         Moved ...
21688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
21690 2014-06-23  Will Newton  <will.newton@linaro.org>
21691             Wilco  <wdijkstr@arm.com>
21693         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
21694         implementation.  Include get-rounding-mode.h.
21695         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
21696         [!libc_feholdsetround_noex_ctx]: Define
21697         libc_feholdsetround_noex_ctx.
21698         [!libc_feholdsetround_noexf_ctx]: Define
21699         libc_feholdsetround_noexf_ctx.
21700         [!libc_feholdsetround_noexl_ctx]: Define
21701         libc_feholdsetround_noexl_ctx.
21702         (libc_feholdsetround_ctx): New function.
21703         (libc_feresetround_ctx): New function.
21704         (libc_feholdsetround_noex_ctx): New function.
21705         (libc_feresetround_noex_ctx): New function.
21707 2014-06-23  Roland McGrath  <roland@hack.frob.com>
21709         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
21710         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
21711         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
21712         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
21713         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
21714         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
21716         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
21717         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
21718         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
21719         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
21720         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
21721         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
21722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
21723         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
21724         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
21725         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
21726         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
21727         Moved ...
21728         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
21729         ... here.
21730         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
21731         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
21732         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
21733         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
21734         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
21735         Moved ...
21736         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
21737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
21738         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
21739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
21740         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
21741         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
21742         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
21743         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
21744         Moved ...
21745         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
21746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
21747         Moved ...
21748         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
21749         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
21750         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
21751         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
21752         Moved ...
21753         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
21754         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
21755         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
21756         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
21757         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
21758         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
21759         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
21760         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
21761         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
21762         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
21763         Moved ...
21764         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
21765         ... here.
21766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
21767         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
21768         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
21769         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
21770         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
21771         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
21772         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
21773         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
21774         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
21775         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
21776         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
21777         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
21778         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
21779         Moved ...
21780         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
21781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
21782         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
21783         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
21784         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
21785         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
21786         Moved ...
21787         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
21788         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
21789         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
21790         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
21791         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
21793         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
21794         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
21795         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
21796         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
21797         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
21798         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
21799         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
21800         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
21801         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
21802         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
21803         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
21804         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
21805         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
21806         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
21807         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
21808         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
21809         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
21810         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
21811         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
21812         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
21813         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
21814         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
21815         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
21816         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
21817         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
21818         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
21819         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
21820         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
21822 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
21824         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
21825         (FALLOC_FL_COLLAPSE_RANGE): New macro.
21826         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
21827         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
21828         (IPV6_PMTUDISC_INTERFACE): Likewise.
21829         (IPV6_PMTUDISC_OMIT): Likewise.
21831 2014-06-23  Andreas Schwab  <schwab@suse.de>
21833         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
21834         Remove unused errout label.
21836 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21838         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
21839         macro: hardware supports Vector Crypto instructions.
21841 2014-06-23  Will Newton  <will.newton@linaro.org>
21843         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
21844         rather than __builtin_expect.
21846         * elf/dl-lookup.c (undefined_msg): Remove variable.
21847         (_dl_lookup_symbol_x): Replace undefined_msg with string
21848         literal.
21850         * elf/dl-lookup.c (do_lookup_unique): New function.
21851         (do_lookup_x): Move STB_GNU_UNIQUE handling code
21852         to a separate function.
21854 2014-06-23  Andreas Schwab  <schwab@suse.de>
21856         [BZ #17079]
21857         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
21858         before reading the next line.
21860 2014-06-23  Will Newton  <will.newton@linaro.org>
21862         * test-skeleton.c (signal_handler): Use printf and %m
21863         rather than perror.  Use printf rather than fprintf to
21864         stderr.  Use puts rather than fputs to stderr.
21865         (main): Likewise.
21867 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
21869         * nscd/nscd.c (thread_info_t): Remove typedef.
21870         (thread_info): Remove variable.
21872 2014-06-21  Allan McRae  <allan@archlinux.org>
21874         * NEWS: Mention CVE-2014-4043.
21876 2014-06-20  Roland McGrath  <roland@hack.frob.com>
21878         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
21879         * nptl/smp.h: ... here.
21881         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
21883         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
21884         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
21885         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
21886         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
21888         * nptl/allocatestack.c: Include <stack-aliasing.h>.
21889         * nptl/stack-aliasing.h: New file.
21890         * sysdeps/i386/i686/stack-aliasing.h: New file.
21891         * sysdeps/i386/i686/nptl/Makefile: File removed.
21892         * sysdeps/x86_64/stack-aliasing.h: New file.
21893         * sysdeps/x86_64/nptl/Makefile
21894         (CFLAGS-pthread_create.c): Variable removed.
21896         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
21897         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
21898         old file.
21899         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
21900         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
21901         old file.
21903 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
21905         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21906         (__ASSUME_SIGFRAME_V2): Remove macro.
21907         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
21908         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
21909         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
21910         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
21911         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
21912         Declare as function.  Remove conditional macro definitions.
21913         (__default_rt_sa_restorer): Likewise.
21914         (__default_sa_restorer_v1): Remove declaration.
21915         (__default_sa_restorer_v2): Likewise.
21916         (__default_rt_sa_restorer_v1): Likewise.
21917         (__default_rt_sa_restorer_v2): Likewise.
21918         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
21919         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
21920         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
21922 2014-06-20  Roland McGrath  <roland@hack.frob.com>
21924         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
21925         (libpthread-routines): Add sysdep.
21926         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
21927         * sysdeps/unix/sysv/linux/sparc/Versions
21928         (libpthread: GLIBC_2.3.3): New version set.
21929         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
21930         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
21931         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
21932         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
21933         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
21934         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
21935         Moved ...
21936         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
21937         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
21938         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
21939         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
21940         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
21941         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
21942         * sysdeps/sparc/nptl/sem_init.c: ... here.
21943         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
21944         * sysdeps/sparc/nptl/sem_post.c: ... here.
21945         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
21946         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
21947         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
21948         * sysdeps/sparc/nptl/sem_wait.c: ... here.
21949         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
21950         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
21951         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
21952         (libpthread-routines): Add cpu_relax.
21953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
21954         File removed.
21955         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
21956         (librt: GLIBC_2.3.3): New version set.
21957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
21958         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
21959         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
21960         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
21961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
21962         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
21963         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
21964         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
21965         Moved ...
21966         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
21967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
21968         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
21969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
21970         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
21971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
21972         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
21973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
21974         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
21975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
21976         Moved ...
21977         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
21978         Update #include.
21979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
21980         Moved ...
21981         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
21982         Update #include.
21983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
21984         Moved ...
21985         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
21986         Update #include.
21987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
21988         Moved ...
21989         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
21990         Update #include.
21991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
21992         Moved ...
21993         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
21994         Update #include.
21995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
21996         Moved ...
21997         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
21998         Update #include.
21999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22000         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22002         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22004         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22006         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22008         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22010         Moved ...
22011         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22013         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22015         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22017 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22019         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22020         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22021         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22022         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22023         * nscd/nscd.c: Likewise.
22024         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22025         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22026         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22027         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22029         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22030         <kernel-features.h>.
22031         (init_mq_netlink): Remove conditional have_sock_cloexec
22032         definitions.  Remove code conditional on have_sock_cloexec < 0.
22033         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22034         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22035         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22036         <kernel-features.h>.
22037         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22038         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22040 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22042         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22043         Add tests for memset_chk and memset.
22045         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22046         with AVX2_Usable.
22048 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22050         [BZ #16046]
22051         * elf/tst-dl-iter-static.c: New file.
22052         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22054         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22055         error.
22057 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22059         * sysdeps/unix/sysv/linux/kernel-features.h
22060         (__ASSUME_F_GETOWN_EX): Remove macro.
22061         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22062         <kernel-features.h>.
22063         (miss_F_GETOWN_EX): Remove variable or macro.
22064         (do_fcntl): Do not check miss_F_GETOWN_EX.
22065         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22067         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22068         Remove macro.
22069         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22070         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22071         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22073         * sysdeps/unix/sysv/linux/kernel-features.h
22074         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22075         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22076         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22077         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22079 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22081         [BZ #17075]
22082         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22083         Fix calculation of the symbol's value.
22084         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22085         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22086         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22087         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22088         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22089         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22090         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22091         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22092         (modules-names): Add `tst-armtlsdescmod',
22093         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22094         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22095         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22096         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22097         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22098         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22099         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22100         ($(objpfx)tst-armtlsdescloc): New dependency.
22101         ($(objpfx)tst-armtlsdescextnow): Likewise.
22102         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22103         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22104         TLS scheme support.
22105         * sysdeps/arm/configure: Regenerate.
22107 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22109         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22110         (__atfct_seterrno_2): Likewise.
22111         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22112         <kernel-features.h>.
22113         (__ASSUME_ATFCTS): Do not undefine and redefine.
22114         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22115         (__have_atfcts): Remove conditional definition.
22116         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22117         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22118         unreachable if [__ASSUME_ATFCTS].
22119         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22120         not undefine and redefine.
22121         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22122         <kernel-features.h>.
22123         (faccessat) [__NR_faccessat]: Make code unconditional.
22124         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22125         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22126         <kernel-features.h>.
22127         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22128         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22129         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22130         <kernel-features.h>.
22131         (fchownat) [__NR_fchownat]: Make code unconditional.
22132         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22133         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22134         <kernel-features.h>.
22135         (futimesat) [__NR_futimesat]: Make code unconditional.
22136         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22137         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22138         <kernel-features.h>.
22139         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22140         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22141         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22142         <kernel-features.h>.
22143         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22144         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22145         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22146         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22147         <kernel-features.h>.
22148         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22149         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22150         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22151         <kernel-features.h>.
22152         (linkat) [__NR_linkat]: Make code unconditional.
22153         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22154         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22155         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22156         <kernel-features.h>.
22157         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22158         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22159         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22160         <kernel-features.h>.
22161         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22162         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22163         * sysdeps/unix/sysv/linux/openat.c: Do not include
22164         <kernel-features.h>.
22165         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22166         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22167         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22168         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22169         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22170         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22171         <kernel-features.h>.
22172         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22173         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22174         result of INLINE_SYSCALL directly, not via int variable.
22175         * sysdeps/unix/sysv/linux/renameat.c: Do not include
22176         <kernel-features.h>.
22177         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
22178         (renameat) [__NR_renameat]: Make code unconditional.
22179         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
22180         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
22181         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
22182         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
22183         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
22184         (__ASSUME_ATFCTS): Do not undefine and redefine.
22185         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
22186         <kernel-features.h>.
22187         (symlinkat) [__NR_symlinkat]: Make code unconditional.
22188         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22189         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
22190         <kernel-features.h>.
22191         (unlinkat) [__NR_unlinkat]: Make code unconditional.
22192         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22193         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
22194         (__ASSUME_ATFCTS): Do not undefine and redefine.
22195         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22196         <kernel-features.h>.
22197         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22198         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22199         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22200         <kernel-features.h>.
22201         (__xmknodat) [__NR_mknodat]: Make code unconditional.
22202         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22204 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22206         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
22208 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
22210         [BZ #17069]
22211         * posix/regcomp.c (parse_reg_exp): Deallocate partially
22212         constructed tree before returning error.
22213         * posix/bug-regexp36.c: Expand test case.
22215 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22217         [BZ #6803]
22218         * math/libm-test.inc (scalbln_test_date):
22219         Add errno expectations.
22220         * math/w_scalblnf.c: New File.
22221         Add wrapper which checks for setting errno to ERANGE.
22222         Add weak_alias for corresponding scalbln function.
22223         * math/w_scalbln.c: Likewise.
22224         * math/w_scalblnl.c: Likewise.
22225         * math/Makefile (libm-calls): Add w_scalbln.
22226         * sysdeps/ieee754/flt-32/s_scalblnf.c:
22227         Remove weak_alias for corresponding scalbln function.
22228         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22229         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22230         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22231         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22232         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
22233         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22234         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
22235         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22236         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
22237         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
22238         Remove long_double_symbol for scalblnl function in libm, libc.
22239         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
22240         Add wrapper which checks for setting errno to ERANGE.
22241         Add long_double_symbol for scalblnl function in libm, libc.
22242         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
22243         Remove long_double_symbol for scalblnl in libm.
22244         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
22245         Add wrapper which checks for setting errno to ERANGE.
22246         Add long_double_symbol for scalblnl function in libm.
22247         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
22248         Do not use wrapper because of own implementation.
22250 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
22252         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
22253         3 bytes for __pad1 for x32.
22254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
22256 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
22257             H.J. Lu  <hongjiu.lu@intel.com>
22259         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
22260         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
22261         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22262         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22263         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22265 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
22267         [BZ #17069]
22268         * posix/regcomp.c (parse_expression): Deallocate partially
22269         constructed tree before returning error.
22270         * posix/Makefile.c (tests): Add bug-regex36.
22271         (generated): Add bug-regex36.mtrace.
22272         (tests-special): Add $(objpfx)bug-regex36-mem.out
22273         (bug-regex36-ENV): New variable.
22274         ($(objpfx)bug-regex36-mem.out): New rule.
22275         * posix/bug-regex36.c: New file.
22277 2014-06-19  Will Newton  <will.newton@linaro.org>
22279         * malloc/malloc.c (systrim): If extra is zero then return
22280         early.
22282 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22284         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
22286 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
22288         * sysdeps/aarch64/strchr.S: New file.
22290 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22292         [BZ #17022]
22293         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
22294         from arguments -2 or below.
22295         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22296         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
22298 2014-06-18  Andreas Schwab  <schwab@suse.de>
22300         [BZ #17062]
22301         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
22302         of a bracket expr not to run off the end of the string.
22303         * posix/Makefile (tests): Add tst-fnmatch3.
22304         * posix/tst-fnmatch3.c: New file.
22306 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
22308         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
22309         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22310         [$(cross-compiling) = no]: Likewise.
22311         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22312         [$(cross-compiling) = no]: Likewise.
22314 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22316         [BZ #17031]
22317         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
22318         double, adjusted for any remainder from the high double.
22319         * math/libm-test.inc (nearbyint): Add tests.
22320         (rint): Likewise.
22322 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22324         * nptl/sysdeps/powerpc/Makefile: Moved ...
22325         * sysdeps/powerpc/nptl/Makefile: ... here.
22326         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
22327         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
22328         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
22329         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
22330         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
22331         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
22332         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
22333         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
22334         * nptl/sysdeps/powerpc/tls.h: Moved ...
22335         * sysdeps/powerpc/nptl/tls.h: ... here.
22337 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
22339         [BZ #16681]
22340         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
22341         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
22342         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
22343         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
22344         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
22345         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
22346         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
22347         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
22348         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
22350 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
22352         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22354 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
22356         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
22357         defined operator.
22359         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
22360         $TIMEOUTFACTOR.
22362 2014-06-16  Florian Weimer  <fweimer@redhat.com>
22364         [BZ #17058]
22365         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
22366         non-executed part of the test.
22368 2014-06-16  Andreas Schwab  <schwab@suse.de>
22370         * string/bits/string2.h (strdup, strndup): Update feature guard.
22372 2014-06-14  David S. Miller  <davem@davemloft.net>
22374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22376 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
22378         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
22379         that was previously under [RESET_PID].
22380         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
22382         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22383         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
22384         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
22385         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22386         (__libc_vfork): New strong alias.
22387         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22389 2014-06-14 Andi Kleen  <ak@linux.intel.com>
22391         * sysdeps/generic/elide.h: New file.
22393 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22395         * Makefile (installed-headers): Adjust path of pthread.h header.
22397 2014-06-13  Roland McGrath  <roland@hack.frob.com>
22399         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
22400         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
22401         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
22402         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
22404         * nptl/sysdeps/s390/Makefile: Moved ...
22405         * sysdeps/s390/nptl/Makefile: ... here.
22406         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
22407         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
22408         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
22409         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22410         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
22411         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
22412         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
22413         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22414         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
22415         * sysdeps/s390/nptl/pthreaddef.h: ... here.
22416         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
22417         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22418         * nptl/sysdeps/s390/tls.h: Moved ...
22419         * sysdeps/s390/nptl/tls.h: ... here.
22421         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
22422         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
22424 2014-06-13  David S. Miller  <davem@davemloft.net>
22426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
22427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
22428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
22429         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
22430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
22431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
22432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
22433         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
22434         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
22435         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
22436         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
22437         Remove RESET_PID cpp guards.
22438         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
22439         Remove RESET_PID cpp guards.
22440         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
22442 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
22444         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
22445         __sp to uintptr_t.
22447 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22449         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
22450         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
22451         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
22452         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
22453         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
22454         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
22455         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
22456         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
22457         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
22458         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
22459         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
22460         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
22461         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
22462         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
22463         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
22464         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
22465         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
22466         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
22467         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
22468         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
22470         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
22471         (pthread_rwlock_rdlock): Add elision.
22472         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
22473         (pthread_rwlock_wrlock): Add elision.
22474         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
22475         (pthread_rwlock_trywrlock): Add elision.
22476         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
22477         (pthread_rwlock_tryrdlock): Add elision.
22478         * nptl/pthread_rwlock_unlock.c: Include elide.h.
22479         (pthread_rwlock_tryrdlock): Add elision unlock.
22480         * nptl/sysdeps/pthread/pthread.h:
22481         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
22482         (PTHREAD_RWLOCK_INITIALIZER,
22483         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
22484         Handle new elision field.
22485         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
22486         * sysdeps/arm/nptl/bits/pthreadtypes.h
22487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22488         * sysdeps/sh/nptl/bits/pthreadtypes.h
22489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22490         * sysdeps/tile/nptl/bits/pthreadtypes.h
22491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22492         * sysdeps/a/nptl/bits/pthreadtypes.h
22493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22494         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22496         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22497         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22498         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
22499         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22500         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22501         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22502         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22503         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22504         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22505         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22506         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22507         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22508         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
22509         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22510         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
22511         (elision_init): Set try_xbegin to zero when no RTM.
22512         * sysdeps/x86/nptl/bits/pthreadtypes.h
22513         (pthread_rwlock_t): Change __pad1 to __rwelision.
22514         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
22516 2014-06-13  Andi Kleen  <ak@linux.intel.com>
22518         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
22519         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
22520         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
22521         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
22523 2014-06-13  Meador Inge  <meadori@codesourcery.com>
22525         [BZ #16996]
22526         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
22527         that the cached result has been set before returning it.
22529 2014-06-12  Roland McGrath  <roland@hack.frob.com>
22531         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
22532         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
22533         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
22534         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
22535         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
22536         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
22538         * nptl/sysdeps/sparc/Makefile: Moved ...
22539         * sysdeps/sparc/nptl/Makefile: ... here.
22540         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
22541         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
22542         * nptl/sysdeps/sparc/tls.h: Moved ...
22543         * sysdeps/sparc/nptl/tls.h: ... here.
22544         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
22545         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
22546         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
22547         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
22548         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
22549         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
22550         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
22551         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
22552         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
22553         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
22554         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
22555         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
22556         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
22557         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
22558         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
22559         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
22560         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
22561         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
22562         Update #include.
22563         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
22564         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
22565         Update #include.
22566         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
22567         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
22568         Update #include.
22569         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
22570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
22571         Update #include.
22573         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22575         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
22576         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
22578         * sysdeps/pthread/posix-timer.h: Include <list.h>.
22579         (struct list_links): Type removed.
22580         (struct thread_node, struct timer_node): Replace struct list_links
22581         with struct list_head.
22582         (list_unlink_ip): Likewise.
22583         * sysdeps/pthread/timer_routines.c
22584         (timer_free_list, thread_free_list, thread_active_list): Likewise.
22585         (list_append, list_insbefore): Likewise.
22586         (list_init): Function removed.
22587         (thread_init, init_module): Use INIT_LIST_HEAD instead.
22588         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
22589         * sysdeps/pthread/Makefile: ... here, new file.
22591         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
22592         * sysdeps/nptl/Implies: ... here.
22593         * sysdeps/unix/sysv/linux/Implies: Add nptl.
22594         * nptl/sysdeps/pthread/list.h: Moved ...
22595         * include/list.h: ... here.
22596         * nptl/sysdeps/pthread/createthread.c: Moved ...
22597         * nptl/createthread.c: ... here.
22598         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
22599         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
22600         * nptl/pt-longjmp.c: ... here.
22601         * nptl/sysdeps/pthread/Makefile: Moved ...
22602         * sysdeps/nptl/Makefile: ... here.
22603         * nptl/sysdeps/pthread/Subdirs: Moved ...
22604         * sysdeps/nptl/Subdirs: ... here.
22605         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
22606         * sysdeps/nptl/aio_misc.h: ... here.
22607         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
22608         * sysdeps/nptl/bits/libc-lock.h: ... here.
22609         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
22610         * sysdeps/nptl/bits/libc-lockP.h: ... here.
22611         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
22612         * sysdeps/nptl/bits/stdio-lock.h: ... here.
22613         * nptl/sysdeps/pthread/configure: Moved ...
22614         * sysdeps/nptl/configure: ... here.
22615         * nptl/sysdeps/pthread/configure.ac: Moved ...
22616         * sysdeps/nptl/configure.ac: ... here.
22617         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
22618         * sysdeps/nptl/gai_misc.h: ... here.
22619         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
22620         * sysdeps/nptl/librt-cancellation.c: ... here.
22621         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
22622         * sysdeps/nptl/malloc-machine.h: ... here.
22623         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
22624         * sysdeps/nptl/pthread-functions.h: ... here.
22625         * nptl/sysdeps/pthread/pthread.h: Moved ...
22626         * sysdeps/nptl/pthread.h: ... here.
22627         * nptl/sysdeps/pthread/setxid.h: Moved ...
22628         * sysdeps/nptl/setxid.h: ... here.
22629         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
22630         * sysdeps/nptl/sigfillset.c: ... here.
22631         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
22632         * sysdeps/nptl/tcb-offsets.h: ... here.
22633         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
22634         * sysdeps/nptl/tst-mqueue8x.c: ... here.
22635         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
22636         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
22637         * nptl/sysdeps/pthread/allocalim.h: Moved ...
22638         * sysdeps/pthread/allocalim.h: ... here.
22639         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
22640         * sysdeps/pthread/bits/sigthread.h: ... here.
22641         * nptl/sysdeps/pthread/flockfile.c: Moved ...
22642         * sysdeps/pthread/flockfile.c: ... here.
22643         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
22644         * sysdeps/pthread/ftrylockfile.c: ... here.
22645         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
22646         * sysdeps/pthread/funlockfile.c: ... here.
22647         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
22648         * sysdeps/pthread/posix-timer.h: ... here.
22649         * nptl/sysdeps/pthread/timer_create.c: Moved ...
22650         * sysdeps/pthread/timer_create.c: ... here.
22651         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
22652         * sysdeps/pthread/timer_delete.c: ... here.
22653         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
22654         * sysdeps/pthread/timer_getoverr.c: ... here.
22655         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
22656         * sysdeps/pthread/timer_gettime.c: ... here.
22657         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
22658         * sysdeps/pthread/timer_routines.c: ... here.
22659         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
22660         * sysdeps/pthread/timer_settime.c: ... here.
22661         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
22662         * sysdeps/pthread/tst-timer.c: ... here.
22663         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
22664         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
22666         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
22667         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
22669         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
22670         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
22671         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
22672         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
22673         Update #include target.
22674         * nptl/sysdeps/i386/i686/Makefile: Moved ...
22675         * sysdeps/i386/i686/nptl/Makefile: ... here.
22676         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
22677         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
22678         Update #include target.
22679         * nptl/sysdeps/i386/i686/tls.h: Moved ...
22680         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
22681         * nptl/sysdeps/i386/Makefile: Moved ...
22682         * sysdeps/i386/nptl/Makefile: ... here.
22683         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
22684         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
22685         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
22686         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
22687         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
22688         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
22689         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
22690         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
22691         * sysdeps/i386/nptl/pthreaddef.h: ... here.
22692         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
22693         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
22694         * nptl/sysdeps/i386/tls.h: Moved ...
22695         * sysdeps/i386/nptl/tls.h: ... here.
22697         * sysdeps/sh/Makefile [$(subdir) = csu]
22698         (gen-as-const-headers): Add tcb-offsets.sym.
22699         * nptl/sysdeps/sh/Makefile: File removed.
22700         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
22701         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
22702         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
22703         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
22704         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
22705         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
22706         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
22707         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
22708         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
22709         * sysdeps/sh/nptl/pthreaddef.h: ... here.
22710         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
22711         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
22712         * nptl/sysdeps/sh/tls.h: Moved ...
22713         * sysdeps/sh/nptl/tls.h: ... here.
22714         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
22715         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
22716         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
22717         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
22718         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
22719         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
22720         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
22721         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
22722         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
22723         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
22724         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
22725         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
22726         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
22727         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
22728         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
22729         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
22730         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
22731         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
22732         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
22733         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
22734         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
22735         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
22736         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
22737         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
22738         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
22739         Moved ...
22740         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
22741         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
22742         Moved ...
22743         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
22744         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
22745         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
22746         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
22747         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
22748         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
22749         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
22750         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
22751         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
22752         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
22753         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
22754         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
22755         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
22756         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
22757         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
22758         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
22759         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
22760         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
22761         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
22763 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22765         * posix/spawn_faction_addopen.c: Include string.h.
22767 2014-06-11  Roland McGrath  <roland@hack.frob.com>
22769         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
22770         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
22771         * nptl/sysdeps/x86_64/Makefile: Moved ...
22772         * sysdeps/x86_64/nptl/Makefile: ... here.
22773         * nptl/sysdeps/x86_64/configure: Moved ...
22774         * sysdeps/x86_64/nptl/configure: ... here.
22775         * nptl/sysdeps/x86_64/configure.ac: Moved ...
22776         * sysdeps/x86_64/nptl/configure.ac: ... here.
22777         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
22778         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
22779         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
22780         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
22781         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
22782         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
22783         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
22784         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
22785         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
22786         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
22787         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
22788         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
22789         * nptl/sysdeps/x86_64/tls.h: Moved ...
22790         * sysdeps/x86_64/nptl/tls.h: ... here.
22791         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
22792         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
22793         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
22794         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
22796         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
22798 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22802 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
22804         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
22805         type.
22806         [POSIX] (off_t): Likewise.
22807         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
22808         [POSIX] (S_ISBLK): Require macro.
22809         [POSIX] (S_ISCHR): Likewise.
22810         [POSIX] (S_ISDIR): Likewise.
22811         [POSIX] (S_ISFIFO): Likewise.
22812         [POSIX] (S_ISREG): Likewise.
22813         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
22814         optional-macro.
22815         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
22816         type.
22817         [POSIX] (time_t): Likewise.
22818         [POSIX] (timer_t): Likewise.
22820 2014-06-11  Florian Weimer  <fweimer@redhat.com>
22822         [BZ #17048]
22823         * posix/spawn_int.h (struct __spawn_action): Make the path string
22824         non-const to support deallocation.
22825         * posix/spawn_faction_addopen.c
22826         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
22827         * posix/spawn_faction_destroy.c
22828         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
22829         path in all spawn_do_open actions.
22830         * posix/tst-spawn.c (do_test): Exercise the copy operation in
22831         posix_spawn_file_actions_addopen.
22833 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
22835         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
22836         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
22837         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
22838         conditional code always true.
22839         (__libc_vfork): New alias.
22841 2014-06-11  Roland McGrath  <roland@hack.frob.com>
22843         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22844         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
22846         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
22848         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22849         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
22851         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
22852         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
22854         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22855         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
22857 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22859         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
22860         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
22861         multiarch strcmp for PPC64.
22862         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
22863         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
22864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
22865         multiarch optimizations.
22866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22867         (__libc_ifunc_impl_list): Likewise.
22869 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22871         * benchtests/scripts/validate_benchout.py: New script.
22872         * benchtests/Makefile (bench-func): Call it.
22873         * benchtests/scripts/benchout.schema.json: New file.
22875 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
22877         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
22878         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
22879         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
22880         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
22881         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
22882         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
22883         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
22884         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
22885         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
22886         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
22887         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
22888         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
22889         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
22890         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
22891         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
22892         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
22893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
22894         Moved ...
22895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
22896         ... here.
22897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
22898         Moved ...
22899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
22900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
22901         Moved ...
22902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
22903         ... here.
22904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
22905         Moved ...
22906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
22907         ... here.
22908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
22909         Moved ...
22910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
22911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
22912         Moved ...
22913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
22914         ... here.
22915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
22916         Moved ...
22917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
22918         ... here.
22919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
22920         Moved ...
22921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
22922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
22923         Moved ...
22924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
22925         ... here.
22926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
22927         Moved ...
22928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
22929         ... here.
22930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
22931         Moved ...
22932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
22933         ... here.
22934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
22935         Moved ...
22936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
22937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
22938         Moved ...
22939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
22940         ... here.
22941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
22942         Moved ...
22943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
22944         ... here.
22945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
22946         Moved ...
22947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
22948         ... here.
22949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
22950         Moved ...
22951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
22952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
22953         Moved ...
22954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
22955         ... here.
22956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
22957         Moved ...
22958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
22959         ... here.
22960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
22961         Moved ...
22962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
22963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
22964         Moved ...
22965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
22966         ... here.
22967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
22968         Moved ...
22969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
22970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
22971         Moved ...
22972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
22973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
22974         Moved ...
22975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
22976         ... here.
22977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
22978         Moved ...
22979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
22980         ... here.
22981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
22982         Moved ...
22983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
22984         ... here.
22985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
22986         Moved ...
22987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
22988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
22989         Moved ...
22990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
22991         ... here.
22992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
22993         Moved ...
22994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
22995         ... here.
22996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
22997         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
22998         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
22999         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23000         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23001         Moved ...
23002         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23003         ... here.
23004         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23005         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23006         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23007         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23008         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23009         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23011         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23012         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23013         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23014         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23015         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23016         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23017         Moved ...
23018         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23019         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23020         Moved ...
23021         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23022         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23023         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23024         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23025         Moved ...
23026         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23027         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23028         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23029         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23030         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23031         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23032         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23034 2014-06-10  Wilco  <wdijkstr@arm.com>
23036         * math/test-fenv-return.c: New file.
23037         * math/Makefile: Add new test test-fenv-return.
23039 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23041         [BZ #17042]
23042         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23043         when x - 1 is zero.
23044         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23045         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23046         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23047         0.0L for an argument of 1.0L.
23048         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23049         Likewise.
23050         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23051         value when x - 1 is zero.
23052         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23053         * sysdeps/i386/fpu/libm-test-ulps: Update.
23054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23056 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23058         [BZ #15119]
23059         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23061 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23063         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23064         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23066 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23068         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23069         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23071         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23072         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23074         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23075         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23077         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23078         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23080         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23081         if not already defined.
23082         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23083         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23084         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23085         (TLS_INIT_TP): Use it.
23086         (TLS_DEFINE_INIT_TP): New macro.
23087         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23089 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23091         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23092         constant.
23093         [POSIX] (IXANY): Likewise.
23094         [POSIX] (OLCUC): Likewise.
23095         [POSIX || POSIX2008] (CBAUD): Do not allow.
23096         [POSIX || POSIX2008] (DEFECHO): Likewise.
23097         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23098         [POSIX || POSIX2008] (ECHOKE): Likewise.
23099         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23100         [POSIX || POSIX2008] (EXTA): Likewise.
23101         [POSIX || POSIX2008] (EXTB): Likewise.
23102         [POSIX || POSIX2008] (FLUSHO): Likewise.
23103         [POSIX || POSIX2008] (LOBLK): Likewise.
23104         [POSIX || POSIX2008] (PENDIN): Likewise.
23105         [POSIX || POSIX2008] (SWTCH): Likewise.
23106         [POSIX || POSIX2008] (VDISCARD): Likewise.
23107         [POSIX || POSIX2008] (VDSUSP): Likewise.
23108         [POSIX || POSIX2008] (VLNEXT): Likewise.
23109         [POSIX || POSIX2008] (VREPRINT): Likewise.
23110         [POSIX || POSIX2008] (VSTATUS): Likewise.
23111         [POSIX || POSIX2008] (VWERASE): Likewise.
23112         (B*): Change to B[0123456789]*.
23113         * conform/data/time.h-data [POSIX || UNIX98]
23114         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23115         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23116         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23117         [POSIX] (tm_*): Do not allow.
23119 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23121         * Makefile (install): Don't set LANGUAGE.
23122         * Makefile.in (install): Likewise.
23123         * assert/Makefile (test-assert-ENV): Remove variable.
23124         (test-assert-perr-ENV): Likewise.
23125         * elf/Makefile (neededtest4-ENV): Likewise.
23126         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23127         [$(cross-compiling) = no]: Don't set LANGUAGE.
23128         * io/ftwtest-sh (LANG): Remove variable.
23129         * libio/Makefile (tst-widetext-ENV): Likewise.
23130         * manual/install.texi (Running make install): Don't refer to
23131         environment settings for make install.
23132         * INSTALL: Regenerated.
23133         * nptl/tst-tls6.sh: Don't set LANG.
23134         * posix/globtest.sh (LANG): Remove variable.
23135         * string/Makefile (tester-ENV): Likewise.
23136         (inl-tester-ENV): Likewise.
23137         (noinl-tester-ENV): Likewise.
23138         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23139         [$(cross-compiling) = no]: Don't set LANGUAGE.
23140         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23141         without explicit environment settings.
23143 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23145         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23146         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23147         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23148         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23150 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23152         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23153         other files in the crypt directory.
23154         * crypt/crypt.c: Remove duplicate includes.
23155         * crypt/crypt-entry.c: Likewise.
23156         * crypt/crypt_util.c: Likewise.
23158 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23160         * Makeconfig (run-program-env): New variable.
23161         (run-program-prefix-before-env): Likewise.
23162         (run-program-prefix-after-env): Likewise.
23163         (run-program-prefix): Define in terms of new variables.
23164         (built-program-cmd-before-env): New variable.
23165         (built-program-cmd-after-env): Likewise.
23166         (built-program-cmd): Define in terms of new variables.
23167         (test-program-prefix-before-env): New variable.
23168         (test-program-prefix-after-env): Likewise.
23169         (test-program-prefix): Define in terms of new variables.
23170         (test-program-cmd-before-env): New variable.
23171         (test-program-cmd-after-env): Likewise.
23172         (test-program-cmd): Define in terms of new variables.
23173         * Rules (make-test-out): Use $(run-program-env).
23174         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23175         (help): Do not mention environment variables.  Mention
23176         --timeoutfactor option.
23177         (timeoutfactor): New variable.
23178         (blacklist_exports): Remove function.
23179         (exports): Remove variable.
23180         (command): Do not include ${exports}.
23181         * manual/install.texi (Configuring and compiling): Do not mention
23182         test wrappers preserving environment variables.  Mention that last
23183         assignment to a variable must take precedence.
23184         * INSTALL: Regenerated.
23185         * benchtests/Makefile (run-bench): Use $(run-program-env).
23186         * catgets/Makefile ($(objpfx)test1.cat): Use
23187         $(built-program-cmd-before-env), $(run-program-env) and
23188         $(built-program-cmd-after-env).
23189         ($(objpfx)test2.cat): Do not specify environment variables
23190         explicitly.
23191         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
23192         $(run-program-env) and $(built-program-cmd-after-env).
23193         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
23194         $(run-program-env) and $(test-program-cmd-after-env).
23195         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
23196         explicitly.
23197         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
23198         run_program_env and test_program_cmd_after_env arguments.
23199         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
23200         * elf/tst-pathopt.sh: Use run_program_env argument.
23201         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
23202         $(test-wrapper-env) and $(run-program-env).
23203         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
23204         run_program_env arguments.
23205         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
23206         * intl/Makefile ($(objpfx)tst-gettext.out): Use
23207         $(test-program-prefix-before-env), $(run-program-env) and
23208         $(test-program-prefix-after-env).
23209         ($(objpfx)tst-gettext2.out): Likewise.
23210         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
23211         run_program_env and test_program_prefix_after_env arguments.
23212         * intl/tst-gettext2.sh: Likewise.
23213         * intl/tst-gettext4.sh: Do not set environment variables
23214         explicitly.
23215         * intl/tst-gettext6.sh: Likewise.
23216         * intl/tst-translit.sh: Likewise.
23217         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
23218         $(test-program-prefix-before-env), $(run-program-env) and
23219         $(test-program-prefix-after-env).
23220         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
23221         run_program_env and test_program_prefix_after_env arguments.
23222         * math/Makefile (run-regen-ulps): Use $(run-program-env).
23223         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
23224         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
23225         explicitly with each use of ${test_wrapper_env}.
23226         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
23227         $(test-program-prefix-before-env), $(run-program-env) and
23228         $(test-program-prefix-after-env).
23229         * posix/tst-getconf.sh: Do not set environment variables
23230         explicitly.
23231         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
23232         run_program_env and test_program_prefix_after_env arguments.
23233         * stdio-common/tst-printf.sh: Do not set environment variables
23234         explicitly.
23235         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
23236         $(test-program-prefix-before-env), $(run-program-env) and
23237         $(test-program-prefix-after-env).
23238         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
23239         run_program_env and test_program_prefix_after_env arguments.
23240         Split $test calls into $test_pre and $test.
23241         * timezone/Makefile (build-testdata): Use
23242         $(built-program-cmd-before-env), $(run-program-env) and
23243         $(built-program-cmd-after-env).
23245 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23247         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
23248         strlen for non SHARED builds.
23250 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23252         * nptl/allocatestack.c (check_list): Inlined function...
23253         (__reclaim_stacks): ... here.
23255 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23257         [BZ #15698]
23258         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23259         memory overrun.
23261 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
23263         * Rules (make-test-out): Include
23264         LOCPATH=$(common-objpfx)localedata in default environment.
23265         * debug/Makefile (tst-chk1-ENV): Remove variable.
23266         (tst-chk2-ENV): Likewise.
23267         (tst-chk3-ENV): Likewise.
23268         (tst-chk4-ENV): Likewise.
23269         (tst-chk5-ENV): Likewise.
23270         (tst-chk6-ENV): Likewise.
23271         (tst-lfschk1-ENV): Likewise.
23272         (tst-lfschk2-ENV): Likewise.
23273         (tst-lfschk3-ENV): Likewise.
23274         (tst-lfschk4-ENV): Likewise.
23275         (tst-lfschk5-ENV): Likewise.
23276         (tst-lfschk6-ENV): Likewise.
23277         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
23278         (tst-iconv7-ENV): Likewise.
23279         * intl/Makefile (LOCPATH-ENV): Likewise.
23280         (tst-codeset-ENV): Likewise.
23281         (tst-gettext3-ENV): Likewise.
23282         (tst-gettext5-ENV): Likewise.
23283         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
23284         (tst-fopenloc-ENV): Likewise.
23285         (tst-fgetws-ENV): Remove variable.
23286         (tst-ungetwc1-ENV): Likewise.
23287         (tst-ungetwc2-ENV): Likewise.
23288         (bug-ungetwc2-ENV): Likewise.
23289         (tst-swscanf-ENV): Likewise.
23290         (bug-ftell-ENV): Likewise.
23291         (tst-fgetwc-ENV): Likewise.
23292         (tst-fseek-ENV): Likewise.
23293         (tst-ftell-partial-wide-ENV): Likewise.
23294         (tst-ftell-active-handler-ENV): Likewise.
23295         (tst-ftell-append-ENV): Likewise.
23296         * posix/Makefile (tst-fnmatch-ENV): Likewise.
23297         (tst-regexloc-ENV): Likewise.
23298         (bug-regex1-ENV): Likewise.
23299         (tst-regex-ENV): Likewise.
23300         (tst-regex2-ENV): Likewise.
23301         (bug-regex5-ENV): Likewise.
23302         (bug-regex6-ENV): Likewise.
23303         (bug-regex17-ENV): Likewise.
23304         (bug-regex18-ENV): Likewise.
23305         (bug-regex19-ENV): Likewise.
23306         (bug-regex20-ENV): Likewise.
23307         (bug-regex22-ENV): Likewise.
23308         (bug-regex23-ENV): Likewise.
23309         (bug-regex25-ENV): Likewise.
23310         (bug-regex26-ENV): Likewise.
23311         (bug-regex30-ENV): Likewise.
23312         (bug-regex32-ENV): Likewise.
23313         (bug-regex33-ENV): Likewise.
23314         (bug-regex34-ENV): Likewise.
23315         (bug-regex35-ENV): Likewise.
23316         (tst-rxspencer-ENV): Likewise.
23317         (tst-rxspencer-no-utf8-ENV): Likewise.
23318         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
23319         (tst-sscanf-ENV): Likewise.
23320         (tst-swprintf-ENV): Likewise.
23321         (tst-swscanf-ENV): Likewise.
23322         (test-vfprintf-ENV): Likewise.
23323         (scanf13-ENV): Likewise.
23324         (bug14-ENV): Likewise.
23325         (tst-grouping-ENV): Likewise.
23326         * stdlib/Makefile (tst-strtod-ENV): Likewise.
23327         (tst-strtod3-ENV): Likewise.
23328         (tst-strtod4-ENV): Likewise.
23329         (tst-strtod5-ENV): Likewise.
23330         (testmb2-ENV): Likewise./
23331         * string/Makefile (tst-strxfrm-ENV): Likewise.
23332         (tst-strxfrm2-ENV): Likewise.
23333         (bug-strcoll1-ENV): Likewise.
23334         (test-strcasecmp-ENV): Likewise.
23335         (test-strncasecmp-ENV): Likewise.
23336         * time/Makefile (tst-strptime-ENV): Likewise.
23337         (tst-ftime_l-ENV): Likewise.
23338         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
23339         (tst-mbrtowc-ENV): Likewise.
23340         (tst-wcrtomb-ENV): Likewise.
23341         (tst-mbrtowc2-ENV): Likewise.
23342         (tst-c16c32-1-ENV): Likewise.
23343         (tst-mbsnrtowcs-ENV): Likewise.
23345 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
23347         * manual/resource.texi (How to get information about the memory
23348         subsystem?): Fix typo.
23349         Reported by Peon de la Parra Ivan <peon@keba.com>
23351 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
23353         [BZ #16882]
23354         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
23355         (pthread_spin_lock): Branch out of spin loop to proper location.
23356         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
23357         (pthread_spin_lock): Likewise.
23359         * nptl/tst-spin4.c: New test.
23360         * nptl/Makefile (tests): Add tst-spin4.
23362 2014-06-03  Andreas Schwab  <schwab@suse.de>
23364         [BZ #15946]
23365         * resolv/res_send.c (send_dg): Reload file descriptor after
23366         calling reopen.
23368 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
23370         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23372 2014-06-03  Richard Henderson  <rth@redhat.com>
23374         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
23375         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
23376         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
23377         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
23378         in the SAVE_PID block.
23379         (__libc_vfork): New alias.
23380         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
23382         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
23383         child in registers, not on the stack.  Remove RESET_PID conditionals.
23384         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
23386 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23388         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23390 2014-06-03  Wilco  <wdijkstr@arm.com>
23392         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
23393         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
23394         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23395         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
23396         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
23397         Likewise.
23399 2014-06-03  Wilco  <wdijkstr@arm.com>
23401         * sysdeps/aarch64/fpu/math_private.h
23402         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
23403         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
23404         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
23405         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
23406         Fix declarations.
23408 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23410         * crypt/crypt-private.h: Include ufc-crypt.h.
23411         (__b64_from_24bit): Declare extern.
23412         * crypt/crypt_util.c(__b64_from_24bit): New function.
23413         (b64t): New static const variable.
23414         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
23415         (b64t): Remove variable.
23416         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
23417         * crypt/sha256-crypt.c: Include crypt-private.h.
23418         (b64t): Remove variable.
23419         (__sha256_crypt_r): Remove b64_from_24bit and replace
23420         with __b64_from_24bit.
23421         * crypt/sha512-crypt.c: Likewise.
23423 2014-06-02  Roland McGrath  <roland@hack.frob.com>
23425         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
23426         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
23427         Label the code __libc_vfork rather than __vfork.
23428         [!NOT_IN_libc] (vfork): Define as weak alias.
23429         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
23430         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
23431         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
23433 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23435         * malloc/malloc.c (malloc_info): Fix format specifier for
23436         n_mmaps.
23438 2014-06-02  Wilco  <wdijkstr@arm.com>
23440         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
23441         FPCR write.
23443 2014-06-02  Wilco  <wdijkstr@arm.com>
23445         [BZ #17009]
23446         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
23447         Rewrite to reduce FPCR/FPSR accesses.
23449 2014-06-01  David S. Miller  <davem@davemloft.net>
23451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23453 2014-05-31  David S. Miller  <davem@davemloft.net>
23455         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
23456         to occur in round to nearest mode when |x| >= 2.0
23458 2014-05-30  Richard Henderson  <rth@twiddle.net>
23460         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
23461         (PSEUDO_RET_NOERRNO): Remove.
23462         (ret): Don't redefine.
23463         (ret_NOERRNO): Define in terms of ret.
23464         (ret_ERRVAL): Likewise.
23466         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
23467         use of PSEUDO_RET; perform the error check directly.
23469 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
23471         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
23472         with __int128_t.
23474 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23476         * malloc/malloc (malloc_info): Fix formatting.
23478 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23479             Roland McGrath  <roland@hack.frob.com>
23481         * malloc/malloc (malloc_info): Also print mmapped statistics.
23483 2014-05-30  Roland McGrath  <roland@hack.frob.com>
23485         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
23486         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
23488 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
23490         * malloc/malloc.c (malloc_info): Inline mi_arena.
23492 2014-05-29  Richard Henderson  <rth@twiddle.net>
23494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
23495         Remove comma before expanding ASM_ARGS_##nr.
23496         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
23497         Make _x0 a strict output; make _x8 a strict input; adjust expansion
23498         of ASM_ARGS_##nr.
23499         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
23500         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
23501         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
23502         (ASM_ARGS_1): Add leading comma.
23504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
23505         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
23506         to __errno_location.
23507         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
23508         Remove the expected plt for __errno_location.
23510         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23511         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
23512         call to __read_tp.
23514         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23515         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
23516         it and break it down.
23517         (DOCARGS_0, DOCARGS_1): Do nothing.
23518         (DOCARGS_2): Update to store into the new stack frame.
23519         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
23520         (UNDOCARGS_1): Update to restore from the new stack frame.
23521         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
23522         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
23524         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23525         (SINGLE_THREAD_P): New parameter for result regno.
23526         (PSEUDO): Update to match; use cbz instead of beq.
23528         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23529         Use ENTRY to define the _nocancel entry point.  Share the syscall
23530         and syscall error check paths with the cancel path.
23531         (PSEUDO_END): New.
23533         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
23534         whitespace; tabs before and after asm mnemonics.
23536 2014-05-29  Eric Wong  <normalperson@yhbt.net>
23538         [BZ #15132]
23539         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23540         Call fstat64 or stat64 internally, depending on arguments passed.
23541         Replace stat buffer argument with file descriptor argument.
23542         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
23543         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23544         Pass fd to __internal_statvfs instead of calling fstat64.
23545         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
23546         Pass fd to __internal_statvfs64 instead of calling fstat64.
23547         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
23548         Pass -1 to __internal_statvfs instead of calling stat64.
23549         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
23550         Pass -1 to __internal_statvfs64 instead of calling stat64.
23552 2014-05-28  Roland McGrath  <roland@hack.frob.com>
23554         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
23555         that was previously under [RESET_PID].
23556         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
23558         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
23559         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
23561 2014-05-27  Roland McGrath  <roland@hack.frob.com>
23563         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
23565         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
23566         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
23568 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
23570         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
23572 2014-05-27  Andreas Schwab  <schwab@suse.de>
23574         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
23575         TLS_INIT_TP macro.
23576         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
23577         * elf/rtld.c (init_tls, dl_main): Likewise.
23578         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
23579         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
23580         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
23581         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
23582         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
23583         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
23584         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
23585         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
23586         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
23587         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
23588         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
23589         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
23590         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
23591         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
23592         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
23593         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
23594         * sysdeps/generic/tls.h: Update description.
23596 2014-05-27  Will Newton  <will.newton@linaro.org>
23598         [BZ #16990]
23599         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
23600         and restore r2 rather than just restoring.
23602 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23604         [BZ #16724]
23605         * libio/tst-ftell-append.c: New test case.
23606         * libio/Makefile (tests): Add test case.
23607         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
23608         append mode.
23609         * libio/wfileops.c (do_ftell_wide): Likewise.
23611 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23615         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
23616         ...
23617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
23618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23619         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
23620         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
23621         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
23622         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
23623         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
23624         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
23625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23626         Moved ...
23627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
23628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23629         Moved ...
23630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
23631         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
23632         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
23633         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
23634         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
23635         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
23636         ...
23637         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
23638         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
23639         Moved ...
23640         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
23641         here.
23642         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
23643         ...
23644         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
23645         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
23646         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
23648         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
23649         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
23650         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
23651         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
23653         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
23654         merge into ...
23655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
23656         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
23657         ...
23658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
23659         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
23660         ...
23661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
23662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
23663         Moved ...
23664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
23665         here.
23666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23667         Moved ...
23668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
23669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
23670         Moved ...
23671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
23673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
23674         conditional [RESET_PID].
23675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
23676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
23677         removed.
23678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
23679         removed.
23681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
23682         <tcb-offsets.h>.
23683         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23684         (__libc_vfork): New strong alias.
23685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
23686         removed.
23687         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
23688         Removed.
23690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
23691         <tcb-offsets.h>.
23692         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
23693         (__libc_vfork): New strong alias.
23694         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
23695         removed.
23696         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
23697         removed.
23699 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
23701         * malloc/malloc.c (mi_arena): New function.
23702         (malloc_info): Remove nested function mi_arena. Call non-nosted
23703         function mi_arena.
23705 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23707         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
23708         by insrwi.
23709         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
23710         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
23711         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
23712         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
23713         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
23714         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
23715         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
23717 2014-05-26  Andreas Schwab  <schwab@suse.de>
23719         [BZ #16984]
23720         * locale/programs/repertoire.c (repertoire_read): Add slash
23721         between I18NPATH element and file name.
23722         * locale/programs/locfile.c (locfile_read): Likewise.
23724 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23726         * nptl/pthread_mutexattr_settype.c
23727         (__pthread_mutexattr_settype):
23728         Disable lock elision for PTHREAD_MUTEX_NORMAL.
23730 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23732         * nptl/tst-mutex5 (do_test):
23733         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
23735 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23737         * benchtests/README: Document 'init' directive.
23738         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
23739         BENCH_INIT.
23740         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
23741         (parse_file): Recognize 'init' directive.
23743 2014-05-26  Kyle McMartin  <kyle@redhat.com>
23745         [BZ #16796]
23746         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
23747         alignment of struct pthread.
23749 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23751         [BZ #16878]
23752         * nscd/netgroupcache.c (addgetnetgrentX): Look for
23753         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23754         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
23755         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
23757 2014-05-25  Richard Henderson  <rth@twiddle.net>
23759         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23760         (SINGLE_THREAD_P_PIC): Remove.
23761         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
23762         (SINGLE_THREAD_P_PIC): Remove.
23764         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
23765         branch to syscall error ...
23766         (PSEUDO): ... here.
23767         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
23768         from __local_syscall_error to .Lsyscall_error.
23769         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
23770         (SYSCALL_ERROR): Update label name.
23772         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
23773         Do not use DOARGS/UNDOARGS.
23774         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
23775         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
23776         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
23777         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
23778         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
23780         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
23781         block comment.
23783         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
23784         define if !NOT_IN_libc.
23785         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
23786         define with non-default symbol versions.
23788 2014-05-23  Richard Henderson  <rth@twiddle.net>
23790         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
23791         (vfork, __vfork): Define via compat_symbol.
23793         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
23794         [!HAVE_IFUNC] (vfork_compat): Remove.
23795         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
23797 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
23799         [BZ #16978]
23800         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
23801         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
23802         variable.
23804 2014-05-23  Richard Henderson  <rth@twiddle.net>
23806         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
23807         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
23808         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
23809         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
23811         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
23812         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
23813         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
23814         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
23815         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
23816         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
23817         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
23818         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
23819         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
23820         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
23821         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
23822         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
23823         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
23824         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
23825         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
23826         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
23827         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
23828         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
23829         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
23830         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
23831         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
23832         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
23833         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
23834         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
23835         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
23836         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
23837         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
23838         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
23839         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
23840         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
23841         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
23842         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
23843         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
23844         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
23845         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
23846         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
23847         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
23848         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
23849         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
23850         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
23851         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
23852         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
23853         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
23854         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
23855         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
23856         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
23857         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
23858         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
23859         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
23860         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
23861         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
23862         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
23863         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
23864         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
23865         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
23866         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
23868         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
23869         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
23870         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
23871         before exiting on error.
23872         (__libc_vfork): New strong alias.
23873         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
23874         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
23876         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
23877         that was previously under [RESET_PID].
23878         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
23880         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
23882 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
23884         [BZ #16977]
23885         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
23886         value when x - 1 is zero.
23887         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
23888         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
23889         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
23890         0.0L for an argument of 1.0L.
23891         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
23892         Likewise.
23893         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
23894         value when x - 1 is zero.
23895         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
23896         * sysdeps/i386/fpu/libm-test-ulps: Update.
23897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23899 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23901         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
23902         alphasort and versionsort.
23904 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23906         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
23907         macro.
23908         [copysignf]: Likewise.
23910 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23912         * crypt/md5-crypt.c: Fix formatting.
23914 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23916         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
23917         (b64_from_24bit): New function.
23919 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23921         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
23922         libc_hidden_builtin_def to ifunc.
23923         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23924         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
23926 2014-05-21  Roland McGrath  <roland@hack.frob.com>
23928         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
23929         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
23931 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
23933         * nscd/Depend (linuxthreads): Remove.
23934         (nptl): Add.
23935         * resolv/Depend (linuxthreads): Remove.
23936         * rt/Depend (linuxthreads): Remove.
23938         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
23939         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
23940         $(common-objpfx)elf/.
23941         (link-libc-before-gnulib): Likewise.
23942         (elfobjdir): Remove variable.
23943         * Makefile (install): Use $(elf-objpfx) instead of
23944         $(common-objpfx)elf/.
23945         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
23946         $(elfobjdir)/.
23947         (link-libc-deps): Likewise.
23948         ($(common-objpfx)libc.so): Likewise.
23949         ($(common-objpfx)linkobj/libc.so): Likewise.
23950         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
23951         instead of $(common-objpfx)elf/.
23952         (symbolic-link-list): Likewise.
23953         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23954         [$(cross-compiling) = no]: Likewise.
23955         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
23956         $(elfobjdir)/.
23957         (static-gnulib-arch): Likewise.
23958         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23959         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
23960         $(common-objpfx)elf/.
23962 2014-05-21  Richard Henderson  <rth@redhat.com>
23964         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
23965         (SINGLE_THREAD_P): Use the correct width load.  Fold
23966         into the ldr offset.
23968         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
23969         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
23971 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
23973         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
23974         (libgcc_s_resume): Use __attribute_used__.
23975         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
23976         Likewise.
23978 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23980         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
23981         optimization when used with float constants.
23983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23985 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
23987         [BZ #16915]
23988         * locale/nl_langinfo_l.c: Make direct reference to every
23989         _nl_current_CATEGORY symbol.
23990         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
23991         (tests-static): Add tst-langinfo-static.
23992         (tests-special): Add tst-langinfo-static.out.
23993         ($(objpfx)tst-langinfo.out): Redirect output.
23994         ($(objpfx)tst-langinfo-static.out): New.
23995         * localedata/tst-langinfo.sh: Send output to stdout.
23996         * localedata/tst-langinfo-static.c: New file.
23998         [BZ #16965]
23999         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24000         when the shift amount is modulo the limb size.
24002 2014-05-20  Richard Henderson  <rth@redhat.com>
24004         [BZ #16967]
24005         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24006         Change type of sa_flags from unsigned int to int.
24008         [BZ #16966]
24009         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24011         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24013 2014-05-20  Will Newton  <will.newton@linaro.org>
24015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24016         Test the return value of the system call in the nocancel case.
24018 2014-05-20  Will Newton  <will.newton@linaro.org>
24019             Yvan Roux  <yvan.roux@linaro.org>
24021         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24022         #include of asm/ptrace.h.
24023         (PTRACE_GET_THREAD_AREA): Remove #undef.
24024         (PTRACE_GETHBPREGS): Likewise.
24025         (PTRACE_SETHBPREGS): Likewise.
24026         (struct user_regs_struct): New structure.
24027         (struct user_fpsimd_struct): New structure.
24028         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24029         #include of asm/ptrace.h and second #include of sys/user.h.
24030         (PTRACE_GET_THREAD_AREA): Remove #undef.
24031         (PTRACE_GETHBPREGS): Likewise.
24032         (PTRACE_SETHBPREGS): Likewise.
24033         (ELF_NGREG): Use new struct user_regs_struct.
24034         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24036 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24038         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24039         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24041 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24043         [BZ #16958]
24044         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24045         membar to avoid block loads/stores to overlap previous stores.
24047 2014-05-17  Richard Henderson  <rth@redhat.com>
24049         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24050         Create the __##syscall_name##_nocancel entry point.
24051         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24052         Remove; let the sysdep-cancel.h code create it.
24054 2014-05-17  David S. Miller  <davem@davemloft.net>
24056         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24057         Protect with __USE_GNU.
24058         (TIOCSET_TEMPT): Likewise.
24059         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24060         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24061         these are already provided in bits/ioctl-types.h
24063 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24065         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24066         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24068         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24069         Use wait4 regardless of [__NR_waitpid].
24071 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24073         PR libgcc/60166
24074         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24075         (_FP_NANSIGN_Q): Set the quiet bit.
24077 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24079         * benchtests/Makefile
24080         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24081         not $(common-objpfx)math/libm.so.
24082         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24083         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24084         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24085         $(common-objpfx)dlfcn/libdl.so.
24086         ($(objpfx)tst-audit8): Depend on $(libm), not
24087         $(common-objpfx)math/libm.so.
24088         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24089         not $(common-objpfx)dlfcn/libdl.so.
24090         * math/Makefile
24091         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24092         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24093         [$(build-shared) = yes].
24094         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24095         $(common-objpfx)nptl/libpthread.so.
24096         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24097         $(common-objpfx)math/libm.so$(libm.so-version) or
24098         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24099         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24100         $(common-objpfx)dlfcn/libdl.so.
24101         * setjmp/Makefile (link-libm): Remove variable.
24102         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24103         * stdio-common/Makefile (link-libm): Remove variable.
24104         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24105         * stdlib/Makefile (link-libm): Remove variable.
24106         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24107         ($(objpfx)tst-strtod-round): Likewise.
24108         ($(objpfx)tst-tininess): Likewise.
24109         ($(objpfx)tst-strtod-underflow): Likewise.
24110         ($(objpfx)tst-strtod6): Likewise.
24111         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24112         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24113         $(common-objpfx)dlfcn/libdl.so.
24115 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24117         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24118         BSD terminal modes definitions.
24120 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24122         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24123         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24125         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24126         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24127         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24128         Don't do #include_next.
24129         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24130         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24131         Don't do #include_next.
24132         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24133         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24134         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24135         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24137 2014-05-16  Allan McRae  <allan@archlinux.org>
24139         * po/sv.po: Update Swedish translation from translation project.
24141         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24142         in sed expression.
24144 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24146         [BZ #16917]
24147         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24148         errno if the TIOCGPTN ioctl fails with an error different than
24149         EINVAL.
24150         * login/tst-ptsname.c: New file.
24151         * login/Makefile (tests): Add tst-ptsname.
24153         [BZ #16943]
24154         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24155         and prlimit64.
24157 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24159         [BZ #16849]
24160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24161         herrno to return EAI_AGAIN.
24163 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24165         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24166         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24167         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24168         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24169         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24170         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24171         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24172         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24173         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24174         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24175         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
24176         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
24177         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
24178         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
24179         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
24180         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
24181         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
24182         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
24183         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
24184         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
24185         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
24186         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
24187         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
24188         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
24189         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
24190         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
24191         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
24192         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
24193         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
24194         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
24195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
24196         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
24197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
24198         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
24199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24200         Moved ...
24201         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
24202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
24203         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
24204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
24205         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
24206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
24207         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
24208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
24209         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
24210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
24211         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
24212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
24213         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
24214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
24215         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
24216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
24217         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
24218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
24219         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
24220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
24221         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
24222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
24223         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
24224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
24225         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
24226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
24227         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
24228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24229         Moved ...
24230         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
24231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
24232         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
24233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
24234         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
24235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
24236         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
24237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
24238         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
24239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
24240         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
24241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
24242         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
24243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
24244         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
24245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
24246         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
24247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
24248         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
24249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24250         Moved ...
24251         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
24252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
24253         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
24255         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
24256         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
24257         (libpthread-sysdep_routines): Add elision-related stuff here instead.
24258         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
24259         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
24260         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
24261         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
24262         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
24263         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
24264         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
24265         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
24266         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
24267         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
24268         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
24269         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
24270         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
24271         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
24272         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
24273         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
24274         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
24275         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
24276         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
24277         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
24278         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
24279         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
24280         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
24281         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
24282         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
24283         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
24284         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
24285         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
24287         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
24288         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
24290         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
24291         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
24292         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
24293         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
24294         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
24295         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
24296         Moved ...
24297         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
24298         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24299         Moved ...
24300         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
24301         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24302         Moved ...
24303         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
24304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
24305         Moved ...
24306         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
24307         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
24308         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
24309         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24310         Moved ...
24311         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
24312         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
24313         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
24314         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
24315         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
24316         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
24317         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
24318         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24319         Moved ...
24320         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
24321         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24322         Moved ...
24323         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
24324         ... here.
24325         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
24326         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
24327         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
24328         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
24329         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24330         Moved ...
24331         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
24332         ... here.
24333         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
24334         Moved ...
24335         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
24336         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
24337         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
24338         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
24339         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
24340         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
24341         Moved ...
24342         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
24343         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24344         Moved ...
24345         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
24346         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24347         Moved ...
24348         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
24349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
24350         Moved ...
24351         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
24352         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
24353         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
24354         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
24355         Moved ...
24356         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
24357         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
24358         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
24359         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
24360         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
24361         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
24362         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
24363         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24364         Moved ...
24365         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
24366         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24367         Moved ...
24368         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
24369         ... here.
24370         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
24371         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
24372         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
24373         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
24374         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24375         Moved ...
24376         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
24377         ... here.
24378         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
24379         Moved ...
24380         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
24381         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
24382         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
24383         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
24384         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
24385         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
24386         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
24387         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
24388         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
24389         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
24390         Moved ...
24391         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
24392         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24393         Moved ...
24394         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
24395         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24396         Moved ...
24397         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
24398         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
24399         Moved ...
24400         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
24401         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
24402         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
24403         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
24404         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
24405         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24406         Moved ...
24407         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
24408         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
24409         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
24410         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
24411         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
24412         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
24413         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
24414         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24415         Moved ...
24416         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
24417         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24418         Moved ...
24419         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
24420         ... here.
24421         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
24422         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
24423         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
24424         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
24425         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24426         Moved ...
24427         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
24428         ... here.
24429         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
24430         Moved ...
24431         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
24432         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
24433         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
24434         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
24435         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
24436         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
24437         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
24438         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
24439         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
24440         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
24441         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
24443         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
24444         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
24446         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
24447         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
24449         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
24450         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
24451         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
24452         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
24453         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
24454         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
24455         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
24456         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
24457         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
24458         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
24459         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
24460         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
24461         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
24462         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
24463         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
24464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
24465         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
24466         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
24467         Moved ...
24468         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
24469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
24470         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
24471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
24472         Moved ...
24473         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
24474         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
24475         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
24476         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
24477         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
24478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
24479         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
24480         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
24481         Moved ...
24482         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
24483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
24484         Moved ...
24485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
24486         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
24487         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
24488         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
24489         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
24490         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
24491         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
24492         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
24493         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
24494         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
24495         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
24496         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
24497         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
24498         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
24499         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
24500         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
24501         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
24503         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
24504         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
24505         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
24506         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
24507         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
24509         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
24510         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
24511         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
24512         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
24513         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
24514         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
24515         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
24516         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
24517         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
24518         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
24520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
24521         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
24523         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
24524         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
24525         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
24526         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
24527         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
24528         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
24529         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
24530         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
24531         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
24532         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
24533         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
24534         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
24535         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
24536         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
24537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
24538         Update #include.
24539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
24540         Likewise.
24541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24542         Likewise.
24543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24544         Likewise.
24545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24546         Likewise.
24547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
24548         Likewise.
24549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
24550         Likewise.
24551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24552         Likewise.
24553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
24554         Likewise.
24555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
24556         Likewise.
24557         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
24558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
24559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
24560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
24561         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
24562         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
24563         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
24564         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
24565         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
24566         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
24567         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
24568         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
24569         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
24570         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
24571         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
24573         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
24574         that was previously under [RESET_PID].
24575         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24576         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
24577         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
24579         * sysdeps/i386/nptl/Implies: New file.
24580         * sysdeps/x86_64/nptl/Implies: New file.
24581         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
24582         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
24583         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
24584         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
24586         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
24587         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24588         (__libc_vfork): New strong alias.
24589         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
24590         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
24592         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
24593         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24594         (__libc_vfork): New strong alias.
24595         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
24596         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
24598         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
24599         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24600         (__libc_vfork): New strong alias.
24601         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
24602         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
24603         * nptl/pt-vfork.c: New file.
24604         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
24605         (libpthread: GLIBC_2.20): New version set (empty).
24607 2014-05-14  Will Newton  <will.newton@linaro.org>
24609         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
24610         rather than #if.
24612 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24614         [BZ #16564]
24615         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
24616         arguments with exponent 65 or above.
24617         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
24618         arguments 0x1p113L or above.
24619         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
24620         to arguments 0x1p107L or above.
24621         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
24622         positive arguments with exponent 65 or above.
24623         * math/auto-libm-test-in: Add more tests of log1p.
24624         * math/auto-libm-test-out: Regenerated.
24626         [BZ #16928]
24627         * math/s_cacos.c (__cacos): Ensure zero real part of result from
24628         non-finite arguments is +0.
24629         * math/s_cacosf.c (__cacosf): Likewise.
24630         * math/s_cacosl.c (__cacosl): Likewise.
24631         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
24632         * sysdeps/i386/fpu/libm-test-ulps: Update.
24633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24635         [BZ #16927]
24636         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
24637         value.
24638         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24639         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
24640         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
24641         for explicit high bit of mantissa when testing for argument equal
24642         to 1.
24643         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
24644         * sysdeps/i386/fpu/libm-test-ulps: Update.
24645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24647         [BZ #16516]
24648         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
24649         (__erf): Scale by 16 instead of 8 in potentially underflowing
24650         case.  Ensure exception if result actually underflows.
24651         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
24652         (__erff): Scale by 16 instead of 8 in potentially underflowing
24653         case.  Ensure exception if result actually underflows.
24654         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
24655         (efx8): Remove variable.
24656         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24657         case.  Ensure exception if result actually underflows.
24658         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
24659         (efx8): Remove variable.
24660         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24661         case.  Ensure exception if result actually underflows.
24662         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
24663         (efx8): Remove variable.
24664         (__erfl): Scale by 16 instead of 8 in potentially underflowing
24665         case.  Ensure exception if result actually underflows.
24666         * math/auto-libm-test-in: Add more tests of erf.
24667         * math/auto-libm-test-out: Regenerated.
24669 2014-05-14  Andreas Schwab  <schwab@suse.de>
24671         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
24672         Remove code conditionalized on USE___THREAD.
24674         * config.h.in (HAVE_PT_CHOWN): Define as 0.
24675         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
24676         not definedness.
24678 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
24680         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
24681         Define unconditionally.
24682         (__ASSUME_O_CLOEXEC): Likewise.
24683         (__ASSUME_SOCK_CLOEXEC): Likewise.
24684         (__ASSUME_IN_NONBLOCK): Likewise.
24685         (__ASSUME_PIPE2): Likewise.
24686         (__ASSUME_EVENTFD2): Likewise.
24687         (__ASSUME_SIGNALFD4): Likewise.
24688         (__ASSUME_DUP3): Likewise.
24689         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24690         (__ASSUME_DUP3): Do not define.
24691         (__ASSUME_EVENTFD2): Likewise.
24692         (__ASSUME_IN_NONBLOCK): Likewise.
24693         (__ASSUME_O_CLOEXEC): Likewise.
24694         (__ASSUME_PIPE2): Likewise.
24695         (__ASSUME_SIGNALFD4): Likewise.
24696         (__ASSUME_SOCK_CLOEXEC): Likewise.
24697         (__ASSUME_UTIMES): Undefine.
24698         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24699         (__ASSUME_UTIMES): Do not define.
24700         (__ASSUME_O_CLOEXEC): Likewise.
24701         (__ASSUME_SOCK_CLOEXEC): Likewise.
24702         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
24703         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
24704         0x020621].
24705         (__ASSUME_PIPE2): Likewise.
24706         (__ASSUME_EVENTFD2): Likewise.
24707         (__ASSUME_SIGNALFD4): Likewise.
24708         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
24709         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
24710         Do not define.
24711         (__ASSUME_EVENTFD2): Likewise.
24712         (__ASSUME_SIGNALFD4): Likewise.
24713         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24714         (__ASSUME_32BITUIDS): Likewise.
24715         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24716         (__ASSUME_IPC64): Likewise.
24717         (__ASSUME_ST_INO_64_BIT): Likewise.
24718         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
24719         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
24720         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24721         (__ASSUME_UTIMES): Do not define.
24722         (__ASSUME_PSELECT): Likewise.
24723         (__ASSUME_PPOLL): Likewise.
24724         (__ASSUME_O_CLOEXEC): Likewise.
24725         (__ASSUME_SOCK_CLOEXEC): Likewise.
24726         (__ASSUME_IN_NONBLOCK): Likewise.
24727         (__ASSUME_PIPE2): Likewise.
24728         (__ASSUME_EVENTFD2): Likewise.
24729         (__ASSUME_SIGNALFD4): Likewise.
24730         (__ASSUME_DUP3): Likewise.
24731         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24732         (__ASSUME_UTIMES): Likewise.
24733         (__ASSUME_O_CLOEXEC): Likewise.
24734         (__ASSUME_SOCK_CLOEXEC): Likewise.
24735         (__ASSUME_IN_NONBLOCK): Likewise.
24736         (__ASSUME_PIPE2): Likewise.
24737         (__ASSUME_EVENTFD2): Likewise.
24738         (__ASSUME_SIGNALFD4): Likewise.
24739         (__ASSUME_DUP3): Likewise.
24740         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24741         (__ASSUME_UTIMES): Likewise.
24742         (__ASSUME_O_CLOEXEC): Likewise.
24743         (__ASSUME_SOCK_CLOEXEC): Likewise.
24744         (__ASSUME_IN_NONBLOCK): Likewise.
24745         (__ASSUME_PIPE2): Likewise.
24746         (__ASSUME_EVENTFD2): Likewise.
24747         (__ASSUME_SIGNALFD4): Likewise.
24748         (__ASSUME_DUP3): Likewise.
24749         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
24750         Likewise.
24751         (__ASSUME_UTIMES): Likewise.
24752         (__ASSUME_EVENTFD2): Likewise.
24753         (__ASSUME_SIGNALFD4): Likewise.
24754         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24755         (__ASSUME_O_CLOEXEC): Likewise.
24756         (__ASSUME_SOCK_CLOEXEC): Likewise.
24757         (__ASSUME_IN_NONBLOCK): Likewise.
24758         (__ASSUME_PIPE2): Likewise.
24759         (__ASSUME_EVENTFD2): Likewise.
24760         (__ASSUME_SIGNALFD4): Likewise.
24761         (__ASSUME_DUP3): Likewise.
24762         (__ASSUME_UTIMES): Undefine.
24764         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
24765         feclearexcept.  Remove symbol versioning code.
24766         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
24767         symbol versioning code.
24768         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
24769         symbol versioning code.
24770         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
24771         feupdateenv.  Remove symbol versioning code.
24772         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
24773         fegetexceptflag.  Remove symbol versioning code.
24774         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
24775         fesetexceptflag.  Remove symbol versioning code.
24776         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
24777         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
24778         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
24779         (__posix_fadvise64_l32): Remove prototype.
24780         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
24781         code.
24783 2014-05-13  Roland McGrath  <roland@hack.frob.com>
24785         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
24786         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
24787         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
24788         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
24790 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
24792         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
24793         current working directory
24795 2014-05-13  Roland McGrath  <roland@hack.frob.com>
24797         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
24798         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
24799         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
24800         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
24801         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
24802         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
24803         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
24804         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
24805         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
24806         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
24807         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
24808         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
24809         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
24810         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
24811         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
24812         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
24813         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
24814         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
24815         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
24816         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
24817         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
24818         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
24819         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
24820         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
24821         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
24822         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
24823         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
24824         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
24825         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
24826         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
24827         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
24828         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
24829         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
24830         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
24831         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
24832         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
24833         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
24834         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
24835         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
24836         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
24837         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
24838         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
24840         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
24841         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
24843         * sysdeps/unix/sysv/linux/arm/Makefile
24844         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24845         Add rt-aeabi_unwind_cpp_pr1.
24846         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
24847         Add nptl-aeabi_unwind_cpp_pr1.
24848         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
24849         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
24850         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
24851         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
24852         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
24853         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
24855         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
24856         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
24857         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
24858         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
24860         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
24861         Deconditionalize the code that was previously under [RESET_PID].
24862         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
24864         * sysdeps/generic/exit-thread.h: New file.
24865         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
24866         * include/unistd.h (__exit_thread): Remove declaration.
24867         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
24868         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
24869         * csu/libc-start.c: Include <exit-thread.h>.
24870         (LIBC_START_MAIN): Pass no argument to __exit_thread.
24871         * nptl/pthread_create.c: Include <exit-thread.h>.
24872         (start_thread): Call __exit_thread in place of __exit_thread_inline.
24873         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
24874         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
24875         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
24876         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
24877         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
24878         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
24879         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
24880         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
24881         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
24882         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
24883         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
24884         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
24885         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
24886         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
24887         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
24888         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
24890 2014-05-13  Andreas Schwab  <schwab@suse.de>
24892         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
24894 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
24896         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24897         (__ASSUME_UTIMES): Do not condition on kernel version.
24898         (__ASSUME_PSELECT): Define unconditionally.
24899         (__ASSUME_PPOLL): Likewise.
24900         (__ASSUME_ATFCTS): Likewise.
24901         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
24902         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
24903         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
24904         (__ASSUME_UTIMENSAT): Define unconditionally.
24905         (__ASSUME_PRIVATE_FUTEX): Likewise.
24906         (__ASSUME_FALLOCATE): Likewise.
24907         (__ASSUME_O_CLOEXEC): Likewise.
24908         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
24909         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
24910         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
24911         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
24912         (__ASSUME_IN_NONBLOCK): Likewise.
24913         (__ASSUME_PIPE2): Likewise.
24914         (__ASSUME_EVENTFD2): Likewise.
24915         (__ASSUME_SIGNALFD4): Likewise.
24916         (__ASSUME_DUP3): Likewise.
24917         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24918         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
24919         (__ASSUME_AT_RANDOM): Likewise.
24920         (__ASSUME_PREADV): Likewise.
24921         (__ASSUME_PWRITEV): Likewise.
24922         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
24923         (__ASSUME_F_GETOWN_EX): Define unconditionally.
24924         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
24925         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24926         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
24927         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24928         (__ASSUME_O_CLOEXEC): Define unconditionally.
24929         (__ASSUME_PSELECT): Do not undefine conditionally.
24930         (__ASSUME_PPOLL): Likewise.
24931         (__ASSUME_ATFCTS): Likewise.
24932         (__ASSUME_SET_ROBUST_LIST): Likewise.
24933         (__ASSUME_UTIMENSAT): Likewise.
24934         (__ASSUME_FDATASYNC): Define unconditionally.
24935         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24936         (__ASSUME_SIGFRAME_V2): Likewise.
24937         )__ASSUME_EVENTFD2): Likewise.
24938         (__ASSUME_SIGNALFD4): Likewise.
24939         (__ASSUME_PSELECT): Do not undefine conditionally.
24940         (__ASSUME_PPOLL): Likewise.
24941         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24942         (__ASSUME_PSELECT): Define unconditionally.
24943         (__ASSUME_PPOLL): Likewise.
24944         (__ASSUME_O_CLOEXEC): Likewise.
24945         (__ASSUME_SOCK_CLOEXEC): Likewise.
24946         (__ASSUME_IN_NONBLOCK): Likewise.
24947         (__ASSUME_PIPE2): Likewise.
24948         (__ASSUME_EVENTFD2): Likewise.
24949         (__ASSUME_SIGNALFD4): Likewise.
24950         (__ASSUME_DUP3): Likewise.
24951         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24952         (__ASSUME_O_CLOEXEC): Likewise.
24953         (__ASSUME_SOCK_CLOEXEC): Likewise.
24954         (__ASSUME_IN_NONBLOCK): Likewise.
24955         (__ASSUME_PIPE2): Likewise.
24956         (__ASSUME_EVENTFD2): Likewise.
24957         (__ASSUME_SIGNALFD4): Likewise.
24958         (__ASSUME_DUP3): Likewise.
24959         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24960         (__ASSUME_EVENTFD2): Likewise.
24961         (__ASSUME_SIGNALFD4): Likewise.
24962         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24964 2014-05-12  Andreas Schwab  <schwab@suse.de>
24966         [BZ #16932]
24967         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
24968         (_nss_nis_gethostbyname4_r): Return error if item length is larger
24969         than maximum RPC packet size.
24970         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
24971         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
24972         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
24973         (_nss_nis_getservbyport_r): Likewise.
24975 2014-05-12  Will Newton  <will.newton@linaro.org>
24977         * malloc/Makefile (tests): Add tst-mallopt.
24978         * malloc/tst-mallopt.c: New file.
24980 2014-05-09  Roland McGrath  <roland@hack.frob.com>
24982         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
24983         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
24985 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24987         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
24988         (tst-tlsmod6.so): Likewise.
24990 2014-05-09  Roland McGrath  <roland@hack.frob.com>
24992         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
24994 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
24996         [BZ #16064]
24997         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
24998         and <dl-procinfo.h>.
24999         (__fegetenv): Save SSE state in envp->__eip if supported.
25000         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25001         envp->__eip if supported.
25002         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25003         and <dl-procinfo.h>.
25004         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25005         __data_offset and __data_selector in environment to 0.  Set SSE
25006         state if supported.
25007         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25008         test-fenv-sse.
25009         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25010         -mfpmath=sse.
25011         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25013 2014-05-09  Will Newton  <will.newton@linaro.org>
25015         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25016         and libc_relro_required for ARM.
25017         * sysdeps/arm/preconfigure: Regenerate.
25019 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25020             Stefan Liebler  <stli@linux.vnet.ibm.com>
25022         * config.make.in (enable-lock-elision): New Makefile variable.
25023         * configure.ac: Likewise.
25024         * configure: Regenerate.
25025         * sysdeps/s390/configure.ac:
25026         Add check for gcc transactions support.
25027         * sysdeps/s390/configure: Regenerate.
25028         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25029         Build elision files if enabled.
25030         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25031         Add lock elision support for s390.
25032         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25033         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25034         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25035         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25036         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25037         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25038         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25039         Likewise.
25040         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25041         Likewise.
25042         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25043         Likewise.
25044         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25045         Likewise.
25046         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25047         (__lll_timedlock_elision, __lll_lock_elision)
25048         (__lll_unlock_elision, __lll_trylock_elision)
25049         (lll_timedlock_elision, lll_lock_elision)
25050         (lll_unlock_elision, lll_trylock_elision): Add.
25051         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25052         (pthread_mutex_t): Add lock elision support for s390.
25054 2014-05-14  Wilco  <wdijkstr@arm.com>
25056         * sysdeps/arm/fclrexcpt.c: Cleanup.
25057         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25058         * sysdeps/arm/feenablxcpt.c: Cleanup.
25059         * sysdeps/arm/fegetenv.c: Cleanup.
25060         * sysdeps/arm/fegetexcept.c: Cleanup.
25061         * sysdeps/arm/fegetround.c: Cleanup.
25062         * sysdeps/arm/feholdexcpt.c: Cleanup.
25063         * sysdeps/arm/fesetenv.c: Cleanup.
25064         * sysdeps/arm/fesetround.c: Cleanup.
25065         * sysdeps/arm/feupdateenv.c: Cleanup.
25066         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25067         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25068         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25069         * sysdeps/arm/ftestexcept.c: Cleanup.
25070         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25071         * sysdeps/arm/setfpucw.c: Cleanup.
25073 2014-05-09  Will Newton  <will.newton@linaro.org>
25075         * sysdeps/arm/armv7/strcmp.S: New file.
25076         * NEWS: Mention addition of ARMv7 optimized strcmp.
25078 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25080         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25081         look for %.ac rather than %.in.
25083         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25084         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25085         * sysdeps/mach/hurd/configure: Regenerated.
25086         * sysdeps/unix/sysv/linux/configure: Regenerated.
25088         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25090 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25092         [BZ# 16922]
25093         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25094         (LONG_SUB): Ditto.
25095         (PTR_SUB): Ditto.
25097 2014-05-07  Andreas Schwab  <schwab@suse.de>
25099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25100         when skipping over non-matching result from nscd.
25102 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25104         [BZ #16876]
25105         * nptl/sockperf.c (client): Check socket return value.
25107         [BZ #16877]
25108         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25109         nscd security class.
25111 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25113         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25114         * sysdeps/arm/unwind.h: ... here.
25116 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25118         [BZ# 16916]
25119         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25120         Define.
25122 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25124         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25125         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25126         multiarch strncpy for PPC64.
25127         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25128         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25130         multiarch optimizations.
25131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25132         (__libc_ifunc_impl_list): Likewise.
25133         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25134         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25135         multiarch stpncpy for PPC64.
25136         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25137         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25139 2014-05-06  Andreas Schwab  <schwab@suse.de>
25141         [BZ #16912]
25142         * gmon/mcount.c (_MCOUNT_DECL): Use
25143         atomic_compare_and_exchange_bool_acq instead of
25144         catomic_compare_and_exchange_bool_acq.
25146 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25148         * elf/Makefile (others, install-bin): Remove pldd.
25149         (pldd-modules): Variable removed.
25150         ($(objpfx)pldd): Target removed.
25151         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25152         (others, install-bin): Append pldd here.
25153         ($(objpfx)pldd): New target.
25155         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25156         to 0, so the first #if test emitted later doesn't see it undefined.
25157         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25158         * sysdeps/gnu/errlist.c: Regenerated.
25160 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25162         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25163         [libc_hidden_builtin_def]: Define to empty value.
25164         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25165         [libc_hidden_builtin_def]: Likewise.
25166         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25167         [libc_hidden_builtin_def]: Likewise.
25168         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25169         [libc_hidden_builtin_def]: Likewise.
25170         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25171         __redirect_memcpy and define ifunc as default hidden symbol.
25172         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25173         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25175 2014-05-04  Adam Conrad  <adconrad@0c3.net>
25177         * locale/iso-4217.def: Reintroduce XDR currency.
25179 2014-05-04  Allan McRae  <allan@archlinux.org>
25181         * po/eo.po: Update Esperanto translation from translation project.
25183 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
25185         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
25186         and FEATURE_INDEX_MAX to 1.
25187         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
25189 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25191         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
25192         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
25193         * iconvdata/big5.c (ONE_DIRECTION): Define.
25194         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
25195         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
25196         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
25197         * iconvdata/cp932.c (ONE_DIRECTION): Define.
25198         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
25199         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
25200         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
25201         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
25202         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
25203         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
25204         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
25205         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
25206         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
25207         * iconvdata/gbk.c (ONE_DIRECTION): Define.
25208         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
25209         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
25210         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
25211         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
25212         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
25213         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
25214         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
25215         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
25216         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
25217         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
25218         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
25219         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
25220         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
25221         * iconvdata/iso646.c (ONE_DIRECTION): Define.
25222         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
25223         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
25224         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
25225         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
25226         * iconvdata/johab.c (ONE_DIRECTION): Define.
25227         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
25228         * iconvdata/sjis.c (ONE_DIRECTION): Define.
25229         * iconvdata/t.61.c (ONE_DIRECTION): Define.
25230         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
25231         * iconvdata/tscii.c (ONE_DIRECTION): Define.
25232         * iconvdata/uhc.c (ONE_DIRECTION): Define.
25233         * iconvdata/unicode.c (ONE_DIRECTION): Define.
25234         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
25235         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
25236         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
25238 2014-05-01  Roland McGrath  <roland@hack.frob.com>
25240         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
25241         (_IO_JUMPS_OFFSET): Define to 0.
25243         * nptl/sysdeps/pthread/bits/libc-lock.h
25244         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25245         (__libc_lock_define_initialized_recursive): Always define using
25246         initializer.  Modern compilers treat uninitialized (implicit zero) and
25247         explicit zero initializers the same (i.e. put the datum in bss).
25249 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25251         * nscd/nscd-client.h: Include <string.h>.
25253 2014-05-01  David S. Miller  <davem@davemloft.net>
25255         [BZ #16885]
25256         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
25257         multiple zero bytes exist at the end of a string.
25258         Reported by Aurelien Jarno <aurelien@aurel32.net>
25260         * string/test-strcmp.c (check): Add explicit test for situations where
25261         there are multiple zero bytes after the first.
25263 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25265         [BZ #16890]
25266         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
25267         when compiling wprintf.
25268         * stdio-common/tstdiomisc.c (t3): New function.
25269         (main): Call it.
25271 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25273         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
25274         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
25275         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
25276         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
25278 2014-05-01  Steve Ellcey  <sellcey@mips.com>
25280         * stdlib/longlong.h: Updated from GCC.
25282 2014-05-01  Will Newton  <will.newton@linaro.org>
25283             Bernard Ogden  <bernie.ogden@linaro.org>
25285         * NEWS: Update fixed bug list.
25287         [BZ #15119]
25288         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
25290 2014-04-30  David S. Miller  <davem@davemloft.net>
25292         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
25293         (libc_feholdexcept_setround_sparc_ctx): New function.
25294         (libc_fesetenv_sparc_ctx): Likewise.
25295         (libc_feupdateenv_sparc_ctx): Likewise.
25296         (libc_feholdsetround_sparc_ctx): Likewise.
25297         (libc_feholdexcept_setround_ctx): Define.
25298         (libc_feholdexcept_setroundf_ctx): Likewise.
25299         (libc_feholdexcept_setroundl_ctx): Likewise.
25300         (libc_fesetenv_ctx): Likewise.
25301         (libc_fesetenvf_ctx): Likewise.
25302         (libc_fesetenvl_ctx): Likewise.
25303         (libc_feupdateenv_ctx): Likewise.
25304         (libc_feupdateenvf_ctx): Likewise.
25305         (libc_feupdateenvl_ctx): Likewise.
25306         (libc_feresetround_ctx): Likewise.
25307         (libc_feresetroundf_ctx): Likewise.
25308         (libc_feresetroundl_ctx): Likewise.
25309         (libc_feholdsetround_ctx): Likewise.
25310         (libc_feholdsetroundf_ctx): Likewise.
25311         (libc_feholdsetroundl_ctx): Likewise.
25313         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25314         with __USE_GNU instead of XOPEN cpp guards.
25316         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
25317         0.
25319         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
25320         with XOPEN cpp guards.
25322 2014-04-30  Julian Brown  <julian@codesourcery.com>
25324         [BZ #16888]
25325         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
25326         handling.
25328 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
25330         [BZ #9894]
25331         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
25332         Change to 2.6.32.
25333         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
25334         * sysdeps/unix/sysv/linux/configure: Regenerated.
25335         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
25336         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
25337         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
25338         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
25339         * README: Update reference to required Linux kernel version.
25340         * manual/install.texi (Linux): Update reference to required Linux
25341         kernel headers version.
25342         * INSTALL: Regenerated.
25344         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
25345         header inclusion.
25346         [POSIX] (limits.h): Likewise.
25347         [POSIX] (math.h): Likewise.
25348         [POSIX] (sys/wait.h): Likewise.
25349         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
25350         function.
25351         [POSIX] (stddef.h): Do not allow header inclusion.
25353 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25355         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
25357 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
25359         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25360         Return immediately after lll_futex_wake.
25362 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25364         [BZ #16791]
25365         * nscd/nscd-client.h (datahead_init_common): Initialize entire
25366         structure.
25367         (datahead_init_pos): Call datahead_init_common early.
25368         (datahead_init_neg): Likewise.
25370         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
25371         datahead_init_neg): New functions.
25372         * nscd/aicache.c (addhstaiX): Use them.
25373         * nscd/grpcache.c (cache_addgr): Likewise.
25374         * nscd/hstcache.c (cache_addhst): Likewise.
25375         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25376         * nscd/netgroupcache.c (do_notfound): Likewise.
25377         (addgetnetgrentX): Likewise.
25378         (addinnetgrX): Likewise.
25379         * nscd/pwdcache.c (cache_addpw): Likewise.
25380         * nscd/servicescache.c (cache_addserv): Likewise.
25382 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25383             Atsushi Onoe  <atsushi@onoe.org>
25385         [BZ #14308]
25386         [BZ #12994]
25387         [BZ #13651]
25388         * resolv/res_query.c (__libc_res_nsearch): Return if at least
25389         one response is valid.
25390         * resolv/res_send.c (send_dg): Check for validity of other
25391         response if the current response is a referral.
25393 2014-04-29  Steve Ellcey  <sellcey@mips.com>
25395         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
25397 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
25399         [BZ #16823]
25400         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
25401         Always divide by positive zero when computing -Inf result.
25402         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25403         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25405 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25407         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
25408         FPSCR if value do not change.
25409         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
25410         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
25411         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25412         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25413         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
25414         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
25415         function.
25417 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
25419         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
25420         * sysdeps/unix/sysv/linux/hppa: Move directory from
25421         ports/systeps/unix/sysv/linux/hppa.
25422         * README: Update listing for hppa-*-linux-gnu.
25424 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
25426         [BZ #16754]
25427         * manual/stdio.texi (Hook functions): Fix types of stream hook
25428         functions.
25429         [BZ #16854]
25430         * socket/sys/socket.h: Fix typo in comment.
25432 2014-04-28  Wilco  <wdijkstr@arm.com>
25434         * sysdeps/arm/fenv_private.h: New file.
25435         * sysdeps/arm/math_private.h: New file.
25436         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
25438 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
25440         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
25441         with __int128_t.
25442         (La_x86_64_retval): Likewise.
25444 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
25446         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
25447         fpsr if value didn't change.
25448         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
25449         to fpcr if value didn't change.
25450         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
25451         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
25452         fpsr or fpcr if value didn't change.
25453         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25454         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
25455         fpcr if value didn't change.
25456         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
25457         to fpsr if value didn't change.
25459 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25461         * nptl/tst-sem3.c: Use test-skeleton.c
25462         (main): Rename to do_test.  Use return instead of
25463         exit.
25464         * nptl/tst-sem4.c: Use test-skeleton.c
25465         (main): Rename to do_test.
25467 2014-04-22  David S. Miller  <davem@davemloft.net>
25469         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
25470         (struct sigaction): New struct member __glibc_reserved0, change
25471         type of sa_flags to int.
25473 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
25475         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
25476         (COUNT_LEADING_ZEROS_0): Define for AArch64.
25478 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25480         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
25481         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
25483 2014-04-22  Will Newton  <will.newton@linaro.org>
25484             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
25486         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
25487         (__longjmp): Add longjmp and longjmp_target SystemTap
25488         probes.
25489         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
25490         (__sigsetjmp): Add setjmp SystemTap probe.
25492 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
25494         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
25495         match manual order.
25497 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25499         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
25501         * sysdeps/powerpc/fpu/fenv_private.h
25502         (libc_feholdexcept_setroundl_ctx): Define to
25503         libc_feholdexcept_setround_ppc_ctx.
25504         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
25505         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
25506         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
25507         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
25509 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25511         * sysdeps/aarch64/math-tests.h: New file.
25513 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
25515         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
25516         New.
25517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25518         Check and set bit_AVX2_Usable.
25519         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
25520         macro.
25521         (bit_AVX2): Likewise.
25522         (index_AVX2_Usable): Likewise.
25523         (CPUID_AVX2): Likewise.
25524         (HAS_AVX2): Likewise.
25526 2014-04-17  Will Newton  <will.newton@linaro.org>
25528         * manual/setjmp.texi (System V contexts): Add note that
25529         calling setcontext on a context created by a call to a
25530         signal handler is undefined.  Update text to note that
25531         setcontext from a signal handler is possible but not
25532         recommended.
25534         [BZ #16629]
25535         * stdlib/tst-setcontext.c: Include signal.h.
25536         (main): Check that the signal stack before and
25537         after swapcontext is the same.
25539         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
25540         Re-implement to restore registers in user code and avoid
25541         rt_sigreturn system call.
25543 2014-04-17  Wilco  <wdijkstr@arm.com>
25545         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
25546         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
25547         * math/test-fenv.c: Skip exception trap tests on targets which only
25548         support non-stop mode.
25550 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
25551             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25553         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
25554         (libc_feholdsetround_aarch64_ctx)
25555         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
25556         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
25557         (libc_feresetround_ctx, libc_feresetroundf_ctx)
25558         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
25559         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
25560         (libc_feresetround_noexl_ctx): Define.
25562 2014-04-16  Richard Henderson  <rth@redhat.com>
25564         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
25566         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
25567         unwind tables.
25569         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
25570         const from the non-libc, non-ldso copy.
25572         * sysdeps/alpha/libm-test-ulps: Regenerate.
25574 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
25575             Wilco Dijkstra  <wilco.dijkstra@arm.com>
25577         * sysdeps/aarch64/fpu/math_private.h: New file.
25579 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25581         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25583 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
25585         [BZ #16275]
25586         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
25587         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
25588         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
25589         Intel MPX bound registers before _dl_profile_fixup.
25590         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
25591         registers after _dl_profile_fixup.  Save and restore bound
25592         registers bnd0/bnd1 when calling _dl_call_pltexit.
25593         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
25594         (LR_BND_OFFSET): Likewise.
25595         (LRV_BND0_OFFSET): Likewise.
25596         (LRV_BND1_OFFSET): Likewise.
25598 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25600         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
25601         to...
25602         * sysdeps/mach/hurd/i386/tls.h: ... here.
25603         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
25604         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
25605         fields.
25607 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25609         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
25611 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25613         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25615 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25617         [BZ #14770]
25618         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
25619         * sysdeps/s390/configure: Regenerate.
25621         [BZ #16824]
25622         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
25623         Set round-to-nearest internally to reduce error accumulation.
25625 2014-04-16  Alan Modra  <amodra@gmail.com>
25627         [BZ #16740]
25628         [BZ #16619]
25629         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
25630         * math/libm-test.inc (frexp_test_data): Add tests.
25631         * NEWS: Update fixed bug list.
25633 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25635         * benchtests/Makefile: Depend on libraries in build directory.
25636         (bench-math): Separate out math tests.
25637         (bench-pthread): Separate out pthread tests.
25638         (bench): Include math and pthread tests.
25640 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
25642         [BZ #16831]
25643         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
25644         _dl_debug_initialize.
25646         * configure.ac: Remove SELinux header check.
25647         * configure: Regenerate.
25648         * nscd/selinux.c (perms): Array of const char* to permission names.
25649         (nscd_request_avc_has_perm): Call security_deny_unknown to find
25650         default policy. Call string_to_security_class and string_to_av_perm to
25651         translate strings. Enforce default policy and call avs_has_perm with
25652         results of translated strings.
25654 2014-04-13  David S. Miller  <davem@davemloft.net>
25656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25658 2014-04-12  Allan McRae  <allan@archlinux.org>
25660         [BZ #16838]
25661         * manual/string.texi (Collation Functions): Fix qsort argument
25662         order in example.
25663         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25665 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
25667         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
25668         Make the test a no-op if there are no exceptions defined.
25670 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25672         * elf/Makefile (tests): make tst-dlopen-aout conditional on
25673         enable-hardcoded-path-in-tests
25675 2014-04-11  Will Newton  <will.newton@linaro.org>
25677         * benchtests/Makefile (extra-objs): Add json-lib.o.
25678         (bench-func): Tidy up JSON output.
25679         * benchtests/bench-skeleton.c: Include json-lib.h.
25680         (main): Use JSON library functions to do output of
25681         benchmark results.
25682         * benchtests/bench-timing-type.c (main): Output the
25683         timing type simply, leaving formatting to the user.
25684         * benchtests/json-lib.c: New file.
25685         * benchtests/json-lib.h: Likewise.
25687 2014-04-11  Torvald Riegel  <triegel@redhat.com>
25689         [BZ #15215]
25690         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
25691         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
25692         memory barriers.  Add comments.
25693         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
25694         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
25695         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
25696         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
25697         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
25698         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
25700 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25702         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
25703         * sysdeps/s390/s390-64/configure.ac: ... this ...
25704         * sysdeps/s390/configure.ac: ... to here.
25705         * sysdeps/s390/s390-32/configure: Delete file.
25706         * sysdeps/s390/s390-64/configure: Delete file.
25707         * sysdeps/s390/configure: Regenerate.
25709 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
25711         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
25713 2014-04-11  Will Newton  <will.newton@linaro.org>
25715         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
25716         to zero if it is not defined elsewhere.  (mtrim): Test
25717         the value of MALLOC_DEBUG with #if rather than #ifdef.
25719 2014-04-10 Torvald Riegel  <triegel@redhat.com>
25721         * benchtests/pthread_once-inputs: New file.
25722         * benchtests/pthread_once-source.c: New file.
25723         * benchtests/README: Update documentation.
25725 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
25726             H.J. Lu  <hongjiu.lu@intel.com>
25728         [BZ #16275]
25729         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
25730         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
25731         * sysdeps/x86_64/configure: Regenerated.
25732         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
25733         macro.
25734         (REGISTER_SAVE_RAX): Likewise.
25735         (REGISTER_SAVE_RCX): Likewise.
25736         (REGISTER_SAVE_RDX): Likewise.
25737         (REGISTER_SAVE_RSI): Likewise.
25738         (REGISTER_SAVE_RDI): Likewise.
25739         (REGISTER_SAVE_R8): Likewise.
25740         (REGISTER_SAVE_R9): Likewise.
25741         (REGISTER_SAVE_BND0): Likewise.
25742         (REGISTER_SAVE_BND1): Likewise.
25743         (REGISTER_SAVE_BND2): Likewise.
25744         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
25745         bound registers when calling _dl_fixup.
25747 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25749         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
25750         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
25751         of its definition.
25752         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
25753         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
25754         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
25755         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
25756         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
25757         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
25758         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
25760 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
25762         [BZ #15514]
25763         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
25764         pathconf(_PC_NAME_MAX).
25766 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25768         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
25769         Remove macro usage.
25770         (__PTHREAD_SPINS): Move definition to ...
25771         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25772         (__PTHREAD_SPINS): ... here.
25773         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25774         (__PTHREAD_SPIN): Likewise.
25775         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
25776         (__PTHREAD_SPIN): Likewise.
25777         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
25778         (__PTHREAD_SPIN): Likewise.
25779         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
25780         (__PTHREAD_SPIN): Likewise.
25781         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25782         (__PTHREAD_SPIN): Likewise.
25783         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25784         (__PTHREAD_SPIN): Likewise.
25785         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
25786         (__PTHREAD_SPIN): Likewise.
25787         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25788         (__PTHREAD_SPIN): Likewise.
25789         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25790         (__PTHREAD_SPIN): Likewise.
25791         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25792         (__PTHREAD_SPIN): Likewise.
25793         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25794         (__PTHREAD_SPIN): Likewise.
25795         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
25796         (__PTHREAD_SPIN): Likewise.
25798         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
25799         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
25800         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
25801         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
25802         imply folder.
25803         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
25804         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
25805         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
25806         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
25807         correct imply path.
25808         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
25809         strlen symbol for non multi-arch builds.
25810         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
25811         missing hidden_def and weak_alias.
25813 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
25815         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
25817 2014-04-07  Will Newton  <will.newton@linaro.org>
25819         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
25820         and contents.  [!_LIBC] Remove #ifndef and contents.
25821         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
25822         * string/memccpy.c (__memccpy): Use ANSI prototype.
25823         * string/memfrob.c (memfrob): Likewise.
25824         * string/strcoll.c (STRCOLL): Likewise.
25825         * string/strlen.c (strlen): Likewise.
25826         * string/strtok.c (STRTOK): Likewise.
25827         * string/strcat.c: Remove unused #include of memcopy.h.
25828         (strcat): Use ANSI prototype.
25829         * string/strchr.c: Remove unused #include of memcopy.h.
25830         (strchr): Use ANSI prototype.
25831         * string/strcmp.c: Remove unused #include of memcopy.h.
25832         (strcmp): Use ANSI prototype.
25833         * string/strcpy.c: Remove unused #include of memcopy.h.
25834         (strcpy): Use ANSI prototype.
25836 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25838         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
25839         * config.make.in (config-extra-cppflags): Set it from
25840         libc_extra_cppflags.
25841         * configure.ac (libc_extra_cflags): Make it accumulate over
25842         configure fragments.
25843         (libc_extra_cppflags): New flag.
25844         * configure. Regenerate.
25845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25846         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
25847         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
25848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25850         [BZ #16815]
25851         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
25852         result for FE_DOWNWARD rounding mode.
25853         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25854         Likewise.
25855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25857 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
25859         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
25860         in function argument name.
25862 2014-04-03  David Svoboda  <svoboda@cert.org>
25864         [BZ #5666]
25865         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
25866         explicitly.
25868 2014-04-03  Roland McGrath  <roland@hack.frob.com>
25870         * elf/dl-unmap-segments.h: New file.
25871         * sysdeps/generic/ldsodefs.h
25872         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
25873         * elf/dl-close.c: Include <dl-unmap-segments.h>.
25874         * elf/dl-fptr.c: Likewise.
25875         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
25876         * sysdeps/aarch64/tlsdesc.c: Likewise.
25877         * sysdeps/arm/tlsdesc.c: Likewise.
25878         * sysdeps/i386/tlsdesc.c: Likewise.
25879         * sysdeps/tile/dl-runtime.c: Likewise.
25880         * sysdeps/x86_64/tlsdesc.c: Likewise.
25881         * elf/dl-load.h: New file.
25882         * elf/dl-load.c: Include it.
25883         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
25884         Macros moved to dl-load.h.
25885         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
25886         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
25887         Use _dl_unmap_segments in place of __munmap.
25888         Break out segment-mapping loop into ...
25889         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
25891 2014-04-03  Will Newton  <will.newton@linaro.org>
25893         * elf/dl-lookup.c (do_lookup_x): Remove comment
25894         referring to nested function and move variable
25895         declarations down to before first use.
25897 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
25899         [BZ #16799]
25900         [BZ #16800]
25901         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
25902         with 0 numerator.
25903         * math/s_catanf.c (__catanf): Likewise.
25904         * math/s_catanh.c (__catanh): Likewise.
25905         * math/s_catanhf.c (__catanhf): Likewise.
25906         * math/s_catanhl.c (__catanhl): Likewise.
25907         * math/s_catanl.c (__catanl): Likewise.
25908         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
25909         by positive zero when computing -Inf result.
25910         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
25911         (catanh_test): Likewise.
25912         * sysdeps/i386/fpu/libm-test-ulps: Update.
25913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25915         [BZ #16789]
25916         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
25917         instead of using underflowing value in computing result.
25918         * math/s_clog10.c (__clog10): Likewise.
25919         * math/s_clog10f.c (__clog10f): Likewise.
25920         * math/s_clog10l.c (__clog10l): Likewise.
25921         * math/s_clogf.c (__clogf): Likewise.
25922         * math/s_clogl.c (__clogl): Likewise.
25923         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
25924         (clog10_test): Likewise.
25925         * sysdeps/i386/fpu/libm-test-ulps: Update.
25926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25928 2014-04-02  Alan Modra  <amodra@gmail.com>
25930         [BZ #16739]
25931         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
25932         output when value is near a power of two.  Use int64_t for lx and
25933         remove casts.  Use decimal rather than hex exponent constants.
25934         Don't use long double multiplication when double will suffice.
25935         * math/libm-test.inc (nextafter_test_data): Add tests.
25936         * NEWS: Add 16739 and 16786 to bug list.
25938         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
25940         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
25942 2014-04-01  Will Newton  <will.newton@linaro.org>
25944         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
25945         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
25947 2014-04-01  Florian Weimer  <fweimer@redhat.com>
25949         [BZ #13347]
25950         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
25951         * nptl/tst-setuid2.c: New file.
25952         * nptl/Makefile (xtests): Add tst-setuid2.
25954 2014-04-01  Alan Modra  <amodra@gmail.com>
25956         [BZ #16786]
25957         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
25959 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
25961         [BZ #6803]
25962         [BZ #6804]
25963         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
25964         set errno as appropriate.
25965         * math/w_scalbf.c (__scalbf): Likewise.
25966         * math/w_scalbl.c (__scalbl): Likewise.
25967         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
25968         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
25969         * math/libm-test.inc (scalb_test_data): Add errno expectations.
25970         Add more NaN tests.
25972         [BZ #16349]
25973         * math/w_atan2.c: Include <errno.h>.
25974         (__atan2): Set errno for result underflowing to zero.
25975         * math/w_atan2f.c: Include <errno.h>.
25976         (__atan2f): Set errno for result underflowing to zero.
25977         * math/w_atan2l.c: Include <errno.h>.
25978         (__atan2l): Set errno for result underflowing to zero.
25979         * math/auto-libm-test-in: Don't allow missing errno for some atan2
25980         tests.
25981         * math/auto-libm-test-out: Regenerated.
25983 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25985         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25986         Encode instruction correctly in little endian.
25987         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25988         Likewise.
25989         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25990         Likewise.
25991         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25992         Likewise.
25993         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25994         Likewise.
25996 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
25998         [BZ #9894]
25999         * sysdeps/unix/sysv/linux/kernel-features.h
26000         [__sparc__ && !__arch64__ && !__sparc_v9__]
26001         (__ASSUME_SET_ROBUST_LIST): Do not define.
26002         [__sparc__ && !__arch64__ && !__sparc_v9__]
26003         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26004         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26005         Likewise.
26006         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26007         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26008         (__ASSUME_REQUEUE_PI): Likewise.
26009         (__ASSUME_SET_ROBUST_LIST): Likewise.
26010         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26011         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26012         Undefine.
26013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26014         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26015         Likewise.
26016         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26017         Likewise.
26018         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26019         Likewise.
26020         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26021         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26022         Undefine.
26023         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26024         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26025         Likewise.
26027         [BZ #16648]
26028         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26029         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26030         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26032 2014-03-31  Will Newton  <will.newton@linaro.org>
26034         * benchtests/Makefile (bench): Add ffs and ffsll to list
26035         of tests.
26036         * benchtests/ffs-inputs: New file.
26037         * benchtests/ffsll-inputs: Likewise.
26039 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26041         [BZ #16770]
26042         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26043         too large before casting to int.
26044         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26045         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26046         * math/libm-test.inc (scalb_test_data): Add more tests.
26048 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26050         * benchtests/Makefile (DETAILED_OPT): New make option.
26051         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26052         set.
26053         * benchtests/bench-skeleton.c: Include stdbool.h.
26054         (main): Store and print timings per input.
26055         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26056         member to each argument value.
26057         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26058         (_print_arg_data): Initialize per-input timing to 0.
26060         * benchtests/Makefile (timing-type): New binary.
26061         (bench-clean): Also remove bench-timing-type.
26062         (bench): New target for timing-type.
26063         (bench-func): Print output in JSON format.
26064         * benchtests/bench-skeleton.c (main): Print output in JSON
26065         format.
26066         * benchtests/bench-timing-type.c: New file.
26067         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26068         (TIMING_PRINT_STATS): Remove.
26069         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26070         name separately.
26072         * benchtests/bench-modf.c: Remove.
26073         * benchtests/modf-inputs: New inputs file.
26075 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26077         [BZ #16362]
26078         * math/s_clog10.c (M_PI_LOG10E): New macro.
26079         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26080         imaginary parts are 0.
26081         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26082         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26083         imaginary parts are 0.
26084         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26085         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26086         imaginary parts are 0.
26087         * math/libm-test.inc (clog10_test_data): Update expected results
26088         for when real and imaginary parts are 0.
26090 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26092         * elf/dl-load.c: Finish conversion of __builtin_expect into
26093         __glibc_{un}likely.
26095 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26097         [BZ #16348]
26098         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26099         1+x for argument with exponent below -67.
26100         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26101         Likewise.
26102         * math/auto-libm-test-in: Add more tests of exp.
26103         * math/auto-libm-test-out: Regenerated.
26105 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26107         [BZ #16759]
26108         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26109         (nscd_getnetgrent): Use it.
26111         [BZ #16760]
26112         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26113         of stpcpy.
26115 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26117         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26118         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26119         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26120         (lll_robust_unlock): Remove out of line section. Use cfi
26121         intrinsics.
26122         (LLL_STUB_UNWIND_INFO*): Remove.
26123         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
26124         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26125         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26126         (lll_robust_unlock): Remove out of line section. Use cfi
26127         intrinsics.
26128         (LLL_STUB_UNWIND_INFO*): Remove.
26130 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26132         [BZ #16758]
26133         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26134         blank values.
26136 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26138         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26140 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26142         [BZ #16198]
26143         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26144         fnstenv.
26145         * math/test-fenv-preserve.c: New file.
26146         * math/Makefile (tests): Add test-fenv-preserve.
26148 2014-03-26  Will Newton <will.newton@linaro.org>
26150         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26152 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26154         * scripts/versionlist.awk: Partition the version sets and emit all
26155         GLIBC_* (sorted) before all others (sorted).
26157 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26159         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26160         GLIBC_2.2.5 version.
26162 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26164         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26165         calls.
26167         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26168         previous change.
26170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26172 2014-03-25  Andreas Schwab  <schwab@suse.de>
26174         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26175         label to be used after in6ailist is initialized.
26177 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26179         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26180         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26182 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26184         [BZ #16357]
26185         [BZ #16599]
26186         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
26187         min_plus_half.
26188         (fp_formats): Update initializers.
26189         (init_fp_formats): Initialize new field.
26190         (output_for_one_input_case): Allow underflow for results up to
26191         min_plus_half.
26192         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
26193         * math/auto-libm-test-in: Don't mark some underflows from asin and
26194         atanh as spurious.
26195         * math/auto-libm-test-out: Regenerated.
26196         * sysdeps/i386/fpu/libm-test-ulps: Update.
26197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26199 2014-03-25  Andreas Schwab  <schwab@suse.de>
26201         * libio/Makefile (tst-ftell-partial-wide-ENV)
26202         (tst-ftell-active-handler-ENV): Define.
26204 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
26206         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
26208 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26210         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
26212 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26214         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
26215         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26216         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26218 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26220         [BZ #16634]
26221         * elf/dl-load.c (open_verify): Add mode parameter.
26222         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
26223         (open_path): Change from boolean 'secure' to complete flag 'mode'
26224         (_dl_map_object): Adjust.
26225         * elf/Makefile (tests): Add tst-dlopen-aout.
26226         * elf/tst-dlopen-aout.c: New test.
26228 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
26230         [BZ #16714]
26231         * sysdeps/unix/sysv/linux/s390/bits/stat.h
26232         (struct stat): Rename member pad0 to __glibc_reserved0.
26234         [BZ #16712]
26235         * sysdeps/s390/s390-32/bits/wordsize.h
26236         (__WORDSIZE32_SIZE_ULONG): New define.
26237         * sysdeps/s390/s390-64/bits/wordsize.h
26238         (__WORDSIZE32_SIZE_ULONG): Likewise.
26239         * sysdeps/generic/stdint.h (SIZE_MAX):
26240         Define as UL if __WORDSIZE32_SIZE_ULONG.
26242         [BZ #16713]
26243         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
26244         (__glibc_reserved0): New variable.
26245         (sa_flags): Change type to int.
26247         * posix/Makefile (before-compile): Use += before-compile instead
26248         of a :=.
26250         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26251         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
26253 2014-03-20  Andreas Schwab  <schwab@suse.de>
26255         [BZ #16743]
26256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
26257         non-matching result from nscd.
26259 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26261         * scripts/bench.py: Moved to ...
26262         * benchtests/scripts/bench.py: ... here.
26263         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
26265 2014-03-24  Andreas Schwab  <schwab@suse.de>
26267         [BZ #16002]
26268         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
26269         alloca_account and account alloca use for struct in6ailist.
26271 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
26273         [BZ #16284]
26274         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
26275         rounding mode to recompute results that overflow to infinity or
26276         underflow to zero.
26277         * math/auto-libm-test-in: Don't mark tests as expected to fail for
26278         bug 16284.
26279         * math/auto-libm-test-out: Regenerated.
26280         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
26281         (ccosh_test): Likewise.
26282         (csin_test_data): Use plus_oflow.
26283         (csin_test): Use ALL_RM_TEST.
26284         (csinh_test_data): Use plus_oflow.
26285         (csinh_test): Use ALL_RM_TEST.
26286         * sysdeps/i386/fpu/libm-test-ulps: Update.
26287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26289 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
26291         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
26292         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
26293         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
26295         [BZ #16731]
26296         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
26297         when x - 1 is zero.
26298         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
26299         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
26300         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26301         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
26302         argument is 1.
26303         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
26304         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
26305         zero.
26306         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
26307         * sysdeps/i386/fpu/libm-test-ulps: Update.
26308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26310 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26312         * scripts/bench.pl: Remove file.
26313         * scripts/bench.py: New benchmark script.
26314         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
26315         * benchtests/README: Mention python dependency.
26316         * scripts/pylintrc: New file.
26317         * scripts/pylint: New file.
26319         * bits/mathdef.h: Use #ifdef instead of #if.
26320         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
26321         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26322         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
26323         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26324         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
26325         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
26327 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26328             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26330         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
26331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
26332         and strpbrk-ppc64 objects.
26333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26334         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26335         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
26336         multiarch strpbrk for POWER7.
26337         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
26338         multiarch strpbrk for PPC64.
26339         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
26340         ifunc selector.
26341         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
26342         strpbrk for POWER7.
26344 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26346         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
26347         (atan_test): Likewise.
26348         (atanh_test_data): Use NO_TEST_INLINE for two tests.
26349         (atanh_test): Use ALL_RM_TEST.
26350         (atan2_test_data): Likewise.
26351         (cabs_test): Likewise.
26352         (cacosh_test): Likewise.
26353         (carg_test): Likewise.
26354         (casin_test): Likewise.
26355         (casinh_test): Likewise.
26356         (cbrt_test): Likewise.
26357         (csqrt_test): Likewise.
26358         (erf_test): Likewise.
26359         (erfc_test): Likewise.
26360         (pow10_test): Likewise.
26361         (exp2_test): Likewise.
26362         (hypot_test): Likewise.
26363         (j0_test): Likewise.
26364         (j1_test): Likewise.
26365         (lgamma_test): Likewise.
26366         (gamma_test): Likewise.
26367         (sincos_test): Likewise.
26368         (tanh_test): Likewise.
26369         (y0_test): Likewise.
26370         (y1_test): Likewise.
26371         * sysdeps/i386/fpu/libm-test-ulps: Update.
26372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26374 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26376         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
26377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
26378         and strcspn-ppc64 objects.
26379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26380         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
26381         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
26382         multiarch strcspn for POWER7.
26383         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
26384         multiarch strcspn for PPC64.
26385         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
26386         ifunc selector.
26387         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
26388         strcspn for POWER7.
26390 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
26392         * math/gen-libm-test.pl (generate_testfile): Expect only function
26393         name as argument to AUTO_TESTS_* and pass results for all rounding
26394         modes to parse_args.
26395         (parse_auto_input): Separate inputs of automatic tests from
26396         outputs before storing in %auto_tests.
26397         * math/libm-test.inc (acos_test_data): Update call to
26398         AUTO_TESTS_f_f.
26399         (acos_test): Use ALL_RM_TEST.
26400         (acos_tonearest_test_data): Remove.
26401         (acos_test_tonearest): Likewise.
26402         (acos_towardzero_test_data): Likewise.
26403         (acos_test_towardzero): Likewise.
26404         (acos_downward_test_data): Likewise.
26405         (acos_test_downward): Likewise.
26406         (acos_upward_test_data): Likewise.
26407         (acos_test_upward): Likewise.
26408         (acosh_test_data): Update call to AUTO_TESTS_f_f.
26409         (asin_test_data): Likewise.
26410         (asin_test): Use ALL_RM_TEST.
26411         (asin_tonearest_test_data): Remove.
26412         (asin_test_tonearest): Likewise.
26413         (asin_towardzero_test_data): Likewise.
26414         (asin_test_towardzero): Likewise.
26415         (asin_downward_test_data): Likewise.
26416         (asin_test_downward): Likewise.
26417         (asin_upward_test_data): Likewise.
26418         (asin_test_upward): Likewise.
26419         (asinh_test_data): Update call to AUTO_TESTS_f_f.
26420         (atan_test_data): Likewise.
26421         (atanh_test_data): Likewise.
26422         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
26423         (cabs_test_data): Update call to AUTO_TESTS_c_f.
26424         (carg_test_data): Likewise.
26425         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
26426         (ccos_test_data): Update call to AUTO_TESTS_c_c.
26427         (ccosh_test_data): Likewise.
26428         (cexp_test_data): Likewise.
26429         (clog_test_data): Likewise.
26430         (clog10_test_data): Likewise.
26431         (cos_test_data): Update call to AUTO_TESTS_f_f.
26432         (cos_test): Use ALL_RM_TEST.
26433         (cos_tonearest_test_data): Remove.
26434         (cos_test_tonearest): Likewise.
26435         (cos_towardzero_test_data): Likewise.
26436         (cos_test_towardzero): Likewise.
26437         (cos_downward_test_data): Likewise.
26438         (cos_test_downward): Likewise.
26439         (cos_upward_test_data): Likewise.
26440         (cos_test_upward): Likewise.
26441         (cosh_test_data): Update call to AUTO_TESTS_f_f.
26442         (cosh_test): Use ALL_RM_TEST.
26443         (cosh_tonearest_test_data): Remove.
26444         (cosh_test_tonearest): Likewise.
26445         (cosh_towardzero_test_data): Likewise.
26446         (cosh_test_towardzero): Likewise.
26447         (cosh_downward_test_data): Likewise.
26448         (cosh_test_downward): Likewise.
26449         (cosh_upward_test_data): Likewise.
26450         (cosh_test_upward): Likewise.
26451         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
26452         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
26453         (ctan_test_data): Likewise.
26454         (ctan_test): Use ALL_RM_TEST.
26455         (ctan_tonearest_test_data): Remove.
26456         (ctan_test_tonearest): Likewise.
26457         (ctan_towardzero_test_data): Likewise.
26458         (ctan_test_towardzero): Likewise.
26459         (ctan_downward_test_data): Likewise.
26460         (ctan_test_downward): Likewise.
26461         (ctan_upward_test_data): Likewise.
26462         (ctan_test_upward): Likewise.
26463         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
26464         (ctanh_test): Use ALL_RM_TEST.
26465         (ctanh_tonearest_test_data): Remove.
26466         (ctanh_test_tonearest): Likewise.
26467         (ctanh_towardzero_test_data): Likewise.
26468         (ctanh_test_towardzero): Likewise.
26469         (ctanh_downward_test_data): Likewise.
26470         (ctanh_test_downward): Likewise.
26471         (ctanh_upward_test_data): Likewise.
26472         (ctanh_test_upward): Likewise.
26473         (erf_test_data): Update call to AUTO_TESTS_f_f.
26474         (erfc_test_data): Likewise.
26475         (exp_test_data): Likewise.
26476         (exp_test): Use ALL_RM_TEST.
26477         (exp_tonearest_test_data): Remove.
26478         (exp_test_tonearest): Likewise.
26479         (exp_towardzero_test_data): Likewise.
26480         (exp_test_towardzero): Likewise.
26481         (exp_downward_test_data): Likewise.
26482         (exp_test_downward): Likewise.
26483         (exp_upward_test_data): Likewise.
26484         (exp_test_upward): Likewise.
26485         (exp10_test_data): Update call to AUTO_TESTS_f_f.
26486         (exp10_test): Use ALL_RM_TEST.
26487         (exp10_tonearest_test_data): Remove.
26488         (exp10_test_tonearest): Likewise.
26489         (exp10_towardzero_test_data): Likewise.
26490         (exp10_test_towardzero): Likewise.
26491         (exp10_downward_test_data): Likewise.
26492         (exp10_test_downward): Likewise.
26493         (exp10_upward_test_data): Likewise.
26494         (exp10_test_upward): Likewise.
26495         (exp2_test_data): Update call to AUTO_TESTS_f_f.
26496         (expm1_test_data): Likewise.
26497         (expm1_test): Use ALL_RM_TEST.
26498         (expm1_tonearest_test_data): Remove.
26499         (expm1_test_tonearest): Likewise.
26500         (expm1_towardzero_test_data): Likewise.
26501         (expm1_test_towardzero): Likewise.
26502         (expm1_downward_test_data): Likewise.
26503         (expm1_test_downward): Likewise.
26504         (expm1_upward_test_data): Likewise.
26505         (expm1_test_upward): Likewise.
26506         (fma_test_data): Update call to AUTO_TESTS_fff_f.
26507         (fma_test): Use ALL_RM_TEST.
26508         (fma_towardzero_test_data): Remove.
26509         (fma_test_towardzero): Likewise.
26510         (fma_downward_test_data): Likewise.
26511         (fma_test_downward): Likewise.
26512         (fma_upward_test_data): Likewise.
26513         (fma_test_upward): Likewise.
26514         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
26515         (j0_test_data): Update call to AUTO_TESTS_f_f.
26516         (j1_test_data): Likewise.
26517         (jn_test_data): Update call to AUTO_TESTS_if_f.
26518         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
26519         (log_test_data): Update call to AUTO_TESTS_f_f.
26520         (log10_test_data): Likewise.
26521         (log1p_test_data): Likewise.
26522         (log2_test_data): Likewise.
26523         (pow_test_data): Update call to AUTO_TESTS_ff_f.
26524         (pow_tonearest_test_data): Likewise.
26525         (sin_test_data): Update call to AUTO_TESTS_f_f.
26526         (sin_test): Use ALL_RM_TEST.
26527         (sin_tonearest_test_data): Remove.
26528         (sin_test_tonearest): Likewise.
26529         (sin_towardzero_test_data): Likewise.
26530         (sin_test_towardzero): Likewise.
26531         (sin_downward_test_data): Likewise.
26532         (sin_test_downward): Likewise.
26533         (sin_upward_test_data): Likewise.
26534         (sin_test_upward): Likewise.
26535         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
26536         (sinh_test_data): Update call to AUTO_TESTS_f_f.
26537         (sinh_test): Use ALL_RM_TEST.
26538         (sinh_tonearest_test_data): Remove.
26539         (sinh_test_tonearest): Likewise.
26540         (sinh_towardzero_test_data): Likewise.
26541         (sinh_test_towardzero): Likewise.
26542         (sinh_downward_test_data): Likewise.
26543         (sinh_test_downward): Likewise.
26544         (sinh_upward_test_data): Likewise.
26545         (sinh_test_upward): Likewise.
26546         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
26547         (sqrt_test): Use ALL_RM_TEST.
26548         (sqrt_tonearest_test_data): Remove.
26549         (sqrt_test_tonearest): Likewise.
26550         (sqrt_towardzero_test_data): Likewise.
26551         (sqrt_test_towardzero): Likewise.
26552         (sqrt_downward_test_data): Likewise.
26553         (sqrt_test_downward): Likewise.
26554         (sqrt_upward_test_data): Likewise.
26555         (sqrt_test_upward): Likewise.
26556         (tan_test_data): Update call to AUTO_TESTS_f_f.
26557         (tan_test): Use ALL_RM_TEST.
26558         (tan_tonearest_test_data): Remove.
26559         (tan_test_tonearest): Likewise.
26560         (tan_towardzero_test_data): Likewise.
26561         (tan_test_towardzero): Likewise.
26562         (tan_downward_test_data): Likewise.
26563         (tan_test_downward): Likewise.
26564         (tan_upward_test_data): Likewise.
26565         (tan_test_upward): Likewise.
26566         (tanh_test_data): Update call to AUTO_TESTS_f_f.
26567         (tgamma_test_data): Likewise.
26568         (y0_test_data): Likewise.
26569         (y1_test_data): Likewise.
26570         (yn_test_data): Update call to AUTO_TESTS_if_f.
26571         (main): Do not call removed functions.
26573 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26575         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
26576         (ldexp_test_data): Remove.
26577         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
26578         scalbn_test_data.
26579         (scalb_test): Use ALL_RM_TEST.
26581 2014-03-19  Andreas Schwab  <schwab@suse.de>
26583         * nscd/nscd.service: Also invalidate netgroup cache on reload.
26585 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
26587         [BZ #16649]
26588         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26589         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
26590         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
26591         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26592         (__ASSUME_PREADV): Undefine.
26593         (__ASSUME_PWRITEV): Likewise.
26595 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26597         * bits/mman-linux.h: Add comment about non-Linux use.
26598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
26599         bits/mman-linux.h resting place.
26601         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
26602         * bits/mman-linux.h: ... here.
26604 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26606         * conform/conformtest.pl: Add standard definition when calling C
26607         preprocessor on data files.
26608         (checknamespace): Remove unused variable.
26610 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26612         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
26613         minus_oflow, plus_uflow and minus_uflow in expected results.
26614         * math/libm-test.inc (scalbn_test_data): Add more tests of
26615         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
26616         minus_uflow.
26617         (scalbn_test): Use ALL_RM_TEST.
26618         (scalbln_test_data): Add more tests of negative arguments.  Use
26619         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
26620         (scalbln_test): Use ALL_RM_TEST.
26622 2014-03-18  Roland McGrath  <roland@hack.frob.com>
26624         * scripts/abilist.awk: Ignore symbols marked with .hidden.
26626 2014-03-18  Will Newton  <will.newton@linaro.org>
26628         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
26629         inaccurate comment.
26631 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
26633         * Makerules [!subdir] (check-abi): Exit with error status if a
26634         test failed.
26636 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26638         * math/libm-test.inc (nearbyint_test_data): Include all tests used
26639         for rint.  Include results for all rounding modes.
26640         (nearbyint_test): Use ALL_RM_TEST.
26641         (rint_test_data): Include all tests used for nearbyint.
26643 2014-03-17  Will Newton  <will.newton@linaro.org>
26645         * nptl/sysdeps/pthread/pthread.h: Revert previous
26646         change.
26648         * sysdeps/generic/ldsodefs.h: Revert previous
26649         change.
26651         * libio/genops.c: Revert previous change.
26652         * libio/libioP.h: Likewise.
26653         * stdio-common/vfprintf.c: Likewise.
26655         * sysdeps/generic/math_private.h: Revert previous
26656         change.
26658         * sysdeps/generic/math_private.h: Check whether
26659         HAVE_RM_CTX is defined with #ifdef rather
26660         than #if.
26662         * argp/argp-fmtstream.h: Check whether
26663         __STRICT_ANSI__ is defined with #ifdef rather
26664         than #if.
26665         * argp/argp.h: Likewise.
26667         * libio/genops.c: Check whether
26668         _IO_JUMPS_OFFSET is defined with #ifdef rather
26669         than #if.
26670         * libio/libioP.h: Likewise.
26671         * stdio-common/vfprintf.c: Likewise.
26673         * sysdeps/generic/ldsodefs.h: Check whether
26674         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
26675         than #if.
26677         * nptl/sysdeps/pthread/pthread.h: Check
26678         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
26679         its value.
26681 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26683         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
26684         setting O_APPEND.
26685         * libio/tst-ftell-active-handler.c (do_append_test): Add a
26686         test case.
26688         [BZ #16680]
26689         * libio/fileops.c (_IO_file_open): Seek to end of file but
26690         don't cache the offset.
26691         (get_file_offset): Remove function.
26692         (do_ftell): Use cached offset when available.
26693         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
26694         don't cache the offset.
26695         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
26696         case.
26697         (do_one_test): Call it.
26698         (do_ftell_test): Fix up expected old offset for a+ mode.
26699         * libio/wfileops.c (do_ftell_wide): Used cached offset when
26700         available.
26702         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
26703         up test status with function return status.
26704         (do_write_test): Likewise.
26705         (do_append_test): Likewise.
26707         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
26708         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
26709         Remove.
26711 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
26713         * math/gen-libm-test.pl (parse_args): Handle results specified for
26714         each rounding mode separately.
26715         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
26716         tests and results from lrint_tonearest_test_data,
26717         lrint_towardzero_test_data, lrint_downward_test_data and
26718         lrint_upward_test_data.
26719         (lrint_test): Use ALL_RM_TEST.
26720         (lrint_tonearest_test_data): Remove.
26721         (lrint_test_tonearest): Likewise.
26722         (lrint_towardzero_test_data): Likewise.
26723         (lrint_test_towardzero): Likewise.
26724         (lrint_downward_test_data): Likewise.
26725         (lrint_test_downward): Likewise.
26726         (lrint_upward_test_data): Likewise.
26727         (lrint_test_upward): Likewise.
26728         (llrint_test_data): Merge in per-rounding-mode tests and results
26729         from llrint_tonearest_test_data, llrint_towardzero_test_data,
26730         llrint_downward_test_data and llrint_upward_test_data.
26731         (llrint_test): Use ALL_RM_TEST.
26732         (llrint_tonearest_test_data): Remove.
26733         (llrint_test_tonearest): Likewise.
26734         (llrint_towardzero_test_data): Likewise.
26735         (llrint_test_towardzero): Likewise.
26736         (llrint_downward_test_data): Likewise.
26737         (llrint_test_downward): Likewise.
26738         (llrint_upward_test_data): Likewise.
26739         (llrint_test_upward): Likewise.
26740         (rint_test_data): Merge in per-rounding-mode tests and results
26741         from rint_tonearest_test_data, rint_towardzero_test_data,
26742         rint_downward_test_data and rint_upward_test_data.  Add
26743         per-rounding-mode results for tests not in those arrays.
26744         (rint_test): Use ALL_RM_TEST.
26745         (rint_tonearest_test_data): Remove.
26746         (rint_test_tonearest): Likewise.
26747         (rint_towardzero_test_data): Likewise.
26748         (rint_test_towardzero): Likewise.
26749         (rint_downward_test_data): Likewise.
26750         (rint_test_downward): Likewise.
26751         (rint_upward_test_data): Likewise.
26752         (rint_test_upward): Likewise.
26753         (main): Don't call removed functions.
26755 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26757         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
26758         "Compiled on ..." crapola.  It is anti-useful.
26760 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
26762         * scripts/evaluate-test.sh: Handle fourth argument to determine
26763         whether test run should stop on failure.
26764         * Makeconfig (stop-on-test-failure): New variable.
26765         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
26766         $(stop-on-test-failure).
26767         * Makefile (tests): Give a summary of results from testing and
26768         exit with failure status if they include an ERROR or FAIL.
26769         (xtests): Likewise.
26770         * manual/install.texi (Configuring and compiling): Mention
26771         stop-on-test-failure=y.
26772         * INSTALL: Regenerated.
26774 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26776         * scripts/versionlist.awk: New file.
26777         * Makerules [$(build-shared) = yes]
26778         (postclean-generated): Add Versions.def, not Versions.def.v and
26779         Versions.def.v.i.
26780         ($(common-objpfx)Versions.def.v.i): Target removed.
26781         ($(common-objpfx)Versions.def): New target.
26782         ($(common-objpfx)Versions.all): Depend on that rather that
26783         $(common-objpfx)Versions.def.v.
26784         * Versions.def: File removed.
26786         * Makeconfig (+gccwarn): Add -Wundef.
26787         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
26788         a dl-sysdep.h breaking its contract.
26789         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
26790         * include/stackinfo.h: New file.
26791         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
26792         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
26793         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
26794         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
26795         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
26796         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
26797         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26798         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26799         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26800         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26801         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26802         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
26803         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26804         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26805         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26807 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26809         [BZ #16707]
26810         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
26811         implementation.
26812         * math/libm-test.inc (round_test_data): Add more tests.
26814         [BZ #16706]
26815         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
26816         implementation.
26817         * math/libm-test.inc (nearbyint_test_data): Add more tests.
26819         [BZ #16701]
26820         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
26821         implementation.
26822         * math/libm-test.inc (ceil_test_data): Add more tests.
26824         * math/libm-test.inc (trunc_test_data): Add more tests related to
26825         BZ#16414.
26827 2014-03-14  Roland McGrath  <roland@hack.frob.com>
26829         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
26830         with #if rather than #ifdef.
26831         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
26833 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
26835         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
26836         first.  Disable AVX-512 GCC support if assembler doesn't support
26837         it.
26838         * sysdeps/x86_64/configure: Regenerated.
26840 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
26842         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
26843         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
26844         (__old_pthread_attr_setstack): Likewise.
26845         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
26846         [!_STACK_GROWS_DOWN]: Likewise.
26848 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
26850         * config.make.in (have-bash2): Delete.
26851         * configure.ac (libc_cv_have_bash2): Delete.
26852         * configure: Regenerate.
26853         * elf/Makefile (common-ldd-rewrite): Rename to ...
26854         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
26855         (sh-ldd-rewrite): Delete.
26856         (bash-ldd-rewrite): Delete.
26857         (have-bash2): Delete checks.
26858         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
26859         ldd-rewrite.
26861         * config.make.in (have-ksh): Delete.
26862         (KSH): Delete.
26863         * configure.ac (libc_cv_have_ksh): Delete.
26864         * configure: Regenerate.
26866         * elf/Makefile: Delete $(have-ksh) check.
26867         ($(objpfx)sotruss): Change KSH to BASH.
26868         * elf/sotruss.ksh: Rename to ...
26869         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
26870         function style to match POSIX.  Drop ksh vim mode setting.
26872         * manual/time.texi (Specifying the Time Zone with TZ): Change
26873         Tuesday to Thursday.
26875         * debug/tst-longjmp_chk2.c: Update header comment.
26876         (stackoverflow_handler): Add comment.  Call assert on pass value.
26878 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
26880         [BZ #16194]
26881         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
26882         (HAVE_AVX512_ASM_SUPPORT): Likewise.
26883         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
26884         (La_x86_64_vector): Add zmm.
26885         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
26886         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
26887         ($(objpfx)tst-audit10): New target.
26888         ($(objpfx)tst-audit10.out): Likewise.
26889         (tst-audit10-ENV): New.
26890         (AVX512-CFLAGS): Likewise.
26891         (CFLAGS-tst-audit10.c): Likewise.
26892         (CFLAGS-tst-auditmod10a.c): Likewise.
26893         (CFLAGS-tst-auditmod10b.c): Likewise.
26894         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
26895         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
26896         * sysdeps/x86_64/configure: Regenerated.
26897         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
26898         AVX-512 zmm register support.
26899         (_dl_x86_64_save_sse): Likewise.
26900         (_dl_x86_64_restore_sse): Likewise.
26901         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
26902         size vector registers.
26903         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
26904         (ZMM_SIZE): Likewise.
26905         * sysdeps/x86_64/tst-audit10.c: New file.
26906         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
26907         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
26909 2014-03-13  Roland McGrath  <roland@hack.frob.com>
26911         * configure.ac (HAVE_EHDR_START): New check.
26912         * configure: Regenerated.
26913         * config.h.in (HAVE_EHDR_START): New #undef.
26914         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
26915         assuming the lowest-addressed segment maps the start of the file.
26917 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
26919         * INSTALL: Regenerated.
26921 2014-03-13  Will Newton  <will.newton@linaro.org>
26923         * manual/setjmp.texi (System V contexts): Improve
26924         clarity and grammar of documentation.
26926 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26928         [BZ #16381]
26929         * elf/Makefile (tests): Add tst-pie2.
26930         (tests-pie): Add tst-pie2.
26931         * elf/tst-pie2.c: New file.
26932         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
26933         for ET_EXEC.
26934         * elf/rtld.c (map_doit): Load executable as lt_executable.
26935         (dl_main): Likewise.
26937 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
26939         [BZ #16642]
26940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26941         (__ASSUME_PSELECT): Undefine.
26943 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26945         [BZ #16689]
26946         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
26947         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
26948         static build.
26949         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
26950         selector for static builds.
26952 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26954         [BZ #16695]
26955         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
26956         key in the buffer.
26958 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26960         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
26961         IFUNC selector for static builds.
26963 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
26965         * sysdeps/mips/math_private.h [__mips_hard_float]
26966         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
26967         libc_feresetround_mips_ctx.
26968         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
26969         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
26970         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
26972         [BZ #16677]
26973         * math/s_nextafter.c (__nextafter): Do not return value from
26974         overflowing computation.
26975         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
26976         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
26977         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
26978         Likewise.
26979         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
26980         Likewise.
26981         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
26982         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
26984 2014-03-11  Roland McGrath  <roland@hack.frob.com>
26986         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
26987         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
26988         Move sfi_sp use from the load-multiple (that no longer sets sp) to
26989         the new mov targetting sp.
26991 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26993         [BZ #16683]
26994         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
26995         Define it for static builds as well.
26996         (NO_BZERO_IMPL): Likewise.
26998 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27000         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27001         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27002         multiarch strspn for PPC64.
27003         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27004         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27006         (__libc_ifunc_impl_list): Likewise.
27007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27008         multiarch optimizations
27009         * string/strspn.c (strspn): Using macro to redefine symbol name.
27011 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27012             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27014         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27015         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27016         multiarch strncat for PPC64.
27017         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27018         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27020         (__libc_ifunc_impl_list): Likewise.
27021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27022         multiarch optimizations
27024 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27026         [BZ #16639]
27027         * nscd/nscd.service: Make service type forking.
27029 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27031         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27032         sign in non default rounding modes.
27033         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27035 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27037         * math/libm-test.inc (ALL_RM_TEST): New macro.
27038         (ceil_test): Use ALL_RM_TEST.
27039         (cimag_test): Likewise.
27040         (conj_test): Likewise.
27041         (copysign_test): Likewise.
27042         (cproj_test): Likewise.
27043         (creal_test): Likewise.
27044         (fabs_test): Likewise.
27045         (floor_test): Likewise.
27046         (fmax_test): Likewise.
27047         (fmin_test): Likewise.
27048         (fmod_test): Likewise.
27049         (fpclassify_test): Likewise.
27050         (frexp_test): Likewise.
27051         (ilogb_test): Likewise.
27052         (isfinite_test): Likewise.
27053         (finite_test): Likewise.
27054         (isgreater_test): Likewise.
27055         (isgreaterequal_test): Likewise.
27056         (isinf_test): Likewise.
27057         (isless_test): Likewise.
27058         (islessequal_test): Likewise.
27059         (islessgreater_test): Likewise.
27060         (isnan_test): Likewise.
27061         (isnormal_test): Likewise.
27062         (issignaling_test): Likewise.
27063         (isunordered_test): Likewise.
27064         (logb_test): Likewise.
27065         (logb_downward_test_data): Remove.
27066         (logb_test_downward): Likewise.
27067         (lround_test): Use ALL_RM_TEST.
27068         (llround_test): Likewise.
27069         (modf_test): Likewise.
27070         (nexttoward_test): Likewise.
27071         (remainder_test): Likewise.
27072         (drem_test): Likewise.
27073         (remainder_tonearest_test_data): Likewise.
27074         (remainder_test_tonearest): Likewise.
27075         (drem_test_tonearest): Likewise.
27076         (remainder_towardzero_test_data): Likewise.
27077         (remainder_test_towardzero): Likewise.
27078         (drem_test_towardzero): Likewise.
27079         (remainder_downward_test_data): Likewise.
27080         (remainder_test_downward): Likewise.
27081         (drem_test_downward): Likewise.
27082         (remainder_upward_test_data): Likewise.
27083         (remainder_test_upward): Likewise.
27084         (drem_test_upward): Likewise.
27085         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27086         (round_test): Use ALL_RM_TEST.
27087         (signbit_test): Likewise.
27088         (trunc_test): Likewise.
27089         (significand_test): Likewise.
27090         (main): Don't call removed functions.
27092 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27094         [BZ #16674]
27095         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27096         || __USE_XOPEN2K8].
27097         (ILL_ILLOPN): Likewise.
27098         (ILL_ILLADR): Likewise.
27099         (ILL_ILLTRP): Likewise.
27100         (ILL_PRVOPC): Likewise.
27101         (ILL_PRVREG): Likewise.
27102         (ILL_COPROC): Likewise.
27103         (ILL_BADSTK): Likewise.
27104         (FPE_INTDIV): Likewise.
27105         (FPE_INTOVF): Likewise.
27106         (FPE_FLTDIV): Likewise.
27107         (FPE_FLTOVF): Likewise.
27108         (FPE_FLTUND): Likewise.
27109         (FPE_FLTRES): Likewise.
27110         (FPE_FLTINV): Likewise.
27111         (FPE_FLTSUB): Likewise.
27112         (SEGV_MAPERR): Likewise.
27113         (SEGV_ACCERR): Likewise.
27114         (BUS_ADRALN): Likewise.
27115         (BUS_ADRERR): Likewise.
27116         (BUS_OBJERR): Likewise.
27117         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27118         (TRAP_TRACE): Likewise.
27119         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27120         __USE_XOPEN2K8].
27121         (CLD_KILLED): Likewise.
27122         (CLD_DUMPED): Likewise.
27123         (CLD_TRAPPED): Likewise.
27124         (CLD_STOPPED): Likewise.
27125         (CLD_CONTINUED): Likewise.
27126         (POLL_IN): Likewise.
27127         (POLL_OUT): Likewise.
27128         (POLL_MSG): Likewise.
27129         (POLL_ERR): Likewise.
27130         (POLL_PRI): Likewise.
27131         (POLL_HUP): Likewise.
27132         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27133         Likewise.
27134         (ILL_ILLOPN): Likewise.
27135         (ILL_ILLADR): Likewise.
27136         (ILL_ILLTRP): Likewise.
27137         (ILL_PRVOPC): Likewise.
27138         (ILL_PRVREG): Likewise.
27139         (ILL_COPROC): Likewise.
27140         (ILL_BADSTK): Likewise.
27141         (FPE_INTDIV): Likewise.
27142         (FPE_INTOVF): Likewise.
27143         (FPE_FLTDIV): Likewise.
27144         (FPE_FLTOVF): Likewise.
27145         (FPE_FLTUND): Likewise.
27146         (FPE_FLTRES): Likewise.
27147         (FPE_FLTINV): Likewise.
27148         (FPE_FLTSUB): Likewise.
27149         (SEGV_MAPERR): Likewise.
27150         (SEGV_ACCERR): Likewise.
27151         (BUS_ADRALN): Likewise.
27152         (BUS_ADRERR): Likewise.
27153         (BUS_OBJERR): Likewise.
27154         (BUS_MCEERR_AR): Likewise.
27155         (BUS_MCEERR_AO): Likewise.
27156         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27157         (TRAP_TRACE): Likewise.
27158         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27159         __USE_XOPEN2K8].
27160         (CLD_KILLED): Likewise.
27161         (CLD_DUMPED): Likewise.
27162         (CLD_TRAPPED): Likewise.
27163         (CLD_STOPPED): Likewise.
27164         (CLD_CONTINUED): Likewise.
27165         (POLL_IN): Likewise.
27166         (POLL_OUT): Likewise.
27167         (POLL_MSG): Likewise.
27168         (POLL_ERR): Likewise.
27169         (POLL_PRI): Likewise.
27170         (POLL_HUP): Likewise.
27171         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27172         (ILL_ILLOPN): Likewise.
27173         (ILL_ILLADR): Likewise.
27174         (ILL_ILLTRP): Likewise.
27175         (ILL_PRVOPC): Likewise.
27176         (ILL_PRVREG): Likewise.
27177         (ILL_COPROC): Likewise.
27178         (ILL_BADSTK): Likewise.
27179         (FPE_INTDIV): Likewise.
27180         (FPE_INTOVF): Likewise.
27181         (FPE_FLTDIV): Likewise.
27182         (FPE_FLTOVF): Likewise.
27183         (FPE_FLTUND): Likewise.
27184         (FPE_FLTRES): Likewise.
27185         (FPE_FLTINV): Likewise.
27186         (FPE_FLTSUB): Likewise.
27187         (SEGV_MAPERR): Likewise.
27188         (SEGV_ACCERR): Likewise.
27189         (BUS_ADRALN): Likewise.
27190         (BUS_ADRERR): Likewise.
27191         (BUS_OBJERR): Likewise.
27192         (BUS_MCEERR_AR): Likewise.
27193         (BUS_MCEERR_AO): Likewise.
27194         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27195         (TRAP_TRACE): Likewise.
27196         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27197         __USE_XOPEN2K8].
27198         (CLD_KILLED): Likewise.
27199         (CLD_DUMPED): Likewise.
27200         (CLD_TRAPPED): Likewise.
27201         (CLD_STOPPED): Likewise.
27202         (CLD_CONTINUED): Likewise.
27203         (POLL_IN): Likewise.
27204         (POLL_OUT): Likewise.
27205         (POLL_MSG): Likewise.
27206         (POLL_ERR): Likewise.
27207         (POLL_PRI): Likewise.
27208         (POLL_HUP): Likewise.
27209         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
27210         Likewise.
27211         (ILL_ILLOPN): Likewise.
27212         (ILL_ILLADR): Likewise.
27213         (ILL_ILLTRP): Likewise.
27214         (ILL_PRVOPC): Likewise.
27215         (ILL_PRVREG): Likewise.
27216         (ILL_COPROC): Likewise.
27217         (ILL_BADSTK): Likewise.
27218         (ILL_BADIADDR): Likewise.
27219         (ILL_BREAK): Likewise.
27220         (FPE_INTDIV): Likewise.
27221         (FPE_INTOVF): Likewise.
27222         (FPE_FLTDIV): Likewise.
27223         (FPE_FLTOVF): Likewise.
27224         (FPE_FLTUND): Likewise.
27225         (FPE_FLTRES): Likewise.
27226         (FPE_FLTINV): Likewise.
27227         (FPE_FLTSUB): Likewise.
27228         (FPE_DECOVF): Likewise.
27229         (FPE_DECDIV): Likewise.
27230         (FPE_DECERR): Likewise.
27231         (FPE_INVASC): Likewise.
27232         (FPE_INVDEC): Likewise.
27233         (SEGV_MAPERR): Likewise.
27234         (SEGV_ACCERR): Likewise.
27235         (SEGV_PSTKOVF): Likewise.
27236         (BUS_ADRALN): Likewise.
27237         (BUS_ADRERR): Likewise.
27238         (BUS_OBJERR): Likewise.
27239         (BUS_MCEERR_AR): Likewise.
27240         (BUS_MCEERR_AO): Likewise.
27241         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27242         (TRAP_TRACE): Likewise.
27243         (TRAP_BRANCH): Likewise.
27244         (TRAP_HWBKPT): Likewise.
27245         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27246         __USE_XOPEN2K8].
27247         (CLD_KILLED): Likewise.
27248         (CLD_DUMPED): Likewise.
27249         (CLD_TRAPPED): Likewise.
27250         (CLD_STOPPED): Likewise.
27251         (CLD_CONTINUED): Likewise.
27252         (POLL_IN): Likewise.
27253         (POLL_OUT): Likewise.
27254         (POLL_MSG): Likewise.
27255         (POLL_ERR): Likewise.
27256         (POLL_PRI): Likewise.
27257         (POLL_HUP): Likewise.
27258         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
27259         (ILL_ILLOPN): Likewise.
27260         (ILL_ILLADR): Likewise.
27261         (ILL_ILLTRP): Likewise.
27262         (ILL_PRVOPC): Likewise.
27263         (ILL_PRVREG): Likewise.
27264         (ILL_COPROC): Likewise.
27265         (ILL_BADSTK): Likewise.
27266         (FPE_INTDIV): Likewise.
27267         (FPE_INTOVF): Likewise.
27268         (FPE_FLTDIV): Likewise.
27269         (FPE_FLTOVF): Likewise.
27270         (FPE_FLTUND): Likewise.
27271         (FPE_FLTRES): Likewise.
27272         (FPE_FLTINV): Likewise.
27273         (FPE_FLTSUB): Likewise.
27274         (SEGV_MAPERR): Likewise.
27275         (SEGV_ACCERR): Likewise.
27276         (BUS_ADRALN): Likewise.
27277         (BUS_ADRERR): Likewise.
27278         (BUS_OBJERR): Likewise.
27279         (BUS_MCEERR_AR): Likewise.
27280         (BUS_MCEERR_AO): Likewise.
27281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27282         (TRAP_TRACE): Likewise.
27283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27284         __USE_XOPEN2K8].
27285         (CLD_KILLED): Likewise.
27286         (CLD_DUMPED): Likewise.
27287         (CLD_TRAPPED): Likewise.
27288         (CLD_STOPPED): Likewise.
27289         (CLD_CONTINUED): Likewise.
27290         (POLL_IN): Likewise.
27291         (POLL_OUT): Likewise.
27292         (POLL_MSG): Likewise.
27293         (POLL_ERR): Likewise.
27294         (POLL_PRI): Likewise.
27295         (POLL_HUP): Likewise.
27296         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
27297         (ILL_ILLOPN): Likewise.
27298         (ILL_ILLADR): Likewise.
27299         (ILL_ILLTRP): Likewise.
27300         (ILL_PRVOPC): Likewise.
27301         (ILL_PRVREG): Likewise.
27302         (ILL_COPROC): Likewise.
27303         (ILL_BADSTK): Likewise.
27304         (FPE_INTDIV): Likewise.
27305         (FPE_INTOVF): Likewise.
27306         (FPE_FLTDIV): Likewise.
27307         (FPE_FLTOVF): Likewise.
27308         (FPE_FLTUND): Likewise.
27309         (FPE_FLTRES): Likewise.
27310         (FPE_FLTINV): Likewise.
27311         (FPE_FLTSUB): Likewise.
27312         (SEGV_MAPERR): Likewise.
27313         (SEGV_ACCERR): Likewise.
27314         (BUS_ADRALN): Likewise.
27315         (BUS_ADRERR): Likewise.
27316         (BUS_OBJERR): Likewise.
27317         (BUS_MCEERR_AR): Likewise.
27318         (BUS_MCEERR_AO): Likewise.
27319         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27320         (TRAP_TRACE): Likewise.
27321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27322         __USE_XOPEN2K8].
27323         (CLD_KILLED): Likewise.
27324         (CLD_DUMPED): Likewise.
27325         (CLD_TRAPPED): Likewise.
27326         (CLD_STOPPED): Likewise.
27327         (CLD_CONTINUED): Likewise.
27328         (POLL_IN): Likewise.
27329         (POLL_OUT): Likewise.
27330         (POLL_MSG): Likewise.
27331         (POLL_ERR): Likewise.
27332         (POLL_PRI): Likewise.
27333         (POLL_HUP): Likewise.
27334         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
27335         (ILL_ILLOPN): Likewise.
27336         (ILL_ILLADR): Likewise.
27337         (ILL_ILLTRP): Likewise.
27338         (ILL_PRVOPC): Likewise.
27339         (ILL_PRVREG): Likewise.
27340         (ILL_COPROC): Likewise.
27341         (ILL_BADSTK): Likewise.
27342         (FPE_INTDIV): Likewise.
27343         (FPE_INTOVF): Likewise.
27344         (FPE_FLTDIV): Likewise.
27345         (FPE_FLTOVF): Likewise.
27346         (FPE_FLTUND): Likewise.
27347         (FPE_FLTRES): Likewise.
27348         (FPE_FLTINV): Likewise.
27349         (FPE_FLTSUB): Likewise.
27350         (SEGV_MAPERR): Likewise.
27351         (SEGV_ACCERR): Likewise.
27352         (BUS_ADRALN): Likewise.
27353         (BUS_ADRERR): Likewise.
27354         (BUS_OBJERR): Likewise.
27355         (BUS_MCEERR_AR): Likewise.
27356         (BUS_MCEERR_AO): Likewise.
27357         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27358         (TRAP_TRACE): Likewise.
27359         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27360         __USE_XOPEN2K8].
27361         (CLD_KILLED): Likewise.
27362         (CLD_DUMPED): Likewise.
27363         (CLD_TRAPPED): Likewise.
27364         (CLD_STOPPED): Likewise.
27365         (CLD_CONTINUED): Likewise.
27366         (POLL_IN): Likewise.
27367         (POLL_OUT): Likewise.
27368         (POLL_MSG): Likewise.
27369         (POLL_ERR): Likewise.
27370         (POLL_PRI): Likewise.
27371         (POLL_HUP): Likewise.
27372         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
27373         (ILL_ILLOPN): Likewise.
27374         (ILL_ILLADR): Likewise.
27375         (ILL_ILLTRP): Likewise.
27376         (ILL_PRVOPC): Likewise.
27377         (ILL_PRVREG): Likewise.
27378         (ILL_COPROC): Likewise.
27379         (ILL_BADSTK): Likewise.
27380         (ILL_DBLFLT): Likewise.
27381         (ILL_HARDWALL): Likewise.
27382         (FPE_INTDIV): Likewise.
27383         (FPE_INTOVF): Likewise.
27384         (FPE_FLTDIV): Likewise.
27385         (FPE_FLTOVF): Likewise.
27386         (FPE_FLTUND): Likewise.
27387         (FPE_FLTRES): Likewise.
27388         (FPE_FLTINV): Likewise.
27389         (FPE_FLTSUB): Likewise.
27390         (SEGV_MAPERR): Likewise.
27391         (SEGV_ACCERR): Likewise.
27392         (BUS_ADRALN): Likewise.
27393         (BUS_ADRERR): Likewise.
27394         (BUS_OBJERR): Likewise.
27395         (BUS_MCEERR_AR): Likewise.
27396         (BUS_MCEERR_AO): Likewise.
27397         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27398         (TRAP_TRACE): Likewise.
27399         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27400         __USE_XOPEN2K8].
27401         (CLD_KILLED): Likewise.
27402         (CLD_DUMPED): Likewise.
27403         (CLD_TRAPPED): Likewise.
27404         (CLD_STOPPED): Likewise.
27405         (CLD_CONTINUED): Likewise.
27406         (POLL_IN): Likewise.
27407         (POLL_OUT): Likewise.
27408         (POLL_MSG): Likewise.
27409         (POLL_ERR): Likewise.
27410         (POLL_PRI): Likewise.
27411         (POLL_HUP): Likewise.
27412         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
27413         (ILL_ILLOPN): Likewise.
27414         (ILL_ILLADR): Likewise.
27415         (ILL_ILLTRP): Likewise.
27416         (ILL_PRVOPC): Likewise.
27417         (ILL_PRVREG): Likewise.
27418         (ILL_COPROC): Likewise.
27419         (ILL_BADSTK): Likewise.
27420         (FPE_INTDIV): Likewise.
27421         (FPE_INTOVF): Likewise.
27422         (FPE_FLTDIV): Likewise.
27423         (FPE_FLTOVF): Likewise.
27424         (FPE_FLTUND): Likewise.
27425         (FPE_FLTRES): Likewise.
27426         (FPE_FLTINV): Likewise.
27427         (FPE_FLTSUB): Likewise.
27428         (SEGV_MAPERR): Likewise.
27429         (SEGV_ACCERR): Likewise.
27430         (BUS_ADRALN): Likewise.
27431         (BUS_ADRERR): Likewise.
27432         (BUS_OBJERR): Likewise.
27433         (BUS_MCEERR_AR): Likewise.
27434         (BUS_MCEERR_AO): Likewise.
27435         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27436         (TRAP_TRACE): Likewise.
27437         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27438         __USE_XOPEN2K8].
27439         (CLD_KILLED): Likewise.
27440         (CLD_DUMPED): Likewise.
27441         (CLD_TRAPPED): Likewise.
27442         (CLD_STOPPED): Likewise.
27443         (CLD_CONTINUED): Likewise.
27444         (POLL_IN): Likewise.
27445         (POLL_OUT): Likewise.
27446         (POLL_MSG): Likewise.
27447         (POLL_ERR): Likewise.
27448         (POLL_PRI): Likewise.
27449         (POLL_HUP): Likewise.
27450         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
27451         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27453         [BZ #16670]
27454         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
27455         before #include of <time.h>.
27456         [!__USE_XOPEN2K] (__need_timespec): Likewise.
27457         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
27458         (test-xfail-UNIX98/sched.h/conform): Likewise.
27460 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27462         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
27463         error absence of trapping exception support.
27464         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27466 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27468         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
27469         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
27470         * timezone/Makefile (testdata): Move definition above include of
27471         Rules.
27472         (test-zones): New variable.
27473         (tests-special): Add zone files.
27474         (build-testdata): Use $(evaluate-test).
27476         * elf/Makefile (tests-special): Rename tests to end with .out.
27477         ($(objpfx)noload-mem): Likewise.
27478         ($(objpfx)tst-leaks1-mem): Likewise.
27479         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
27480         * iconv/Makefile (xtests-special): Change test-iconvconfig to
27481         $(objpfx)test-iconvconfig.out.
27482         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
27483         set -e inside subshell and redirect output to file.
27484         * iconvdata/Makefile (generated): Rename tests to end with .out.
27485         Correct type.
27486         (tests-special): Rename tests to end with .out.
27487         ($(objpfx)mtrace-tst-loading): Likewise.
27488         * intl/Makefile (generated): Likewise.
27489         (tests-special): Likewise.
27490         ($(objpfx)mtrace-tst-gettext): Likewise.
27491         * misc/Makefile (generated): Likewise.
27492         (tests-special): Likewise.
27493         ($(objpfx)tst-error1-mem): Likewise.
27494         * nptl/Makefile (tests-special): Likewise.
27495         ($(objpfx)tst-stack3-mem): Likewise.
27496         (generated): Likewise.
27497         * posix/Makefile (generated): Likewise.
27498         (tests-special): Likewise.
27499         (xtests-special): Likewise.
27500         ($(objpfx)tst-fnmatch-mem): Likewise.
27501         ($(objpfx)bug-regex2-mem): Likewise.
27502         ($(objpfx)bug-regex14-mem): Likewise.
27503         ($(objpfx)bug-regex21-mem): Likewise.
27504         ($(objpfx)bug-regex31-mem): Likewise.
27505         ($(objpfx)tst-vfork3-mem): Likewise.
27506         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
27507         ($(objpfx)tst-pcre-mem): Likewise.
27508         ($(objpfx)tst-boost-mem): Likewise.
27509         ($(objpfx)bug-ga2-mem): Likewise.
27510         ($(objpfx)bug-glob2-mem): Likewise.
27511         * resolv/Makefile (generate): Likewise.
27512         (tests-special): Likewise.
27513         (xtests-special): Likewise.
27514         (generated): Likewise.
27515         ($(objpfx)mtrace-tst-leaks): Likewise.
27516         ($(objpfx)mtrace-tst-leaks2): Likewise.
27518         * scripts/merge-test-results.sh: New file.
27519         * Makefile (tests-special-notdir): New variable.
27520         (tests): Run merge-test-results.sh.
27521         (xtests): Likewise.
27522         * Rules (tests-special-notdir): New variable.
27523         (xtests-special-notdir): Likewise.
27524         (tests): Run merge-test-results.sh
27525         (xtests): Likewise.
27527         * Makeconfig (test-xfail-name): New variable.
27528         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
27529         compute variable name for expected failures.
27530         * conform/Makefile (conformtest-headers-data): New variable.
27531         (conformtest-standards): Likewise.
27532         (conformtest-headers-ISO): Likewise.
27533         (conformtest-headers-ISO99): Likewise.
27534         (conformtest-headers-ISO11): Likewise.
27535         (conformtest-headers-POSIX): Likewise.
27536         (conformtest-headers-XPG3): Likewise.
27537         (conformtest-headers-XPG4): Likewise.
27538         (conformtest-headers-UNIX98): Likewise.
27539         (conformtest-headers-XOPEN2K): Likewise.
27540         (conformtest-headers-POSIX2008): Likewise.
27541         (conformtest-headers-XOPEN2K8): Likewise.
27542         (conformtest-header-list-base): Likewise.
27543         (conformtest-header-list-tests): Likewise.
27544         (conformtest-header-base): Likewise.
27545         (conformtest-header-tests): Likewise.
27546         (tests-special): Add $(conformtest-header-list-tests).  If
27547         [$(fast-check) && !$(cross-compiling)], add
27548         $(conformtest-header-tests) instead of
27549         $(objpfx)run-conformtest.out.
27550         (generated): Add $(conformtest-header-list-base).  If
27551         [$(fast-check) && !$(cross-compiling)], add
27552         $(conformtest-header-base).  Remove previous setting.
27553         ($(conformtest-header-list-tests)): New target.
27554         (test-xfail-run-conformtest): Remove variable.
27555         ($(objpfx)run-conformtest.out): Remove target.
27556         (test-xfail-ISO11/complex.h/conform): New variable.
27557         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27558         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27559         (test-xfail-XPG3/varargs.h/conform): Likewise.
27560         (test-xfail-XPG4/varargs.h/conform): Likewise.
27561         (test-xfail-UNIX98/varargs.h/conform): Likewise.
27562         (test-xfail-XPG4/ndbm.h/conform): Likewise.
27563         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
27564         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
27565         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
27566         (test-xfail-XPG3/fcntl.h/conform): Likewise.
27567         (test-xfail-XPG3/ftw.h/conform): Likewise.
27568         (test-xfail-XPG3/grp.h/conform): Likewise.
27569         (test-xfail-XPG3/langinfo.h/conform): Likewise.
27570         (test-xfail-XPG3/limits.h/conform): Likewise.
27571         (test-xfail-XPG3/pwd.h/conform): Likewise.
27572         (test-xfail-XPG3/search.h/conform): Likewise.
27573         (test-xfail-XPG3/signal.h/conform): Likewise.
27574         (test-xfail-XPG3/stdio.h/conform): Likewise.
27575         (test-xfail-XPG3/stdlib.h/conform): Likewise.
27576         (test-xfail-XPG3/string.h/conform): Likewise.
27577         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
27578         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
27579         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27580         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27581         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
27582         (test-xfail-XPG3/sys/types.h/conform): Likewise.
27583         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
27584         (test-xfail-XPG3/termios.h/conform): Likewise.
27585         (test-xfail-XPG3/time.h/conform): Likewise.
27586         (test-xfail-XPG3/unistd.h/conform): Likewise.
27587         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
27588         (test-xfail-XPG4/fcntl.h/conform): Likewise.
27589         (test-xfail-XPG4/langinfo.h/conform): Likewise.
27590         (test-xfail-XPG4/netdb.h/conform): Likewise.
27591         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
27592         (test-xfail-XPG4/signal.h/conform): Likewise.
27593         (test-xfail-XPG4/stdio.h/conform): Likewise.
27594         (test-xfail-XPG4/stdlib.h/conform): Likewise.
27595         (test-xfail-XPG4/stropts.h/conform): Likewise.
27596         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27597         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27598         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27599         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27600         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27601         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
27602         (test-xfail-XPG4/sys/time.h/conform): Likewise.
27603         (test-xfail-XPG4/sys/types.h/conform): Likewise.
27604         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
27605         (test-xfail-XPG4/termios.h/conform): Likewise.
27606         (test-xfail-XPG4/ucontext.h/conform): Likewise.
27607         (test-xfail-XPG4/unistd.h/conform): Likewise.
27608         (test-xfail-XPG4/utmpx.h/conform): Likewise.
27609         (test-xfail-POSIX/sched.h/conform): Likewise.
27610         (test-xfail-POSIX/signal.h/conform): Likewise.
27611         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
27612         (test-xfail-POSIX/tar.h/conform): Likewise.
27613         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
27614         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
27615         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
27616         (test-xfail-UNIX98/netdb.h/conform): Likewise.
27617         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
27618         (test-xfail-UNIX98/sched.h/conform): Likewise.
27619         (test-xfail-UNIX98/signal.h/conform): Likewise.
27620         (test-xfail-UNIX98/stdio.h/conform): Likewise.
27621         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
27622         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27623         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27624         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27625         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27626         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27627         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27628         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
27629         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27630         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27631         (test-xfail-UNIX98/unistd.h/conform): Likewise.
27632         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
27633         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
27634         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
27635         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
27636         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
27637         (test-xfail-XOPEN2K/math.h/conform): Likewise.
27638         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
27639         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27640         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27641         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
27642         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27643         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
27644         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
27645         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27646         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27647         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27648         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27649         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27650         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27651         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27652         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
27653         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27654         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27655         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27656         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
27657         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27658         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
27659         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
27660         (test-xfail-POSIX2008/signal.h/conform): Likewise.
27661         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27662         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
27663         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27664         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27665         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27666         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
27667         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27668         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27669         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27670         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27671         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
27672         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27673         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27674         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27675         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
27676         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27677         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27678         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27679         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27680         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27681         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
27682         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
27683         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
27684         (conformtest-cc-flags): Likewise.
27685         ($(conformtest-header-tests): New target.
27686         * conform/check-header-lists.sh: New file.
27687         * conform/run-conformtest.sh: Remove.
27689         * conform/conformtest.pl: Allow ' and \ in values given for
27690         constants.
27691         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
27692         inclusion.
27693         [POSIX] (sys/types.h): Likewise.
27694         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
27695         inclusion.
27696         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
27697         inclusion.
27698         * conform/data/signal.h-data (SIGIO): Remove expectation.
27699         [XPG3] (SIGBUS): Do not expect.
27700         [POSIX || XPG3] (SIGPOLL): Likewise.
27701         [POSIX || XPG3] (SIGPROF): Likewise.
27702         [POSIX || XPG3] (SIGSYS): Likewise.
27703         [XPG3] (SIGTRAP): Likewise.
27704         [POSIX || XPG3] (SIGURG): Likewise.
27705         [POSIX || XPG3] (SIGVTALRM): Likewise.
27706         [POSIX || XPG3] (SIGXCPU): Likewise.
27707         [POSIX || XPG3] (SIGXFSZ): Likewise.
27708         [POSIX] (SA_SIGINFO): Expect.
27709         [XPG3] (siginfo_t): Do not expect type or contents.
27710         [POSIX] (si_pid): Do not expect element.
27711         [POSIX] (si_uid): Likewise.
27712         [POSIX] (si_addr): Likewise.
27713         [POSIX] (si_status): Likewise.
27714         [POSIX] (si_band): Likewise.
27715         [XPG4] (si_value): Likewise.
27716         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
27717         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
27718         [POSIX || XPG3] (ILL_ILLADR): Likewise.
27719         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
27720         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
27721         [POSIX || XPG3] (ILL_PRVREG): Likewise.
27722         [POSIX || XPG3] (ILL_COPROC): Likewise.
27723         [POSIX || XPG3] (ILL_BADSTK): Likewise.
27724         [POSIX || XPG3] (FPE_INTDIV): Likewise.
27725         [POSIX || XPG3] (FPE_INTOVF): Likewise.
27726         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
27727         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
27728         [POSIX || XPG3] (FPE_FLTUND): Likewise.
27729         [POSIX || XPG3] (FPE_FLTRES): Likewise.
27730         [POSIX || XPG3] (FPE_FLTINV): Likewise.
27731         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
27732         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
27733         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
27734         [POSIX || XPG3] (BUS_ADRALN): Likewise.
27735         [POSIX || XPG3] (BUS_ADRERR): Likewise.
27736         [POSIX || XPG3] (BUS_OBJERR): Likewise.
27737         [POSIX || XPG3] (CLD_EXITED): Likewise.
27738         [POSIX || XPG3] (CLD_KILLED): Likewise.
27739         [POSIX || XPG3] (CLD_DUMPED): Likewise.
27740         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
27741         [POSIX || XPG3] (CLD_STOPPED): Likewise.
27742         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
27743         [POSIX || XPG3] (POLL_IN): Likewise.
27744         [POSIX || XPG3] (POLL_OUT): Likewise.
27745         [POSIX || XPG3] (POLL_MSG): Likewise.
27746         [POSIX || XPG3] (POLL_ERR): Likewise.
27747         [POSIX || XPG3] (POLL_PRI): Likewise.
27748         [POSIX || XPG3] (POLL_HUP): Likewise.
27749         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
27750         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
27751         (SIG*): Do not allow.
27752         [XPG3] (si_*): Likewise.
27753         [XPG3] (SI_*): Likewise.
27754         [XPG3 || XPG4] (sigev_*): Likewise.
27755         [XPG3 || XPG4] (SIGEV_*): Likewise.
27756         [XPG3 || XPG4] (sival_*): Likewise.
27757         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
27758         [POSIX || XPG3] (BUS_*): Likewise.
27759         [POSIX || XPG3] (CLD_*): Likewise.
27760         [POSIX || XPG3] (FPE_*): Likewise.
27761         [POSIX || XPG3] (ILL_*): Likewise.
27762         [POSIX || XPG3] (POLL_*): Likewise.
27763         [POSIX || XPG3] (SEGV_*): Likewise.
27764         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
27765         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
27766         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
27767         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
27768         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
27769         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
27770         Specify type and value.
27771         (TVERSLEN): Likewise.
27772         (REGTYPE): Likewise.
27773         (AREGTYPE): Likewise.
27774         (LNKTYPE): Likewise.
27775         (SYMTYPE): Likewise.
27776         (CHRTYPE): Likewise.
27777         (BLKTYPE): Likewise.
27778         (DIRTYPE): Likewise.
27779         (FIFOTYPE): Likewise.
27780         (CONTTYPE): Likewise.
27781         (TSUID): Likewise.
27782         (TSGID): Likewise.
27783         (TSVTX): Likewise.
27784         (TUREAD): Likewise.
27785         (TUWRITE): Likewise.
27786         (TUEXEC): Likewise.
27787         (TGREAD): Likewise.
27788         (TGWRITE): Likewise.
27789         (TGEXEC): Likewise.
27790         (TOREAD): Likewise.
27791         (TOWRITE): Likewise.
27792         (TOEXEC): Likewise.
27793         [POSIX] (TSVTX): Expect constant.
27795 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
27797         * Makefile (tests): Change dependencies to ....
27798         (tests-special): ... additions to this variable.
27799         (tests): Depend on $(tests-special).
27800         * Makerules (check-abi-list): New variable.
27801         (check-abi): Depend on $(check-abi-list).
27802         [$(subdir) = elf] (tests-special): Add
27803         $(objpfx)check-abi-libc.out.
27804         [$(build-shared) = yes && subdir] (tests-special): Add
27805         $(check-abi-list).
27806         [$(build-shared) = yes && subdir] (tests): Do not depend on
27807         check-abi.
27808         * Rules (tests): Depend on $(tests-special).
27809         (xtests): Depend on $(xtests-special).
27810         * catgets/Makefile (tests): Change dependencies to ....
27811         (tests-special): ... additions to this variable.
27812         * conform/Makefile (tests): Change dependencies to ....
27813         (tests-special): ... additions to this variable.
27814         * elf/Makefile (tests): Change dependencies to ....
27815         (tests-special): ... additions to this variable.
27816         * grp/Makefile (tests): Change dependencies to ....
27817         (tests-special): ... additions to this variable.
27818         * iconv/Makefile (xtests): Change dependencies to ....
27819         (xtests-special): ... additions to this variable.
27820         * iconvdata/Makefile (tests): Change dependencies to ....
27821         (tests-special): ... additions to this variable.
27822         * intl/Makefile (tests): Change dependencies to ....
27823         (tests-special): ... additions to this variable.  Also add
27824         $(objpfx)tst-gettext.out.
27825         * io/Makefile (tests): Change dependencies to ....
27826         (tests-special): ... additions to this variable.
27827         * libio/Makefile (tests): Change dependencies to ....
27828         (tests-special): ... additions to this variable.
27829         * malloc/Makefile (tests): Change dependencies to ....
27830         (tests-special): ... additions to this variable.
27831         * misc/Makefile (tests): Change dependencies to ....
27832         (tests-special): ... additions to this variable.
27833         * nptl/Makefile (tests): Change dependencies to ....
27834         (tests-special): ... additions to this variable.
27835         * nptl_db/Makefile (tests): Change dependencies to ....
27836         (tests-special): ... additions to this variable.
27837         * posix/Makefile (tests): Change dependencies to ....
27838         (tests-special): ... additions to this variable.
27839         (xtests): Change dependencies to ....
27840         (xtests-special): ... additions to this variable.
27841         * resolv/Makefile (tests): Change dependencies to ....
27842         (tests-special): ... additions to this variable.
27843         (xtests): Change dependencies to ....
27844         (xtests-special): ... additions to this variable.
27845         * stdio-common/Makefile (tests): Change dependencies to ....
27846         (tests-special): ... additions to this variable.
27847         (do-tst-unbputc): Remove target.
27848         (do-tst-printf): Likewise.
27849         * stdlib/Makefile (tests): Change dependencies to ....
27850         (tests-special): ... additions to this variable.
27851         * string/Makefile (tests): Change dependencies to ....
27852         (tests-special): ... additions to this variable.
27853         * sysdeps/x86/Makefile (tests): Change dependencies to ....
27854         (tests-special): ... additions to this variable.
27856         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
27857         whole file.
27858         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
27859         whole file.
27860         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
27861         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
27863         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
27864         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
27865         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
27866         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
27867         * conform/data/libgen.h-data [XPG3]: Likewise.
27868         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
27869         * conform/data/ndbm.h-data [XPG3]: Likewise.
27870         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27871         * conform/data/netdb.h-data [XPG3]: Likewise.
27872         * conform/data/netinet/in.h-data [XPG3]: Likewise.
27873         * conform/data/poll.h-data [XPG3]: Likewise.
27874         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
27875         * conform/data/strings.h-data [XPG3]: Likewise.
27876         * conform/data/stropts.h-data [XPG3]: Likewise.
27877         * conform/data/sys/mman.h-data [XPG3]: Likewise.
27878         * conform/data/sys/resource.h-data [XPG3]: Likewise.
27879         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
27880         Likewise.
27881         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
27882         * conform/data/sys/time.h-data [XPG3]: Likewise.
27883         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
27884         * conform/data/sys/uio.h-data [XPG3]: Likewise.
27885         * conform/data/sys/un.h-data [XPG3]: Likewise.
27886         * conform/data/syslog.h-data [XPG3]: Likewise.
27887         * conform/data/ucontext.h-data [XPG3]: Likewise.
27888         * conform/data/utmpx.h-data [XPG3]: Likewise.
27889         * conform/data/varargs.h-data [UNIX98]: Enable file.
27891         * manual/Makefile (INSTALL_INFO): Remove variable setting.
27893         * math/libm-test.inc (struct test_f_f_data): Move expected results
27894         into structure for each rounding mode.
27895         (struct test_ff_f_data): Likewise.
27896         (struct test_ff_f_data_nexttoward): Likewise.
27897         (struct test_fi_f_data): Likewise.
27898         (struct test_fl_f_data): Likewise.
27899         (struct test_if_f_data): Likewise.
27900         (struct test_fff_f_data): Likewise.
27901         (struct test_c_f_data): Likewise.
27902         (struct test_f_f1_data): Likewise.
27903         (struct test_fF_f1_data): Likewise.
27904         (struct test_ffI_f1_data): Likewise.
27905         (struct test_c_c_data): Likewise.
27906         (struct test_cc_c_data): Likewise.
27907         (struct test_f_i_data): Likewise.
27908         (struct test_ff_i_data): Likewise.
27909         (struct test_f_l_data): Likewise.
27910         (struct test_f_L_data): Likewise.
27911         (struct test_fFF_11_data): Likewise.
27912         (RM_): New macro.
27913         (RM_FE_DOWNWARD): Likewise.
27914         (RM_FE_TONEAREST): Likewise.
27915         (RM_FE_TOWARDZERO): Likewise.
27916         (RM_FE_UPWARD): Likewise.
27917         (RUN_TEST_LOOP_f_f): Update references to expected results.
27918         (RUN_TEST_LOOP_2_f): Likewise.
27919         (RUN_TEST_LOOP_fff_f): Likewise.
27920         (RUN_TEST_LOOP_c_f): Likewise.
27921         (RUN_TEST_LOOP_f_f1): Likewise.
27922         (RUN_TEST_LOOP_fF_f1): Likewise.
27923         (RUN_TEST_LOOP_fI_f1): Likewise.
27924         (RUN_TEST_LOOP_ffI_f1): Likewise.
27925         (RUN_TEST_LOOP_c_c): Likewise.
27926         (RUN_TEST_LOOP_cc_c): Likewise.
27927         (RUN_TEST_LOOP_f_i): Likewise.
27928         (RUN_TEST_LOOP_f_i_tg): Likewise.
27929         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27930         (RUN_TEST_LOOP_f_b): Likewise.
27931         (RUN_TEST_LOOP_f_b_tg): Likewise.
27932         (RUN_TEST_LOOP_f_l): Likewise.
27933         (RUN_TEST_LOOP_f_L): Likewise.
27934         (RUN_TEST_LOOP_fFF_11): Likewise.
27935         * math/gen-libm-test.pl (parse_args): Output four copies of
27936         expected results for each test.
27938         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27939         (__ASSUME_UTIMES): Remove.
27940         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27941         (__ASSUME_UTIMES): Likewise.
27943         * math/gen-auto-libm-tests.c: Update comment on output format.
27944         (output_for_one_input_case): Generate before-rounding and
27945         after-rounding information as conditions on output flags not
27946         floating-point format.
27947         * math/auto-libm-test-out: Regenerated.
27948         * math/gen-libm-test.pl (cond_value): New function.
27949         (or_cond_value): Use cond_value.
27950         (generate_testfile): Handle conditional exceptions.
27952 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
27954         * math/libm-test.inc (max_valid_error): New variable.
27955         (init_max_error): Take new argument specifying whether function
27956         results are exactly determined.  Set max_valid_error and bound
27957         other variables for errors based on this argument.
27958         (set_max_error): Do not record results above max_valid_error.
27959         (check_float_internal): Only accept errors of up to 0.5ulps if
27960         also at most max_valid_error.
27961         (START): Take new argument EXACT and pass it to init_max_error.
27962         (acos_test): Update call to START.
27963         (acos_test_tonearest): Likewise.
27964         (acos_test_towardzero): Likewise.
27965         (acos_test_downward): Likewise.
27966         (acos_test_upward): Likewise.
27967         (acosh_test): Likewise.
27968         (asin_test): Likewise.
27969         (asin_test_tonearest): Likewise.
27970         (asin_test_towardzero): Likewise.
27971         (asin_test_downward): Likewise.
27972         (asin_test_upward): Likewise.
27973         (asinh_test): Likewise.
27974         (atan_test): Likewise.
27975         (atanh_test): Likewise.
27976         (atan2_test): Likewise.
27977         (cabs_test): Likewise.
27978         (cacos_test): Likewise.
27979         (cacosh_test): Likewise.
27980         (carg_test): Likewise.
27981         (casin_test): Likewise.
27982         (casinh_test): Likewise.
27983         (catan_test): Likewise.
27984         (catanh_test): Likewise.
27985         (cbrt_test): Likewise.
27986         (ccos_test): Likewise.
27987         (ccosh_test): Likewise.
27988         (ceil_test): Likewise.
27989         (cexp_test): Likewise.
27990         (cimag_test): Likewise.
27991         (clog_test): Likewise.
27992         (clog10_test): Likewise.
27993         (conj_test): Likewise.
27994         (copysign_test): Likewise.
27995         (cos_test): Likewise.
27996         (cos_test_tonearest): Likewise.
27997         (cos_test_towardzero): Likewise.
27998         (cos_test_downward): Likewise.
27999         (cos_test_upward): Likewise.
28000         (cosh_test): Likewise.
28001         (cosh_test_tonearest): Likewise.
28002         (cosh_test_towardzero): Likewise.
28003         (cosh_test_downward): Likewise.
28004         (cosh_test_upward): Likewise.
28005         (cpow_test): Likewise.
28006         (cproj_test): Likewise.
28007         (creal_test): Likewise.
28008         (csin_test): Likewise.
28009         (csinh_test): Likewise.
28010         (csqrt_test): Likewise.
28011         (ctan_test): Likewise.
28012         (ctan_test_tonearest): Likewise.
28013         (ctan_test_towardzero): Likewise.
28014         (ctan_test_downward): Likewise.
28015         (ctan_test_upward): Likewise.
28016         (ctanh_test): Likewise.
28017         (ctanh_test_tonearest): Likewise.
28018         (ctanh_test_towardzero): Likewise.
28019         (ctanh_test_downward): Likewise.
28020         (ctanh_test_upward): Likewise.
28021         (erf_test): Likewise.
28022         (erfc_test): Likewise.
28023         (exp_test): Likewise.
28024         (exp_test_tonearest): Likewise.
28025         (exp_test_towardzero): Likewise.
28026         (exp_test_downward): Likewise.
28027         (exp_test_upward): Likewise.
28028         (exp10_test): Likewise.
28029         (exp10_test_tonearest): Likewise.
28030         (exp10_test_towardzero): Likewise.
28031         (exp10_test_downward): Likewise.
28032         (exp10_test_upward): Likewise.
28033         (pow10_test): Likewise.
28034         (exp2_test): Likewise.
28035         (expm1_test): Likewise.
28036         (expm1_test_tonearest): Likewise.
28037         (expm1_test_towardzero): Likewise.
28038         (expm1_test_downward): Likewise.
28039         (expm1_test_upward): Likewise.
28040         (fabs_test): Likewise.
28041         (fdim_test): Likewise.
28042         (floor_test): Likewise.
28043         (fma_test): Likewise.
28044         (fma_test_towardzero): Likewise.
28045         (fma_test_downward): Likewise.
28046         (fma_test_upward): Likewise.
28047         (fmax_test): Likewise.
28048         (fmin_test): Likewise.
28049         (fmod_test): Likewise.
28050         (fpclassify_test): Likewise.
28051         (frexp_test): Likewise.
28052         (hypot_test): Likewise.
28053         (ilogb_test): Likewise.
28054         (isfinite_test): Likewise.
28055         (finite_test): Likewise.
28056         (isgreater_test): Likewise.
28057         (isgreaterequal_test): Likewise.
28058         (isinf_test): Likewise.
28059         (isless_test): Likewise.
28060         (islessequal_test): Likewise.
28061         (islessgreater_test): Likewise.
28062         (isnan_test): Likewise.
28063         (isnormal_test): Likewise.
28064         (issignaling_test): Likewise.
28065         (isunordered_test): Likewise.
28066         (j0_test): Likewise.
28067         (j1_test): Likewise.
28068         (jn_test): Likewise.
28069         (ldexp_test): Likewise.
28070         (lgamma_test): Likewise.
28071         (gamma_test): Likewise.
28072         (lrint_test): Likewise.
28073         (lrint_test_tonearest): Likewise.
28074         (lrint_test_towardzero): Likewise.
28075         (lrint_test_downward): Likewise.
28076         (lrint_test_upward): Likewise.
28077         (llrint_test): Likewise.
28078         (llrint_test_tonearest): Likewise.
28079         (llrint_test_towardzero): Likewise.
28080         (llrint_test_downward): Likewise.
28081         (llrint_test_upward): Likewise.
28082         (log_test): Likewise.
28083         (log10_test): Likewise.
28084         (log1p_test): Likewise.
28085         (log2_test): Likewise.
28086         (logb_test): Likewise.
28087         (logb_test_downward): Likewise.
28088         (lround_test): Likewise.
28089         (llround_test): Likewise.
28090         (modf_test): Likewise.
28091         (nearbyint_test): Likewise.
28092         (nextafter_test): Likewise.
28093         (nexttoward_test): Likewise.
28094         (pow_test): Likewise.
28095         (pow_test_tonearest): Likewise.
28096         (pow_test_towardzero): Likewise.
28097         (pow_test_downward): Likewise.
28098         (pow_test_upward): Likewise.
28099         (remainder_test): Likewise.
28100         (drem_test): Likewise.
28101         (remainder_test_tonearest): Likewise.
28102         (drem_test_tonearest): Likewise.
28103         (remainder_test_towardzero): Likewise.
28104         (drem_test_towardzero): Likewise.
28105         (remainder_test_downward): Likewise.
28106         (drem_test_downward): Likewise.
28107         (remainder_test_upward): Likewise.
28108         (drem_test_upward): Likewise.
28109         (remquo_test): Likewise.
28110         (rint_test): Likewise.
28111         (rint_test_tonearest): Likewise.
28112         (rint_test_towardzero): Likewise.
28113         (rint_test_downward): Likewise.
28114         (rint_test_upward): Likewise.
28115         (round_test): Likewise.
28116         (scalb_test): Likewise.
28117         (scalbn_test): Likewise.
28118         (scalbln_test): Likewise.
28119         (signbit_test): Likewise.
28120         (sin_test): Likewise.
28121         (sin_test_tonearest): Likewise.
28122         (sin_test_towardzero): Likewise.
28123         (sin_test_downward): Likewise.
28124         (sin_test_upward): Likewise.
28125         (sincos_test): Likewise.
28126         (sinh_test): Likewise.
28127         (sinh_test_tonearest): Likewise.
28128         (sinh_test_towardzero): Likewise.
28129         (sinh_test_downward): Likewise.
28130         (sinh_test_upward): Likewise.
28131         (sqrt_test): Likewise.
28132         (sqrt_test_tonearest): Likewise.
28133         (sqrt_test_towardzero): Likewise.
28134         (sqrt_test_downward): Likewise.
28135         (sqrt_test_upward): Likewise.
28136         (tan_test): Likewise.
28137         (tan_test_tonearest): Likewise.
28138         (tan_test_towardzero): Likewise.
28139         (tan_test_downward): Likewise.
28140         (tan_test_upward): Likewise.
28141         (tanh_test): Likewise.
28142         (tgamma_test): Likewise.
28143         (trunc_test): Likewise.
28144         (y0_test): Likewise.
28145         (y1_test): Likewise.
28146         (yn_test): Likewise.
28147         (significand_test): Likewise.
28149         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28150         individual tests in comment.
28151         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28152         (prev_max_error): New variable.
28153         (prev_real_max_error): Likewise.
28154         (prev_imag_max_error): Likewise.
28155         (compare_ulp_data): Don't refer to test names in comment.
28156         (find_test_ulps): Remove function.
28157         (find_function_ulps): Likewise.
28158         (find_complex_function_ulps): Likewise.
28159         (init_max_error): Take function name as argument.  Look up ulps
28160         for that function.
28161         (print_ulps): Remove function.
28162         (print_max_error): Use prev_max_error instead of calling
28163         find_function_ulps.
28164         (print_complex_max_error): Use prev_real_max_error and
28165         prev_imag_max_error instead of calling find_complex_function_ulps.
28166         (check_float_internal): Take max_ulp parameter instead of calling
28167         find_test_ulps.  Don't call print_ulps.
28168         (check_float): Update call to check_float_internal.
28169         (check_complex): Update calls to check_float_internal.
28170         (START): Pass argument to init_max_error.
28171         * math/gen-libm-test.pl (%results): Don't include "kind"
28172         information.
28173         (parse_ulps): Don't handle ulps of individual tests.
28174         (print_ulps_file): Likewise.
28175         (output_ulps): Likewise.
28176         * math/README.libm-test: Update.
28177         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
28178         individual tests.
28179         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
28180         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28181         * sysdeps/arm/libm-test-ulps: Likewise.
28182         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28183         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
28184         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
28185         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
28186         * sysdeps/microblaze/libm-test-ulps: Likewise.
28187         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28188         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28189         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28190         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28191         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28192         * sysdeps/sh/libm-test-ulps: Likewise.
28193         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28194         * sysdeps/tile/libm-test-ulps: Likewise.
28195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28197 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
28199         * math/libm-test.inc (print_complex_max_error): Check separately
28200         whether real and imaginary errors are within allowed range and
28201         pass 0 to print_complex_function_ulps instead of value within
28202         allowed range.
28204 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28206         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
28207         formatting.
28208         (get_handles_fopen): Likewise.
28209         (do_write_test): Likewise.
28211         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
28213         * libio/fileops.c (do_ftell): Use cached offset when
28214         available.
28215         * libio/iofwide.c (do_ftell_wide): Likewise.
28216         * libio/iofdopen.c (_IO_new_fdopen): Don't use
28217         _IO_file_attach.
28218         * libio/wfileops.c (_IO_fwide): Don't cache offset.
28220         [BZ #16532]
28221         * libio/libioP.h (get_file_offset): New function.
28222         * libio/fileops.c (get_file_offset): Likewise.
28223         (do_ftell): Likewise.
28224         (_IO_new_file_seekoff): Split out ftell logic.
28225         * libio/wfileops.c (do_ftell_wide): Likewise.
28226         (_IO_wfile_seekoff): Split out ftell logic.
28227         * libio/tst-ftell-active-handler.c: New test case.
28228         * libio/Makefile (tests): Add it.
28230 2014-03-03  Roland McGrath  <roland@hack.frob.com>
28232         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
28233         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
28235 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28237         [BZ #16639]
28238         * nscd/connections.c (nscd_init): Call do_exit.
28239         (start_threads): Call do_exit and notify_parent.
28240         (begin_drop_privileges): Call do_exit.
28241         (finish_drop_privileges): Likewise.
28242         * nscd/selinux.c (preserve_capabilities): Likewise.
28243         (install_real_capabilities): Likewise.
28244         (nscd_selinux_enabled): Likewise.
28245         (avc_create_thread): Likewise.
28246         (avc_alloc_lock): Likewise.
28247         (nscd_avc_init): Likewise.
28248         * nscd/nscd.c (parent_fd): New static variable.
28249         (main): Create a pipe between parent and child processes.
28250         Skip closing parent_fd.
28251         (monitor_child): New function.
28252         (do_exit): Likewise.
28253         (notify_parent): Likewise.
28254         * nscd/nscd.h (notify_parent): Likewise.
28255         (do_exit): Likewise.
28257 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
28259         * malloc/malloc.c (__libc_calloc): Revert last change.
28261 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28265 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28267         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
28268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
28269         implementation.
28270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28271         (__libc_ifunc_impl_list): Likewise.
28272         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
28273         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
28274         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
28275         * string/strrchr.c: Define STRRCHR.
28277 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
28279         * benchtest/bench-strtok.c (simple_strtok): Delete.
28280         (strtok_string): Use as benchmark.
28281         * string/strtok (STRTOK): New macro.
28283 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
28285         * manual/threads.texi: Add header and standard comments to all
28286         functions.
28288         * elf/dl-lookup.c (check_match): New function.
28289         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
28290         (do_lookup_x): Remove nested function check_match. Use non-nested
28291         function check_match.
28293 2014-02-28  Roland McGrath  <roland@hack.frob.com>
28295         * csu/Makefile (generated, before-compile): Use += rather than =.
28296         * catgets/Makefile (generated, generated-dirs): Likewise.
28297         * debug/Makefile (generated): Likewise.
28298         * dlfcn/Makefile (generated): Likewise.
28299         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
28300         * iconvdata/Makefile (before-compile, generated): Likewise.
28301         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
28302         * libio/Makefile (generated): Likewise.
28303         * malloc/Makefile (generated): Likewise.
28304         * manual/Makefile (generated, generated-dirs): Likewise.
28305         * misc/Makefile (generated): Likewise.
28306         * posix/Makefile (generated): Likewise.
28307         * resolv/Makefile (generated): Likewise.
28308         * sunrpc/Makefile (generated, generated-dirs): Likewise.
28309         * timezone/Makefile (generated, generated-dirs): Likewise.
28311         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
28313 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28316         power8 implementation.
28317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
28318         file: POWER8 llround ifunc implementation.
28319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
28320         (__lllround): Add POWER8 implementation.
28321         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
28322         POWER8 llround implementation.
28324         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
28325         power8 implementation.
28326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
28327         file: POWER8 llrint ifunc implementation.
28328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
28329         Add POWER8 implementation.
28330         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
28331         POWER8 llrint implementation.
28333         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
28334         power8 implementation.
28335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
28336         file: POWER8 finite ifunc implementation.
28337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
28338         Add POWER8 implementation.
28339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
28340         Likewise.
28341         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
28342         POWER8 finite implementation.
28343         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
28345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
28346         power8 implementation.
28347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
28348         file: POWER8 isinf ifunc implementation.
28349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
28350         POWER8 implementation.
28351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
28352         Likewise.
28353         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
28354         isinf implementation.
28355         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
28357         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
28358         (INIT_ARCH): Add hwcap2 initialization.
28359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28360         power8 implementation.
28361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
28362         file: POWER8 isnan ifunc implementation.
28363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
28364         POWER8 implementation.
28365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
28366         Likewise.
28367         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
28368         isnan implementation.
28369         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
28371 2014-02-27  Joey Ye  <joey.ye@arm.com>
28373         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28374         (_FP_NANFRAC_Q): Set to zero.
28376 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28378         [BZ #16623]
28379         * math/auto-libm-test-in: New test inputs.
28380         * math/auto-libm-test-out: Regenerate.
28381         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
28382         and DA.
28383         (__cos): Likewise.
28384         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28386 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
28388         * scripts/evaluate-test.sh: Take new argument indicating whether
28389         failure is expected.
28390         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
28391         indicating whether failure is expected.
28392         * conform/Makefile (test-xfail-run-conformtest): New variable.
28393         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
28394         level.
28395         * posix/Makefile (test-xfail-annexc): New variable.
28396         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
28398 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
28400         * argp/Makefile: Include Makeconfig immediately after defining
28401         subdir.
28402         * assert/Makefile: Likewise.
28403         * benchtests/Makefile: Likewise.
28404         * catgets/Makefile: Likewise.
28405         * conform/Makefile: Likewise.
28406         * crypt/Makefile: Likewise.
28407         * csu/Makefile: Likewise.
28408         (all): Remove target.
28409         * ctype/Makefile: Include Makeconfig immediately after defining
28410         subdir.
28411         * debug/Makefile: Likewise.
28412         * dirent/Makefile: Likewise.
28413         * dlfcn/Makefile: Likewise.
28414         * gmon/Makefile: Likewise.
28415         * gnulib/Makefile: Likewise.
28416         * grp/Makefile: Likewise.
28417         * gshadow/Makefile: Likewise.
28418         * hesiod/Makefile: Likewise.
28419         * hurd/Makefile: Likewise.
28420         (all): Remove target.
28421         * iconvdata/Makefile: Include Makeconfig immediately after
28422         defining subdir.
28423         * inet/Makefile: Likewise.
28424         * intl/Makefile: Likewise.
28425         * io/Makefile: Likewise.
28426         * libio/Makefile: Likewise.
28427         (all): Remove target.
28428         * locale/Makefile: Include Makeconfig immediately after defining
28429         subdir.
28430         * login/Makefile: Likewise.
28431         * mach/Makefile: Likewise.
28432         (all): Remove target.
28433         * malloc/Makefile: Include Makeconfig immediately after defining
28434         subdir.
28435         (all): Remove target.
28436         * manual/Makefile: Include Makeconfig immediately after defining
28437         subdir.
28438         * math/Makefile: Likewise.
28439         * misc/Makefile: Likewise.
28440         * nis/Makefile: Likewise.
28441         * nss/Makefile: Likewise.
28442         * po/Makefile: Likewise.
28443         (all): Remove target.
28444         * posix/Makefile: Include Makeconfig immediately after defining
28445         subdir.
28446         * pwd/Makefile: Likewise.
28447         * resolv/Makefile: Likewise.
28448         * resource/Makefile: Likewise.
28449         * rt/Makefile: Likewise.
28450         * setjmp/Makefile: Likewise.
28451         * shadow/Makefile: Likewise.
28452         * signal/Makefile: Likewise.
28453         * socket/Makefile: Likewise.
28454         * soft-fp/Makefile: Likewise.
28455         * stdio-common/Makefile: Likewise.
28456         * stdlib/Makefile: Likewise.
28457         * streams/Makefile: Likewise.
28458         * string/Makefile: Likewise.
28459         * sunrpc/Makefile: Likewise.
28460         (all): Remove target.
28461         * sysvipc/Makefile: Include Makeconfig immediately after defining
28462         subdir.
28463         * termios/Makefile: Likewise.
28464         * time/Makefile: Likewise.
28465         * timezone/Makefile: Likewise.
28466         (all): Remove target.
28467         * wcsmbs/Makefile: Include Makeconfig immediately after defining
28468         subdir.
28469         * wctype/Makefile: Likewise.
28471 2014-02-26  Steve Ellcey  <sellcey@mips.com>
28473         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
28474         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
28475         (libc_feholdexcept_setround_mips): Ditto.
28476         (libc_feholdsetround): New.
28477         (libc_feholdsetroundf): New.
28478         (libc_feholdsetroundl): New.
28479         (libc_feupdateenv_test_mips): New.
28480         (libc_feupdateenv_test): New.
28481         (libc_feupdateenv_testf): New.
28482         (libc_feupdateenv_testl): New.
28483         (libc_feresetround): New.
28484         (libc_feresetroundf): New.
28485         (libc_feresetroundl): New.
28486         (libc_fetestexcept_mips): New.
28487         (libc_fetestexcept): New.
28488         (libc_fetestexceptf): New.
28489         (libc_fetestexceptl): New.
28490         (HAVE_RM_CTX): New.
28491         (libc_feholdexcept_setround_mips_ctx): New.
28492         (libc_feholdexcept_setround_ctx): New.
28493         (libc_feholdexcept_setroundf_ctx): New.
28494         (libc_feholdexcept_setroundl_ctx): New.
28495         (libc_fesetenv_mips_ctx): New.
28496         (libc_fesetenv_ctx): New.
28497         (libc_fesetenv_ctxf): New.
28498         (libc_fesetenv_ctxl): New.
28499         (libc_feupdateenv_mips_ctx): New.
28500         (libc_feupdateenv_ctx): New.
28501         (libc_feupdateenvf_ctx): New.
28502         (libc_feupdateenvl_ctx): New.
28503         (libc_feholdsetround_mips_ctx): New.
28504         (libc_feholdsetround_ctx): New.
28505         (libc_feholdsetroundf_ctx): New.
28506         (libc_feholdsetroundl_ctx): New.
28507         (libc_feresetround_mips_ctx): New.
28508         (libc_feresetround_ctx): New.
28509         (libc_feresetroundf_ctx): New.
28510         (libc_feresetroundl_ctx): New.
28512 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
28514         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
28516         * manual/ipc.texi: New file.
28517         * manual/Makefile (chapters): Add ipc.
28518         * manual/job.texi: Add "Inter-Process Communication" to next.
28519         * manual/process.texi: Add "Inter-Process Communication" to prev.
28521 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28525 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
28527         * malloc/malloc.c (__libc_calloc): Simplify implementation.
28529         * manual/arith.texi: Fix spaces after sentences.
28530         * manual/charset.texi: Likewise.
28531         * manual/errno.texi: Likewise.
28532         * manual/install.texi: Likewise.
28533         * manual/llio.texi: Likewise.
28534         * manual/locale.texi: Likewise.
28535         * manual/maint.texi: Likewise.
28536         * manual/math.texi: Likewise.
28537         * manual/memory.texi: Likewise.
28538         * manual/message.texi: Likewise.
28539         * manual/probes.texi: Likewise.
28540         * manual/resource.texi: Likewise.
28541         * manual/signal.texi: Likewise.
28542         * manual/socket.texi: Likewise.
28543         * manual/stdio.texi: Likewise.
28544         * manual/string.texi: Likewise.
28545         * manual/time.texi: Likewise.
28546         * manual/users.texi: Likewise.
28548 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
28550         [BZ #16632]
28551         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
28552         _DEFAULT_SOURCE is defined.
28554 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
28555             Carlos O'Donell  <carlos@redhat.com>
28557         [BZ #16613]
28558         * elf/dl-tls.c (_dl_count_modids): New function.
28559         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
28560         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
28561         audit library and increment generation counter.
28562         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
28563         * elf/tst-audit9.c: New file.
28564         * elf/tst-auditmod9a.c: New file.
28565         * elf/tst-auditmod9b.c: New file.
28566         * elf/Makefile: Add rules to build and run tst-audit9.
28568 2014-02-25  Florian Weimer  <fweimer@redhat.com>
28570         [BZ #15347]
28571         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
28573 2014-02-25  Will Newton  <will.newton@linaro.org>
28575         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
28576         (__longjmp): Restore sp and lr before restoring callee
28577         saved registers.  Add longjmp and longjmp_target
28578         SystemTap probe point.
28579         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
28580         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
28581         Define to zero to match jmpbuf layout.
28582         * sysdeps/arm/setjmp.S: Include stap-probe.h.
28583         (__sigsetjmp): Save sp and lr before saving callee
28584         saved registers.  Add setjmp SystemTap probe point.
28586 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28588         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28590 2014-02-24  Andreas Schwab  <schwab@suse.de>
28592         [BZ #15804]
28593         * elf/pldd.c (wait_for_ptrace_stop): New function.
28594         (main): Call it after attaching.
28596 2014-02-22  Roland McGrath  <roland@hack.frob.com>
28598         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
28599         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
28600         Versions files is now verboten.
28601         * hurd/Versions (libc: GLIBC_2.0):
28602         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
28603         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
28604         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
28605         * mach/Versions: Likewise.
28607         * csu/Versions: Remove unused %include.
28608         * resolv/Versions: Likewise.
28610 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
28612         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
28613         ($(objpfx)check-local-headers.out): Likewise.
28614         ($(objpfx)begin-end-check.out): Likewise.
28615         * Makerules (check-abi-%.out): Likewise.
28616         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
28617         ($(objpfx)test2.cat): Likewise.
28618         ($(objpfx)de/libc.cat): Likewise.
28619         ($(objpfx)test-gencat.out): Likewise.
28620         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
28621         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
28622         ($(objpfx)noload-mem): Likewise.
28623         ($(objpfx)tst-pathopt.out): Likewise.
28624         ($(objpfx)tst-rtld-load-self.out): Likewise.
28625         ($(objpfx)tst-array1-cmp.out): Likewise.
28626         ($(objpfx)tst-array1-static-cmp.out): Likewise.
28627         ($(objpfx)tst-array2-cmp.out): Likewise.
28628         ($(objpfx)tst-array3-cmp.out): Likewise.
28629         ($(objpfx)tst-array4-cmp.out): Likewise.
28630         ($(objpfx)tst-array5-cmp.out): Likewise.
28631         ($(objpfx)tst-array5-static-cmp.out): Likewise.
28632         ($(objpfx)check-textrel.out): Likewise.
28633         ($(objpfx)check-execstack.out): Likewise.
28634         ($(objpfx)check-localplt.out): Likewise.
28635         ($(objpfx)order2-cmp.out): Likewise.
28636         ($(objpfx)tst-leaks1-mem): Likewise.
28637         ($(objpfx)tst-leaks1-static-mem): Likewise.
28638         ($(objpfx)tst-initorder-cmp.out): Likewise.
28639         ($(objpfx)tst-initorder2-cmp.out): Likewise.
28640         ($(objpfx)tst-unused-dep.out): Likewise.
28641         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
28642         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
28643         * iconv/Makefile (test-iconvconfig): Likewise.
28644         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
28645         ($(objpfx)iconv-test.out): Likewise.
28646         ($(objpfx)tst-tables.out): Likewise.
28647         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
28648         ($(objpfx)tst-gettext.out): Likewise.
28649         ($(objpfx)tst-translit.out): Likewise.
28650         ($(objpfx)tst-gettext2.out): Likewise.
28651         ($(objpfx)tst-gettext4.out): Likewise.
28652         ($(objpfx)tst-gettext6.out): Likewise.
28653         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
28654         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
28655         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
28656         ($(objpfx)tst-fopenloc-mem.out): Likewise.
28657         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
28658         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
28659         * posix/Makefile ($(objpfx)globtest.out): Likewise.
28660         ($(objpfx)wordexp-tst.out): Likewise.
28661         ($(objpfx)annexc.out): Likewise.
28662         ($(objpfx)tst-fnmatch-mem): Likewise.
28663         ($(objpfx)bug-regex2-mem): Likewise.
28664         ($(objpfx)bug-regex14-mem): Likewise.
28665         ($(objpfx)bug-regex21-mem): Likewise.
28666         ($(objpfx)bug-regex31-mem): Likewise.
28667         ($(objpfx)tst-vfork3-mem): Likewise.
28668         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28669         ($(objpfx)tst-pcre-mem): Likewise.
28670         ($(objpfx)tst-boost-mem): Likewise.
28671         ($(objpfx)tst-getconf.out): Likewise.
28672         ($(objpfx)bug-ga2-mem): Likewise.
28673         ($(objpfx)bug-glob2-mem): Likewise.
28674         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
28675         ($(objpfx)mtrace-tst-leaks2): Likewise.
28676         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
28677         ($(objpfx)tst-printf.out): Likewise.
28678         ($(objpfx)tst-setvbuf1.out): Likewise.
28679         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
28680         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
28681         ($(objpfx)tst-fmtmsg.out): Likewise.
28682         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
28683         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
28685         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
28686         * bits/sigaction.h [__USE_MISC]: Likewise.
28687         * bits/waitstatus.h: Update #endif comments.
28688         * ctype/ctype.h: Likewise.
28689         * dirent/dirent.h: Likewise.
28690         [__USE_MISC]: Remove redundant conditionals.
28691         * grp/grp.h: Update #endif comments.
28692         [__USE_GNU]: Remove redundant conditionals.
28693         [__USE_MISC]: Likewise.
28694         * inet/netinet/in.h [__USE_GNU]: Likewise.
28695         * io/sys/stat.h [__USE_MISC]: Likewise.
28696         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
28697         * libio/bits/stdio.h: Update #endif comments.
28698         [__USE_MISC]: Remove redundant conditionals.
28699         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
28700         * libio/stdio.h: Update #endif comments.
28701         [__USE_MISC]: Remove redundant conditionals.
28702         * math/bits/math-finite.h [__USE_MISC]: Likewise.
28703         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
28704         * math/math.h: Update #else and #endif comments.
28705         [__USE_MISC]: Remove redundant conditionals.
28706         * misc/sys/uio.h: Update #endif comments.
28707         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
28708         * posix/glob.h [__USE_MISC]: Likewise.
28709         * posix/sys/types.h: Update #endif comments.
28710         [__USE_MISC]: Remove redundant conditionals.
28711         * posix/sys/wait.h: Update #endif comments.
28712         [__USE_MISC]: Remove redundant conditionals.
28713         * posix/unistd.h: Update #endif comments.
28714         [__USE_MISC]: Remove redundant conditionals.
28715         * pwd/pwd.h [__USE_GNU]: Likewise.
28716         [__USE_MISC]: Likewise.
28717         * resolv/netdb.h [__USE_GNU]: Likewise.
28718         * signal/signal.h: Update #endif comments.
28719         [__USE_MISC]: Remove redundant conditionals.
28720         * stdlib/stdlib.h: Update #else and #endif comments.
28721         [__USE_MISC]: Remove redundant conditionals.
28722         [__USE_GNU]: Likewise.
28723         * string/bits/string2.h [__USE_MISC]: Likewise.
28724         * string/string.h: Update #endif comments.
28725         [__USE_MISC]: Remove redundant conditionals.
28726         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
28727         Likewise.
28728         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
28729         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
28730         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
28731         Likewise.
28732         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
28733         Likewise.
28734         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
28735         comments.
28736         [__USE_MISC]: Remove redundant conditionals.
28737         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
28738         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
28739         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
28740         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
28741         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
28742         Likewise.
28743         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
28744         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
28745         Likewise.
28746         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
28747         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
28748         Likewise.
28749         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
28750         Likewise.
28751         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
28752         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
28753         Likewise.
28754         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
28755         Likewise.
28756         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
28757         * sysdeps/x86/bits/string.h: Update #endif comments.
28758         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
28759         conditionals.
28760         * time/sys/time.h: Update #endif comments.
28761         * time/time.h: Likewise.
28762         [__USE_MISC]: Remove redundant conditionals.
28764 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
28766         [BZ #16600]
28767         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
28769 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
28771         * Versions.def (librt): Add GLIBC_2.17.
28773 2014-02-21  Adam Conrad  <adconrad@0c3.net>
28775         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
28776         synonym for _SYS_AUXV_H to allow direct inclusion.
28777         * sysdeps/sparc/bits/hwcap.h: Likewise.
28778         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
28779         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
28780         * sysdeps/sparc/sysdep.h: Likewise.
28782 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28784         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
28786 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28788         * benchtests/bench-strrchr.c: Print length instead of position.
28790 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
28792         [BZ #16611]
28793         * sysdeps/unix/sysv/linux/kernel-features.h
28794         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
28795         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
28796         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
28797         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
28798         Likewise.
28799         [__i386__ || __powerpc__ || __sh__ || __sparc__]
28800         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28801         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
28802         (__ASSUME_SENDMMSG): Define instead of using previous
28803         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
28804         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28805         (__ASSUME_SENDMMSG_SYSCALL): Define.
28806         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28807         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
28808         Likewise.
28809         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28810         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28811         Likewise.
28812         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28813         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28814         Likewise.
28815         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
28816         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28817         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28818         [__ASSUME_SENDMMSG]: Change conditionals to
28819         [__ASSUME_SENDMMSG_SOCKETCALL].
28820         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28821         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
28822         Define.
28823         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28824         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
28825         Likewise.
28826         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
28827         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
28828         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
28829         [!__ASSUME_SENDMMSG]: Change conditional to
28830         [!__ASSUME_SENDMMSG_SOCKETCALL].
28831         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28832         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
28833         Define.
28835         [BZ #16610]
28836         * sysdeps/unix/sysv/linux/kernel-features.h
28837         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
28838         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
28839         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
28840         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
28841         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28842         [__i386__ || __sparc__]
28843         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28844         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
28845         (__ASSUME_RECVMMSG): Define instead of using previous
28846         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
28847         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28848         (__ASSUME_RECVMMSG_SYSCALL): Define.
28849         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28850         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28851         Likewise.
28852         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28853         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28854         Likewise.
28855         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28856         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28857         Likewise.
28858         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
28859         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28860         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28861         [__ASSUME_RECVMMSG]: Change condition to
28862         [__ASSUME_RECVMMSG_SOCKETCALL].
28863         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28864         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28865         Define.
28866         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28867         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28868         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
28869         Likewise.
28870         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
28871         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
28872         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
28873         [!__ASSUME_RECVMMSG]: Change condition to
28874         [!__ASSUME_RECVMMSG_SOCKETCALL].
28875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28876         (__ASSUME_RECVMMSG_SYSCALL): Define.
28878         [BZ #16609]
28879         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
28880         __powerpc__ || __s390__ || __sh__ || __sparc__]
28881         (__ASSUME_SOCKETCALL): Define.
28882         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
28883         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
28884         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
28885         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
28886         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28887         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28888         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
28889         (__ASSUME_ACCEPT4): Define instead of using previous
28890         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
28891         __powerpc__ || __sparc__ || __s390__)] condition.
28892         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28893         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28894         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
28895         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28896         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28897         [!__ASSUME_ACCEPT4]: Change condition to
28898         [!__ASSUME_ACCEPT4_SOCKETCALL].
28899         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28900         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
28901         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
28902         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28903         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
28904         __ASSUME_ACCEPT4_SYSCALL.
28905         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
28906         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
28907         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28908         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
28909         __ASSUME_ACCEPT4_SYSCALL.
28910         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
28911         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
28912         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
28913         [__ASSUME_ACCEPT4]: Change condition to
28914         [__ASSUME_ACCEPT4_SOCKETCALL].
28915         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28916         (__ASSUME_SOCKETCALL): Define.
28917         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
28918         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28919         (__ASSUME_SOCKETCALL): Define.
28920         (__ASSUME_ACCEPT4): Remove.
28921         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
28922         Define.
28923         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28924         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
28925         Likewise.
28926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28927         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
28929         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
28930         macro.
28931         (HWCAP_ARM_LPAE): Likewise.
28932         (HWCAP_ARM_EVTSTRM): Likewise.
28933         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
28934         Add vpfd32, lpae and evtstrm.
28935         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
28936         Increase to 22.
28938 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
28940         * math/auto-libm-test-in: Add tests of clog10.
28941         * math/auto-libm-test-out: Regenerated.
28942         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
28943         * sysdeps/i386/fpu/libm-test-ulps: Update.
28944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28946 2014-02-18  Andreas Schwab  <schwab@suse.de>
28948         [BZ #16574]
28949         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
28950         Store non-zero if the second buffer was newly allocated.
28951         (send_dg): Likewise.
28952         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
28953         to send_vc and send_dg.
28954         (res_nsend): Pass NULL for ansp2_malloced.
28955         * resolv/res_query.c (__libc_res_nquery): Add parameter
28956         answerp2_malloced and pass it down to __libc_res_nsend.
28957         (res_nquery): Pass additional NULL to __libc_res_nquery.
28958         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
28959         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
28960         second answer buffer if answerp2_malloced was set.
28961         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
28962         (__libc_res_nquerydomain): Add parameter
28963         answerp2_malloced and pass it down to __libc_res_nquery.
28964         (res_nquerydomain): Pass additional NULL to
28965         __libc_res_nquerydomain.
28966         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
28967         additional NULL to __libc_res_nsend and __libc_res_nquery.
28968         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
28969         additional NULL to __libc_res_nsearch.
28970         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
28971         parameter of __libc_res_nsearch to check for separately allocated
28972         second buffer.
28973         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
28974         __libc_res_nquery.
28975         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
28976         additional NULL to __libc_res_nquery.
28977         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
28978         __libc_res_nsearch.
28979         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
28980         * include/resolv.h: Update prototypes of __libc_res_nquery,
28981         __libc_res_nsearch, __libc_res_nsend.
28983 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
28985         * math/auto-libm-test-in: Add tests of fma.
28986         * math/auto-libm-test-out: Regenerated.
28987         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
28988         (fma_towardzero_test_data): Likewise.
28989         (fma_downward_test_data): Likewise.
28990         (fma_upward_test_data): Likewise.
28991         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
28992         mpc_mode.
28993         (rounding_modes): Add values for new field.
28994         (func_calc_method): Add value mpfr_fff_f.
28995         (func_calc_desc): Add mpfr_fff_f union field.
28996         (test_function): Add field exact_args.
28997         (FUNC): Add macro argument EXACT_ARGS.
28998         (FUNC_mpfr_f_f): Update call to FUNC.
28999         (FUNC_mpfr_f_f): Likewise.
29000         (FUNC_mpfr_ff_f): Likewise.
29001         (FUNC_mpfr_if_f): Likewise.
29002         (FUNC_mpc_c_f): Likewise.
29003         (FUNC_mpc_c_c): Likewise.
29004         (test_functions): Add fma.  Update calls to FUNC.
29005         (handle_input_arg): Add argument exact_args.
29006         (add_test): Update call to handle_input_arg.
29007         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29008         (output_for_one_input_case): Update call to calc_generic_results.
29009         Recalculate exact zero results in each rounding mode.
29011         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29012         non-negative before setting low bit.
29013         * math/auto-libm-test-in: Mark one asin test possibly having
29014         spurious underflow.
29015         * math/auto-libm-test-out: Regenerated.
29016         * sysdeps/i386/fpu/libm-test-ulps: Update.
29017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29019 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29021         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29022         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29023         ports/sysdeps/unix/sysv/linux/microblaze.
29024         * README: Add missing listing for microblaze*-*-linux-gnu.
29026 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29028         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29029         duplicate code
29031 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29033         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29034         * sysdeps/unix/sysv/linux/ia64: Move directory from
29035         ports/sysdeps/unix/sysv/linux/ia64.
29036         * README: Update listing for ia64-*-linux-gnu.
29038 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29039             Joseph Myers  <joseph@codesourcery.com>
29041         * Makeconfig (test-name): New variable.
29042         (evaluate-test): Likewise.
29043         * Makerules (do-test-clean): Remove .test-result files.
29044         (common-mostlyclean): Likewise.
29045         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29046         * scripts/evaluate-test.sh: New file.
29048 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29050         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29051         separate $(objpfx)tst-fopenloc-cmp.out and
29052         $(objpfx)tst-fopenloc-mem.out targets.
29053         (tests): Update dependencies.
29054         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29055         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29056         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29057         (tst-rxspencer-no-utf8-ARGS): New variable.
29058         (tst-rxspencer-no-utf8-ENV): Likewise.
29059         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29060         instead of $(objpfx)tst-rxspencer-mem.
29061         ($(objpfx)tst-rxspencer-mem): Change target to
29062         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29063         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29064         * posix/tst-rxspencer-no-utf8.c: New file.
29066         * elf/Makefile ($(objpfx)order.out): Remove rule.
29067         [$(run-built-tests) = yes] (tests): Depend on
29068         $(objpfx)order-cmp.out.
29069         ($(objpfx)order-cmp.out): New rule.
29070         [$(run-built-tests) = yes] (tests): Depend on
29071         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29072         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29073         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29074         $(objpfx)tst-array5-static-cmp.out.
29075         ($(objpfx)tst-array1.out): Remove rule.
29076         ($(objpfx)tst-array1-cmp.out): New rule.
29077         ($(objpfx)tst-array1-static.out): Remove rule.
29078         ($(objpfx)tst-array1-static-cmp.out): New rule.
29079         ($(objpfx)tst-array2.out): Remove rule.
29080         ($(objpfx)tst-array2-cmp.out): New rule.
29081         ($(objpfx)tst-array3.out): Remove rule.
29082         ($(objpfx)tst-array3-cmp.out): New rule.
29083         ($(objpfx)tst-array4.out): Remove rule.
29084         ($(objpfx)tst-array4-cmp.out): New rule.
29085         ($(objpfx)tst-array5.out): Remove rule.
29086         ($(objpfx)tst-array5-cmp.out): New rule.
29087         ($(objpfx)tst-array5-static.out): Remove rule.
29088         ($(objpfx)tst-array5-static-cmp.out): New rule.
29089         [$(run-built-tests) = yes] (tests): Depend on
29090         $(objpfx)order2-cmp.out.
29091         ($(objpfx)order2.out): Remove rule.
29092         ($(objpfx)order2-cmp.out): New rule.
29093         ($(objpfx)tst-initorder.out): Remove rule.
29094         [$(run-built-tests) = yes] (tests): Depend on
29095         $(objpfx)tst-initorder-cmp.out.
29096         ($(objpfx)tst-initorder-cmp.out): New rule.
29097         ($(objpfx)tst-initorder2.out): Remove rule.
29098         [$(run-built-tests) = yes] (tests): Depend on
29099         $(objpfx)tst-initorder2-cmp.out.
29100         ($(objpfx)tst-initorder2-cmp.out): New rule.
29101         [$(run-built-tests) = yes] (tests): Depend on
29102         $(objpfx)tst-unused-dep-cmp.out.
29103         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29104         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29105         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29106         on $(objpfx)tst-setvbuf1-cmp.out.
29107         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29108         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29109         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29110         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29111         ($(objpfx)tst-svc.out): Remove rule.
29112         ($(objpfx)tst-svc-cmp.out): New rule.
29114 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29116         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29117         * ctype/ctype.h [__USE_MISC]: Likewise.
29118         * dirent/dirent.h [__USE_MISC]: Likewise.
29119         * grp/grp.h [__USE_MISC]: Likewise.
29120         * io/fcntl.h [__USE_MISC]: Likewise.
29121         * io/sys/stat.h [__USE_MISC]: Likewise.
29122         * libio/stdio.h [__USE_MISC]: Likewise.
29123         * posix/unistd.h [__USE_MISC]: Likewise.
29124         * pwd/pwd.h [__USE_MISC]: Likewise.
29125         * stdlib.h [__USE_MISC]: Likewise.
29126         * string/bits/string2.h [__USE_MISC]: Likewise.
29127         * string/string.h [__USE_MISC]: Likewise.
29128         * time/time.h [__USE_MISC]: Likewise.
29130 2014-02-13  Andreas Schwab  <schwab@suse.de>
29132         [BZ #16574]
29133         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29134         second answer buffer if it was separately allocated.
29136 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29138         * sysdeps/mips/math-tests.h: Include <features.h>.
29139         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29140         (ROUNDING_TESTS_long_double): Do not define.
29141         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29142         (EXCEPTION_TESTS_long_double): Likewise.
29143         * sysdeps/mips/mips64/libm-test-ulps: Update.
29145         * include/features.h (__USE_BSD): Remove macro definitions.
29146         (__USE_SVID): Likewise.
29147         (_BSD_SOURCE): Likewise.
29148         (_SVID_SOURCE): Likewise.
29149         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29150         from definition of _DEFAULT_SOURCE.
29151         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29152         [_DEFAULT_SOURCE].
29153         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29154         * bits/mman.h [__USE_BSD]: Likewise.
29155         * bits/termios.h [__USE_BSD]: Likewise.
29156         * bits/waitstatus.h [__USE_BSD]: Likewise.
29157         * ctype/ctype.h [__USE_SVID]: Likewise.
29158         * dirent/dirent.h [__USE_BSD]: Likewise.
29159         * grp/grp.h [__USE_SVID]: Likewise.
29160         [__USE_BSD]: Likewise.
29161         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29162         * io/fcntl.h [__USE_BSD]: Likewise.
29163         * io/ftw.h [__USE_BSD]: Likewise.
29164         * io/sys/stat.h [__USE_BSD]: Likewise.
29165         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29166         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29167         * libio/stdio.h [__USE_SVID]: Likewise.
29168         [__USE_BSD]: Likewise.
29169         * math/math.h [__USE_SVID]: Likewise.
29170         [__USE_BSD]: Likewise.
29171         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29172         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29173         * misc/search.h [__USE_SVID]: Likewise.
29174         * misc/sys/mman.h [__USE_BSD]: Likewise.
29175         * misc/sys/syslog.h [__USE_BSD]: Likewise.
29176         * misc/sys/uio.h [__USE_BSD]: Likewise.
29177         * posix/bits/unistd.h [__USE_BSD]: Likewise.
29178         * posix/glob.h [__USE_BSD]: Likewise.
29179         * posix/regex.h [__USE_BSD]: Likewise.
29180         * posix/sys/types.h [__USE_BSD]: Likewise.
29181         [__USE_SVID]: Likewise.
29182         * posix/sys/utsname.h [__USE_SVID]: Likewise.
29183         * posix/sys/wait.h [__USE_BSD]: Likewise.
29184         [__USE_SVID]: Likewise.
29185         * posix/unistd.h [__USE_BSD]: Likewise.
29186         [__USE_SVID]: Likewise.
29187         * pwd/pwd.h [__USE_SVID]: Likewise.
29188         * resolv/netdb.h [__USE_BSD]: Likewise.
29189         * setjmp/setjmp.h [__USE_BSD]: Likewise.
29190         * signal/signal.h [__USE_BSD]: Likewise.
29191         [__USE_SVID]: Likewise.
29192         * socket/sys/socket.h [__USE_BSD]: Likewise.
29193         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
29194         * stdlib/stdlib.h [__USE_BSD]: Likewise.
29195         [__USE_SVID]: Likewise.
29196         * string/bits/string2.h [__USE_BSD]: Likewise.
29197         [__USE_SVID]: Likewise.
29198         * string/bits/string3.h [__USE_BSD]: Likewise.
29199         * string/endian.h [__USE_BSD]: Likewise.
29200         * string/string.h [__USE_SVID]: Likewise.
29201         [__USE_BSD]: Likewise.
29202         * string/strings.h [__USE_BSD]: Likewise.
29203         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
29204         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
29205         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
29206         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
29207         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
29208         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
29209         Likewise.
29210         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
29211         Likewise.
29212         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
29213         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
29214         Likewise.
29215         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
29216         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
29217         Likewise.
29218         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
29219         Likewise.
29220         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
29221         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
29222         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
29223         Likewise.
29224         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
29225         Likewise.
29226         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
29227         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
29228         * termios/termios.h [__USE_BSD]: Likewise.
29229         * time/sys/time.h [__USE_BSD]: Likewise.
29230         * time/time.h [__USE_BSD]: Likewise.
29231         [__USE_SVID]: Likewise.
29233         * Makefile (subdir_targets): Remove subdir_lint.out.
29235         * stdio-common/Makefile (do-tst-unbputc): Remove target.
29236         (do-tst-printf): Likewise.
29237         (tests): Depend directly on $(objpfx)tst-unbputc.out and
29238         $(objpfx)tst-printf.out.
29240         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
29242         * Makerules (check-abi-%): Change target to
29243         $(objpfx)check-abi-%.out.
29244         (check-abi target): Update dependencies.
29245         (check-abi-pattern variable): Redirect output of diff to $@.
29246         (check-abi variable): Likewise.
29247         * elf/Makefile (check-abi): Update dependencies.
29249         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
29250         unused.
29251         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
29252         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
29253         subnormal range.
29254         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
29255         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
29256         value has largest subnormal exponent.
29257         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
29258         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
29259         * sysdeps/aarch64/soft-fp/sfp-machine.h
29260         (_FP_TININESS_AFTER_ROUNDING): New macro.
29261         * sysdeps/alpha/soft-fp/sfp-machine.h
29262         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29263         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29264         Likewise.
29265         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
29266         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29267         * sysdeps/mips/soft-fp/sfp-machine.h
29268         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29269         * sysdeps/powerpc/soft-fp/sfp-machine.h
29270         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29271         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29272         Likewise.
29273         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29274         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29275         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29276         (_FP_TININESS_AFTER_ROUNDING): Likewise.
29277         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
29278         Likewise.
29280 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
29282         [BZ #16545]
29283         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
29284         model 1.
29286 2014-02-12  Richard Henderson  <rth@redhat.com>
29288         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
29289         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
29290         * sysdeps/unix/sysv/linux/alpha: Move directory from
29291         ports/sysdeps/unix/sysv/linux/alpha.
29292         * README: Update listing for alpha-*-linux-gnu.
29294 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
29296         * include/features.h: Update comment documenting feature test
29297         macros.
29298         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
29299         _DEFAULT_SOURCE.
29300         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
29301         (_SVID_SOURCE): Likewise.
29302         (_DEFAULT_SOURCE): Update description of default features.
29303         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
29304         with _GNU_SOURCE.
29305         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
29306         (S_ISVTX): Likewise.
29307         * manual/math.texi (Mathematical Constants): Likewise.
29308         * manual/signal.texi (Interrupted Primitives): Likewise.
29309         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
29310         * math/test-matherr.c (_SVID_SOURCE): Do not define.
29311         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
29312         Don't refer to _SVID_SOURCE in warning text.
29314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29316         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
29317         already defined.
29318         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
29319         * sysdeps/mips/dl-lookup.c: Remove.
29320         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
29322 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29324         [BZ #16447]
29325         * math/auto-libm-test-in: Add testcase for expl.
29326         * math/auto-libm-test-out: Regenerate.
29327         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
29328         calculation of unsafe.
29329         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
29331 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29333         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
29334         * sysdeps/unix/sysv/linux/aarch64: Move directory from
29335         ports/sysdeps/unix/sysv/linux/aarch64.
29336         * README: Update listing for aarch64*-*-linux-gnu.
29338 2014-02-11  Will Newton  <will.newton@linaro.org>
29340         * manual/probes.texi (Mathematical Function Probes): Use
29341         "triggered" instead of "hit".
29343         * manual/probes.texi (Internal Probes): Add documentation
29344         of setjmp, longjmp and longjmp_target probes.
29346         * include/stap-probe.h: Add comment about probe argument
29347         format.
29349         * malloc/mtrace.c (attribute_hidden): Remove unused macro
29350         definition.  (tr_where, tr_freehook, tr_mallochook,
29351         tr_reallochook, tr_memalignhook): Use ANSI protoype.
29353 2014-02-11  David S. Miller  <davem@davemloft.net>
29355         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
29356         processing int_tests.
29358 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
29360         * sysdeps/mips: Move directory from ports/sysdeps/mips.
29361         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
29362         * sysdeps/unix/sysv/linux/mips: Move directory from
29363         ports/sysdeps/unix/sysv/linux/mips.
29364         * README: Update listing for mips-*-linux-gnu and
29365         mips64-*-linux-gnu.
29367 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
29369         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
29370         * sysdeps/unix/sysv/linux/m68k: Move directory from
29371         ports/sysdeps/unix/sysv/linux/m68k.
29372         * README: Update listing for m68k-*-linux-gnu.
29374 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
29376         * sysdeps/tile: Move directory from ports/sysdeps/tile.
29377         * sysdeps/unix/sysv/linux/generic: Move directory from
29378         ports/sysdeps/unix/sysv/linux/generic.
29379         * sysdeps/unix/sysv/linux/tile: Move directory from
29380         ports/sysdeps/unix/sysv/linux/tile.
29381         * README: Update listing for tile*-*-linux-gnu.
29383 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
29385         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
29386         __builtin_expect.
29387         * benchtests/bench-memmem.c (simple_memmem): Likewise.
29388         * catgets/open_catalog.c (__open_catalog): Likewise.
29389         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
29390         * debug/confstr_chk.c: Likewise.
29391         * debug/fread_chk.c (__fread_chk): Likewise.
29392         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
29393         * debug/getgroups_chk.c: Likewise.
29394         * debug/mbsnrtowcs_chk.c: Likewise.
29395         * debug/mbsrtowcs_chk.c: Likewise.
29396         * debug/mbstowcs_chk.c: Likewise.
29397         * debug/memcpy_chk.c: Likewise.
29398         * debug/memmove_chk.c: Likewise.
29399         * debug/mempcpy_chk.c: Likewise.
29400         * debug/memset_chk.c: Likewise.
29401         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29402         * debug/strcat_chk.c (__strcat_chk): Likewise.
29403         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
29404         * debug/strncat_chk.c (__strncat_chk): Likewise.
29405         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
29406         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
29407         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
29408         * debug/wcpncpy_chk.c: Likewise.
29409         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29410         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
29411         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
29412         * debug/wcsncpy_chk.c: Likewise.
29413         * debug/wcsnrtombs_chk.c: Likewise.
29414         * debug/wcsrtombs_chk.c: Likewise.
29415         * debug/wcstombs_chk.c: Likewise.
29416         * debug/wmemcpy_chk.c: Likewise.
29417         * debug/wmemmove_chk.c: Likewise.
29418         * debug/wmempcpy_chk.c: Likewise.
29419         * debug/wmemset_chk.c: Likewise.
29420         * dirent/scandirat.c (SCANDIRAT): Likewise.
29421         * dlfcn/dladdr1.c (dladdr1): Likewise.
29422         * dlfcn/dladdr.c (dladdr): Likewise.
29423         * dlfcn/dlclose.c (dlclose_doit): Likewise.
29424         * dlfcn/dlerror.c (__dlerror): Likewise.
29425         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
29426         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
29427         * dlfcn/dlopen.c (dlopen_doit): Likewise.
29428         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
29429         * dlfcn/dlsym.c (dlsym_doit): Likewise.
29430         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
29431         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
29432         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
29433         Likewise.
29434         * elf/dl-conflict.c: Likewise.
29435         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
29436         * elf/dl-dst.h: Likewise.
29437         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
29438         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
29439         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
29440         * elf/dl-init.c (call_init, _dl_init): Likewise.
29441         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
29442         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
29443         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
29444         Likewise.
29445         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
29446         Likewise.
29447         * elf/dl-minimal.c (__libc_memalign): Likewise.
29448         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
29449         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29450         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
29451         * elf/dl-sym.c (do_sym): Likewise.
29452         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
29453         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
29454         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
29455         * elf/dl-writev.h (_dl_writev): Likewise.
29456         * elf/ldconfig.c (search_dir): Likewise.
29457         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
29458         (dl_main): Likewise.
29459         * elf/setup-vdso.h (setup_vdso): Likewise.
29460         * grp/compat-initgroups.c (compat_call): Likewise.
29461         * grp/fgetgrent.c (fgetgrent): Likewise.
29462         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
29463         * grp/putgrent.c (putgrent): Likewise.
29464         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29465         Likewise.
29466         * hurd/hurdinit.c: Likewise.
29467         * iconvdata/8bit-gap.c (struct): Likewise.
29468         * iconvdata/ansi_x3.110.c : Likewise.
29469         * iconvdata/big5.c : Likewise.
29470         * iconvdata/big5hkscs.c : Likewise.
29471         * iconvdata/cp1255.c: Likewise.
29472         * iconvdata/cp1258.c : Likewise.
29473         * iconvdata/cp932.c : Likewise.
29474         * iconvdata/euc-cn.c: Likewise.
29475         * iconvdata/euc-jisx0213.c : Likewise.
29476         * iconvdata/euc-jp.c: Likewise.
29477         * iconvdata/euc-jp-ms.c : Likewise.
29478         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
29479         * iconvdata/gb18030.c : Likewise.
29480         * iconvdata/gbbig5.c (const): Likewise.
29481         * iconvdata/gbgbk.c: Likewise.
29482         * iconvdata/gbk.c : Likewise.
29483         * iconvdata/ibm1364.c : Likewise.
29484         * iconvdata/ibm930.c : Likewise.
29485         * iconvdata/ibm932.c: Likewise.
29486         * iconvdata/ibm933.c : Likewise.
29487         * iconvdata/ibm935.c : Likewise.
29488         * iconvdata/ibm937.c : Likewise.
29489         * iconvdata/ibm939.c : Likewise.
29490         * iconvdata/ibm943.c: Likewise.
29491         * iconvdata/iso_11548-1.c: Likewise.
29492         * iconvdata/iso-2022-cn.c : Likewise.
29493         * iconvdata/iso-2022-cn-ext.c : Likewise.
29494         * iconvdata/iso-2022-jp-3.c: Likewise.
29495         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
29496         * iconvdata/iso-2022-kr.c : Likewise.
29497         * iconvdata/iso646.c (gconv_end): Likewise.
29498         * iconvdata/iso_6937-2.c : Likewise.
29499         * iconvdata/iso_6937.c : Likewise.
29500         * iconvdata/iso8859-1.c: Likewise.
29501         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
29502         * iconvdata/shift_jisx0213.c : Likewise.
29503         * iconvdata/sjis.c : Likewise.
29504         * iconvdata/t.61.c : Likewise.
29505         * iconvdata/tcvn5712-1.c : Likewise.
29506         * iconvdata/tscii.c: Likewise.
29507         * iconvdata/uhc.c : Likewise.
29508         * iconvdata/unicode.c (gconv_end): Likewise.
29509         * iconvdata/utf-16.c (gconv_end): Likewise.
29510         * iconvdata/utf-32.c (gconv_end): Likewise.
29511         * iconvdata/utf-7.c (base64): Likewise.
29512         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29513         * iconv/gconv_close.c (__gconv_close): Likewise.
29514         * iconv/gconv_open.c (__gconv_open): Likewise.
29515         * iconv/gconv_simple.c (internal_ucs4_loop_single)
29516         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
29517         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
29518         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
29519         (ucs4le_internal_loop_single): Likewise.
29520         * iconv/iconv.c (iconv): Likewise.
29521         * iconv/iconv_close.c: Likewise.
29522         * iconv/loop.c (SINGLE): Likewise.
29523         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
29524         * include/atomic.h: Likewise.
29525         * inet/inet6_option.c (option_alloc): Likewise.
29526         * intl/bindtextdom.c (set_binding_values): Likewise.
29527         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
29528         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
29529         * intl/localealias.c (read_alias_file): Likewise.
29530         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29531         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
29532         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
29533         * libio/fmemopen.c (fmemopen): Likewise.
29534         * libio/iofgets.c (_IO_fgets): Likewise.
29535         * libio/iofgets_u.c (fgets_unlocked): Likewise.
29536         * libio/iofgetws.c (fgetws): Likewise.
29537         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
29538         * libio/iogetdelim.c (_IO_getdelim): Likewise.
29539         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
29540         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
29541         * locale/findlocale.c (_nl_find_locale): Likewise.
29542         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29543         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
29544         Likewise.
29545         * locale/setlocale.c (setlocale): Likewise.
29546         * login/programs/pt_chown.c (main): Likewise.
29547         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
29548         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
29549         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
29550         (mmap, mmap64, mremap, munmap): Likewise.
29551         * math/e_exp2l.c: Likewise.
29552         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
29553         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
29554         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
29555         * math/s_catan.c (__catan): Likewise.
29556         * math/s_catanf.c (__catanf): Likewise.
29557         * math/s_catanh.c (__catanh): Likewise.
29558         * math/s_catanhf.c (__catanhf): Likewise.
29559         * math/s_catanhl.c (__catanhl): Likewise.
29560         * math/s_catanl.c (__catanl): Likewise.
29561         * math/s_ccosh.c (__ccosh): Likewise.
29562         * math/s_ccoshf.c (__ccoshf): Likewise.
29563         * math/s_ccoshl.c (__ccoshl): Likewise.
29564         * math/s_cexp.c (__cexp): Likewise.
29565         * math/s_cexpf.c (__cexpf): Likewise.
29566         * math/s_cexpl.c (__cexpl): Likewise.
29567         * math/s_clog10.c (__clog10): Likewise.
29568         * math/s_clog10f.c (__clog10f): Likewise.
29569         * math/s_clog10l.c (__clog10l): Likewise.
29570         * math/s_clog.c (__clog): Likewise.
29571         * math/s_clogf.c (__clogf): Likewise.
29572         * math/s_clogl.c (__clogl): Likewise.
29573         * math/s_csin.c (__csin): Likewise.
29574         * math/s_csinf.c (__csinf): Likewise.
29575         * math/s_csinh.c (__csinh): Likewise.
29576         * math/s_csinhf.c (__csinhf): Likewise.
29577         * math/s_csinhl.c (__csinhl): Likewise.
29578         * math/s_csinl.c (__csinl): Likewise.
29579         * math/s_csqrt.c (__csqrt): Likewise.
29580         * math/s_csqrtf.c (__csqrtf): Likewise.
29581         * math/s_csqrtl.c (__csqrtl): Likewise.
29582         * math/s_ctan.c (__ctan): Likewise.
29583         * math/s_ctanf.c (__ctanf): Likewise.
29584         * math/s_ctanh.c (__ctanh): Likewise.
29585         * math/s_ctanhf.c (__ctanhf): Likewise.
29586         * math/s_ctanhl.c (__ctanhl): Likewise.
29587         * math/s_ctanl.c (__ctanl): Likewise.
29588         * math/w_pow.c: Likewise.
29589         * math/w_powf.c: Likewise.
29590         * math/w_powl.c: Likewise.
29591         * math/w_scalb.c (sysv_scalb): Likewise.
29592         * math/w_scalbf.c (sysv_scalbf): Likewise.
29593         * math/w_scalbl.c (sysv_scalbl): Likewise.
29594         * misc/error.c (error_tail): Likewise.
29595         * misc/pselect.c (__pselect): Likewise.
29596         * nis/nis_callback.c (__nis_create_callback): Likewise.
29597         * nis/nis_call.c (__nisfind_server): Likewise.
29598         * nis/nis_creategroup.c (nis_creategroup): Likewise.
29599         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
29600         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
29601         * nis/nis_getservlist.c (nis_getservlist): Likewise.
29602         * nis/nis_lookup.c (nis_lookup): Likewise.
29603         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
29604         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
29605         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
29606         * nis/nis_xdr.c (xdr_endpoint): Likewise.
29607         * nis/nss_compat/compat-grp.c (getgrent_next_file)
29608         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
29609         * nis/nss_compat/compat-initgroups.c (add_group)
29610         (internal_getgrent_r): Likewise.
29611         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
29612         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
29613         * nis/nss_compat/compat-spwd.c (getspent_next_file)
29614         (internal_getspnam_r): Likewise.
29615         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
29616         (_nss_nis_getaliasbyname_r): Likewise.
29617         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
29618         (_nss_nis_getntohost_r): Likewise.
29619         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
29620         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
29621         (_nss_nis_getgrgid_r): Likewise.
29622         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
29623         (internal_nis_gethostent_r, internal_gethostbyname2_r)
29624         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
29625         (_nss_nis_gethostbyname4_r): Likewise.
29626         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
29627         (initgroups_netid): Likewise.
29628         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
29629         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
29630         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
29631         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
29632         (_nss_nis_getprotobynumber_r): Likewise.
29633         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
29634         (_nss_nis_getsecretkey): Likewise.
29635         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
29636         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
29637         (_nss_nis_getpwuid_r): Likewise.
29638         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
29639         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
29640         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
29641         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
29642         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
29643         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
29644         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
29645         Likewise.
29646         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
29647         (_nss_nisplus_getntohost_r): Likewise.
29648         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
29649         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
29650         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
29651         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
29652         Likewise.
29653         * nis/nss_nisplus/nisplus-initgroups.c
29654         (_nss_nisplus_initgroups_dyn): Likewise.
29655         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
29656         (_nss_nisplus_getnetbyaddr_r): Likewise.
29657         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
29658         (_nss_nisplus_getprotobynumber_r): Likewise.
29659         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
29660         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
29661         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
29662         Likewise.
29663         * nis/nss_nisplus/nisplus-service.c
29664         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
29665         (_nss_nisplus_getservbyport_r): Likewise.
29666         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
29667         (_nss_nisplus_getspnam_r): Likewise.
29668         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
29669         Likewise.
29670         * nscd/aicache.c (addhstaiX): Likewise.
29671         * nscd/cache.c (cache_search, prune_cache): Likewise.
29672         * nscd/connections.c (register_traced_file, send_ro_fd)
29673         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
29674         (main_loop_epoll): Likewise.
29675         * nscd/grpcache.c (addgrbyX): Likewise.
29676         * nscd/hstcache.c (addhstbyX): Likewise.
29677         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29678         * nscd/mem.c (gc, mempool_alloc): Likewise.
29679         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
29680         (addinnetgrX): Likewise.
29681         * nscd/nscd-client.h (__nscd_acquire_maplock)
29682         (__nscd_drop_map_ref): Likewise.
29683         * nscd/nscd_getai.c (__nscd_getai): Likewise.
29684         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29685         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
29686         Likewise.
29687         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29688         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29689         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
29690         (__nscd_get_map_ref): Likewise.
29691         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29692         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
29693         Likewise.
29694         * nscd/pwdcache.c (addpwbyX): Likewise.
29695         * nscd/selinux.c (preserve_capabilities): Likewise.
29696         * nscd/servicescache.c (addservbyX): Likewise.
29697         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
29698         * posix/fnmatch.c (fnmatch): Likewise.
29699         * posix/getopt.c (_getopt_internal_r): Likewise.
29700         * posix/glob.c (glob, glob_in_dir): Likewise.
29701         * posix/wordexp.c (exec_comm_child): Likewise.
29702         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
29703         (getanswer_r, gaih_getanswer_slice): Likewise.
29704         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
29705         * resolv/res_init.c: Likewise.
29706         * resolv/res_mkquery.c (res_nmkquery): Likewise.
29707         * resolv/res_query.c (__libc_res_nquery): Likewise.
29708         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
29709         Likewise.
29710         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
29711         * stdio-common/perror.c (perror): Likewise.
29712         * stdio-common/printf_fp.c (___printf_fp): Likewise.
29713         * stdio-common/tmpnam.c (tmpnam): Likewise.
29714         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29715         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29716         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29717         Likewise.
29718         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
29719         * stdlib/putenv.c (putenv): Likewise.
29720         * stdlib/setenv.c (__add_to_environ): Likewise.
29721         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29722         * stdlib/strtol_l.c (INTERNAL): Likewise.
29723         * string/memmem.c (memmem): Likewise.
29724         * string/strerror.c (strerror): Likewise.
29725         * string/strnlen.c (__strnlen): Likewise.
29726         * string/test-memmem.c (simple_memmem): Likewise.
29727         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
29728         * sunrpc/pm_getport.c (__get_socket): Likewise.
29729         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
29730         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
29731         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
29732         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
29733         Likewise.
29734         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29735         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29736         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
29737         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
29738         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
29739         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
29740         Likewise.
29741         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
29742         Likewise.
29743         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29744         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29745         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29746         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29747         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
29749         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
29750         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
29751         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
29752         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
29753         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29754         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
29755         Likewise.
29756         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
29757         Likewise.
29758         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
29759         Likewise.
29760         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
29761         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29762         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
29763         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
29764         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29765         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
29766         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29767         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
29768         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
29769         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
29770         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
29771         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29772         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29773         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
29774         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29775         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29776         Likewise.
29777         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
29778         Likewise.
29779         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
29780         Likewise.
29781         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
29782         Likewise.
29783         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29785         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
29786         Likewise.
29787         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
29788         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
29789         * sysdeps/posix/opendir.c (__opendirat): Likewise.
29790         * sysdeps/posix/sleep.c: Likewise.
29791         * sysdeps/posix/tempname.c: Likewise.
29792         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
29793         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29794         Likewise.
29795         * sysdeps/powerpc/powerpc32/dl-machine.h
29796         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
29797         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29798         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29799         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
29800         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
29801         Likewise.
29802         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
29803         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
29804         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29805         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
29806         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
29807         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
29808         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
29809         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
29810         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29811         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
29812         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
29813         (elf_machine_lazy_rel): Likewise.
29814         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29815         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
29816         (elf_machine_lazy_rel): Likewise.
29817         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
29818         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
29819         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
29820         * sysdeps/unix/grantpt.c (grantpt): Likewise.
29821         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
29822         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
29823         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29824         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29825         Likewise.
29826         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29827         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29828         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
29829         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
29830         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29831         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29832         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
29833         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
29834         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
29835         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29836         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29837         Likewise.
29838         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
29839         (__posix_fallocate64_l64): Likewise.
29840         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
29841         (posix_fallocate): Likewise.
29842         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
29843         Likewise.
29844         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29845         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
29846         (getifaddrs_internal): Likewise.
29847         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
29848         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
29849         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29850         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29851         * sysdeps/unix/sysv/linux/posix_fallocate64.c
29852         (__posix_fallocate64_l64): Likewise.
29853         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
29854         Likewise.
29855         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
29856         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
29857         (__get_clockfreq): Likewise.
29858         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
29859         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29860         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
29861         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29862         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29863         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
29864         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
29865         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
29866         Likewise.
29867         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
29868         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
29869         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
29870         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
29871         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29872         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
29873         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
29874         Likewise.
29875         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29876         (posix_fallocate): Likewise.
29877         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29878         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29879         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
29880         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
29881         (elf_machine_rela, elf_machine_rela_relative)
29882         (elf_machine_lazy_rel): Likewise.
29883         * time/asctime.c (asctime_internal): Likewise.
29884         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
29885         * time/tzset.c (__tzset_parse_tz): Likewise.
29886         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29887         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29888         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
29889         * wcsmbs/wcsmbsload.h: Likewise.
29891         [BZ #15894]
29892         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
29894         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
29895         (arena_get2): Remove THREAD_STATS conditionals.
29896         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
29897         (__malloc_stats, int): Likewise.
29899 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
29901         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
29902         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
29904         * manual/setjmp.texi: Fix typos/grammar errors.
29906         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
29907         Only return early when n is <= 0.  Delete unused return statement.
29909         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
29910         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
29911         * debug/tst-longjmp_chk3.c: New file.
29913         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
29914         (test_main): Replace code with set_fortify_handler call.
29915         * debug/test-strcpy_chk.c: Likewise.
29916         * debug/tst-chk1.c: Likewise.
29917         * debug/tst-longjmp_chk.c: Likewise.
29918         * test-skeleton.c: Include fcntl.h & paths.h
29919         (set_fortify_handler): Define.
29921         * debug/tst-longjmp_chk.c: Add header comment and include
29922         ../test-skeleton.c.
29923         (do_test): Mark static.
29924         (TEST_FUNCTION): Define.
29926         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
29927         (IP_PMTUDISC_INTERFACE): Likewise.
29928         (IP_MULTICAST_IF): Likewise.
29929         (IP_MULTICAST_TTL): Likewise.
29930         (IP_MULTICAST_LOOP): Likewise.
29931         (IP_ADD_MEMBERSHIP): Likewise.
29932         (IP_DROP_MEMBERSHIP): Likewise.
29933         (IP_UNBLOCK_SOURCE): Likewise.
29934         (IP_BLOCK_SOURCE): Likewise.
29935         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
29936         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
29937         (IP_MSFILTER): Likewise.
29938         (MCAST_JOIN_GROUP): Likewise.
29939         (MCAST_BLOCK_SOURCE): Likewise.
29940         (MCAST_UNBLOCK_SOURCE): Likewise.
29941         (MCAST_LEAVE_GROUP): Likewise.
29942         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29943         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29944         (MCAST_MSFILTER): Likewise.
29945         (IP_MULTICAST_ALL): Likewise.
29946         (IP_UNICAST_IF): Likewise.
29948         * timezone/Makefile: Delete $(have-ksh) check.
29949         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
29950         * timezone/tzselect.ksh: Add +x mode bits.
29952         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
29953         (ANON_INODE_FS_MAGIC): Likewise.
29954         (BDEVFS_MAGIC): Likewise.
29955         (BINFMTFS_MAGIC): Likewise.
29956         (BTRFS_TEST_MAGIC): Likewise.
29957         (CRAMFS_MAGIC_WEND): Likewise.
29958         (DEBUGFS_MAGIC): Likewise.
29959         (ECRYPTFS_SUPER_MAGIC): Likewise.
29960         (EXT3_SUPER_MAGIC): Likewise.
29961         (EXT4_SUPER_MAGIC): Likewise.
29962         (FUTEXFS_SUPER_MAGIC): Likewise.
29963         (HOSTFS_SUPER_MAGIC): Likewise.
29964         (HUGETLBFS_MAGIC): Likewise.
29965         (MINIX3_SUPER_MAGIC): Likewise.
29966         (MTD_INODE_FS_MAGIC): Likewise.
29967         (NILFS_SUPER_MAGIC): Likewise.
29968         (OPENPROM_SUPER_MAGIC): Likewise.
29969         (PIPEFS_MAGIC): Likewise.
29970         (PSTOREFS_MAGIC): Likewise.
29971         (QNX6_SUPER_MAGIC): Likewise.
29972         (RAMFS_MAGIC): Likewise.
29973         (REISERFS_SUPER_MAGIC_STRING): Likewise.
29974         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
29975         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
29976         (SECURITYFS_MAGIC): Likewise.
29977         (SELINUX_MAGIC): Likewise.
29978         (SMACK_MAGIC): Likewise.
29979         (SOCKFS_MAGIC): Likewise.
29980         (SQUASHFS_MAGIC): Likewise.
29981         (STACK_END_MAGIC): Likewise.
29982         (TMPFS_MAGIC): Likewise.
29983         (USBDEVICE_SUPER_MAGIC): Likewise.
29984         (V9FS_MAGIC): Likewise.
29985         (XENFS_SUPER_MAGIC): Likewise.
29986         (CRAMFS_MAGIC): Fix typo in comment.
29987         (EXT2_SUPER_MAGIC): Update comment.
29988         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
29990 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
29992         * sysdeps/arm: Move directory from ports/sysdeps/arm.
29993         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
29994         * sysdeps/unix/sysv/linux/arm: Move directory from
29995         ports/sysdeps/unix/sysv/linux/arm.
29996         * README: Update listing for arm-*-linux-gnueabi.
29998         * README: Remove mention of am33.
30000 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30002         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30003         than the comma operator, to avoid "rhs of comma has no effect"
30004         compiler warnings.
30005         (__sigfillset, __sigandset, __sigorset): Likewise.
30006         * include/signal.h (__sigemptyset): Likewise.
30007         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30009 2014-02-07  Allan McRae  <allan@archlinux.org>
30011         * version.h (RELEASE): Set to "development".
30012         (VERSION): Set to "2.19.90"
30013         * NEWS: Add 2.20 section.
30015 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30017         [BZ #16529]
30018         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30020 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30022         * manual/contrib.texi: Update entry for Carlos O'Donell,
30023         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30025 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30027         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30029         * sysdeps/unix/sysv/linux/kernel-features.h
30030         [__LINUX_KERNEL_VERSION >= 0x020621]
30031         (__ASSUME_PROC_PID_TASK_COMM): Define.
30033 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30035         [BZ #16398]
30036         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30037         conversion when destination buffer does not have enough space.
30038         * libio/tst-ftell-partial-wide.c: New test case.
30039         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30041         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30042         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30043         Leonard and Allan McRae.
30045 2014-02-04  David S. Miller  <davem@davemloft.net>
30047         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30048         32-bit.
30050 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30053         New file
30054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30055         New file
30056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30057         New file.
30058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30059         New file.
30060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30061         New file.
30062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30063         New file.
30064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30065         New file.
30066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30067         New file.
30068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30069         New file.
30070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30071         New file.
30072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30073         New file.
30074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30075         New file.
30076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30077         New file.
30079 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30081         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30082         * shlib-versions: Likewise.
30084 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30085             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30087         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30088         (abilist-pattern): New variable, set to %-le.abilist.
30090         * Makerules (abilist-pattern): New variable.
30091         (vpath): Use $(abilist-pattern) in place of %.abilist.
30092         (check-abi-% pattern rule): Likewise.
30093         (check-abi, update-abi): Likewise.
30095 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30099 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30101         * manual/startup.texi: Add next, previous, and top entries for
30102         the `Program Arguments' and `Environment Variables' nodes.
30104 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30106         * manual/macros.texi: Add comments before MTASC-safety macros.
30108         * manual/users.texi: Document MTASC-safety properties.
30110         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30111         (pthread_getspecific, pthread_setspecific): Format with
30112         @deftypefun, and add @safety note.
30113         * manual/signal.texi: Move comments that analyze the above
30114         functions to their home place.
30116 2014-02-03  Allan McRae  <allan@archlinux.org>
30118         * po/sl.po: Update Slovenian translation from translation project.
30120 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30122         * manual/time.texi (timegm): Add missing blank after @c.
30123         Reported by Joseph Myers <joseph@codesourcery.com>.
30125 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30127         * manual/check-safety.sh: New.
30128         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30130         * manual/terminal.texi: Document MTASC-safety properties.
30132         * manual/filesys.texi: Document MTASC-safety properties.
30134         * manual/errno.texi: Document MTASC-safety properties.
30136         * manual/intro.texi: Document safety identifiers and
30137         conditionals.
30139         * manual/string.texi (wcstok): Fix prototype.
30140         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30142         * manual/time.texi: Document MTASC-safety properties.
30144         * manual/string.texi: Document MTASC-safety properties.
30146         * manual/threads.texi: Document MTASC-safety properties.
30148         * manual/stdio.texi: Document MTASC-safety properties.
30150         * manual/syslog.texi: Document MTASC-safety properties.
30152         * manual/sysinfo.texi: Document MTASC-safety properties.
30154         * manual/startup.texi: Document MTASC-safety properties.
30156         * manual/socket.texi: Document MTASC-safety properties.
30158         * manual/signal.texi: Document MTASC-safety properties.
30160 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30162         * manual/setjmp.texi: Document MTASC-safety properties.
30164         * manual/search.texi: Document MTASC-safety properties.
30166         * manual/resource.texi: Document MTASC-safety properties.
30168         * manual/process.texi: Document MTASC-safety properties.
30170         * manual/platform.texi: Document MTASC-safety properties.
30172         * manual/pipe.texi: Document MTASC-safety properties.
30174         * manual/pattern.texi: Document MTASC-safety properties.
30176         * manual/message.texi: Document MTASC-safety properties.
30178         [BZ #12751]
30179         * manual/memory.texi: Document MTASC-safety properties.
30181         * manual/math.texi: Document MTASC-safety properties.
30183         * manual/locale.texi: Document MTASC-safety properties.
30185         * manual/llio.texi: Document MTASC-safety properties.
30187         * manual/libdl.texi: New.
30189         * manual/lang.texi: Document MTASC-safety properties.
30191         * manual/job.texi: Document MTASC-safety properties.
30193         * manual/getopt.texi: Document MTASC-safety properties.
30195         * manual/ctype.texi: Document MTASC-safety properties.
30197 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
30199         [BZ #16046]
30200         * csu/libc-tls.c (static_map): Remove variable.
30201         (__libc_setup_tls): Use main executable's link map for TLS data.
30202         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
30203         casing for LM_ID_BASE and GL(dl_nns).
30204         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
30205         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
30206         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
30207         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
30208         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
30209         member.
30210         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
30211         l_phnum members.
30213 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
30215         * manual/debug.texi: Document MTASC-safety properties.
30217 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
30219         [BZ #16510]
30220         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
30221         of __x86_64__ when disabling x87 inline functions.
30223 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
30225         * manual/charset.texi: Document MTASC-safety properties.
30227         * manual/crypt.texi: Document MTASC-safety properties.
30229         * manual/conf.texi: Document MTASC-safety properties.
30231         * manual/arith.texi: Document MTASC-safety properties.
30233         * manual/argp.texi: Document MTASC-safety properties.
30235         * manual/macros.texi: Introduce macros to document multi
30236         thread, asynchronous signal and asynchronous cancellation
30237         safety properties.
30238         * manual/intro.texi: Introduce the properties themselves.
30240 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30242         * sysdeps/sh/sh4/Makefile: New file.
30244 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
30246         * math/gen-libm-test.pl ($srcdir): New variable.
30247         ($auto_input): Use it.
30249 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30251         [BZ #16506]
30252         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
30253         access beyond array bounds when parsing netgroups file.
30255         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
30256         the old buffer before realloc.
30258 2014-01-27  Allan McRae  <allan@archlinux.org>
30260         * po/fr.po: Update French translation from translation project.
30262 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30264         * sysdeps/sh/libm-test-ulps: Regenerate.
30266 2014-01-24  David S. Miller  <davem@davemloft.net>
30268         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
30270 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30272         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
30273         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
30275 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30277         [BZ #16474]
30278         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
30279         string pointers after reallocation.
30281 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30283         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
30284         __SH4A__ instead of __SH_FPU_ANY__.
30286 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30288         * sysdeps/sh/fpu_control.h: New file.
30289         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
30290         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
30291         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
30292         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
30293         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
30294         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
30295         * sysdeps/sh/sys/ucontext.h: Remove.
30296         * sysdeps/sh/sys: Remove directory.
30298 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30300         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
30301         s390/sys/ucontext.h.
30302         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
30303         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
30305 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
30307         [BZ #15605]
30308         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
30310 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30312         [BZ#16431]
30313         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30314         Adjust the vDSO correctly for internal calls.
30315         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
30317 2014-01-20  Allan McRae  <allan@archlinux.org>
30319         * po/ca.po: Update Catalan translation from translation project.
30321 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
30323         * sysdeps/s390/sotruss-lib.c: New file.
30325 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30327         [BZ#16430]
30328         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
30329         (__GI___gettimeofday): Alias for a different internal symbol to avoid
30330         local calls issues by not having a PLT stub required for IFUNC calls.
30331         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
30333 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
30335         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
30336         * math/test-fpucw-static.c: Likewise.
30338 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30340         [BZ #16453]
30341         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
30343 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30345         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
30346         implementation for powerpc.
30348 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
30350         [BZ #14782]
30351         * sysdeps/posix/system.c (__libc_system): Do not enable
30352         asynchronous cancellation.
30354 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30356         [BZ #16427]
30357         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
30358         handling only for numbers special also in the IEEE case.
30360 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30362         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30364 2014-01-11  Allan McRae  <allan@archlinux.org>
30366         * po/bg.po: Update Bulgarian translation from translation project.
30368         * po/de.po: Update German translation from translation project.
30370 2014-01-10  Roland McGrath  <roland@hack.frob.com>
30372         * sysdeps/generic/gcc-compat.h: New file.
30374 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30376         * benchtests/asin-inputs: Correct slow inputs.
30377         * benchtests/acos-inputs: Likewise.
30379 2014-01-10  Allan McRae  <allan@archlinux.org>
30381         * po:sv.po: Update Swedish translation from translation project.
30383         * po/vi.po: Update Vietnamese translation from translation project.
30385         * po/eo.po: Update Esperanto translation from translation project.
30387         * po/cs.po: Update Czech translation from translation project.
30389         * po/nl.po: Update Dutch translation from translation project.
30391         * po/pl.po: Update Polish translation from translation project.
30393         * po/ru.po: Update Russian translation from translation project.
30395         * po/uk.po: Update Ukrainian translation from translation project.
30397 2014-01-08  Brooks Moses  <bmoses@google.com>
30399         * elf/dl-load.c: Fix comment typo.
30401 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
30403         * po/header.pot: Rename to...
30404         * po/pot.header: ... this.
30405         * po/Makefile: Use pot.header.
30407 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
30408             Maxim Kuvyrkov  <maxim@kugelworks.com>
30410         [BZ #16394]
30411         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
30412         SRC and DEST against LEN.
30414 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30416         [BZ #16414]
30417         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
30418         implementation.
30419         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
30421 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30425 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
30427         [BZ #16408]
30428         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
30429         for large positive arguments.
30431 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
30433         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30435         * math/auto-libm-test-in: Mark various tests with
30436         xfail-rounding:ldbl-128ibm.
30437         * math/auto-libm-test-out: Regenerated.
30439         [BZ #16407]
30440         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30441         Increase overflow threshold.
30443 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
30445         [BZ #14286]
30446         * stdio-common/vfprintf.c: Check for integer overflow.
30448 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30450         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
30451         the first argument and return value of __tls_get_addr_internal.
30453 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30455         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
30456         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
30458 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30460         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
30461         * sysdeps/s390/rtld-global-offsets.sym: New file.
30462         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
30463         GLIBC_2.19 symbol.
30464         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
30465         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
30466         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30467         ... this.
30468         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
30469         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30470         ... this.
30471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30472         Regenerate.
30473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30474         Regenerate.
30475         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
30476         halfs of GPRs for high_gprs contexts.
30477         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
30478         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
30479         field.
30480         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
30481         uc_flags field.
30482         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
30483         64 bit versions:
30484         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
30485         for high GPRs (uc_high_gprs) and for future extensions
30486         (__reserved).
30487         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
30488         for future extensions (__reserved).
30489         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
30490         64 bit versions:
30491         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
30492         SC_HIGHGPRS offset definition.
30493         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
30494         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
30496         * Versions.def: Add GLIBC_2.19 for libpthread.
30497         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
30498         siglongjmp for libpthread with GLIBC_2.19 symver.
30499         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
30500         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
30501         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
30502         * sysdeps/s390/__longjmp.c: New file.
30503         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
30504         * sysdeps/s390/longjmp.c: New file.
30505         * sysdeps/s390/setjmp.S: New file.
30506         * sysdeps/s390/sigjmp.S: New file.
30507         * sysdeps/s390/v1-longjmp.c: New file.
30508         * sysdeps/s390/v1-setjmp.h: New file.
30509         * sysdeps/s390/v1-sigjmp.c: New file.
30510         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
30511         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
30512         GLIBC_2.19 version.
30513         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
30514         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
30515         versioned symbols for ____longjmp_chk.
30516         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30517         Likewise.
30518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30519         Regenerate.
30520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30521         Regenerate.
30522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30523         Regenerate.
30524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30525         Regenerate.
30526         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
30527         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
30528         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
30529         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
30530         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
30531         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
30532         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
30533         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
30534         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
30535         * sysdeps/s390/rtld-__longjmp.c: New file.
30536         * sysdeps/s390/rtld-setjmp.S: New file.
30538 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
30540         [BZ #16400]
30541         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30542         Return -__logl (x) for small positive arguments without evaluating
30543         a polynomial.
30545 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
30547         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
30548         Rename to ...
30549         (__ptrace_peeksiginfo_args): ... this.
30550         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30551         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30552         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30554 2014-01-06  Allan McRae  <allan@archlinux.org>
30556         * inet/netinet/in.h: Fix typo in comment.
30558 2014-01-05  Andreas Jaeger  <aj@suse.de>
30560         * sysdeps/i386/fpu/libm-test-ulps: Update.
30562 2014-01-05  Allan McRae  <allan@archlinux.org>
30564         * po/libc.pot: Regenerated.
30566         * malloc/memusagestat.c: Fix gettext call formatting.
30568 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
30570         * nscd/nscd.c: Improve usage() output.
30572 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
30574         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
30575         * sysdeps/unix/sysv/linux/configure: Regenerated.
30576         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
30577         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
30579 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30581         [BZ #16390]
30582         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30583         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
30585 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30587         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
30588         extra tokens at end of #undef directive.
30589         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
30590         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
30591         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30593 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
30595         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30597         * math/auto-libm-test-in: Mark various tests with
30598         xfail-rounding:ldbl-128ibm.
30599         * math/auto-libm-test-out: Regenerated.
30601 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
30603         [BZ #16386]
30604         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
30605         numbers with subnormal high part when calculating exponent.
30607         [BZ #16385]
30608         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
30609         fabs.
30611         [BZ #16384]
30612         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
30613         M_LN2l.
30614         (__ieee754_acoshl): Use __log1pl not __log1p.
30616 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
30618         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
30619         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
30620         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
30621         (grow_heap, heap_trim, _int_new_arena, get_free_list)
30622         (reused_arena, arena_get2): Convert to GNU style.
30623         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
30624         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
30625         (memalign_check, __malloc_set_state): Likewise.
30626         * malloc/mallocbug.c (main): Likewise.
30627         * malloc/malloc.c (__malloc_assert, malloc_init_state)
30628         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
30629         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
30630         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
30631         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
30632         (__posix_memalign, malloc_info): Likewise.
30633         * malloc/malloc.h: Likewise.
30634         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
30635         (mallochook, memalignhook, reallochook, mabort): Likewise.
30636         * malloc/mcheck.h: Likewise.
30637         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
30638         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
30639         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
30640         * malloc/morecore.c (__default_morecore): Likewise.
30641         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
30642         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
30643         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
30644         (print_and_abort): Likewise.
30645         * malloc/obstack.h: Likewise.
30646         * malloc/set-freeres.c (__libc_freeres): Likewise.
30647         * malloc/tst-mallocstate.c (main): Likewise.
30648         * malloc/tst-mtrace.c (main): Likewise.
30649         * malloc/tst-realloc.c (do_test): Likewise.
30651 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30653         [BZ #16366]
30654         * nscd/netgroupcache.c (do_notfound): New function.
30655         (addgetnetgrentX): Use it.
30657         [BZ # 16365]
30658         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
30659         NSS_STATUS_NOTFOUND.
30661 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
30663         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30666 2014-01-01  Allan McRae  <allan@archlinux.org>
30668         * scripts/update-copyrights: Update configure input file suffix.
30670         * NEWS: Update copyright year.
30671         * catgets/gencat.c: Likewise.
30672         * csu/version.c: Likewise.
30673         * debug/catchsegv.sh: Likewise.
30674         * debug/pcprofiledump.c: Likewise.
30675         * debug/xtrace.sh: Likewise.
30676         * elf/ldconfig.c: Likewise.
30677         * elf/ldd.bash.in: Likewise.
30678         * elf/pldd.c: Likewise.
30679         * elf/sotruss.ksh: Likewise.
30680         * elf/sprof.c: Likewise.
30681         * iconv/iconv_prog.c: Likewise.
30682         * iconv/iconvconfig.c: Likewise.
30683         * locale/programs/locale.c: Likewise.
30684         * locale/programs/localedef.c: Likewise.
30685         * login/programs/pt_chown.c: Likewise.
30686         * malloc/memusage.sh: Likewise.
30687         * malloc/memusagestat.c: Likewise.
30688         * malloc/mtrace.pl: Likewise.
30689         * manual/libc.texinfo: Likewise.
30690         * nscd/nscd.c: Likewise.
30691         * nss/getent.c: Likewise.
30692         * nss/makedb.c: Likewise.
30693         * posix/getconf.c: Likewise.
30694         * scripts/test-installation.pl: Likewise.
30696         * All files with FSF copyright notices: Update copyright dates
30697         using scripts/update-copyrights.
30698         * intl/plural.c: Regenerated.
30699         * locale/programs/charmap-kw.h: Likewise.
30700         * locale/programs/locfile-kw.h: Likewise.
30702 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
30704         * sysdeps/unix/sysv/linux/configure: Regenerated.
30705         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
30706         the linux/fanotify.h header.
30707         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
30708         HAVE_LINUX_FANOTIFY_H is defined.
30710 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30712         * benchtests/cos-inputs: New inputs.
30713         * benchtests/sin-inputs: Likewise.
30715         * benchtests/atan-inputs: New inputs. Fix name of multiple
30716         precision fallback inputs.
30718         * benchtests/atanh-inputs: New inputs.
30719         * benchtests/tanh-inputs: Likewise.
30721         * benchtests/acosh-inputs: New inputs.
30722         * benchtests/asinh-inputs: Likewise.
30724         * benchtests/cosh-inputs: New inputs.
30725         * benchtests/sinh-inputs: Likewise.
30727         * benchtests/acos-inputs: Add more inputs.
30728         * benchtests/asin-inputs: Likewise.
30730 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
30732         [BZ #16375]
30733         * manual/arith.texi: Fix spelling.
30734         * manual/charset.texi: Likewise.
30735         * manual/errno.texi: Likewise.
30736         * manual/filesys.texi: Likewise.
30737         * manual/lang.texi: Likewise.
30738         * manual/llio.texi: Likewise.
30739         * manual/locale.texi: Likewise.
30740         * manual/message.texi: Likewise.
30741         * manual/resource.texi: Likewise.
30742         * manual/search.texi: Likewise.
30743         * manual/setjmp.texi: Likewise.
30744         * manual/stdio.texi: Likewise.
30745         * manual/string.texi: Likewise.
30746         * manual/sysinfo.texi: Likewise.
30747         * manual/time.texi: Likewise.
30749 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
30751         * po/sl.po: New file.
30753 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
30755         * .gitignore: Add core/.gdbinit/.gdb_history.
30757 2013-12-27  Allan McRae  <allan@archlinux.org>
30759         [BZ #16369]
30760         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
30761         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
30763 2013-12-24  Brooks Moses  <bmoses@google.com>
30765         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
30766         all compilers that claim C++98 compliance, not just GCC.
30767         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
30768         Likewise.
30770 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30772         * NEWS: Restore accidentally deleted bug-fix entries.
30774 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
30775             Ondřej Bílka  <neleai@seznam.cz>
30777         [BZ #15073]
30778         * malloc/malloc.c (_int_free): Perform sanity check only if we
30779         have_lock.
30781 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
30783         [BZ #12986]
30784         * manual/stdio.texi (String Input Conversions): Clarify that character
30785         classes are not supported.
30787 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30791 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
30793         [BZ #16337]
30794         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30795         Calculate results for small negative arguments directly rather
30796         than using reflection formula with special underflow handling.
30798         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
30799         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
30800         sysdeps/unix/bsd/bsd4.4/syscalls.list.
30801         (fchflags): Likewise.
30802         (revoke): Likewise.
30803         (setlogin): Likewise.
30804         (sigaltstack): Likewise.
30805         (wait4): Likewise.
30806         (sigblock): Remove.
30807         (sigsetmask): Likewise.
30808         (wait3): Likewise.
30809         (waitpid): Likewise.
30810         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
30811         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
30812         file.
30813         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
30814         * sysdeps/unix/bsd/Makefile: ... here.
30815         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
30816         * sysdeps/unix/bsd/Versions: ... here.
30817         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
30818         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
30819         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
30820         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
30821         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
30822         * sysdeps/unix/bsd/sigblock.c: ... here.
30823         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
30824         * sysdeps/unix/bsd/sigsetmask.c: ... here.
30825         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
30826         * sysdeps/unix/bsd/sigvec.c: ... here.
30827         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
30828         * sysdeps/unix/bsd/tcdrain.c: ... here.
30829         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
30830         * sysdeps/unix/bsd/tcgetattr.c: ... here.
30831         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
30832         * sysdeps/unix/bsd/tcsetattr.c: ... here.
30833         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
30834         * sysdeps/unix/bsd/wait.c: ... here.
30835         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
30836         * sysdeps/unix/bsd/wait3.c: ... here.
30837         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
30838         * sysdeps/unix/bsd/waitpid.c: ... here.
30840 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
30842         [BZ #16356]
30843         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
30844         round-to-nearest for [!USE_AS_EXPM1L].
30845         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
30846         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
30847         more tests of exp and exp10.  Expect some exp10 tests to miss
30848         exceptions or fail in directed rounding modes.
30849         * math/auto-libm-test-out: Regenerated.
30850         * math/libm-test.inc (exp10_tonearest_test_data): New array.
30851         (exp10_test_tonearest): New function.
30852         (exp10_towardzero_test_data): New array.
30853         (exp10_test_towardzero): New function.
30854         (exp10_downward_test_data): New array.
30855         (exp10_test_downward): New function.
30856         (exp10_upward_test_data): New array.
30857         (exp10_test_upward): New function.
30858         (main): Call the new functions.
30859         * sysdeps/i386/fpu/libm-test-ulps: Update.
30860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30862 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
30864         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30865         asinh, atan, atan2, atanh, cbrt, cos and cosh.
30866         * math/auto-libm-test-out: Regenerated.
30867         * math/libm-test.inc (acosh_test_data): Add more tests.
30868         (atanh_test_data): Likewise.
30869         (ceil_test_data): Likewise.
30870         (copysign_test_data): Likewise.
30871         * sysdeps/i386/fpu/libm-test-ulps: Update.
30872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30874         * timezone/checktab.awk: Update from tzcode 2013i.
30875         * timezone/private.h: Likewise.
30876         * timezone/scheck.c: Likewise.
30877         * timezone/tzfile.h: Likewise.
30878         * timezone/tzselect.ksh: Likewise.
30879         * timezone/zdump.c: Likewise.
30880         * timezone/zic.c: Likewise.
30882         * math/auto-libm-test-in: Add tests of cpow.
30883         * math/auto-libm-test-out: Regenerated.
30884         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
30885         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30886         mpc_cc_c.
30887         (func_calc_desc): Add mpc_cc_c union field.
30888         (test_functions): Add cpow.
30889         (special_fill_2pi): New function.
30890         (special_real_inputs): Add 2pi.
30891         (calc_generic_results): Handle mpc_cc_c.
30892         * sysdeps/i386/fpu/libm-test-ulps: Update.
30893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30895         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
30896         csqrt, ctan and ctanh.
30897         * math/auto-libm-test-out: Regenerated.
30898         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30899         (TEST_COND_x86): Likewise.
30900         (ccos_test_data): Use AUTO_TESTS_c_c.
30901         (ccosh_test_data): Likewise.
30902         (cexp_test_data): Likewise.
30903         (clog_test_data): Likewise.
30904         (csqrt_test_data): Likewise.
30905         (ctan_test_data): Likewise.
30906         (ctan_tonearest_test_data): Likewise.
30907         (ctan_towardzero_test_data): Likewise.
30908         (ctan_downward_test_data): Likewise.
30909         (ctan_upward_test_data): Likewise.
30910         (ctanh_test_data): Likewise.
30911         (ctanh_tonearest_test_data): Likewise.
30912         (ctanh_towardzero_test_data): Likewise.
30913         (ctanh_downward_test_data): Likewise.
30914         (ctanh_upward_test_data): Likewise.
30915         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30916         mpc_c_c.
30917         (func_calc_desc): Add mpc_c_c union field.
30918         (FUNC_mpc_c_c): New macro.
30919         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
30920         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
30921         ctanh.
30922         (special_fill_min_subnorm_p120): New function.
30923         (special_real_inputs): Add min_subnorm_p120.
30924         (calc_generic_results): Handle mpc_c_c.
30925         * sysdeps/i386/fpu/libm-test-ulps: Update.
30926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30928 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30930         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
30931         (do_sin_slow): New functions.
30932         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
30933         (cslow2, csloww1, csloww2): Use the new functions.
30935         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
30936         Use M to change sign of result instead of X.  Assume X is
30937         positive.
30938         (csloww1): Likewise.
30939         (__sin): Adjust.
30940         (__cos): Adjust.
30942         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
30943         arguments A and DA.
30944         (__sin): Adjust.
30945         (__cos): Likewise.
30947         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
30948         (__cos): Likewise.
30949         (sloww1): Don't adjust sign of DX.
30950         (csloww1): Likewise.
30951         (sloww2): Use X directly and don't adjust sign of DX.
30952         (csloww2): Likewise.
30954 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
30956         * math/auto-libm-test-in: Add tests of cabs and carg.
30957         * math/auto-libm-test-out: Regenerated.
30958         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
30959         (carg_test_data): Likewise.
30960         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30961         mpc_c_f.
30962         (func_calc_desc): Add mpc_c_f union field.
30963         (test_functions): Add cabs and carg.
30964         (calc_generic_results): Handle mpc_c_f.
30966         * sysdeps/powerpc/powerpc32/libgcc-compat.S
30967         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
30968         as a macro and a compat symbol.
30969         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30970         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30971         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30972         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30973         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
30974         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
30975         not use .hidden.
30976         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
30977         Likewise.
30978         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
30979         Likewise.
30980         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
30981         Likewise.
30982         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
30983         Likewise.
30984         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
30985         Likewise.
30986         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
30987         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
30988         from GLIBC_2.3.2.
30990 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30994 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
30996         * manual/texinfo.tex: Update to version 2013-11-26.10 with
30997         trailing whitespace removed.
30998         * scripts/config.guess: Update to version 2013-11-29.
30999         * scripts/config.sub: Update to version 2013-10-01.
31001         * math/auto-libm-test-in: Add tests of sincos.
31002         * math/auto-libm-test-out: Regenerated.
31003         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31005         mpfr_f_11.
31006         (func_calc_desc): Add mpfr_f_11 union field.
31007         (test_functions): Add sincos.
31008         (calc_generic_results): Handle mpfr_f_11.
31009         * sysdeps/i386/fpu/libm-test-ulps: Update.
31010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31012 2013-12-19  Andreas Schwab  <schwab@suse.de>
31014         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31015         CALL_MCOUNT.
31016         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31017         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31018         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31020 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31022         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31023         * sysdeps/i386/fpu/libm-test-ulps: Update.
31024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31026         [BZ #16293]
31027         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31028         round-to-nearest mode when using frndint.
31029         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31030         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31031         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31032         Likewise.
31033         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31034         sinh test to fail.
31035         * math/auto-libm-test-out: Regenerated.
31036         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31037         (TEST_COND_x86): Likewise.
31038         (expm1_tonearest_test_data): New array.
31039         (expm1_test_tonearest): New function.
31040         (expm1_towardzero_test_data): New array.
31041         (expm1_test_towardzero): New function.
31042         (expm1_downward_test_data): New array.
31043         (expm1_test_downward): New function.
31044         (expm1_upward_test_data): New array.
31045         (expm1_test_upward): New function.
31046         (main): Run the new test functions.
31047         * sysdeps/i386/fpu/libm-test-ulps: Update.
31048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31050         * include/features.h: Update comment documenting feature test
31051         macros.  Mention _DEFAULT_SOURCE in comment.
31052         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31053         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31054         _BSD_SOURCE and _SVID_SOURCE.
31055         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31056         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31057         !_SVID_SOURCE]: Likewise.
31058         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31059         (__USE_POSIX_IMPLICITLY): Define.
31060         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31061         (_POSIX_SOURCE): Undefine and redefine.
31062         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31063         (_POSIX_C_SOURCE): Likewise.
31064         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31065         (Feature Test Macros): Update documentation of default features.
31067 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31069         * benchtests/Makefile: Add bench-strtok.
31070         * benchtests/bench-strtok.c: New file: strtok benchtest.
31072 2013-12-19  Allan McRae  <allan@archlinux.org>
31074         * manual/install.texi: Suppress menu for plain text output.
31075         * INSTALL: Regenerated.
31077 2013-12-18  Brooks Moses  <bmoses@google.com>
31079         [BZ #15846]
31080         * misc/getauxval.c: Include errno.h.
31081         (__getauxval): Set errno to ENOENT if the requested type is not
31082         found.
31083         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31084         don't declare with __attribute_const__.
31085         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31086         * manual/startup.texi: Document that getauxval sets errno.
31088 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31090         * math/auto-libm-test-in: Add tests of jn and yn.
31091         * math/auto-libm-test-out: Regenerated.
31092         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31093         (yn_test_data): Likewise.
31094         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31095         mpfr_if_f.
31096         (func_calc_desc): Add mpfr_if_f union field.
31097         (FUNC_mpfr_if_f): New macro.
31098         (test_functions): Add jn and yn.
31099         (calc_generic_results): Assert type of second input for
31100         mpfr_ff_f.  Handle mpfr_if_f.
31101         (output_for_one_input_case): Disable all checking for arguments
31102         fitting floating-point types in case of an integer argument.
31103         * sysdeps/i386/fpu/libm-test-ulps: Update.
31104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31107         Don't expect fegetround reference in libm.so.
31109 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31111         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31112         $(config-cflags-nofma).
31114 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31116         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31117         * math/auto-libm-test-out: Regenerated.
31119         [BZ #16338]
31120         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31121         to determine exponent and adjust argument to have exponent of -1.
31122         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31123         log2.
31124         * math/auto-libm-test-out: Regenerated.
31125         * sysdeps/i386/fpu/libm-test-ulps: Update.
31126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31128 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31130         * manual/probes.texi: Remove cases when per-thread arenas are
31131         disabled.
31133 2013-12-18  Andreas Schwab  <schwab@suse.de>
31135         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31136         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31137         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31138         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31139         * sysdeps/i386/i686/multiarch/Makefile: Update.
31140         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31142 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31144         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31145         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31147 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31149         [BZ #15968]
31150         Support TZ transition times < 00:00:00.
31151         This is needed for version-3 tz-format files; it supports time
31152         stamps past 2037 for America/Godthab (the only entry in the tz
31153         database for which this change is relevant).
31154         * manual/time.texi (TZ Variable): Document transition times
31155         from -167:59:59 through -00:00:01.
31156         * time/tzset.c (tz_rule): Time of day is now signed.
31157         (__tzset_parse_tz): Parse negative time of day.
31159         Document TZ transition times >= 25:00:00.
31160         * manual/time.texi (TZ Variable): Document transition times from
31161         25:00:00 through 167:59:59.  These are already supported, and this
31162         support will help with version-3 tz-format files.
31164         * manual/time.texi (TZ Variable): Modernize North America example
31165         to reflect current (i.e., 2007-and-later) daylight saving rules.
31167         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31169 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31171         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31172         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31173         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31174         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31175         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
31176         * sysdeps/unix/bsd/bsdstat.h: Likewise.
31177         * sysdeps/unix/bsd/clock.c: Likewise.
31178         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
31179         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
31180         * sysdeps/unix/bsd/init-posix.c: Likewise.
31181         * sysdeps/unix/bsd/poll.c: Likewise.
31182         * sysdeps/unix/bsd/ptsname.c: Likewise.
31183         * sysdeps/unix/bsd/seekdir.c: Likewise.
31184         * sysdeps/unix/bsd/setegid.c: Likewise.
31185         * sysdeps/unix/bsd/seteuid.c: Likewise.
31186         * sysdeps/unix/bsd/setgid.c: Likewise.
31187         * sysdeps/unix/bsd/setrgid.c: Likewise.
31188         * sysdeps/unix/bsd/setruid.c: Likewise.
31189         * sysdeps/unix/bsd/setsid.c: Likewise.
31190         * sysdeps/unix/bsd/setuid.c: Likewise.
31191         * sysdeps/unix/bsd/sigaction.c: Likewise.
31192         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
31193         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
31194         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
31195         * sysdeps/unix/bsd/telldir.c: Likewise.
31196         * sysdeps/unix/bsd/times.c: Likewise.
31197         * sysdeps/unix/bsd/usleep.c: Likewise.
31199         * misc/Makefile (install-lib): Remove libbsd-compat.a.
31200         ($(objpfx)libbsd-compat.a): Remove rule.
31202         * include/features.h (__FAVOR_BSD): Do not define.
31203         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
31204         features conflicting with POSIX.
31205         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
31206         (_BSD_SOURCE): Remove description of not being a subset of other
31207         feature test macros.
31208         * manual/job.texi (getpgrp): Do not document BSD version.
31209         (getpgid): Do not document by reference to BSD getpgrp.
31210         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
31211         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
31212         * signal/signal.h [__FAVOR_BSD]: Likewise.
31213         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
31214         instead of making contents conditional on [__FAVOR_BSD].
31215         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
31217 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31221 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31223         [BZ #16314]
31224         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
31225         values below 2**-450, not 2**-500.
31226         * math/auto-libm-test-in: Don't allow spurious underflow from
31227         hypot.
31228         * math/auto-libm-test-out: Regenerated.
31230         [BZ #16316]
31231         [BZ #16330]
31232         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
31233         values of ha and hb and sort them after adjusting subnormal
31234         arguments.
31235         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31236         Likewise.
31237         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
31238         values of ea and eb and sort them after adjusting subnormal
31239         arguments.
31240         * math/auto-libm-test-in: Do not expect some hypot tests of
31241         subnormals to fail.  Add more hypot tests.
31242         * math/auto-libm-test-out: Regenerated.
31244 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31246         [BZ #13304]
31247         * sysdeps/sh/s_fma.c: New file.
31248         * sysdeps/sh/s_fmaf.c: New file.
31249         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
31250         version.
31251         * sysdeps/sh/Implies: Add sh/soft-fp.
31253 2013-12-16  Roland McGrath  <roland@hack.frob.com>
31255         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
31256         level of indirection to members `objname', `errstring', `malloced'.
31257         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31258         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
31259         it as the __longjmp argument (just pass 1 instead).
31260         (_dl_catch_error): Initialize C with argument pointers and address of
31261         volatile local ERRCODE rather than copying values out of C at return.
31263 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
31265         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
31266         * math/auto-libm-test-out: Regenerated.
31267         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
31268         (hypot_test_data): Likewise.
31269         (pow_test_data): Likewise.
31270         (pow_tonearest_test_data): Likewise.
31271         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31272         mpfr_ff_f.
31273         (func_calc_desc): Add mpfr_ff_f union field.
31274         (FUNC_mpfr_ff_f): New macro.
31275         (test_functions): Add atan2, hypot and pow.
31276         (special_fill_min): New function.
31277         (special_fill_minus_min): Likewise.
31278         (special_fill_min_subnorm): Likewise.
31279         (special_fill_minus_min_subnorm): Likewise.
31280         (special_real_inputs): Add min, -min, min_subnorm and
31281         -min_subnorm.
31282         (calc_generic_results): Handle mpfr_ff_f.
31283         * sysdeps/i386/fpu/libm-test-ulps: Update.
31284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31286 2013-12-16  Will Newton  <will.newton@linaro.org>
31288         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
31289         (Aligned Memory Blocks): Add documentation for aligned_alloc
31290         and suggest it as an alternative to posix_memalign.
31291         (Hooks for Malloc): Document __memalign_hook is also called
31292         for aligned_alloc.  (Summary of Malloc): Add summary for
31293         aligned alloc.  Document __memalign_hook is also called
31294         for aligned_alloc.
31296 2013-12-16  Will Newton  <will.newton@linaro.org>
31298         * manual/memory.texi (Malloc Examples): Clarify default
31299         alignment documentation.  Suggest posix_memalign rather
31300         than memalign or valloc.
31301         (Aligned Memory Blocks): Remove suggestion to use memalign
31302         or valloc.  Remove obsolete comment about BSD.
31303         Document memalign errno values and mark the function obsolete.
31304         Document posix_memalign returned error codes.  Mark valloc
31305         as obsolete.  (Hooks for Malloc): __memalign_hook is also
31306         called for posix_memalign and valloc.
31307         (Summary of Malloc): Add posix_memalign to function summary.
31308         __memalign_hook is also called for posix_memalign and valloc.
31310 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31312         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
31313         TAYLOR_SIN.
31314         (__sin): Adjust.
31315         (__cos): Likewise.
31316         (sloww): Use mynumber union.  Expand ternary operator into
31317         if-else statements.
31318         (cslow): use mynumber union.
31320 2013-12-16  Allan McRae  <allan@archlinux.org>
31322         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
31323         * configure: Regenerated.
31325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
31327         [BZ #14120]
31328         * configure.ac: Added --enable-maintainer-mode. Check for
31329         autoconf when enabled.
31330         * configure: Regenerated.
31332         * nscd/nscd.service: New file.
31333         * nscd/nscd.tmpfiles: New file.
31335 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
31337         [BZ #12100]
31338         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
31339         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
31340         * sysdeps/x86_64/multiarch/strstr.c: ... here.
31341         (strstr): Add __strstr_sse2_unaligned ifunc.
31342         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
31343         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
31344         (strcasestr): Remove __strcasestr_sse42 ifunc.
31345         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
31346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31349 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31351         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
31352         * sysdeps/sh/bits/fenv.h: ... here.
31353         * sysdeps/sh/sh4/fpu/bits: Remove directory.
31355 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31357         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
31359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
31360         hypotf multiarch implementations.
31361         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
31362         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
31363         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
31364         multiarch hypot for PPC64.
31365         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
31366         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
31367         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
31368         multiarch hypotf for PPC64.
31370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
31371         modff multiarch implementations.
31372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
31373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
31374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
31375         multiarch modf for PPC64.
31376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
31377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
31378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
31379         multiarch modff for PPC64.
31381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
31382         and logl multiarch implementations.
31383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
31384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
31385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
31386         multiarch logb for PPC64.
31387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
31388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
31389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
31390         multiarch logb for PPC64.
31391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
31392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
31393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
31394         multiarch logb for PPC64.
31396         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
31397         isinff multiarch implementation.
31398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
31399         file.
31400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
31401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
31402         multiarch isinf for PPC64.
31403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
31404         file.
31405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
31406         multiarch isinff for PPC64.
31408         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
31409         finitef multiarch implementation.
31410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
31411         file.
31412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
31413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
31414         multiarch finite for PPC64.
31415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
31416         file.
31417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
31418         multiarch finitef for PPC64.
31420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
31421         lrint multiarch implementation.
31422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
31423         file.
31424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
31425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
31426         multiarch llrint for PPC64.
31427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
31428         multiarch lrint for PPC64.
31430         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
31431         copysignf multiarch implementation.
31432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
31433         file.
31434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
31435         file.
31436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
31437         multiarch copysign for PPC64.
31438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
31439         multiarch copysignf for PPC64.
31441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
31442         multiarch implementation.
31443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
31444         file.
31445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
31446         file.
31447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
31448         file.
31449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
31450         file.
31451         multiarch llround for PPC64.
31452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
31453         multiarch trunc for PPC64.
31454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
31455         multiarch truncf for PPC64.
31457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
31458         multiarch implementation.
31459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
31460         file.
31461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
31462         file.
31463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
31464         file.
31465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
31466         file.
31467         multiarch llround for PPC64.
31468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
31469         multiarch round for PPC64.
31470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
31471         multiarch roundf for PPC64.
31473         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
31474         multiarch implementation.
31475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
31476         file.
31477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
31478         file.
31479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
31480         file.
31481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
31482         file.
31483         multiarch llround for PPC64.
31484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
31485         multiarch floor for PPC64.
31486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
31487         multiarch floorf for PPC64.
31489         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
31490         multiarch implementation.
31491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
31492         file.
31493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
31494         file.
31495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
31496         file.
31497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
31498         file.
31499         multiarch llround for PPC64.
31500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
31501         multiarch ceil for PPC64.
31502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
31503         multiarch ceilf for PPC64.
31505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31506         multiarch implementation.
31507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
31508         file.
31509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
31510         file.
31511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
31512         file.
31513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
31514         multiarch llround for PPC64.
31515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
31516         multiarch lround for PPC64.
31518         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31519         multiarch implementation.
31520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
31521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
31522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
31523         file.
31524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
31525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
31526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
31527         multiarch isnan for PPC64.
31528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
31529         multiarch isnanf for PPC64.
31531         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
31532         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
31533         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
31534         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
31535         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
31536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
31538         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
31539         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31540         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31541         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
31544         multiarch implementations.
31545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31546         (__libc_ifunc_impl_list): Likewise.
31547         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31548         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
31549         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
31550         multiarch stpcpy for PPC64.
31552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
31553         multiarch implementations.
31554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31555         (__libc_ifunc_impl_list): Likewise.
31556         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
31557         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
31558         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
31559         multiarch strcpy for PPC64.
31561         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
31562         redefine function name.
31563         (_wordcopy_fwd_dest_aligned): Likewise.
31564         (_wordcopy_bwd_aligned): Likewise.
31565         (_wordcopy_bwd_dest_aligned): Likewise.
31566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
31567         multiarch implementations.
31568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31569         (__libc_ifunc_impl_list): Likewise.
31570         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
31571         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
31572         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
31573         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
31574         multiarch wcscpy for PPC64.
31576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
31577         multiarch implementations.
31578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31579         (__libc_ifunc_impl_list): Likewise.
31580         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
31581         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
31582         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
31583         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
31584         multiarch wcscpy for PPC64.
31586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
31587         multiarch implementations.
31588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31589         (__libc_ifunc_impl_list): Likewise.
31590         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
31591         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
31592         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
31593         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
31594         multiarch wcsrchr for PPC64.
31596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
31597         multiarch implementations.
31598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31599         (__libc_ifunc_impl_list): Likewise.
31600         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
31601         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
31602         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
31603         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
31604         multiarch wcschr for PPC64.
31606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
31607         multiarch implementations.
31608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31609         (__libc_ifunc_impl_list): Likewise.
31610         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
31611         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
31612         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
31613         multiarch strchrnul for PPC64.
31615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
31616         implementations.
31617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31618         (__libc_ifunc_impl_list): Likewise.
31619         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
31620         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
31621         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
31622         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
31623         strchr for PPC64.
31625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
31626         implementations.
31627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31628         (__libc_ifunc_impl_list): Likewise.
31629         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
31630         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
31631         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
31632         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
31633         strncmp for PPC64.
31635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
31636         multiarch implementations.
31637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31638         (__libc_ifunc_impl_list): Likewise.
31639         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
31640         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
31641         strncasecmp for PPC64.
31642         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
31643         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
31644         multiarch strncasecmp_l for PPC64.
31646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
31647         multiarch implementations.
31648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31649         (__libc_ifunc_impl_list): Likewise.
31650         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
31651         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
31652         multiarch strcasecmp for PPC64.
31653         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
31654         file.
31655         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
31656         multiarch strcasecmp_l for PPC64.
31658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
31659         implementations.
31660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31661         (__libc_ifunc_impl_list): Likewise.
31662         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
31663         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
31664         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
31665         strnlen for PPC64.
31667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
31668         implementations.
31669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31670         (__libc_ifunc_impl_list): Likewise.
31671         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
31672         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
31673         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
31674         strlen for PPC64.
31676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
31677         implementations.
31678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31679         (__libc_ifunc_impl_list): Likewise.
31680         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
31681         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
31682         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
31683         rawmemrchr for PPC64.
31685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
31686         implementation.
31687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31688         (__libc_ifunc_impl_list): Likewise.
31689         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
31690         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
31691         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
31692         memrchr for PPC64.
31694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
31695         implementation.
31696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31697         (__libc_ifunc_impl_list): Likewise.
31698         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
31699         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
31700         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
31701         memchr for PPC64.
31703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
31704         implementation.
31705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31706         (__libc_ifunc_impl_list): Likewise.
31707         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
31708         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
31709         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
31710         mempcpy for PPC64.
31712         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
31713         avoid cretion of __bzero symbol.
31714         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
31715         Likewise.
31716         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
31717         Likewise.
31718         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
31719         Likewise.
31720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
31721         multiarch implementations.
31722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31723         (__libc_ifunc_impl_list): Likewise.
31724         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
31725         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
31726         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
31727         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
31728         bzero for PPC32.
31729         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
31730         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
31731         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
31732         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
31733         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
31734         memset for PPC64.
31735         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
31737         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
31738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
31739         implementations.
31740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31741         (__libc_ifunc_impl_list): Likewise.
31742         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
31743         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
31744         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
31745         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
31746         memcmp for PPC64.
31748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
31749         multiarch for POWER/PPC64.
31750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31751         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
31752         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
31753         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
31754         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
31755         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
31756         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
31757         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
31758         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
31759         memcpy for PPC64.
31761         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
31762         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
31763         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
31764         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
31765         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
31766         * sysdeps/powerpc/powerpc64/power5/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/power6/fpu/Implies: New File.
31770         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
31771         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
31772         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
31773         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
31774         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
31775         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
31776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
31777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
31778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
31779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
31780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
31781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
31782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
31784 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31786         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
31788 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31790         * benchtests/Makefile (bench): Add exp2 and log2.
31791         (LDLIBS-bench-exp2): Add -lm.
31792         (LDLIBS-bench-log2): Likewise.
31793         * benchtests/exp2-inputs: New inputs file.
31794         * benchtests/log2-inputs: New inputs file.
31795         * benchtests/log-inputs: Add new inputs.
31796         * benchtests/tan-inputs: Likewise.
31798 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31800         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
31801         definition...
31802         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
31803         (csloww2): ... from here.
31805         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
31806         instead of structures.
31807         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
31808         (POLYNOMIAL): Likewise.
31809         (TAYLOR_SLOW): Likewise.
31810         (__sin): Likewise.
31811         (__cos): Likewise.
31812         (slow1): Likewise.
31813         (slow2): Likewise.
31814         (sloww): Likewise.
31815         (sloww1); Likewise.
31816         (sloww2): Likewise.
31817         (bsloww1): Likewise.
31818         (bsloww2): Likewise.
31819         (cslow2): Likewise.
31820         (csloww): Likewise.
31821         (csloww1): Likewise.
31822         (csloww2): Likewise.
31824 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
31826         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
31827         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
31828         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
31829         * malloc/hooks.c (realloc_check): Likewise.
31831         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
31832         * malloc/arena.c: Remove PER_THREAD conditional.
31833         [!PER_THREAD]: Remove code.
31834         (ptmalloc_unlock_all2): Likewise.
31835         (ptmalloc_init): Likewise.
31836         (_int_new_arena): Likewise.
31837         (arena_get2): Likewise.
31838         * malloc/hooks.c (__malloc_get_state): Likewise.
31839         (__malloc_set_state): Likewise.
31840         * malloc/malloc.c: Likewise.
31841         (struct malloc_state): Likewise.
31842         (struct malloc_par): Likewise.
31843         (__libc_realloc): Likewise.
31844         (__libc_mallopt): Likewise.
31846 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31848         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
31850 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
31852         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
31853         macro to a function.  Check for zero perturb_byte.
31854         (_int_malloc, _int_free): Remove zero perturb_byte checks.
31856         * malloc/malloc.c: (force_reg): Remove.
31857         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
31858         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
31859         force_reg by atomic_forced_read.
31860         * malloc/arena.c (ptmalloc_init): Likewise.
31861         * malloc/hooks.c (top_check): Likewise.
31863 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31867 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
31869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31871 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
31873         * math/auto-libm-test-in: Add tests of lgamma.
31874         * math/auto-libm-test-out: Regenerated.
31875         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
31876         (M_LOG_2_SQRT_PIl): Likewise.
31877         (lgamma_test_data): Use AUTO_TESTS_f_f1.
31878         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31879         mpfr_f_f1.
31880         (func_calc_desc): Add mpfr_f_f1 union field.
31881         (ARGS1): New macro.
31882         (ARGS2): Likewise.
31883         (ARGS3): Likewise.
31884         (ARGS4): Likewise.
31885         (RET1): Likewise.
31886         (RET2): Likewise.
31887         (CALC): Likewise.
31888         (FUNC): Likewise.
31889         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
31890         (test_functions): Add lgamma.
31891         (calc_generic_results): Handle mpfr_f_f1.
31892         * sysdeps/i386/fpu/libm-test-ulps: Update.
31893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31895 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31897         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
31898         __mpn_add_n for PowerPC64/POWER7.
31899         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
31900         __mpn_sub_n for PowerPC64/POWER7.
31902         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
31903         __mpn_addmul_1 for PowerPC64.
31904         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
31905         __mpn_submul_1 for PowerPC64.
31906         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
31907         for PowerPC64.
31908         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
31909         for PowerPC64.
31911 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
31913         [BZ #15089]
31914         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
31916 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31918         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
31920         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
31921         add multiarch folders.
31922         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
31923         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
31924         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
31925         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
31926         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
31927         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
31928         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
31929         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
31930         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
31931         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
31932         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
31933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
31934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
31935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
31936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
31937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
31938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
31940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
31941         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
31942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
31943         New file.
31944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
31945         New file.
31946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
31947         multiarch __ieee754_hypot for PowerPC32.
31948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
31949         New file.
31950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
31951         New file.
31952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
31953         multiarch __ieee754_hypotf for PowerPC32.
31955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
31956         long_double_symbol only if __logbl is defined.
31957         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
31958         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
31959         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
31960         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
31961         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
31962         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
31963         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
31964         path for implementation.
31965         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
31966         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
31967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
31968         logb, and logbl multiarch implementations for PowerPC32.
31969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
31970         file.
31971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
31972         file.
31973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
31974         multiarch logb for PowerPC32.
31975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
31976         file.
31977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
31978         file.
31979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
31980         multiarch logbf for PowerPC32.
31981         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
31982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
31983         file.
31984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
31985         multiarch logbl implementation for PowerPC32.
31987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
31988         and modff multiarch implementations.
31989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
31990         New file.
31991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
31992         New file.
31993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
31994         multiarch modf for PowerPC32.
31995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
31996         New file.
31997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
31998         New file.
31999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32000         multiarch modff for PowerPC32.
32002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32003         and lrintf multiarch implementations.
32004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32005         New file.
32006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32007         New file.
32008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32009         multiarch lrint for PowerPC32.
32010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32011         file: multiarch lrintf for PowerPC32.
32013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32014         and lroundf multiarch implementations.
32015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32016         New file.
32017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32018         New file.
32019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32020         New file.
32021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32022         multiarch lround for PowerPC32.
32023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32024         file: multiarch lroundf for PowerPC32.
32026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32027         copysign and copysignf multiarch implementations.
32028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32029         New file.
32030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32031         New file.
32032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32033         file: multiarch copysign for PowerPC32.
32034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32035         file: multiarch copysignf for PowerPC32.
32037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32038         and truncf multiarch implementations.
32039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32040         New file.
32041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32042         file.
32043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32044         multiarch trunc for PowerPC32.
32045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32046         New file.
32047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32048         New file.
32049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32050         multiarch truncf for PowerPC32.
32052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32053         and roundf multiarch implementations.
32054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32055         New file.
32056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32057         file.
32058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32059         multiarch round for PowerPC32.
32060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32061         New file.
32062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32063         New file.
32064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32065         multiarch roundf for PowerPC32.
32067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32068         and floorf multiarch implementations.
32069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32070         New file.
32071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32072         file.
32073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32074         multiarch floor for PowerPC32.
32075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32076         New file.
32077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32078         New file.
32079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32080         multiarch floorf for PowerPC32.
32082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32083         and ceilf multiarch implementations.
32084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32085         New file.
32086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32087         file.
32088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32089         multiarch ceil for PowerPC32.
32090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32091         New file.
32092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32093         file.
32094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32095         multiarch ceilf for PowerPC32.
32097         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32098         is defined.
32099         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32100         FINITEF is defined.
32101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32102         and finitef multiarch implementations.
32103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32104         New file.
32105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32106         file.
32107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32108         multiarch finite for PowerPC32.
32109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32110         New file.
32111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32112         file: multiarch finitef for PowerPC32.
32114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32115         and isinff multiarch implementations.
32116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32117         file.
32118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32119         file.
32120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32121         multiarch isinf for PowerPC32.
32122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32123         New file.
32124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32125         multiarch isinff for PowerPC32.
32127         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32128         alias when __isnan is defined.
32129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32130         and isnanf multiarch implementations.
32131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32132         file.
32133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32134         file.
32135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32136         file.
32137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32138         file.
32139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32140         multiarch isnan for PowerPC32.
32141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32142         New file.
32143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32144         New file.
32145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32146         multiarch isnanf for PowerPC32.
32148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32149         and sqrtf multiarch implementations.
32150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32151         file.
32152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32153         file.
32154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32155         multiarch sqrt for PowerPC32.
32156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32157         file.
32158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32159         file.
32160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32161         multiarch sqrtf for PowerPC32.
32163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32164         and llroundf multiarch implementations.
32165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32166         New file.
32167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32168         New file.
32169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32170         New file.
32171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32172         file: multiarch llround for PowerPC32.
32173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32174         file: multiarch llroundf for PowerPC32.
32176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
32177         multiarch PowerPC32 fpu implementations.
32178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
32179         New file.
32180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
32181         New file.
32182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
32183         multiarch llrint for PowerPC32.
32184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
32185         New file.
32186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
32187         New file.
32188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
32189         file.
32191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
32193         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
32194         file.
32195         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
32196         file.
32197         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
32198         file.
32199         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
32200         multiarch wordcopy for PPC32.
32201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32202         wordcopy objects.
32203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32204         (__libc_ifunc_impl_list): Likewise.
32205         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
32206         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
32207         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
32208         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
32209         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
32210         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
32212         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
32213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
32214         file.
32215         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
32216         file.
32217         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
32218         file.
32219         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
32220         multiarch wcscpy for PPC32.
32221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
32222         multiarch objects.
32223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32224         (__libc_ifunc_impl_list): Likewise.
32225         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32226         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32227         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
32228         sysdeps/powerpc/power6/wcscpy.c.
32230         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
32231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
32232         file.
32233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
32234         file.
32235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
32236         file.
32237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
32238         multiarch wcsrchr for PPC32.
32239         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32240         multiarch objects.
32241         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32242         (__libc_ifunc_impl_list): Likewise.
32243         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
32244         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
32245         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
32246         sysdeps/powerpc/power6/wcsrchr.c.
32248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
32249         file.
32250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
32251         file.
32252         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
32253         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
32254         multiarch wcschr for PPc32.
32255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
32256         multiarch objects.
32257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32258         (__libc_ifunc_impl_list): Likewise.
32259         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
32260         * sysdeps/powerpc/power6/wcschr.c: ... to here.
32261         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
32262         sysdeps/powerpc/power6/wcschr.c.
32264         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
32265         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
32266         file.
32267         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
32268         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
32269         file: multiarch strchr for PPC32.
32270         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
32271         multiarch objects.
32272         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32273         (__libc_ifunc_impl_list): Likewise.
32275         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
32276         name.
32277         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
32278         file.
32279         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
32280         file.
32281         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
32282         multiarch strchrnul for PPC32.
32283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
32284         multiarch objects.
32285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32286         (__libc_ifunc_impl_list): Likewise.
32288         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
32289         file.
32290         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
32291         multiarch strncasecmp for PPC32.
32292         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
32293         file.
32294         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
32295         multiarch strncasecmp_l for PPC32.
32296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
32297         strncasecmp multiarch objects.
32298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32299         (__libc_ifunc_impl_list): Likewise.
32301         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
32302         file.
32303         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
32304         multiarch strncasecmp for PPC32.
32305         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32306         New file.
32307         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
32308         multiarch strcasecmp_l for PPC32.
32309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
32310         multiarch objects.
32311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32312         (__libc_ifunc_impl_list): Likewise.
32314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
32315         file.
32316         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
32317         file.
32318         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
32319         multiarch strncmp for PPC32.
32320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
32321         multiarch objects.
32322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32323         (__libc_ifunc_impl_list): Likewise.
32325         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
32326         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
32327         file.
32328         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
32329         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
32330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
32331         multiarch objects.
32332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32333         (__libc_ifunc_impl_list): Likewise.
32335         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
32336         file.
32337         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
32338         file.
32339         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
32340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
32341         multiarch objects.
32342         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32343         (__libc_ifunc_impl_list): Likewise.
32345         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
32346         file.
32347         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
32348         file.
32349         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
32350         multiarch rawmemchr for PPC32.
32351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
32352         multiarch objects.
32353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32354         (__libc_ifunc_impl_list): Likewise.
32356         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
32357         file.
32358         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
32359         file.
32360         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
32361         file: memrchr multiarch for PPC32.
32362         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
32363         multiarch objects.
32364         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
32365         (__libc_ifunc_impl_list): Likewise.
32367         * string/memchr.c (__memchr): Using macro to redefine symbol name.
32368         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
32369         file.
32370         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
32371         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
32372         multiarch memchr for PPC32.
32373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
32374         multiarch objects.
32375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32376         (__libc_ifunc_impl_list): Likewise.
32378         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
32379         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
32380         file.
32381         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
32382         file.
32383         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
32384         file: multiarch mempcpy for PPC32.
32385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
32386         multiarch objects.
32387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32388         (__libc_ifunc_impl_list): Likewise.
32390         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
32391         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32392         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
32393         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
32394         multiarch bzero for PPC32.
32395         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
32396         file.
32397         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
32398         file.
32399         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
32400         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
32401         file: multiarch memset for PPC32.
32402         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
32403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
32404         memset multiarch objects.
32405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32406         (__libc_ifunc_impl_list): Likewise.
32408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
32409         file.
32410         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
32411         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
32412         memcmp for PPC32.
32413         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
32414         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
32415         multiarch objects.
32416         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32417         (__libc_ifunc_impl_list): Likewise.
32419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
32420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
32421         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
32422         file.
32423         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
32424         file.
32425         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
32426         file.
32427         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
32428         multiarch memcpy for PPC32.
32429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
32430         multiarch objects.
32431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32432         (__libc_ifunc_impl_list): Likewise.
32434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
32435         support multiarch for POWER/PPC32.
32436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
32437         Likewise.
32438         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
32440         Implies file to make multiarch folder appers before the fpu and
32441         default folder for power4 configuration.
32443 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32445         * scripts/bench.pl: Append volatile keyword to type.
32447 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32449         * sysdeps/sh/sotruss-lib.c: New file.
32450         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
32452 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32456 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
32458         [BZ #6810]
32459         * math/w_tgamma.c: Include <errno.h>.
32460         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
32461         * math/w_tgammaf.c: Include <errno.h>.
32462         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
32463         * math/w_tgammal.c: Include <errno.h>.
32464         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
32465         * math/auto-libm-test-in: Do not allow missing errno on tgamma
32466         underflow.  Add more tgamma tests.
32467         * math/auto-libm-test-out: Regenerated.
32468         * sysdeps/i386/fpu/libm-test-ulps: Update.
32469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32471         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
32472         sin, sinh, tan, tanh, tgamma, y0 and y1.
32473         * math/auto-libm-test-out: Regenerated.
32474         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32475         (TEST_COND_x86): Likewise.
32476         (M_E2l): Remove macro.
32477         (M_E3l): Likewise.
32478         (M_2_SQRT_PIl): Likewise.
32479         (M_SQRT_PIl): Likewise.
32480         (M_1_DIV_El): Likewise.
32481         (log_test_data): Use AUTO_TESTS_f_f.
32482         (log10_test_data): Likewise.
32483         (log1p_test_data): Likewise.
32484         (log2_test_data): Likewise.
32485         (sin_test_data): Likewise.
32486         (sin_tonearest_test_data): Likewise.
32487         (sin_towardzero_test_data): Likewise.
32488         (sin_downward_test_data): Likewise.
32489         (sin_upward_test_data): Likewise.
32490         (sinh_test_data): Likewise.
32491         (sinh_tonearest_test_data): Likewise.
32492         (sinh_towardzero_test_data): Likewise.
32493         (sinh_downward_test_data): Likewise.
32494         (sinh_upward_test_data): Likewise.
32495         (tan_test_data): Likewise.
32496         (tan_tonearest_test_data): Likewise.
32497         (tan_towardzero_test_data): Likewise.
32498         (tan_downward_test_data): Likewise.
32499         (tan_upward_test_data): Likewise.
32500         (tanh_test_data): Likewise.
32501         (tgamma_test_data): Likewise.
32502         (y0_test_data): Likewise.
32503         (y1_test_data): Likewise.
32504         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
32505         (special_real_inputs): Add pi/4.
32506         * sysdeps/i386/fpu/libm-test-ulps: Update.
32507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32509 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32511         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
32512         "longjmp_target" static probes.
32513         (__longjmp): Rename to __longjmp_symbol.
32514         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32515         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
32516         on which longjmp to generate.
32517         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32518         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
32519         probe.
32520         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32521         (__sigjmp_save): Rename to __sigjmp_save_symbol.
32522         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32523         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
32524         and __sigjmp_save_symbol based on which sigsetjmp to generated.
32525         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
32526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
32527         __longjmp_symbol based on which __longjmp to generate.
32528         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
32529         probe.
32530         (setjmp): Rename to setjmp_symbol.
32531         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32532         (_setjmp): Rename to _setjmp_symbol.
32533         (__sigsetjmp): Rename to __sigsetjmp_symbol.
32534         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
32535         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
32536         which setjmp to generate.
32537         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
32538         "longjmp_target" static probes.
32540 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32542         * benchtests/README: Add note about output arguments.
32543         * benchtests/bench-sincos.c: Remove file.
32544         * benchtests/sincos-inputs: New file.
32545         * scripts/bench.pl: Identify output arguments and define
32546         static variables for them.
32548         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
32550         [BZ #15941]
32551         * Makefile (INSTALL): Add install-plain.texi as the primary
32552         dependency.
32553         * manual/install-plain.texi: New file.
32554         * manual/install.texi: Include node directive only for
32555         non-plaintext output.
32557 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
32559         * stdlib/longlong.h: Update from GCC.
32561         [BZ #6807]
32562         [BZ #15901]
32563         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
32564         * math/w_j0f.c (y0f): Likewise.
32565         * math/w_j0l.c (__y0l): Likewise.
32566         * math/w_j1.c (y1): Likewise.
32567         * math/w_j1f.c (y1f): Likewise.
32568         * math/w_j1l.c (__y1l): Likewise
32569         * math/w_jn.c (yn): Likewise.
32570         * math/w_jnf.c (ynf): Likewise.
32571         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
32572         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
32573         value for Bessel function domain errors outside _SVID_ mode.
32574         Adjust sign of return value for yn (negative integer, 0).
32575         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
32576         by zero in return for negative x and set sign appropriately for
32577         negative n.
32578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
32579         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32580         * math/libm-test.inc (y0_test_data): Add more tests and adjust
32581         expectations in error cases.
32582         (y1_test_data): Likewise.
32583         (yn_test_data): Likewise.
32584         * sysdeps/i386/fpu/libm-test-ulps: Update.
32585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32587 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32589         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
32590         "64" to "64-v1".  Add "64-v2".
32591         (abi-64-options): Rename to ...
32592         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
32593         (abi-64-condition): Rename to ...
32594         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
32595         (abi-64-ld-soname): Rename to ...
32596         (abi-64-v1-ld-soname): ... this.
32597         (abi-64-v2-options): Define.
32598         (abi-64-v2-condition): Likewise.
32599         (abi-64-v2-ld-soname): Likewise.
32600         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
32601         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
32602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
32603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
32604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
32606 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32607             Alan Modra  <amodra@gmail.com>
32609         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
32610         New versions for use with the ELFv2 ABI.
32611         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
32612         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
32613         declaration.
32614         (struct La_ppc64v2_retval): Likewise.
32615         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
32616         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
32617         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
32618         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
32619         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
32620         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32621         Do not save or restore CR.
32622         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
32623         (_dl_profile_resolve): Do no save or restore CR.  Support extended
32624         return values for ELFv2 ABI.  Fix location of FPR return registers.
32625         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
32626         updated values for _CALL_ELF == 2.
32627         (La_regs, La_retval, int_retval): Likewise.
32629 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32631         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
32632         (FRAME_MIN_SIZE_PARM): Likewise.
32633         (FRAME_BACKCHAIN): Likewise.
32634         (FRAME_CR_SAVE): Likewise.
32635         (FRAME_LR_SAVE): Likewise.
32636         (FRAME_TOC_SAVE): Likewise.
32637         (FRAME_PARM_SAVE): Likewise.
32638         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
32639         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
32640         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32641         (call_mcount_parm_offset): New macro.
32642         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
32643         (PROF): Use symbolic stack frame offsets.
32644         (TAIL_CALL_SYSCALL_ERROR): Likewise.
32645         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
32646         Redefine in terms of FRAME_MIN_SIZE.
32647         (_dl_runtime_resolve): Use symbolic stack frame offsets.
32648         (_dl_profile_resolve): Likewise.  Update comment.
32649         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
32650         symbols stack frame offsets.
32651         (__sigsetjmp): Likewise.
32652         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
32653         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
32654         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
32655         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
32657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
32658         (FRAME_BACKCHAIN): Remove.
32659         (FRAME_CR_SAVE): Likewise.
32660         (FRAME_LR_SAVE): Likewise.
32661         (FRAME_COMPILER_DW): Likewise.
32662         (FRAME_LINKER_DW): Likewise.
32663         (FRAME_TOC_SAVE): Likewise.
32664         (FRAME_PARM_SAVE): Likewise.
32665         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
32666         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
32667         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
32668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
32669         (CHECK_SP): Use symbolic stack frame offsets.
32670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
32671         zone" instead of caller's parameter save area for temp storage.
32672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32673         Likewise.  Also, use symbolic stack frame offsets.
32674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
32675         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
32676         our own stack frame instead of the caller's.
32677         (__socket): Use symbolic stack frame offsets.
32679 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32680             Alan Modra  <amodra@gmail.com>
32682         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
32683         Define.
32684         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
32685         (PPC64_LOCAL_ENTRY_OFFSET): Define.
32686         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
32687         New function.
32688         (elf_machine_fixup_plt): Call it.
32689         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
32690         reloc arguments.
32691         (elf_machine_rela): Update call to elf_machine_plt_conflict.
32692         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32693         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
32694         r2 before calling target.
32696 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32697             Alan Modra  <amodra@gmail.com>
32699         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
32700         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
32701         versions of macros to support ELFv2 ABI.
32702         (LOCALENTRY): New macro.
32703         (ENTRY, EALIGN): Use it.
32704         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
32705         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
32706         fall through into ENTRY entry point.
32707         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
32708         Only define if _CALL_ELF != 2.
32710         (elf_machine_matches_host): Verify ABI version matches.
32711         (RTLD_START): Use LOCALENTRY.
32712         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
32713         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
32714         (PLT_ENTRY_WORDS): New macro.
32715         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
32716         (elf_machine_runtime_setup): Support ELFv2 ABI.
32717         (elf_machine_fixup_plt): Likewise.
32718         (elf_machine_plt_conflict): Likewise.
32719         (resolve_ifunc): Likewise.
32720         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32721         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
32722         Likewise.
32723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
32724         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
32725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32726         (makecontext): Support ELFv2 ABI.
32727         * elf/elf.h (EF_PPC64_ABI): Define.
32729 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32731         * sysdeps/powerpc/powerpc64/sysdep.h
32732         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
32733         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
32734         (ENTRY) [ASSEMBLER]: ... but instead here ...
32735         (EALIGN) [ASSEMBLER]: ... and here.
32736         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
32737         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
32738         (ENTRY_2) [!ASSEMBLER]: Use it.
32739         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
32740         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
32741         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
32742         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
32743         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
32744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
32745         Use PPC64_LOAD_FUNCPTR.
32747         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
32749 2013-12-04  Alan Modra  <amodra@gmail.com>
32751         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
32752         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
32753         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
32754         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
32756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
32757         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
32758         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
32759         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
32760         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
32761         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
32763 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
32765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32766         (__makecontext): Fix incorrect CFI when backtracing out of
32767         context created via makecontext.
32768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
32769         (__setcontext): Fix incorrect CFI during switch to new context.
32770         (__novec_setcontext): Likewise.
32772 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
32774         [BZ #4772]
32775         * time/strptime_l.c (__strptime_internal): Allow modifiers
32776         in strptime.
32777         * time/tst-strptime.c (day_tests): Add testcase.
32779 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32781         * scripts/bench.pl: Skip over blank lines.
32783 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
32785         [BZ #926]
32786         * manual/time.texi (Calendar Time): Clarify what timezone functions
32787         use.
32789 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32793 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
32795         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
32796         implementation.
32797         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
32798         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
32799         * debug/memset_chk.c (__memset_chk): Likewise.
32800         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
32801         * debug/strncpy_chk.c: Likewise.
32803 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
32805         [BZ #15268]
32806         [BZ #15425]
32807         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
32808         (__ieee754_exp): For possibly underflowing results, check size of
32809         result and force underflow exception if required.
32810         * math/auto-libm-test-in: Add more tests of exp.
32811         * math/auto-libm-test-out: Regenerated.
32812         * sysdeps/i386/fpu/libm-test-ulps: Update.
32813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32815         [BZ #16283]
32816         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
32817         * math/w_exp2f.c (__exp2f): Likewise.
32818         * math/w_exp2l.c (__exp2l): Likewise.
32819         * math/auto-libm-test-in: Do not allow missing errno on exp2
32820         underflow.
32821         * math/auto-libm-test-out: Regenerated.
32823 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
32825         [BZ #16274]
32826         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
32827         handle filename validation.
32828         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
32829         (do_open): Delete.
32831 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
32833         [BZ #6786]
32834         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
32835         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
32836         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
32837         <float.h>.
32838         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
32839         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
32840         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32841         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
32842         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32843         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
32844         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
32845         * math/auto-libm-test-in: Don't allow missing errno from erfc.
32846         Add more erfc tests.
32847         * math/auto-libm-test-out: Regenerated.
32848         * sysdeps/i386/fpu/libm-test-ulps: Update.
32849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32851         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
32852         exp2, expm1, j0 and j1.
32853         * math/auto-libm-test-out: Regenerated.
32854         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
32855         (erfc_test_data): Likewise.
32856         (exp_test_data): Likewise.
32857         (exp_tonearest_test_data): Likewise.
32858         (exp_towardzero_test_data): Likewise.
32859         (exp_downward_test_data): Likewise.
32860         (exp_upward_test_data): Likewise.
32861         (exp10_test_data): Likewise.
32862         (exp2_test_data): Likewise.
32863         (expm1_test_data): Likewise.
32864         (j0_test_data): Likewise.
32865         (j1_test_data): Likewise.
32866         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
32867         (input_flag_type): Add flag_xfail_rounding.
32868         (input_flags): Add xfail-rounding.
32869         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
32870         (output_for_one_input_case): Handle flag_xfail_rounding.
32871         * sysdeps/i386/fpu/libm-test-ulps: Update.
32872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32874 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
32876         [BZ #16289]
32877         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
32878         division by 0.
32880 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32882         [BZ #16195]
32883         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
32884         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
32885         (STAP_PROBE0): New macro.
32886         (STAP_PROBE1): Likewise.
32887         (STAP_PROBE2): Likewise.
32888         (STAP_PROBE3): Likewise.
32889         (STAP_PROBE4): Likewise.
32891 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
32893         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
32895 2013-12-02  Steve Ellcey  <sellcey@mips.com>
32897         * benchtests/Makefile (bench): Add sqrt.
32898         (LDLIBS-bench-sqrt): New.
32899         * benchtests/sqrt-input: New.
32901 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
32903         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
32904         (GAIH_EAI): Likewise.
32905         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
32906         (gaih_inet): Likewise.
32907         (getaddrinfo): Don't use GAIH_EAI.
32909         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
32910         (struct gaih): Remove definition.
32912 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32914         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
32915         Use HERRNOP directly.
32917 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32921 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
32923         * math/gen-auto-libm-tests.c (test_functions): Add more
32924         single-argument functions.
32925         (special_fill_pi_2): New function.
32926         (special_fill_minus_pi_2): Likewise.
32927         (special_fill_pi_6): Likewise.
32928         (special_fill_minus_pi_6): Likewise.
32929         (special_fill_pi_3): Likewise.
32930         (special_fill_2pi_3): Likewise.
32931         (special_fill_e): Likewise.
32932         (special_fill_1_e): Likewise.
32933         (special_fill_e_minus_1): Likewise.
32934         (special_real_inputs): Add more special inputs.
32935         (output_for_one_input_case): Do not require ERANGE on underflow to
32936         zero if round-to-nearest result does not underflow to zero, unless
32937         exact results required.
32938         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
32939         atan, atanh, cbrt, cos and cosh.
32940         * math/auto-libm-test-out: Regenerated.
32941         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
32942         (acos_tonearest_test_data): Likewise.
32943         (acos_towardzero_test_data): Likewise.
32944         (acos_downward_test_data): Likewise.
32945         (acos_upward_test_data): Likewise.
32946         (acosh_test_data): Likewise.
32947         (asin_test_data): Likewise.
32948         (asin_tonearest_test_data): Likewise.
32949         (asin_towardzero_test_data): Likewise.
32950         (asin_upward_test_data): Likewise.
32951         (asinh_test_data): Likewise.
32952         (atan_test_data): Likewise.
32953         (atanh_test_data): Likewise.
32954         (cbrt_test_data): Likewise.
32955         (cos_test_data): Likewise.
32956         (cos_tonearest_test_data): Likewise.
32957         (cos_towardzero_test_data): Likewise.
32958         (cos_downward_test_data): Likewise.
32959         (cos_upward_test_data): Likewise.
32960         (cosh_test_data): Likewise.
32961         (cosh_tonearest_test_data): Likewise.
32962         (cosh_towardzero_test_data): Likewise.
32963         (cosh_downward_test_data): Likewise.
32964         (cosh_upward_test_data): Likewise.
32965         * sysdeps/i386/fpu/libm-test-ulps: Update.
32966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32968 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
32970         [BZ #6787]
32971         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
32972         * math/w_exp10f.c (__exp10f): Likewise.
32973         * math/w_exp10l.c (__exp10l): Likewise.
32974         * math/libm-test.inc (exp10_test_data): Add more tests and expect
32975         errno settings in existing tests.
32977         [BZ #14032]
32978         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
32979         precision control set to double precision.
32980         * sysdeps/i386/fpu/w_sqrt.c: New file.
32981         * math/auto-libm-test-in: Add more tests.
32982         * math/auto-libm-test-out: Update.
32984         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
32985         (sqrt_test_tonearest): New function.
32986         (sqrt_towardzero_test_data): New variable.
32987         (sqrt_test_towardzero): New function.
32988         (sqrt_downward_test_data): New variable.
32989         (sqrt_test_downward): New function.
32990         (sqrt_upward_test_data): New variable.
32991         (sqrt_test_upward): New function.
32992         (main): Call the new functions.
32994         * math/gen-auto-libm-tests.c: New file.
32995         * math/auto-libm-test-in: Likewise.
32996         * math/auto-libm-test-out: New generated file.
32997         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
32998         variables.
32999         (%beautify): Add generated representations of zero.
33000         (top level): Set $auto_input and call parse_auto_input.
33001         (beautify): Remove trailing "f" from hex float constants.
33002         (parse_args): Handle XFAIL_TEST.
33003         (convert_condition): New function.
33004         (or_value): Likewise.
33005         (or_cond_value): Likewise.
33006         (generate_testfile): Handle AUTO_TESTS_* lines.
33007         (parse_auto_input): New function.
33008         * math/libm-test.inc (XFAIL_TEST): New macro.
33009         (ERRNO_UNCHANGED): Update value.
33010         (ERRNO_EDOM): Likewise.
33011         (ERRNO_ERANGE): Likewise.
33012         (IGNORE_RESULT): Likewise.
33013         (TEST_COND_flt_32): New macro.
33014         (TEST_COND_dbl_64): Likewise.
33015         (TEST_COND_ldbl_96_intel): Likewise.
33016         (TEST_COND_ldbl_96_m68k): Likewise.
33017         (TEST_COND_ldbl_128): Likewise.
33018         (TEST_COND_ldbl_128ibm): Likewise.
33019         (TEST_COND_long32): Likewise.
33020         (TEST_COND_long64): Likewise.
33021         (TEST_COND_before_rounding): Likewise.
33022         (TEST_COND_after_rounding): Likewise.
33023         (enable_test): Handle XFAIL_TEST flag.
33024         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33025         with finite results.
33026         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33027         auto-libm-test-out.
33029 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33030             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33032         [BZ #16214]
33033         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33034         __tls_get_addr_internal instead of __tls_get_offset in order to
33035         avoid GOT pointer dependency.  Make rtld export
33036         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33037         __tls_get_addr since we are a __tls_get_offset platform.
33038         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33039         GOT pointer being set up before.
33040         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33042 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33044         * manual/math.texi (Errors in Math Functions): Document accuracy
33045         goals.
33047         [BZ #15004]
33048         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33049         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33050         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33051         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33052         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33053         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33054         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33055         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33056         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33057         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33058         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33059         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33060         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33061         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33062         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33063         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33065         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33066         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33067         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33068         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33069         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33070         Likewise.
33071         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33072         Likewise.
33073         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33074         Likewise.
33075         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33076         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33077         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33078         atomic-feupdateenv and flt-rounds.
33079         * sysdeps/powerpc/nofpu/Versions (libc): Add
33080         __atomic_feholdexcept, __atomic_feclearexcept,
33081         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33082         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33083         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33084         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33085         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33086         here.
33087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33088         Update.
33090         * manual/arith.texi (FP Exceptions): Document that exceptions may
33091         not be raised when matherr is used.
33092         (Math Error Reporting): Document overflow in directed rounding
33093         modes.  Document that errno may not be set when finite values are
33094         returned on overflow.  Document intent to set errno on underflow
33095         only for underflow to zero.
33097         [BZ #16271]
33098         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33099         round-to-nearest then adjust result for other rounding modes.
33100         * include/fenv.h (fegetround): Use libm_hidden_proto.
33101         * math/fegetround.c (fegetround): Use libm_hidden_def.
33102         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33103         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33104         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33105         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33106         Likewise.
33107         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33108         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33109         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33110         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33112 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33114         [BZ #16077]
33115         * nss/Versions (libnss_files): Add
33116         _nss_files_gethostbyname3_r.
33117         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33118         New function.
33119         (HOST_DB_LOOKUP): Remove macro.
33120         (_nss_files_gethostbyname_r): Implement function without the
33121         HOST_DB_LOOKUP macro.
33122         (_nss_files_gethostbyname2_r): Likewise.
33124 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33126         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33128 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33130         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33131         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33132         warning.
33134 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33136         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33137         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33138         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33139         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33140         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33141         __fe_nomask_env_priv and attribute_hidden.
33142         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33143         (libc_feupdateenv_test_ppc): Likewise.
33144         (libc_feresetround_ppc): Likewise.
33145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33146         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33147         compat_symbol macro.
33148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33149         (__fe_nomask_env): Likewise.
33150         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33152 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33154         * string/Makefile: Remove ifunc tests.
33155         * string/test-string.h: Define TEST_IFUNC.
33156         * string/test-bcopy-ifunc.c: Remove.
33157         * string/test-bzero-ifunc.c: Likewise.
33158         * string/test-memccpy-ifunc.c: Likewise.
33159         * string/test-memchr-ifunc.c: Likewise.
33160         * string/test-memcmp-ifunc.c: Likewise.
33161         * string/test-memcpy-ifunc.c: Likewise.
33162         * string/test-memmem-ifunc.c: Likewise.
33163         * string/test-memmove-ifunc.c: Likewise.
33164         * string/test-mempcpy-ifunc.c: Likewise.
33165         * string/test-memrchr-ifunc.c: Likewise.
33166         * string/test-memset-ifunc.c: Likewise.
33167         * string/test-rawmemchr-ifunc.c: Likewise.
33168         * string/test-stpcpy-ifunc.c: Likewise.
33169         * string/test-stpncpy-ifunc.c: Likewise.
33170         * string/test-strcasecmp-ifunc.c: Likewise.
33171         * string/test-strcasestr-ifunc.c: Likewise.
33172         * string/test-strcat-ifunc.c: Likewise.
33173         * string/test-strchr-ifunc.c: Likewise.
33174         * string/test-strchrnul-ifunc.c: Likewise.
33175         * string/test-strcmp-ifunc.c: Likewise.
33176         * string/test-strcpy-ifunc.c: Likewise.
33177         * string/test-strcspn-ifunc.c: Likewise.
33178         * string/test-strlen-ifunc.c: Likewise.
33179         * string/test-strncasecmp-ifunc.c: Likewise.
33180         * string/test-strncat-ifunc.c: Likewise.
33181         * string/test-strncmp-ifunc.c: Likewise.
33182         * string/test-strncpy-ifunc.c: Likewise.
33183         * string/test-strnlen-ifunc.c: Likewise.
33184         * string/test-strpbrk-ifunc.c: Likewise.
33185         * string/test-strrchr-ifunc.c: Likewise.
33186         * string/test-strspn-ifunc.c: Likewise.
33187         * string/test-strstr-ifunc.c: Likewise.
33189 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33191         * benchtests/Makefile: Remove ifunc tests.
33192         * benchtests/bench-string.h: Define TEST_IFUNC.
33193         * benchtests/bench-bcopy-ifunc.c: Remove.
33194         * benchtests/bench-bzero-ifunc.c: Likewise.
33195         * benchtests/bench-memccpy-ifunc.c: Likewise.
33196         * benchtests/bench-memchr-ifunc.c: Likewise.
33197         * benchtests/bench-memcmp-ifunc.c: Likewise.
33198         * benchtests/bench-memcpy-ifunc.c: Likewise.
33199         * benchtests/bench-memmem-ifunc.c: Likewise.
33200         * benchtests/bench-memmove-ifunc.c: Likewise.
33201         * benchtests/bench-mempcpy-ifunc.c: Likewise.
33202         * benchtests/bench-memrchr-ifunc.c: Likewise.
33203         * benchtests/bench-memset-ifunc.c: Likewise.
33204         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
33205         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
33206         * benchtests/bench-stpcpy-ifunc.c: Likewise.
33207         * benchtests/bench-stpncpy-ifunc.c: Likewise.
33208         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
33209         * benchtests/bench-strcasestr-ifunc.c: Likewise.
33210         * benchtests/bench-strcat-ifunc.c: Likewise.
33211         * benchtests/bench-strchr-ifunc.c: Likewise.
33212         * benchtests/bench-strchrnul-ifunc.c: Likewise.
33213         * benchtests/bench-strcmp-ifunc.c: Likewise.
33214         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
33215         * benchtests/bench-strcpy-ifunc.c: Likewise.
33216         * benchtests/bench-strcspn-ifunc.c: Likewise.
33217         * benchtests/bench-strlen-ifunc.c: Likewise.
33218         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
33219         * benchtests/bench-strncat-ifunc.c: Likewise.
33220         * benchtests/bench-strncmp-ifunc.c: Likewise.
33221         * benchtests/bench-strncpy-ifunc.c: Likewise.
33222         * benchtests/bench-strnlen-ifunc.c: Likewise.
33223         * benchtests/bench-strpbrk-ifunc.c: Likewise.
33224         * benchtests/bench-strrchr-ifunc.c: Likewise.
33225         * benchtests/bench-strsep-ifunc.c: Likewise.
33226         * benchtests/bench-strspn-ifunc.c: Likewise.
33227         * benchtests/bench-strstr-ifunc.c: Likewise.
33229 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33231         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
33233 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33235         * resolv/netdb.h: Use __glibc_reserved instead __unused.
33236         * rt/aio.h: Likewise.
33237         * sysdeps/gnu/bits/utmp.h: Likewise.
33238         * sysdeps/gnu/bits/utmpx.h: Likewise.
33239         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33240         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
33241         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
33242         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
33243         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
33244         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
33245         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
33246         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
33247         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
33248         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
33249         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
33250         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
33251         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
33252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
33253         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33254         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
33255         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
33256         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
33257         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
33258         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
33259         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
33260         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
33261         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
33262         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33263         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
33264         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33265         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
33266         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
33267         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
33268         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
33269         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
33270         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
33271         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
33272         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33273         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
33274         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
33275         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
33276         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
33277         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
33278         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
33279         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
33280         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33282 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
33284         [BZ #16245]
33285         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
33286         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
33288 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
33290         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
33291         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33292         Likewise.
33294 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33296         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
33297         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
33298         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
33299         (__fesetround): Remove define.
33300         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
33301         rounding and exceptions handling.
33302         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
33303         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
33304         (__fe_nomask_env): Likewise.
33305         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
33306         __fegetround instead of fegetround.
33307         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33308         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
33310 2013-11-21  Roland McGrath  <roland@hack.frob.com>
33312         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
33313         it's there.
33315         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
33317 2013-11-21  Meador Inge  <meadori@codesourcery.com>
33319         [BZ #11157]
33320         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
33321         (encrypt_r): Likewise.
33322         * malloc/obstack.h (obstack_free): Likewise.
33323         * posix/unistd.h (encrypt): Likewise.
33325 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
33327         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
33328         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
33329         DL_CALL_DT_FINI() that call the functions directly.
33330         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
33331         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
33332         * elf/dl-fini.c: Likewise.
33334 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
33336         * malloc/hooks.c (memalign_check): Add alignment rounding.
33337         * malloc/malloc.c (_mid_memalign): New function.
33338         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
33339         Implement by calling _mid_memalign.
33340         * manual/probes.texi (Memory Allocation Probes): Remove
33341         memory_valloc_retry and memory_pvalloc_retry.
33343 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33345         * locale/programs/locarchive.c (open_archive): Add const
33346         qualifier to ARCHIVEFNAME and copy default fname to
33347         DEFAULT_FNAME.
33349         [BZ #15601]
33350         * libio/tst-widetext.input: Rename Oriya to Odia.
33351         * locale/iso-639.def: Likewise.
33353         * manual/probes.texi (Mathematical Function Probes): Add
33354         documentation for sin, cos, asin and acos probes.
33355         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
33356         (__sin32): Add slowasin probe.
33357         (__cos32): Add slowacos probe.
33358         (__mpsin): Add slowsin probe.
33359         (__mpcos): Add slowcos probe.
33361 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
33363         [BZ #15483]
33364         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
33365         thread-local __sim_exceptions_thread and global
33366         __sim_exceptions_global.
33367         (__sim_disabled_exceptions): Change to thread-local
33368         __sim_disabled_exceptions_thread and global
33369         __sim_disabled_exceptions_global.
33370         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33371         and global __sim_round_mode_global.
33372         (__simulate_exceptions): Use thread-local floating-point state and
33373         set global state from it as needed.
33374         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
33375         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
33376         __sim_round_mode_thread.
33377         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
33378         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
33379         and global __sim_exceptions_global.
33380         (__sim_disabled_exceptions): Change to thread-local
33381         __sim_disabled_exceptions_thread and global
33382         __sim_disabled_exceptions_global.
33383         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
33384         and global __sim_round_mode_global.
33385         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
33386         (SIM_SET_GLOBAL): Likewise.
33387         * sysdeps/powerpc/soft-fp/sfp-machine.h
33388         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
33389         __sim_round_mode_thread.
33390         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
33391         __sim_disabled_exceptions_thread.
33392         (__sim_exceptions): Change to __sim_exceptions_thread.
33393         (__sim_disabled_exceptions): Change to
33394         __sim_disabled_exceptions_thread.
33395         (__sim_round_mode): Change to __sim_round_mode_thread.
33396         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
33397         thread-local floating-point state and set global state from it as
33398         needed.
33399         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
33400         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
33401         (__sim_disabled_exceptions): Remove extern declaration.
33402         (feenableexcept): Use thread-local floating-point state and set
33403         global state from it as needed.
33404         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
33405         extern declaration.
33406         (__sim_disabled_exceptions): Likewise.
33407         (__sim_round_mode): Likewise.
33408         (__fegetenv): Use thread-local floating-point state.
33409         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
33410         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33411         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
33412         floating-point state and set global state from it as needed.
33413         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
33414         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33415         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
33416         Likewise.
33417         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33418         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
33419         Likewise.
33420         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
33421         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
33422         Use __sim_round_mode_thread.
33423         * math/test-fenv-tls.c: New file.
33424         * math/Makefile (tests): Add test-fenv-tls.
33425         ($(objpfx)test-fenv-tls): Depend on
33426         $(common-objpfx)nptl/libpthread.so.
33428 2013-11-19  Andreas Schwab  <schwab@suse.de>
33430         * locale/programs/locale.c (show_info): Decode wordarray elements.
33431         * locale/categories.def (LC_MONETARY): Add element for
33432         _NL_MONETARY_CRNCYSTR.
33433         * locale/C-monetary.c (conversion_rate): New variable.
33434         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
33435         element.
33437 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
33439         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
33440         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
33442 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33444         * elf/Makefile (tst-auxv): New test.
33445         * elf/tst-auxv.c: New
33446         * elf/rtld.c (dl_main): Adjust AT_EXECFN
33448 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
33450         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
33451         (hidden_proto): Caller changed.
33452         (hidden_tls_proto): New macro.
33453         (libc_hidden_tls_proto): Likewise.
33454         (rtld_hidden_tls_proto): Likewise.
33455         (libm_hidden_tls_proto): Likewise.
33456         (libresolv_hidden_tls_proto): Likewise.
33457         (librt_hidden_tls_proto): Likewise.
33458         (libdl_hidden_tls_proto): Likewise.
33459         (libnss_files_hidden_tls_proto): Likewise.
33460         (libnsl_hidden_tls_proto): Likewise.
33461         (libnss_nisplus_hidden_tls_proto): Likewise.
33462         (libutil_hidden_tls_proto): Likewise.
33464 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
33466         [BZ #10253]
33467         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
33468         (decompose_rpath): Defer expansion to fillin_rpath.
33469         (_dl_init_paths): Pass linkmap to fillin_rpath.
33471 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33473         * benchtests/Makefile: Add strsep.
33474         * benchtests/bench-strsep.c: New file: strsep benchtest.
33475         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
33477 2013-11-18  Andreas Schwab  <schwab@suse.de>
33479         * locale/programs/locale.c (show_info) [case byte]: Check for
33480         '\377' instead of '\177'.
33481         * locale/C-monetary.c (not_available): Always use "\377".
33482         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
33483         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
33484         detect unavailable sign_posn locale elements.
33485         * locale/localeconv.c (__localeconv): For grouping and
33486         mon_grouping handle "\177" and "\377" like no grouping.
33487         (INT_ELEM): New macro.  Use it to set all numeric members.
33488         * locale/programs/ld-monetary.c (monetary_read)
33489         <tok_mon_grouping>: Normalize single -1 to the empty string.
33490         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
33491         Likewise.
33493 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33495         [BZ #16055]
33496         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
33497         when we match (nil).
33498         * stdio-common/tst-sscanf.c (struct test): Add testcase.
33500 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
33502         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
33503         (NO_TEST_INLINE): Update value.
33504         (ERRNO_UNCHANGED): Likewise.
33505         (ERRNO_EDOM): Likewise.
33506         (ERRNO_ERANGE): Likewise.
33507         (IGNORE_RESULT): Likewise.
33508         (check_float_internal): Check signs of NaN results if
33509         TEST_NAN_SIGN used.
33510         (check_complex): Pass TEST_NAN_SIGN flag through to second
33511         check_float_internal call.
33512         (copysign_test_data): Add tests with quiet NaNs as second
33513         argument.  Use TEST_NAN_SIGN.
33514         (fabs_test_data): Add test of negative quiet NaN argument.  Use
33515         TEST_NAN_SIGN.
33516         (signbit_test_data): Add tests of quiet NaN argument.
33517         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
33519         * math/gen-libm-test.pl (show_exceptions): Take extra argument
33520         $ignore_result.
33521         (parse_args): Handle function results specified as IGNORE.
33522         * math/libm-test.inc (IGNORE_RESULT): New macro.
33523         (check_float_internal): Do not check numerical result if flag
33524         IGNORE_RESULT set.
33525         (check_complex): Pass through IGNORE_RESULT to second
33526         check_float_internal call.
33527         (check_int): Do not check numerical result if flag IGNORE_RESULT
33528         set.
33529         (check_long): Likewise.
33530         (check_bool): Likewise.
33531         (check_longlong): Likewise.
33532         (lrint_test_data): Add tests of infinite and NaN arguments.
33533         (lrint_tonearest_test_data): Likewise.
33534         (lrint_towardzero_test_data): Likewise.
33535         (lrint_downward_test_data): Likewise.
33536         (lrint_upward_test_data): Likewise.
33537         (llrint_test_data): Likewise.
33538         (llrint_tonearest_test_data): Likewise.
33539         (llrint_towardzero_test_data): Likewise.
33540         (llrint_downward_test_data): Likewise.
33541         (llrint_upward_test_data): Likewise.
33542         (lround_test_data): Likewise.
33543         (llround_test_data): Likewise.
33545         * math/libm-test.inc (NO_TEST_INLINE): New macro.
33546         (ERRNO_UNCHANGED): Update value.
33547         (ERRNO_EDOM): Likewise.
33548         (ERRNO_ERANGE): Likewise.
33549         (NO_TEST_INLINE_FLOAT): New macro.
33550         (NO_TEST_INLINE_DOUBLE): Likewise.
33551         (enable_test): New function.
33552         (RUN_TEST_f_f): Check enable_test before running test.
33553         (RUN_TEST_2_f): Likewise.
33554         (RUN_TEST_fff_f): Likewise.
33555         (RUN_TEST_c_f): Likewise.
33556         (RUN_TEST_f_f1): Likewise.
33557         (RUN_TEST_fF_f1): Likewise.
33558         (RUN_TEST_fI_f1): Likewise.
33559         (RUN_TEST_ffI_f1): Likewise.
33560         (RUN_TEST_c_c): Likewise.
33561         (RUN_TEST_cc_c): Likewise.
33562         (RUN_TEST_f_i): Likewise.
33563         (RUN_TEST_f_i_tg): Likewise.
33564         (RUN_TEST_ff_i_tg): Likewise.
33565         (RUN_TEST_f_b): Likewise.
33566         (RUN_TEST_f_b_tg): Likewise.
33567         (RUN_TEST_f_l): Likewise.
33568         (RUN_TEST_f_L): Likewise.
33569         (RUN_TEST_fFF_11): Likewise.
33570         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
33571         conditionals.
33572         (cosh_test_data): Likewise.
33573         (exp_test_data): Likewise.
33574         (expm1_test_data): Likewise.
33575         (hypot_test_data): Likewise.
33576         (pow_test_data): Likewise.
33577         (sinh_test_data): Likewise.
33578         (tanh_test_data): Likewise.
33579         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
33580         flags argument.
33582         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
33583         tests with quiet NaN input and output.
33584         (acosh_test_data): Likewise.
33585         (asin_test_data): Likewise.
33586         (asinh_test_data): Likewise.
33587         (atan_test_data): Likewise.
33588         (atanh_test_data): Likewise.
33589         (atan2_test_data): Likewise.
33590         (cbrt_test_data): Likewise.
33591         (cos_test_data): Likewise.
33592         (cosh_test_data): Likewise.
33593         (erf_test_data): Likewise.
33594         (erfc_test_data): Likewise.
33595         (exp_test_data): Likewise.
33596         (exp10_test_data): Likewise.
33597         (exp2_test_data): Likewise.
33598         (expm1_test_data): Likewise.
33599         (hypot_test_data): Likewise.
33600         (j0_test_data): Likewise.
33601         (j1_test_data): Likewise.
33602         (jn_test_data): Likewise.
33603         (lgamma_test_data): Likewise.
33604         (log_test_data): Likewise.
33605         (log10_test_data): Likewise.
33606         (log1p_test_data): Likewise.
33607         (log2_test_data): Likewise.
33608         (pow_test_data): Likewise.
33609         (scalb_test_data): Likewise.
33610         (sin_test_data): Likewise.
33611         (sincos_test_data): Likewise.
33612         (sinh_test_data): Likewise.
33613         (tan_test_data): Likewise.
33614         (tanh_test_data): Likewise.
33615         (tgamma_test_data): Likewise.
33616         (y0_test_data): Likewise.
33617         (y1_test_data): Likewise.
33618         (yn_test_data): Likewise.
33620         [BZ #16167]
33621         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
33622         argument being NaN and avoid computations with second argument in
33623         that case.
33624         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33625         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33626         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33628 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
33630         * locale/iso-639.def: Add Chitwani Tharu (the).
33632 2013-11-14  Andreas Schwab  <schwab@suse.de>
33634         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
33635         word instead of empty string.
33637 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33640         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
33641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33642         (__fe_nomask_env): Likewise.
33644 2013-11-13  Steve Ellcey  <sellcey@mips.com>
33646         * benchtests/bench-timing.h: Include time.h.
33648 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
33650         [BZ #15997]
33651         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
33652         to 3.4.0 for x32.
33653         * sysdeps/unix/sysv/linux/configure: Regenerated.
33655 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
33657         [BZ #16151]
33658         * stdlib/strtod_l.c (round_and_return): Do not consider
33659         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
33660         exponent one less than half the least subnormal exponent.
33661         * stdlib/test-strtod-round-data: Add more tests.
33662         * stdlib/tst-strtod-round.c (tests): Regenerated.
33664 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33666         [BZ #14143]
33667         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
33668         (__fe_mask_env): Likewise.
33669         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
33670         libm_hidden_proto and add function prototype.
33671         (__fe_mask_env): Add function prototype.
33672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33673         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
33674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33675         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33677         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
33679 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33681         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
33682         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
33684 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33686         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
33687         of htab_find_slot().
33689 2013-11-11  David S. Miller  <davem@davemloft.net>
33691         [BZ #16150]
33692         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
33693         symbol in the non-vis3 case in static builds.
33694         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
33695         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
33696         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
33697         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
33699 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
33701         [BZ #387]
33702         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
33703         it is empty.
33705 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33707         * benchtests/Makefile: Add bench-strtod.
33708         * benchtests/bench-strtod.c: New file: strtod benchtest
33710 2013-11-11  Andreas Schwab  <schwab@suse.de>
33712         [BZ #16153]
33713         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
33714         terminating NUL in key length.
33716 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33718         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33719         Add artificial ODP entry for vDSO symbol for PPC64.
33720         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
33721         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
33723 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
33725         [BZ #15374]
33726         * nss/getent.c (services_keys): Recognize services starting with digit.
33728 2013-11-06  David S. Miller  <davem@davemloft.net>
33730         [BZ #15985]
33731         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
33732         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
33734 2013-11-06  Will Newton  <will.newton@linaro.org>
33736         * manual/memory.texi (Malloc Examples): Remove register
33737         keyword from examples.
33739 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
33741         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
33743 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
33745         [BZ #6981]
33746         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
33747         depending on [__GCC_IEC_559 > 0].
33748         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
33749         depending on [__GCC_IEC_559_COMPLEX > 0].
33751 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
33753         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
33754         to iso-639.def.
33756 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
33758         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
33760 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
33762         [BZ #16112]
33763         * malloc/malloc (malloc_info): Do not handle first bin as
33764         special case.
33766 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
33768         * locale/iso-639.def: Add Central Nahuatl (nhn).
33770 2013-11-01  Bruno Haible  <bruno@clisp.org>
33772         [BZ #7003]
33773         * manual/math.texi (BSD Random): Specify range upper bound as
33774         in POSIX.
33776 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
33778         * locale/iso-639.def: Add Meadow Mari (mhr).
33780 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
33782         [BZ #14752], [BZ #15763]
33783         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
33784         Validate name.
33785         * rt/tst_shm.c: Add test for escaping directory.
33787 2013-10-31  Andreas Schwab  <schwab@suse.de>
33789         [BZ #15917]
33790         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
33791         followed by 'x' as part of digit sequence.
33792         * stdio-common/tst-sscanf.c (double_tests2): New tests.
33794 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
33796         [BZ #16037]
33797         * configure.ac: allow GNU Make 4.0 and greater.
33798         * configure: Regenerated.
33800 2013-10-30  Will Newton  <will.newton@linaro.org>
33802         [BZ #16038]
33803         * malloc/hooks.c (memalign_check): Limit alignment to the
33804         maximum representable power of two.
33805         * malloc/malloc.c (__libc_memalign): Likewise.
33806         * malloc/tst-memalign.c (do_test): Add test for very
33807         large alignment values.
33808         * malloc/tst-posix_memalign.c (do_test): Likewise.
33810 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
33812         [BZ #11087]
33813         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
33814         (munmap_chunk): Likewise.
33815         (mremap_chunk): Likewise.
33817 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
33819         [BZ #15799]
33820         * stdlib/div.c (div): Remove obsolete code.
33821         * stdlib/ldiv.c (ldiv): Likewise.
33822         * stdlib/lldiv.c (lldiv): Likewise.
33824 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33826         [BZ #16071]
33827         * nss/nss_files/files-XXX.c (get_contents_ret): New
33828         enumerator.
33829         (get_contents): New function.
33830         (internal_getent): Use it.  Expand size of LINEBUFLEN.
33832 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
33834         * configure.in: Moved to ...
33835         * configure.ac: ... here. Change reference to configure.in
33836         to configure.ac.
33837         * sysdeps/arm/preconfigure.ac: ... here.
33838         configure.in to configure.ac.
33839         * sysdeps/gnu/configure.in: Moved to ...
33840         * sysdeps/gnu/configure.ac: ... here.
33841         * sysdeps/i386/configure.in: Moved to ...
33842         * sysdeps/i386/configure.ac: ... here.
33843         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
33844         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
33845         * sysdeps/mach/configure.in: Moved to ...
33846         * sysdeps/mach/configure.ac: ... here.
33847         * sysdeps/mach/hurd/configure.in: Moved to ...
33848         * sysdeps/mach/hurd/configure.ac: ... here.
33849         * sysdeps/powerpc/configure.in: Moved to ...
33850         * sysdeps/powerpc/configure.ac: ... here.
33851         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
33852         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
33853         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
33854         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
33855         * sysdeps/s390/s390-32/configure.in: Moved to ...
33856         * sysdeps/s390/s390-32/configure.ac: ... here.
33857         * sysdeps/s390/s390-64/configure.in: Moved to ...
33858         * sysdeps/s390/s390-64/configure.ac: ... here.
33859         * sysdeps/sh/configure.in: Moved to ...
33860         * sysdeps/sh/configure.ac: ... here.
33861         * sysdeps/sparc/configure.in: Moved to ...
33862         * sysdeps/sparc/configure.ac: ... here.
33863         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
33864         * sysdeps/unix/sysv/linux/configure.ac: ... here.
33865         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
33866         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
33867         * sysdeps/x86_64/configure.in: Moved to ...
33868         * sysdeps/x86_64/configure.ac: ... here.
33869         * sysdeps/x86_64/preconfigure.in: Moved to ...
33870         * sysdeps/x86_64/preconfigure.ac: ... here.
33871         * aclocal.m4: Change reference to configure.in to configure.ac.
33872         * config.h.in: Likewise.
33873         * manual/install.texi: Likewise.
33874         * manual/maint.texi: Likewise.
33875         * Makefile: Likewise.
33876         * malloc/Makefile: Likewise.
33877         * nscd/Makefile: Likewise.
33878         * Makeconfig: Change reference to configure.in and
33879         preconfigure.in to configure.ac and preconfigure.ac
33880         respectively.
33881         * INSTALL: Regenerated.
33882         * configure: Likewise.
33883         * sysdeps/gnu/configure: Likewise.
33884         * sysdeps/i386/configure: Likewise.
33885         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
33886         * sysdeps/mach/configure: Likewise.
33887         * sysdeps/mach/hurd/configure: Likewise.
33888         * sysdeps/powerpc/configure: Likewise.
33889         * sysdeps/powerpc/powerpc32/configure: Likewise.
33890         * sysdeps/powerpc/powerpc64/configure: Likewise.
33891         * sysdeps/s390/s390-32/configure: Likewise.
33892         * sysdeps/s390/s390-64/configure: Likewise.
33893         * sysdeps/sh/configure: Likewise.
33894         * sysdeps/sparc/configure: Likewise.
33895         * sysdeps/unix/sysv/linux/configure: Likewise.
33896         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
33897         * sysdeps/x86_64/configure: Likewise.
33898         * sysdeps/x86_64/preconfigure: Likewise.
33900 2013-10-29  Andreas Schwab  <schwab@suse.de>
33902         * stdio-common/Makefile (tst-swscanf-ENV): Define.
33904 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33906         * benchtests/pow-inputs: Add new inputs.
33908         * benchtests/exp-inputs: Add new inputs.
33910         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
33911         conditional check for return value.
33912         (__cos32): Likewise.
33914 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33916         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
33917         to provide a boost for large inputs with word alignment.
33918         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
33919         implementation based on optimized PPC64 strcpy.
33920         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
33921         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
33922         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
33923         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
33925 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33927         [BZ #2801]
33928         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
33930 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33932         [BZ #14876]
33933         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
33934         * time/tst-strptime.c (day_tests): Add testcase.
33936 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
33938         [BZ #14029]
33939         * manual/pattern.texi: Acknowledge that fnmatch can fail.
33941 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
33943         [BZ #16074]
33944         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
33945         MAP_FAILED on error.
33947 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33949         [BZ #16072]
33950         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
33951         heap for large requests.
33953 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
33955         [BZ #9954]
33956         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
33957         result if the result has no associated interface.
33958         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
33959         interface for all 127.X.Y.Z addresses.
33961 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
33963         * locale/iso-639.def: Add Ligurian (lij)
33965 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
33967         [BZ #15825]
33968         * sunrpc/rpc_main.c: Document rpcgen -5.
33970 2013-10-19  Michael Stahl  <mstahl@redhat.com>
33972         * elf/rtld.c (do_preload): Print the reason why preloading failed.
33974 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
33976         [BZ #10278]
33977         * posix/glob.c: Match only directories when trailing slash is present.
33978         * posix/tst-gnuglob.c (my_opendir): Do not open files.
33979         (main): Add testcase.
33981 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
33983         [BZ #15670]
33984         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
33986 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
33988         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
33989         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
33990         AUTH_DES and cindex for FIPS 140-2.
33991         (DES Encryption): Add cindex FIPS 46-3.
33993         * locale/locarchive.h (struct locarhandle): Add fname.
33994         * locale/programs/localedef.c (main): Pass ARGV[remaining]
33995         if an optional argument was specified to --list-archive,
33996         otherwise NULL.
33997         * locale/programs/locarchive.c (show_archive_content): Take new
33998         argument fname and pass it via ah.fname to open_archive.
33999         * locale/programs/localedef.h: Update decl.
34000         (open_archive): If AH->fname is non-null, open that file
34001         rather than the default file name, and don't ignore ENOENT.
34002         (create_archive): Set AH.fname to NULL.
34003         (delete_locales_from_archive): Likewise.
34004         (add_locales_to_archive): Likewise.
34005         * locale/programs/locfile.c (write_all_categories): Likewise.
34007 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34008             Aldy Hernandez  <aldyh@redhat.com>
34010         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34011         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34012         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34013         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34014         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34015         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34016         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34017         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34018         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34019         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34020         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34021         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34022         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34023         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34024         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34025         Likewise.
34026         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34027         Likewise.
34028         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34029         Likewise.
34030         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34031         Likewise.
34032         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34033         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34034         Likewise.
34035         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34036         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34037         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34038         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34039         Likewise.
34040         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34041         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34042         * sysdeps/powerpc/preconfigure: Likewise.
34043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34044         Likewise.
34045         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34046         Replace contents of file by #include of <fenv_libc.h>.
34047         * sysdeps/powerpc/soft-fp/sfp-machine.h
34048         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34049         and <sys/prctl.h>.
34050         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34051         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34052         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34053         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34054         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34055         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34057         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34058         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34059         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34060         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34061         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34063         Allow copysignl PLT reference to be missing.
34065 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34066             Joseph Myers  <joseph@codesourcery.com
34068         [BZ #15948]
34069         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34070         single character.
34071         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34073 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34075         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34076         * elf/tst-tls1.c: Likewise.
34077         * elf/tst-tls10.h: Likewise.
34078         * elf/tst-tls14.c: Likewise.
34079         * elf/tst-tls2.c: Likewise.
34080         * elf/tst-tls3.c: Likewise.
34081         * elf/tst-tls4.c: Likewise.
34082         * elf/tst-tls5.c: Likewise.
34083         * elf/tst-tls6.c: Likewise.
34084         * elf/tst-tls7.c: Likewise.
34085         * elf/tst-tls8.c: Likewise.
34086         * elf/tst-tls9.c: Likewise.
34087         * elf/tst-tlsmod1.c: Likewise.
34088         * elf/tst-tlsmod13.c: Likewise.
34089         * elf/tst-tlsmod13a.c: Likewise.
34090         * elf/tst-tlsmod14a.c: Likewise.
34091         * elf/tst-tlsmod16a.c: Likewise.
34092         * elf/tst-tlsmod16b.c: Likewise.
34093         * elf/tst-tlsmod2.c: Likewise.
34094         * elf/tst-tlsmod3.c: Likewise.
34095         * elf/tst-tlsmod4.c: Likewise.
34096         * elf/tst-tlsmod5.c: Likewise.
34097         * elf/tst-tlsmod6.c: Likewise.
34099 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34101         [BZ #12486]
34102         * malloc/malloc.c: remove checks for statistics.
34104 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34106         [BZ #15277]
34107         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34108         * inet/tst-network.c: Add testcase.
34110 2013-10-17  Andreas Schwab  <schwab@suse.de>
34112         [BZ #15218]
34113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34114         to determine canonical name.
34116 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34118         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34119         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34120         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34121         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34122         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34123         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34124         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34125         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34126         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34127         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34128         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34129         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34130         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34131         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34132         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34133         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34134         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34135         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34136         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34137         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34138         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34140         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34141         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34142         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34143         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34144         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34145         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34146         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34147         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34148         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34149         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34150         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34151         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34152         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34153         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34154         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34155         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34156         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34157         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34158         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34159         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34160         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34161         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34162         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34163         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34164         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34165         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34166         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34167         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34168         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34169         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34170         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34171         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34172         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34173         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34174         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34175         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34177 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
34179         [BZ #16041]
34180         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
34181         make result into a quiet NaN.
34183 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
34185         * soft-fp/adddf3.c: Fix horizontal whitespace.
34186         * soft-fp/addsf3.c: Likewise.
34187         * soft-fp/addtf3.c: Likewise.
34188         * soft-fp/divdf3.c: Likewise.
34189         * soft-fp/divsf3.c: Likewise.
34190         * soft-fp/divtf3.c: Likewise.
34191         * soft-fp/double.h: Likewise.
34192         * soft-fp/eqdf2.c: Likewise.
34193         * soft-fp/eqsf2.c: Likewise.
34194         * soft-fp/eqtf2.c: Likewise.
34195         * soft-fp/extenddftf2.c: Likewise.
34196         * soft-fp/extended.h: Likewise.
34197         * soft-fp/extendsfdf2.c: Likewise.
34198         * soft-fp/extendsftf2.c: Likewise.
34199         * soft-fp/extendxftf2.c: Likewise.
34200         * soft-fp/fixdfdi.c: Likewise.
34201         * soft-fp/fixdfsi.c: Likewise.
34202         * soft-fp/fixdfti.c: Likewise.
34203         * soft-fp/fixsfdi.c: Likewise.
34204         * soft-fp/fixsfsi.c: Likewise.
34205         * soft-fp/fixsfti.c: Likewise.
34206         * soft-fp/fixtfdi.c: Likewise.
34207         * soft-fp/fixtfsi.c: Likewise.
34208         * soft-fp/fixtfti.c: Likewise.
34209         * soft-fp/fixunsdfdi.c: Likewise.
34210         * soft-fp/fixunsdfsi.c: Likewise.
34211         * soft-fp/fixunsdfti.c: Likewise.
34212         * soft-fp/fixunssfdi.c: Likewise.
34213         * soft-fp/fixunssfsi.c: Likewise.
34214         * soft-fp/fixunssfti.c: Likewise.
34215         * soft-fp/fixunstfdi.c: Likewise.
34216         * soft-fp/fixunstfsi.c: Likewise.
34217         * soft-fp/fixunstfti.c: Likewise.
34218         * soft-fp/floatdidf.c: Likewise.
34219         * soft-fp/floatdisf.c: Likewise.
34220         * soft-fp/floatditf.c: Likewise.
34221         * soft-fp/floatsidf.c: Likewise.
34222         * soft-fp/floatsisf.c: Likewise.
34223         * soft-fp/floatsitf.c: Likewise.
34224         * soft-fp/floattidf.c: Likewise.
34225         * soft-fp/floattisf.c: Likewise.
34226         * soft-fp/floattitf.c: Likewise.
34227         * soft-fp/floatundidf.c: Likewise.
34228         * soft-fp/floatundisf.c: Likewise.
34229         * soft-fp/floatunditf.c: Likewise.
34230         * soft-fp/floatunsidf.c: Likewise.
34231         * soft-fp/floatunsisf.c: Likewise.
34232         * soft-fp/floatunsitf.c: Likewise.
34233         * soft-fp/floatuntidf.c: Likewise.
34234         * soft-fp/floatuntisf.c: Likewise.
34235         * soft-fp/floatuntitf.c: Likewise.
34236         * soft-fp/fmadf4.c: Likewise.
34237         * soft-fp/fmasf4.c: Likewise.
34238         * soft-fp/fmatf4.c: Likewise.
34239         * soft-fp/gedf2.c: Likewise.
34240         * soft-fp/gesf2.c: Likewise.
34241         * soft-fp/getf2.c: Likewise.
34242         * soft-fp/ledf2.c: Likewise.
34243         * soft-fp/lesf2.c: Likewise.
34244         * soft-fp/letf2.c: Likewise.
34245         * soft-fp/muldf3.c: Likewise.
34246         * soft-fp/mulsf3.c: Likewise.
34247         * soft-fp/multf3.c: Likewise.
34248         * soft-fp/negdf2.c: Likewise.
34249         * soft-fp/negsf2.c: Likewise.
34250         * soft-fp/negtf2.c: Likewise.
34251         * soft-fp/op-1.h: Likewise.
34252         * soft-fp/op-2.h: Likewise.
34253         * soft-fp/op-4.h: Likewise.
34254         * soft-fp/op-8.h: Likewise.
34255         * soft-fp/op-common.h: Likewise.
34256         * soft-fp/quad.h: Likewise.
34257         * soft-fp/single.h: Likewise.
34258         * soft-fp/soft-fp.h: Likewise.
34259         * soft-fp/sqrtdf2.c: Likewise.
34260         * soft-fp/sqrtsf2.c: Likewise.
34261         * soft-fp/sqrttf2.c: Likewise.
34262         * soft-fp/subdf3.c: Likewise.
34263         * soft-fp/subsf3.c: Likewise.
34264         * soft-fp/subtf3.c: Likewise.
34265         * soft-fp/truncdfsf2.c: Likewise.
34266         * soft-fp/trunctfdf2.c: Likewise.
34267         * soft-fp/trunctfsf2.c: Likewise.
34268         * soft-fp/trunctfxf2.c: Likewise.
34269         * soft-fp/unorddf2.c: Likewise.
34270         * soft-fp/unordsf2.c: Likewise.
34271         * soft-fp/unordtf2.c: Likewise.
34273 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
34275         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
34276         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
34278 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
34280         * elf/dl-libc.c: Clear initfini list after freeing.
34282 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
34284         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
34285         * soft-fp/addsf3.c: Likewise.
34286         * soft-fp/addtf3.c: Likewise.
34287         * soft-fp/divdf3.c: Likewise.
34288         * soft-fp/divsf3.c: Likewise.
34289         * soft-fp/divtf3.c: Likewise.
34290         * soft-fp/double.h: Likewise.
34291         * soft-fp/eqdf2.c: Likewise.
34292         * soft-fp/eqsf2.c: Likewise.
34293         * soft-fp/eqtf2.c: Likewise.
34294         * soft-fp/extenddftf2.c: Likewise.
34295         * soft-fp/extended.h: Likewise.
34296         * soft-fp/extendsfdf2.c: Likewise.
34297         * soft-fp/extendsftf2.c: Likewise.
34298         * soft-fp/extendxftf2.c: Likewise.
34299         * soft-fp/fixdfdi.c: Likewise.
34300         * soft-fp/fixdfsi.c: Likewise.
34301         * soft-fp/fixdfti.c: Likewise.
34302         * soft-fp/fixsfdi.c: Likewise.
34303         * soft-fp/fixsfsi.c: Likewise.
34304         * soft-fp/fixsfti.c: Likewise.
34305         * soft-fp/fixtfdi.c: Likewise.
34306         * soft-fp/fixtfsi.c: Likewise.
34307         * soft-fp/fixtfti.c: Likewise.
34308         * soft-fp/fixunsdfdi.c: Likewise.
34309         * soft-fp/fixunsdfsi.c: Likewise.
34310         * soft-fp/fixunsdfti.c: Likewise.
34311         * soft-fp/fixunssfdi.c: Likewise.
34312         * soft-fp/fixunssfsi.c: Likewise.
34313         * soft-fp/fixunssfti.c: Likewise.
34314         * soft-fp/fixunstfdi.c: Likewise.
34315         * soft-fp/fixunstfsi.c: Likewise.
34316         * soft-fp/fixunstfti.c: Likewise.
34317         * soft-fp/floatdidf.c: Likewise.
34318         * soft-fp/floatdisf.c: Likewise.
34319         * soft-fp/floatditf.c: Likewise.
34320         * soft-fp/floatsidf.c: Likewise.
34321         * soft-fp/floatsisf.c: Likewise.
34322         * soft-fp/floatsitf.c: Likewise.
34323         * soft-fp/floattidf.c: Likewise.
34324         * soft-fp/floattisf.c: Likewise.
34325         * soft-fp/floattitf.c: Likewise.
34326         * soft-fp/floatundidf.c: Likewise.
34327         * soft-fp/floatundisf.c: Likewise.
34328         * soft-fp/floatunsidf.c: Likewise.
34329         * soft-fp/floatunsisf.c: Likewise.
34330         * soft-fp/floatuntidf.c: Likewise.
34331         * soft-fp/floatuntisf.c: Likewise.
34332         * soft-fp/floatuntitf.c: Likewise.
34333         * soft-fp/fmadf4.c: Likewise.
34334         * soft-fp/fmasf4.c: Likewise.
34335         * soft-fp/fmatf4.c: Likewise.
34336         * soft-fp/gedf2.c: Likewise.
34337         * soft-fp/gesf2.c: Likewise.
34338         * soft-fp/getf2.c: Likewise.
34339         * soft-fp/ledf2.c: Likewise.
34340         * soft-fp/lesf2.c: Likewise.
34341         * soft-fp/letf2.c: Likewise.
34342         * soft-fp/muldf3.c: Likewise.
34343         * soft-fp/mulsf3.c: Likewise.
34344         * soft-fp/multf3.c: Likewise.
34345         * soft-fp/negdf2.c: Likewise.
34346         * soft-fp/negsf2.c: Likewise.
34347         * soft-fp/negtf2.c: Likewise.
34348         * soft-fp/op-1.h: Likewise.
34349         * soft-fp/op-2.h: Likewise.
34350         * soft-fp/op-4.h: Likewise.
34351         * soft-fp/op-8.h: Likewise.
34352         * soft-fp/op-common.h: Likewise.
34353         * soft-fp/quad.h: Likewise.
34354         * soft-fp/single.h: Likewise.
34355         * soft-fp/soft-fp.h: Likewise.
34356         * soft-fp/sqrtdf2.c: Likewise.
34357         * soft-fp/sqrtsf2.c: Likewise.
34358         * soft-fp/sqrttf2.c: Likewise.
34359         * soft-fp/subdf3.c: Likewise.
34360         * soft-fp/subsf3.c: Likewise.
34361         * soft-fp/subtf3.c: Likewise.
34362         * soft-fp/truncdfsf2.c: Likewise.
34363         * soft-fp/trunctfdf2.c: Likewise.
34364         * soft-fp/trunctfsf2.c: Likewise.
34365         * soft-fp/trunctfxf2.c: Likewise.
34366         * soft-fp/unorddf2.c: Likewise.
34367         * soft-fp/unordsf2.c: Likewise.
34368         * soft-fp/unordtf2.c: Likewise.
34370 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
34372         [BZ #15672]
34373         * misc/error.c (error_tail): Fix possible buffer overflow.
34375 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
34377         [BZ #13028]
34378         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
34379         address.
34381 2013-10-14  P. J. McDermott  <pj@pehjota.net>
34383         [BZ #832]
34384         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
34385         testing pipefail option.
34387 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34389         * soft-fp/double.h: Indent preprocessor directives inside #if.
34390         * soft-fp/extended.h: Likewise.
34391         * soft-fp/op-2.h: Likewise.
34392         * soft-fp/op-4.h: Likewise.
34393         * soft-fp/op-common.h: Likewise.
34394         * soft-fp/quad.h: Likewise.
34395         * soft-fp/single.h: Likewise.
34396         * soft-fp/soft-fp.h: Likewise.
34398 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
34400         * iconv/iconv_prog.c: Fix typos.
34401         * stdio-common/psiginfo-data.h: Likewise.
34403 2013-10-12   Reuben Thomas <rrt@sc3d.org>
34405         [BZ #15764]
34406         * locale/setlocale.c: Fix typo.
34408 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
34410         [BZ #16036]
34411         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
34412         signaling NaN arguments.
34413         * soft-fp/unordsf2.c (__unordsf2): Likewise.
34414         * soft-fp/unordtf2.c (__unordtf2): Likewise.
34416         [BZ #14910]
34417         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
34418         unordered operands.
34419         * soft-fp/gesf2.c (__gesf2): Likewise.
34420         * soft-fp/getf2.c (__getf2): Likewise.
34421         * soft-fp/ledf2.c (__ledf2): Likewise.
34422         * soft-fp/lesf2.c (__lesf2): Likewise.
34423         * soft-fp/letf2.c (__letf2): Likewise.
34425         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
34426         * soft-fp/eqsf2.c (__eqsf2): Likewise.
34427         * soft-fp/eqtf2.c (__eqtf2): Likewise.
34428         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
34429         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
34430         * soft-fp/fixdfti.c (__fixdfti): Likewise.
34431         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
34432         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
34433         * soft-fp/fixsfti.c (__fixsfti): Likewise.
34434         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
34435         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
34436         * soft-fp/fixtfti.c (__fixtfti): Likewise.
34437         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
34438         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
34439         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
34440         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
34441         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
34442         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
34443         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
34444         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
34445         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
34446         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
34447         * soft-fp/floatdisf.c (__floatdisf): Likewise.
34448         * soft-fp/floatsisf.c (__floatsisf): Likewise.
34449         * soft-fp/floattidf.c (__floattidf): Likewise.
34450         * soft-fp/floattisf.c (__floattisf): Likewise.
34451         * soft-fp/floattitf.c (__floattitf): Likewise.
34452         * soft-fp/floatundidf.c (__floatundidf): Likewise.
34453         * soft-fp/floatundisf.c (__floatundisf): Likewise.
34454         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
34455         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
34456         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
34457         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
34458         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
34459         * soft-fp/gesf2.c (__gesf2): Likewise.
34460         * soft-fp/getf2.c (__getf2): Likewise.
34461         * soft-fp/ledf2.c (__ledf2): Likewise.
34462         * soft-fp/lesf2.c (__lesf2): Likewise.
34463         * soft-fp/letf2.c (__letf2): Likewise.
34465         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
34466         Undefine and redefine.
34467         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
34468         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
34469         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
34470         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
34471         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34472         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
34473         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34474         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
34475         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34476         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
34477         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34478         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
34479         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34480         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
34481         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
34483         [BZ #16032]
34484         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
34485         without decrementing exponent if mantissa >= that for the
34486         denominator, not >.
34487         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
34488         denominator, not >.  Decrement exponent in < case instead of
34489         incrementing in >= case.
34490         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
34491         without decrementing exponent if mantissa >= that for the
34492         denominator, not >.
34494         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
34495         computing saturated result for unsigned overflow.
34497 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34498             Jeff Law  <law@redhat.com>
34500         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
34501         (atan2Mp): Add systemtap probe marker.
34502         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
34503         (__ieee754_log): Add systemtap probe marker.
34504         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
34505         (atanMp): Add systemtap probe marker.
34506         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
34507         (tanMp): Add systemtap probe marker.
34508         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
34509         (__slowexp): Add systemtap probe marker.
34510         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
34511         (__slowpow): Add systemtap probe marker.
34512         * manual/probes.texi: Document probes.
34514 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
34516         [BZ #15362]
34517         * libio/fileops.c (_IO_new_file_write): Return count of bytes
34518         written.
34519         (_IO_new_file_xsputn): Don't return EOF if nothing has been
34520         written.
34521         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
34522         written to buffer but not flushed.
34523         * libio/iofwrite_u.c:  Likewise.
34524         * libio/iopadn.c:  Return bytes returned even if EOF was
34525         encountered.
34526         * libio/iowpadn.c:  Likewise.
34527         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
34528         if _IO_padn does not write the whole buffer.
34529         [!COMPILE_WPRINTF] (PAD): Likewise.
34531 2013-10-10  David S. Miller  <davem@davemloft.net>
34533         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
34534         directory block.
34536 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34538         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
34539         instead of FSF address.
34540         * soft-fp/fixdfti.c: Likewise.
34541         * soft-fp/fixsfti.c: Likewise.
34542         * soft-fp/fixtfti.c: Likewise.
34543         * soft-fp/fixunsdfti.c: Likewise.
34544         * soft-fp/fixunssfti.c: Likewise.
34545         * soft-fp/fixunstfti.c: Likewise.
34546         * soft-fp/floattidf.c: Likewise.
34547         * soft-fp/floattisf.c: Likewise.
34548         * soft-fp/floattitf.c: Likewise.
34549         * soft-fp/floatuntidf.c: Likewise.
34550         * soft-fp/floatuntisf.c: Likewise.
34551         * soft-fp/floatuntitf.c: Likewise.
34552         * soft-fp/trunctfxf2.c: Likewise.
34554         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
34555         * soft-fp/fixdfti.c: Likewise.
34556         * soft-fp/fixsfti.c: Likewise.
34557         * soft-fp/fixtfti.c: Likewise.
34558         * soft-fp/fixunsdfti.c: Likewise.
34559         * soft-fp/fixunssfti.c: Likewise.
34560         * soft-fp/fixunstfti.c: Likewise.
34561         * soft-fp/floattidf.c: Likewise.
34562         * soft-fp/floattisf.c: Likewise.
34563         * soft-fp/floattitf.c: Likewise.
34564         * soft-fp/floatuntidf.c: Likewise.
34565         * soft-fp/floatuntisf.c: Likewise.
34566         * soft-fp/floatuntitf.c: Likewise.
34567         * soft-fp/trunctfxf2.c: Likewise.
34569 2013-10-10  David S. Miller  <davem@davemloft.net>
34571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34573 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
34575         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
34576         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
34577         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
34578         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
34579         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
34580         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
34581         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
34583         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
34584         for NaNs before doing comparisons on argument.
34585         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34586         Likewise.
34588 2013-10-10  Will Newton  <will.newton@linaro.org>
34590         * malloc/hooks.c (memalign_check): Ensure the value of bytes
34591         passed to _int_memalign does not overflow.
34593 2013-10-10  Torvald Riegel  <triegel@redhat.com>
34595         * scripts/bench.pl: Add include-sources directive.
34596         * benchtests/README: Update documentation.
34598 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
34600         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
34601         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
34602         instead of FP_INIT_ROUNDMODE.
34603         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
34604         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
34606         [BZ #16034]
34607         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
34608         copy class of input value.
34609         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
34610         not handle exceptions.
34611         * soft-fp/negsf2.c (__negsf2): Likewise.
34612         * soft-fp/negtf2.c (__negtf2): Likewise.
34613         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
34615 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
34617         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
34618         semicolon.  From Linux kernel.
34620 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
34622         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
34624 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
34626         [BZ #156]
34627         * manual/socket.texi: Added statement about buffer
34628         for gethostbyname2_r.
34630 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
34632         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
34633         Use .p2align directive instead, throughout.
34634         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34635         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
34636         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
34637         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34638         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34639         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
34640         * sysdeps/x86_64/strchr.S: Likewise.
34641         * sysdeps/x86_64/strrchr.S: Likewise.
34643 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34645         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
34647         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
34649         * sysdeps/generic/math_private.h (__mpsin1): Remove
34650         declaration.
34651         (__mpcos1): Likewise.
34652         (__mpsin): New argument __range_reduce.
34653         (__mpcos): Likewise.
34654         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34655         (slow): Use __mpsin and __mpcos.
34656         (slow1): Likewise.
34657         (slow2): Likewise.
34658         (sloww): Likewise.
34659         (sloww1): Likewise.
34660         (sloww2): Likewise.
34661         (bsloww): Likewise.
34662         (bsloww1): Likewise.
34663         (bsloww2): Likewise.
34664         (cslow2): Likewise.
34665         (csloww): Likewise.
34666         (csloww1): Likewise.
34667         (csloww2): Likewise.
34668         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
34669         range_reduce.  Merge in __mpsin1.
34670         (__mpcos): Likewise.
34671         (__mpsin1): Remove.
34672         (__mpcos1): Likewise.
34674 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
34676         * locale/loadlocale.c (_nl_intern_locale_data): Use
34677         LOCFILE_ALIGNED_P.
34678         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
34679         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
34680         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
34681         obstack data is appropriately aligned.
34682         (obstack_int32_grow_fast): Likewise.
34683         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
34684         * locale/programs/locfile.c (add_locale_uint32): Likewise.
34685         (add_locale_uint32_array): Likewise.
34687 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34689         * benchtests/Makefile: Remove ARGLIST and RET variables.
34690         ($(objpfx)bench-%.c): Pass only function name to the script.
34691         * benchtests/README: Update documentation.
34692         * benchtests/acos-inputs: Add new directives.
34693         * benchtests/acosh-inputs: Likewise.
34694         * benchtests/asin-inputs: Likewise.
34695         * benchtests/asinh-inputs: Likewise.
34696         * benchtests/atan-inputs: Likewise.
34697         * benchtests/atanh-inputs: Likewise.
34698         * benchtests/cos-inputs: Likewise.
34699         * benchtests/cosh-inputs: Likewise.
34700         * benchtests/exp-inputs: Likewise.
34701         * benchtests/log-inputs: Likewise.
34702         * benchtests/pow-inputs: Likewise.
34703         * benchtests/rint-inputs: Likewise.
34704         * benchtests/sin-inputs: Likewise.
34705         * benchtests/sinh-inputs: Likewise.
34706         * benchtests/tan-inputs: Likewise.
34707         * benchtests/tanh-inputs: Likewise.
34708         * scripts/bench.pl: Add support for new directives.
34710 2013-10-07  Alan Modra  <amodra@gmail.com>
34712         * README: Fix careless merge.
34714 2013-10-05  Alan Modra  <amodra@gmail.com>
34716         * NEWS: Mention powerpc64le support and bugs fixed.
34717         * README: Both big-endian and little-endian powerpc64 supported.
34719 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34721         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
34722         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
34723         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
34724         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
34726 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
34728         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
34729         match prototype.
34731 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
34733         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
34734         Move -mhard-float appending from
34735         ports/sysdeps/powerpc/powerpc32/Makefile.
34736         [$(with-fp) = yes] (ASFLAGS): Likewise.
34737         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
34738         * sysdeps/powerpc/nofpu: Move directory from
34739         ports/sysdeps/powerpc/nofpu.
34740         * sysdeps/powerpc/soft-fp: Move directory from
34741         ports/sysdeps/powerpc/soft-fp.
34742         * sysdeps/powerpc/powerpc32/405: Move directory from
34743         ports/sysdeps/powerpc/powerpc32/405.
34744         * sysdeps/powerpc/powerpc32/440: Move directory from
34745         ports/sysdeps/powerpc/powerpc32/440.
34746         * sysdeps/powerpc/powerpc32/464: Move directory from
34747         ports/sysdeps/powerpc/powerpc32/464.
34748         * sysdeps/powerpc/powerpc32/476: Move directory from
34749         ports/sysdeps/powerpc/powerpc32/476.
34750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
34751         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
34752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
34753         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
34754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
34755         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
34756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
34757         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
34758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
34759         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
34760         * README: Update for powerpc-*-linux-gnu software floating point
34761         support in libc.
34763         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
34764         case to powerpc/powerpc32*.
34765         * sysdeps/unix/sysv/linux/configure: Regenerated.
34767         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
34768         (_FPU_MASK_OM): Define as 0x04.
34769         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
34770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
34771         0x00c10080.
34772         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
34773         0x0000003c.
34774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
34776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
34777         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34778         getcontext_e500.
34779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
34780         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
34781         setcontext_e500.
34782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
34783         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
34784         and setcontext_e500.
34786 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
34788         * locale/iso-3166.def: Update iso-1366.def and related occurrences
34790 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34792         * manual/threads.texi (Default Thread Attributes): Fix typo.
34794 2013-10-04  Will Newton  <will.newton@linaro.org>
34796         * malloc/Makefile: Add tst-memalign.
34797         * malloc/tst-memalign.c: New file.
34799         * malloc/tst-posix_memalign.c: Add comments.
34800         (do_test): Add comments and call free on all potentially
34801         allocated pointers. Add space after cast.
34803         * malloc/tst-pvalloc.c: Add comments.
34804         (do_test): Add comments and call free on all potentially
34805         allocated pointers. Remove duplicate check for NULL pointer.
34806         Add space after cast.
34808         * malloc/tst-valloc.c: Add comments.
34809         (do_test): Add comments and call free on all potentially
34810         allocated pointers. Remove duplicate check for NULL pointer.
34811         Add space after cast.
34813 2013-10-04  Alan Modra  <amodra@gmail.com>
34815         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34816         Use stdint types in rather than __attribute__((mode())).
34817         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34819 2013-10-04  Alan Modra  <amodra@gmail.com>
34821         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34822         Correct handling of unaligned relocs for little-endian.
34823         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34825 2013-10-04  Alan Modra  <amodra@gmail.com>
34827         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
34828         * configure: Regenerate.
34829         * nptl/shlib-versions: Powerpc*le starts at 2.18.
34830         * shlib-versions: Likewise.
34832 2013-10-04  Alan Modra  <amodra@gmail.com>
34834         * string/tester.c (test_memrchr): Increment reported test cycle.
34836 2013-10-04  Alan Modra  <amodra@gmail.com>
34838         * string/test-memcpy.c (do_one_test): When reporting errors, print
34839         string address and don't overrun end of string.
34841 2013-10-04  Alan Modra  <amodra@gmail.com>
34843         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
34844         insrdi.  Make better use of reg selection to speed exit slightly.
34845         Schedule entry path a little better.  Remove useless "are we done"
34846         checks on entry to main loop.  Handle wrapping around zero address.
34847         Correct main loop count.  Handle single left-over word from main
34848         loop inline rather than by using loop_small.  Remove extra word
34849         case in loop_small caused by wrong loop count.  Add little-endian
34850         support.
34851         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34852         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
34853         cache hint.
34854         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34855         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
34856         support.  Avoid rlwimi.
34857         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
34859 2013-10-04  Alan Modra  <amodra@gmail.com>
34861         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
34862         insrdi.  Formatting.
34863         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
34864         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34865         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
34866         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34867         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34868         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
34870 2013-10-04  Alan Modra  <amodra@gmail.com>
34872         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
34873         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34874         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34875         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
34876         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34877         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34878         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34879         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34880         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
34881         use of regs.  Use power7 mtocrf.  Tidy function tails.
34883 2013-10-04  Alan Modra  <amodra@gmail.com>
34885         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
34886         Formatting.  Consistently use rXXX register defines or rN defines.
34887         Use early exit labels that avoid restoring unused non-volatile regs.
34888         Make cr field use more consistent with rWORDn compares.  Rename
34889         regs used as shift registers for unaligned loop, using rN defines
34890         for short lifetime/multiple use regs.
34891         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34892         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
34893         addi 1,1,64 to pop stack frame.  Simplify return value code.
34894         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34896 2013-10-04  Alan Modra  <amodra@gmail.com>
34898         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
34899         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
34900         rather than rlwimi.
34901         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
34902         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
34903         little-endian support.  Correct typos.
34904         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
34905         rather than rlwimi.
34906         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
34907         in loop and entry code to keep "and." results.
34908         (strchr): Add little-endian support.  Comment.  Move cntlzd
34909         earlier in tail.
34910         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
34912 2013-10-04  Alan Modra  <amodra@gmail.com>
34914         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
34915         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
34916         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
34917         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
34919 2013-10-04  Alan Modra  <amodra@gmail.com>
34921         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
34922         (rTMP): Define as r11.
34923         (strcmp): Add little-endian support.  Optimise tail.
34924         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
34925         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34926         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34927         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34928         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34929         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34930         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34932 2013-10-04  Alan Modra  <amodra@gmail.com>
34934         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
34935         little-endian support.  Remove unnecessary "are we done" tests.
34936         Handle "s" wrapping around zero and extremely large "size".
34937         Correct main loop count.  Handle single left-over word from main
34938         loop inline rather than by using small_loop.  Correct comments.
34939         Delete "zero" tail, use "end_max" instead.
34940         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
34942 2013-10-04  Alan Modra  <amodra@gmail.com>
34944         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
34945         support.  Don't branch over align.
34946         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
34947         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
34948         support.  Rearrange tmp reg use to suit.  Comment.
34949         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
34951 2013-10-04  Alan Modra  <amodra@gmail.com>
34953         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
34955 2013-10-04  Alan Modra  <amodra@gmail.com>
34957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
34958         conditional form of branch and link when obtaining pc.
34959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34961 2013-10-04  Alan Modra  <amodra@gmail.com>
34963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
34964         HIWORD/LOWORD.
34965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
34966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
34968 2013-10-04  Alan Modra  <amodra@gmail.com>
34970         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
34971         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
34972         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
34973         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
34974         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34975         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34976         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
34977         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34978         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
34979         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
34981 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
34982             Alistair Popple <alistair@ozlabs.au.ibm.com>
34983             Alan Modra <amodra@gmail.com>
34985         [BZ #15723]
34986         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
34987         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
34988         _dl_hwcap access for little-endian.
34989         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
34990         destroy vmx regs when saving unaligned.
34991         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
34992         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
34993         destroy vmx regs when saving unaligned.
34995 2013-10-04  Alan Modra  <amodra@gmail.com>
34997         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
34998         Don't use a union to pack hi/low value.
35000 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35002         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35003         for little-endian.
35004         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35005         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35006         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35007         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35008         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35010 2013-10-04  Alan Modra  <amodra@gmail.com>
35012         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35013         constants to usual value for .cst8 section, and remove redundant
35014         high address load.
35015         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35016         constant for 0x1p52.  Load little-endian words of double from
35017         correct stack offsets.
35019 2013-10-04  Alan Modra  <amodra@gmail.com>
35021         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35022         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35023         words of double from correct stack offsets.
35024         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35025         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35026         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35027         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35028         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35029         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35030         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35031         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35032         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35033         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35034         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35035         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35036         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35037         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35038         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35039         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35040         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35042 2013-10-04  Alan Modra  <amodra@gmail.com>
35044         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35045         64-bit int/double union.
35046         (_FPU_SETCW): Likewise.
35047         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35048         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35050 2013-10-04  Alan Modra  <amodra@gmail.com>
35052         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35053         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35055 2013-10-04  Alan Modra  <amodra@gmail.com>
35057         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35058         use vector int constants.
35059         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35061 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35063         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35064         array with long long.
35065         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35066         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35067         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35068         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35069         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35070         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35071         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35072         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35073         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35074         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35075         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35076         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35077         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35079 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35081         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35082         (__signbit): Likewise.  Correct for little-endian.
35083         (__signbitl): Call __signbit.
35084         (lrint): Correct for little-endian.
35085         (lrintf): Call lrint.
35087 2013-10-04  Alan Modra  <amodra@gmail.com>
35089         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35090         union 32-bit int array member with 64-bit int array.
35091         (t515, tm256): Double rather than long double.
35092         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35094 2013-10-04  Alan Modra  <amodra@gmail.com>
35096         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35097         Delete.
35098         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35099         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35100         version of math_ldbl.h.
35102 2013-10-04  Alan Modra  <amodra@gmail.com>
35104         [BZ #15734], [BZ #15735]
35105         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35106         all uses of ieee875 long double macros and unions.  Simplify test
35107         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35108         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35109         normalize after ldbl_extract_mantissa, and don't add hidden bit
35110         already handled.  Don't treat low word of ieee854 mantissa like
35111         low word of IBM long double and mask off bit when testing for
35112         zero.
35113         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35114         all uses of ieee875 long double macros and unions.  Simplify tests
35115         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35116         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35117         two1022, instead use their values.  Recognise that tests for large
35118         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35119         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35120         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35121         test for 0.0L and nan.  Correct negation.
35122         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35123         ieee875 long double macros and unions.  Correct output for large
35124         magnitude x.  Correct absolute value calculation.
35125         (__erfcl): Likewise.
35126         * math/libm-test.inc: Add tests for errors discovered in IBM long
35127         double versions of fmodl, remainderl, erfl and erfcl.
35129 2013-10-04  Alan Modra  <amodra@gmail.com>
35131         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35132         all uses of ieee854 long double macros and unions.  Simplify tests
35133         for long doubles that are fully specified by the high double.
35134         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35135         Likewise.
35136         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35137         Remove dead code too.
35138         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35139         (__ieee754_ynl): Likewise.
35140         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35141         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35142         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35143         Remove dead code too.
35144         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35145         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35146         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35147         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35148         Simplify.
35149         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35150         Simplify.
35151         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35152         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35153         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35154         Comment on variable precision.
35155         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35156         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35157         Likewise.
35158         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35159         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35160         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35161         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35162         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35164 2013-10-04  Alan Modra  <amodra@gmail.com>
35166         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35167         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35168         all uses of ieee854 long double macros and unions.
35169         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35170         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35171         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35172         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35173         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35174         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35175         Likewise.
35176         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
35177         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35178         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
35179         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35180         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
35181         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
35182         Simplify sign and nan test too.
35183         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
35184         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35185         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
35186         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35187         Likewise.
35188         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35189         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
35190         Likewise.
35191         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35192         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
35193         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
35194         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
35195         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
35196         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
35198 2013-10-04  Alan Modra  <amodra@gmail.com>
35200         * stdio-common/printf_size.c (__printf_size): Don't use
35201         union ieee854_long_double in fpnum union.
35202         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
35203         signbit macro to retrieve sign from long double.
35204         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
35205         retrieve sign from long double.
35206         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
35207         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
35208         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
35209         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35210         * math/test-misc.c (main): Don't use union ieee854_long_double.
35212 2013-10-04  Alan Modra  <amodra@gmail.com>
35214         [BZ #15680]
35215         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
35216         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
35217         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
35218         calculation.  Remove unnecessary test for denormal exponent.
35219         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
35220         Correct handling of denormals.  Avoid undefined shift behaviour.
35221         Correct normalisation of low mantissa when low double is denormal.
35222         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
35223         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
35224         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
35225         Correct normalisation of low mantissa.  Test for overflow of high
35226         mantissa and normalise.
35227         (ldbl_nearbyint): Use more readable constant for two52.
35228         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
35229         (__mpn_construct_long_double): Fix test for overflow of high
35230         mantissa and correct normalisation.  Avoid undefined shift.
35232 2013-10-04  Alan Modra  <amodra@gmail.com>
35234         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
35235         (union ibm_extended_long_double): Define as an array of ieee754_double.
35236         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
35237         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
35238         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
35239         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35240         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35241         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
35242         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35243         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35244         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35245         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
35246         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35248 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
35250         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
35251         page size instead of calling getpagesize.
35253         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
35254         (LOCFILE_ALIGN_MASK): Likewise.
35255         (LOCFILE_ALIGN_UP): Likewise.
35256         (LOCFILE_ALIGNED_P): Likewise.
35257         * locale/programs/ld-collate.c (collate_output): Use the new
35258         macros instead of __alignof__ (int32_t).
35259         * locale/weight.h (findidx): Likewise.
35261 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
35263         [BZ #431]
35264         * manual/string.texi: Fix strncat and wcsncat.
35266 2013-10-03  Brooks Moses  <bmoses@google.com>
35268         [BZ #15915]
35269         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
35270         * Makerules: ...here, and adjust associated comments.
35272 2013-10-02  Will Newton  <will.newton@linaro.org>
35274         * malloc/Makefile: Add tst-pvalloc.
35275         * malloc/tst-pvalloc.c: New file.
35277 2013-10-02  Will Newton  <will.newton@linaro.org>
35279         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
35280         improve test coverage.
35282 2013-10-02  Will Newton  <will.newton@linaro.org>
35284         * malloc/Makefile: Add tst-posix_memalign.
35285         * malloc/tst-posix_memalign.c: New file.
35287 2013-10-01  Eric Blake  <eblake@redhat.com>
35289         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
35290         Use __THROWNL rather than __THROW on static functions.
35292 2013-09-30  Petr Machata  <pmachata@redhat.com>
35294         * elf/elf.h (R_AARCH64_ABS16): New macro.
35295         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
35296         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
35297         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
35298         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
35299         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
35300         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
35301         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
35302         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
35303         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
35304         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
35305         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
35306         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
35307         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
35308         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
35309         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
35310         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
35311         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
35312         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
35313         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
35314         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
35315         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
35316         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
35317         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
35318         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
35319         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
35320         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
35321         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
35322         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
35323         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
35324         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
35325         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
35326         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
35327         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
35328         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
35329         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
35330         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
35331         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
35332         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
35333         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
35334         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
35335         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
35336         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
35337         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
35338         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
35339         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
35340         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
35341         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
35342         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
35343         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
35344         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
35345         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
35346         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
35347         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
35348         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
35349         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
35350         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
35351         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
35352         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
35353         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
35354         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
35355         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
35356         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
35357         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
35358         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
35359         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
35360         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
35361         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
35362         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
35363         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
35364         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
35365         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
35366         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
35367         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
35368         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
35369         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
35370         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
35371         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
35372         (R_AARCH64_TLSDESC_LDR): Likewise.
35373         (R_AARCH64_TLSDESC_ADD): Likewise.
35374         (R_AARCH64_TLSDESC_CALL): Likewise.
35376 2013-09-30  Andreas Schwab  <schwab@suse.de>
35378         [BZ #15048]
35379         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
35380         the nss database lookup.
35381         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35384 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
35386         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
35388 2013-09-28  P. J. McDermott  <pj@pehjota.net>
35390         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
35391         ${Bash-specific parameter/pattern/string} parameter expansion.
35392         * sysdeps/unix/make-syscalls.sh: Likewise.
35394 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35396         * sysdeps/sh/stackguard-macros.h: New file.
35398 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
35400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
35401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
35402         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
35403         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
35404         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35405         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
35407 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35409         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
35410         Fix thread ID register.
35412 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
35414         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
35415         [POSIX || UNIX98]: Require rather than permitting all symbols from
35416         <time.h>.
35417         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
35418         element of struct sched_param.
35419         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
35420         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
35421         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
35422         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
35423         constant.
35425 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
35427         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
35428         argument calculation.
35430 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35432         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
35433         Expect macro.
35434         [POSIX] (pthread_attr_t): Do not require type.
35435         [POSIX] (pthread_cond_t): Likewise.
35436         [POSIX] (pthread_condattr_t): Likewise.
35437         [POSIX] (pthread_key_t): Likewise.
35438         [POSIX] (pthread_mutex_t): Likewise.
35439         [POSIX] (pthread_mutexattr_t): Likewise.
35440         [POSIX] (pthread_once_t): Likewise.
35441         [POSIX] (pthread_t): Likewise.
35442         [POSIX-based standards] (pthread_atfork): Expect function.
35444 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
35445             Richard Sandiford  <richard@codesourcery.com>
35447         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
35448         (swap_endianness_p): New extern variable.
35449         (set_big_endian): New inline function.
35450         (maybe_swap_uint32): Likewise.
35451         (maybe_swap_uint32_array): Likewise.
35452         (maybe_swap_uint32_obstack): Likewise.
35453         * locale/programs/locfile.c: Include <stdbool.h>.
35454         (swap_endianness_p): New variable.
35455         (add_locale_uint32): Call maybe_swap_uint32.
35456         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
35457         (write_locale_data): Call maybe_swap_uint32_array.
35458         * locale/programs/ld-collate.c (obstack_int32_grow): Call
35459         maybe_swap_uint32.
35460         (obstack_int32_grow_fast): Likewise.
35461         (output_weightwc): Call maybe_swap_uint32_obstack.
35462         (collate_output): Likewise.
35463         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
35464         (OPT_LITTLE_ENDIAN): Likewise.
35465         (options): Add --little-endian and --big-endian options.
35466         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
35467         * locale/programs/locarchive.c: Include "locfile.h".
35468         (GET): New macro.
35469         (SET): Likewise.
35470         (INC): Likewise.
35471         (create_archive): Use the new macros to access fields of
35472         structures directly mapped from or written to locale archives.
35473         (oldlocrecentcmp): Likewise.
35474         (enlarge_archive): Likewise.
35475         (insert_name): Likewise.
35476         (add_alias): Likewise.
35477         (add_locale): Likewise.
35478         (delete_locales_from_archive): Likewise.
35479         (show_archive_content): Likewise.
35480         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
35481         locale data.
35483 2013-09-24  Roland McGrath  <roland@hack.frob.com>
35485         * manual/freemanuals.texi: Updated from (newly) canonical copy at
35486         http://www.gnu.org/doc/freemanuals.texi.
35487         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
35489 2013-09-24  Will Newton  <will.newton@linaro.org>
35491         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
35492         macro.
35494 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
35496         * locale/hashval.h (compute_hashval): Interpret bytes of key as
35497         unsigned char.
35499 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
35501         * manual/threads.texi (POSIX Threads): Fix a typo.
35503 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35505         [BZ #14547]
35506         * string/tst-strcoll-overflow.c: New test case.
35507         * string/Makefile (xtests): Add tst-strcoll-overflow.
35508         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
35509         cache if string sizes may cause integer overflow.
35511         [BZ #14547]
35512         * string/strcoll_l.c (coll_seq): New members rule, idx,
35513         save_idx and back_us.
35514         (get_next_seq_nocache): New function.
35515         (do_compare_nocache): New function.
35516         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
35517         when malloc fails.
35519 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
35521         [BZ #15754]
35522         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
35523         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
35524         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
35526         [BZ #15754]
35527         * elf/Makefile (tests): Add tst-ptrguard1.
35528         (tests-static): Add tst-ptrguard1-static.
35529         (tst-ptrguard1-ARGS): Define.
35530         (tst-ptrguard1-static-ARGS): Define.
35531         * elf/tst-ptrguard1.c: New file.
35532         * elf/tst-ptrguard1-static.c: New file.
35533         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
35534         * sysdeps/i386/stackguard-macros.h: Likewise.
35535         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35536         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35537         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35538         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35539         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35540         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35542 2013-09-23  Hector Marco  <hecmargi@upv.es>
35543             Ismael Ripoll  <iripoll@disca.upv.es>
35544             Carlos O'Donell  <carlos@redhat.com>
35546         [BZ #15754]
35547         * sysdeps/generic/stackguard-macros.h: Define
35548         __pointer_chk_guard_local and POINTER_CHK_GUARD.
35549         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
35550         Define __pointer_chk_guard_local.
35551         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
35552         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
35554 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
35556         [BZ #15859]
35557         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
35559 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
35561         * include/string.h (__ffs): Declare as hidden.
35562         * string/ffs.c (__ffs): Define as hidden.
35563         * sysdeps/i386/ffs.c (__ffs): Likewise.
35564         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
35565         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
35566         * sysdeps/s390/ffs.c (__ffs): Likewise.
35567         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
35569 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
35571         * NEWS: Mention malloc probes.
35573         * malloc/arena.c (new_heap): New memory_heap_new probe.
35574         (grow_heap): New memory_heap_more probe.
35575         (shrink_heap): New memory_heap_less probe.
35576         (heap_trim): New memory_heap_free probe.
35577         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
35578         (systrim): New memory_sbrk_less probe.
35579         * manual/probes.texi: Document them.
35581         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
35582         * manual/probes.texi: Document it.
35584         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
35585         (__libc_realloc): Add memory_realloc_retry probe.
35586         (__libc_memalign): Add memory_memalign_retry probe.
35587         (__libc_valloc): Add memory_valloc_retry probe.
35588         (__libc_pvalloc): Add memory_pvalloc_retry probe.
35589         (__libc_calloc): Add memory_calloc_retry probe.
35590         * manual/probes.texi: Document them.
35592         * malloc/arena.c (get_free_list): Add probe
35593         memory_arena_reuse_free_list.
35594         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
35595         and memory_arena_reuse.
35596         (arena_get2) [!PER_THREAD]: Likewise.
35597         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
35598         memory_arena_reuse_realloc.
35599         * manual/probes.texi: Document them.
35601         * malloc/malloc.c (__libc_free): Add
35602         memory_mallopt_free_dyn_thresholds probe.
35603         (__libc_mallopt): Add multiple memory_mallopt probes.
35604         * manual/probes.texi: Document them.
35606         * malloc/malloc.c: Include stap-probe.h.
35607         (__libc_mallopt): Add memory_mallopt probe.
35608         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
35609         * manual/probes.texi: New.
35610         * manual/Makefile (chapters): Add probes.
35611         * manual/threads.texi: Set next node.
35613 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
35615         [BZ #15963, #13985]
35616         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
35617         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
35618         Add `Chinese' to `nan' entry name.
35620 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35622         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
35623         (POLYNOMIAL): Likewise.
35624         (TAYLOR_SINCOS): Likewise.
35625         (TAYLOR_SLOW): Likewise.
35626         (__sin): Use TAYLOR_SINCOS.
35627         (__cos): Likewise.
35628         (slow): Use TAYLOR_SLOW.
35629         (sloww): Likewise.
35630         (bsloww): Likewise.
35631         (csloww): Likewise.
35633 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35635         * stdlib/strtod_l.c: Fix buffer overrun.
35637 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35639         * benchtests/Makefile (bench): Add sincos.
35640         * benchtests/bench-sincos.c: New file.
35642         * math/libm-test.inc (cos_test_data): New test inputs.
35643         (sin_test_data): Likewise.
35645         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
35646         macro.
35647         (__sin): Use it.
35648         (__cos): Likewise.
35649         (slow1): Likewise.
35650         (slow2): Likewise.
35651         (sloww1): Likewise.
35652         (sloww2): Likewise.
35653         (bsloww1): Likewise.
35654         (bsloww2): Likewise.
35655         (cslow2): Likewise.
35656         (csloww1): Likewise.
35657         (csloww2): Likewise.
35659         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
35660         function.
35661         (__sin): Use it.
35662         (__cos): Likewise.
35664         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
35665         gotos.
35666         (__cos): Likewise.
35668 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
35670         * config.h.in (HAVE_MIPS_NAN2008): New macro.
35671         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
35672         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
35673         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
35674         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
35675         * elf/cache.c (print_entry): Handle the new cache flags.
35677 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35678             Aldy Hernandez  <aldyh@redhat.com>
35680         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
35681         Change condition to [_SOFT_FLOAT].
35682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
35683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
35684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
35685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
35686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
35687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
35688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
35689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
35690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
35691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
35692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
35693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
35694         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
35695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
35696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
35697         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
35698         declaration.
35700 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
35702         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
35703         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35704         (__longjmp): Use LOAD_GP to load saved GPRs.
35705         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
35706         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
35707         (__sigsetjmp): Use SAVE_GP to save GPRs.
35709         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
35710         Do not append -msoft-float.
35711         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
35713 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35715         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
35717 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
35719         [BZ #15966]
35720         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
35721         (_FPU_GETCW): Use initial "__" on variable and field names but not
35722         on macro parameter name.
35723         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
35724         parentheses around reference to macro parameter.
35726 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
35728         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
35729         prototype.
35730         (ctype_startup): Use uint32_t in cast and sizeof for
35731         ctype->charnames.
35733 2013-09-11  Jia Liu  <proljc@gmail.com>
35735         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
35736         __daddr_t_defined.
35737         [__FreeBSD__]: Likewise.
35739 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
35741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35742         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
35743         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
35744         (strchr): Remove __strchr_sse42 ifunc selection.
35745         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
35746         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
35748 2013-09-11  Will Newton  <will.newton@linaro.org>
35750         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
35751         parameter to RES. Remove hardcoded 1000 value.
35752         * benchtests/bench-skeleton.c (main): Pass RES parameter
35753         to TIMING_INIT and multiply result by 1000.
35755 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35759 2013-09-11  Andreas Schwab  <schwab@suse.de>
35761         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
35762         if not defined.
35763         (O_TMPFILE) [__USE_GNU]: Define.
35764         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
35765         Define.
35767 2013-09-11  Will Newton  <will.newton@linaro.org>
35769         [BZ #15857]
35770         * malloc/malloc.c (__libc_memalign): Check the value of bytes
35771         does not overflow.
35773 2013-09-11  Will Newton  <will.newton@linaro.org>
35775         [BZ #15856]
35776         * malloc/malloc.c (__libc_valloc): Check the value of bytes
35777         does not overflow.
35779 2013-09-11  Will Newton  <will.newton@linaro.org>
35781         [BZ #15855]
35782         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
35783         does not overflow.
35785 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
35787         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
35788         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35789         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35790         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35791         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35793 2013-09-10  Allan McRae  <allan@archlinux.org>
35795         [BZ #15748]
35796         * manual/arith.texi (Parsing of Floats): Clarify
35797         cross-reference.
35799         [BZ #15849]
35800         * manual/install.texi (Running make install): Mention
35801         --enable-pt-chown.
35802         * INSTALL: Regenerated.
35804 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
35806         * csu/init-first.c (_init): Remove the !SHARED condition around
35807         FPU control word initialization.
35808         * elf/dl-support.c (_dl_fpu_control): New variable.
35809         (_dl_aux_init) <AT_FPUCW>: Initialize it.
35810         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
35811         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
35812         * math/test-fpucw-static.c: New file.
35813         * math/test-fpucw-ieee.c: New file.
35814         * math/test-fpucw-ieee-static.c: New file.
35815         * math/Makefile (tests): Add `test-fpucw-ieee' and
35816         `$(tests-static)'.
35817         (tests-static): New variable.
35818         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
35819         dependency to...
35820         [($(build-shared),yes)]
35821         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35822         ... this.
35823         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
35824         New dependency.
35826 2013-09-09  Allan McRae  <allan@archlinux.org>
35828         [BZ #15939]
35829         * manual/string.texi (Collation Functions): Fix typo in
35830         strcoll example.
35831         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
35833         [BZ #15893]
35834         * stdlib/isomac.c (get_null_defines): Fix memory leak.
35836         [BZ #15892]
35837         * libio/memstream.c (open_memstream): Fix memory leak.
35838         * libio/wmemstream.c (open_wmemstream): Likewise.
35840         [BZ #15895]
35841         * nscd/netgroupcache.c: Fix nesting of ifdefs.
35843 2013-09-09  Will Newton  <will.newton@linaro.org>
35845         * malloc/Makefile: Add tst-realloc to tests.
35846         * malloc/tst-realloc.c: New file.
35848 2013-09-09  Allan McRae  <allan@archlinux.org>
35850         [BZ #15844]
35851         * COPYING: Update from GNU website to fix FSF address.
35852         * COPYING.LIB: Likewise.
35854 2013-09-06  David S. Miller  <davem@davemloft.net>
35856         * po/zh_TW.po: Update Chinese (traditional) translation from
35857         translation project.
35859 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
35860             Joseph Myers  <joseph@codesourcery.com>
35862         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
35863         "localeinfo.h".
35864         (obstack_chunk_alloc): New macro.
35865         (obstack_chunk_free): Likewise.
35866         (record_offset): New function.
35867         (init_locale_data): Likewise.
35868         (align_locale_data): Likewise.
35869         (add_locale_empty): Likewise.
35870         (add_locale_raw_data): Likewise.
35871         (add_locale_raw_obstack): Likewise.
35872         (add_locale_string): Likewise.
35873         (add_locale_wstring): Likewise.
35874         (add_locale_uint32): Likewise.
35875         (add_locale_uint32_array): Likewise.
35876         (add_locale_char): Likewise.
35877         (start_locale_structure): Likewise.
35878         (end_locale_structure): Likewise.
35879         (start_locale_prelude): Likewise.
35880         (end_locale_prelude): Likewise.
35881         (write_locale_data): Take locale_file structure rather than an
35882         iovec.
35883         * locale/programs/locfile.h: Include "obstack.h".
35884         (struct locale_file): Change to store locale file contents instead
35885         of header.
35886         (init_locale_data): New prototype.
35887         (align_locale_data): Likewise.
35888         (add_locale_empty): Likewise.
35889         (add_locale_raw_data): Likewise.
35890         (add_locale_raw_obstack): Likewise.
35891         (add_locale_string): Likewise.
35892         (add_locale_wstring): Likewise.
35893         (add_locale_uint32): Likewise.
35894         (add_locale_uint32_array): Likewise.
35895         (add_locale_char): Likewise.
35896         (start_locale_structure): Likewise.
35897         (end_locale_structure): Likewise.
35898         (start_locale_prelude): Likewise.
35899         (end_locale_prelude): Likewise.
35900         (write_locale_data): Update prototype.
35901         * locale/programs/3level.h (struct TABLE): Remove result field.
35902         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
35903         Use new locale_file interface.
35904         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
35905         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
35906         * locale/programs/ld-address.c (address_output): Use new
35907         locale_file interface.
35908         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
35909         NO_ADD_LOCALE.
35910         (collate_finish): Don't call collseq_table_finalize.
35911         (collate_output): Use new locale_file interface.
35912         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
35913         in file.
35914         (NO_FINALIZE): Change to NO_ADD_LOCALE.
35915         (TABLE): Move defines earlier in file.
35916         (ELEMENT): Likewise.
35917         (DEFAULT): Likewise.
35918         (wctrans_table_add): Move macro and inline function earlier in
35919         file.
35920         (struct wctype_table): Move type earlier in file.
35921         (add_locale_wctype_table): New static prototype.
35922         (struct locale_ctype_t): Use logical types instead of struct iovec
35923         pointers for members.
35924         (ctype_output): Use new locale_file interface.
35925         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
35926         new locale_file interface.
35927         (allocate_arrays): Update for use of new locale_file interface.
35928         * locale/programs/ld-identification.c (identification_output): Use
35929         new locale_file interface.
35930         * locale/programs/ld-measurement.c (measurement_output): Likewise.
35931         * locale/programs/ld-messages.c (messages_output): Likewise.
35932         * locale/programs/ld-monetary.c (monetary_output): Likewise.
35933         * locale/programs/ld-name.c (name_output): Likewise.
35934         * locale/programs/ld-numeric.c (numeric_output): Likewise.
35935         * locale/programs/ld-paper.c (paper_output): Likewise.
35936         * locale/programs/ld-telephone.c (telephone_output): Likewise.
35937         * locale/programs/ld-time.c (time_output): Likewise.
35939 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35941         * benchtests/Makefile: Add memrchr benchmark.
35942         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
35943         benchmark as memrchr.
35944         * benchtests/bench-memrchr-ifunc.c: New file.
35945         * benchtests/bench-memrchr.c: New file.
35947 2013-09-06   Will Newton  <will.newton@linaro.org>
35949         * benchtests/Makefile (string-bench): Add memcpy.
35951 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
35952             Cong Wang  <amwang@redhat.com>
35954         [BZ #15850]
35955         * sysdeps/unix/sysv/linux/bits/in.h
35956         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
35957         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
35958         before __USE_KERNEL_IPV6_DEFS uses.
35959         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
35960         IPPROTO_BEETPH.
35961         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
35962         sockaddr_in6, or ipv6_mreq.
35964 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35966         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
35967         memory access for final bytes in some large inputs.
35968         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
35970 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35972         * string/test-memrchr.c: New file.
35973         * string/test-memrchr-ifunc.c: New file.
35974         * string/Makefile: Add new memrchr testcase.
35976 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
35978         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
35979         fanotify_init returns EPERM.
35981 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
35983         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
35984         errors.
35985         (top level): Treat second token from macro or constant entries for
35986         allowed headers as allowed.
35987         * include/complex.h: Condition internal declarations on
35988         [!_ISOMAC].
35989         * include/fenv.h: Condition include of <stdbool.h> and internal
35990         declarations on [!_ISOMAC].
35992 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
35994         [BZ #15923]
35995         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
35997 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
35999         * configure.in (--enable-versioning): Remove configure option.
36000         (libc_cv_asm_symver_directive): Remove configure test.
36001         (libc_cv_ld_version_script_option): Likewise.
36002         (VERSIONING): Remove variable and AC_SUBST.
36003         (DO_VERSIONING): Remove AC_DEFINE.
36004         * configure: Regenerated.
36005         * config.h.in (DO_VERSIONING): Remove macro.
36006         * Makerules [$(versioning) = yes]: Change conditionals to
36007         [$(build-shared) = yes].
36008         * config.make.in (versioning): Remove variable.
36009         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36010         [$(build-shared) = yes].
36011         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36012         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36013         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36014         [$(build-shared) = yes].
36015         * extra-lib.mk [$(versioning) = yes]: Likewise.
36016         * hurd/Makefile [$(versioning) = yes]: Likewise.
36017         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36018         [SHARED].
36019         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36020         [SHARED].
36021         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36022         [SHARED && !NO_HIDDEN].
36023         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36024         [SHARED].
36025         [SHARED && DO_VERSIONING]: Likewise..
36026         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36027         [$(build-shared) = yes].
36028         * manual/install.texi (--disable-versioning): Remove
36029         documentation.
36030         * INSTALL: Regenerated.
36031         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36032         to [SHARED].
36033         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36034         [$(build-shared) = yes].
36035         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36036         * sysdeps/i386/i686/multiarch/strstr-c.c
36037         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36038         [SHARED && !NO_HIDDEN].
36039         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36040         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36041         * sysdeps/powerpc/powerpc32/dl-machine.c
36042         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36043         * sysdeps/powerpc/powerpc32/sysdep.h
36044         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36045         to [SHARED && PIC && !NO_HIDDEN].
36046         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36047         conditional to [SHARED].
36049 2013-09-04   Will Newton  <will.newton@linaro.org>
36051         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36052         * benchtests/bench-string.h: Include bench-timing.h instead
36053         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36054         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36055         call to HP_TIMING_DIFF_INIT.
36056         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36057         instead of hp-timing.h macros.
36058         * benchtests/bench-memchr.c: Likewise.
36059         * benchtests/bench-memcmp.c: Likewise.
36060         * benchtests/bench-memcpy.c: Likewise.
36061         * benchtests/bench-memmem.c: Likewise.
36062         * benchtests/bench-memmove.c: Likewise.
36063         * benchtests/bench-memset.c: Likewise.
36064         * benchtests/bench-rawmemchr.c: Likewise.
36065         * benchtests/bench-strcasecmp.c: Likewise.
36066         * benchtests/bench-strcasestr.c: Likewise.
36067         * benchtests/bench-strcat.c: Likewise.
36068         * benchtests/bench-strchr.c: Likewise.
36069         * benchtests/bench-strcmp.c: Likewise.
36070         * benchtests/bench-strcpy.c: Likewise.
36071         * benchtests/bench-strcpy_chk.c: Likewise.
36072         * benchtests/bench-strlen.c: Likewise.
36073         * benchtests/bench-strncasecmp.c: Likewise.
36074         * benchtests/bench-strncat.c: Likewise.
36075         * benchtests/bench-strncmp.c: Likewise.
36076         * benchtests/bench-strncpy.c: Likewise.
36077         * benchtests/bench-strnlen.c: Likewise.
36078         * benchtests/bench-strpbrk.c: Likewise.
36079         * benchtests/bench-strrchr.c: Likewise.
36080         * benchtests/bench-strspn.c: Likewise.
36081         * benchtests/bench-strstr.c: Likewise.
36083 2013-09-04  Will Newton  <will.newton@linaro.org>
36085         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36087 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36089         [BZ #15427]
36090         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36091         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36092         * math/libm-test.inc (lgamma_test_data): Add more tests.
36093         * sysdeps/i386/fpu/libm-test-ulps: Update.
36094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36096 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36098         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36100         Add ifunc.
36101         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36102         Add strcmp-sse2-unaligned
36103         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36105 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36107         * Versions.def (libc): Add GLIBC_2.19.
36109 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36111         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36112         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36114 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36116         [BZ #14155]
36117         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36118         intermediate calculations in recurrence.
36119         (__ieee754_ynf): Likewise.
36120         * math/libm-test.inc (jn_test_data): Do not allow spurious
36121         underflow exception.  Add more tests.
36122         (yn_test_data): Add more tests.
36123         * sysdeps/i386/fpu/libm-test-ulps: Update.
36124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36126 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36128         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36130 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36132         * csu/init-first.c: Fix then/than typos.
36133         * locale/programs/ld-collate.c: Likewise.
36134         * locale/programs/linereader.h: Likewise.
36135         * manual/charset.texi: Likewise.
36136         * manual/filesys.texi: Likewise.
36137         * manual/stdio.texi: Likewise.
36138         * manual/string.texi: Likewise.
36139         * stdlib/fmtmsg.c: Likewise.
36140         * sysdeps/i386/stpncpy.S: Likewise.
36141         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36142         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36143         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36144         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36146 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36148         * elf/dl-open.c: Fix typos.
36149         * iconvdata/gbbig5.c: Likewise.
36150         * iconvdata/iso-2022-jp.c: Likewise.
36151         * iconv/gconv_int.h: Likewise.
36152         * iconv/loop.c: Likewise.
36153         * nis/rpcsvc/nis.h: Likewise.
36154         * resolv/ns_name.c: Likewise.
36155         * stdio-common/vfscanf.c: Likewise.
36156         * streams/stropts.h: Likewise.
36157         * sunrpc/rpc_thread.c: Likewise.
36158         * sysdeps/i386/strpbrk.S: Likewise.
36159         * sysdeps/ieee754/k_standard.c: Likewise.
36160         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36161         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36162         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36163         * sysdeps/mach/hurd/profil.c: Likewise.
36164         * sysdeps/s390/dl-procinfo.h: Likewise.
36165         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36166         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36167         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36168         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36169         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36171 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36173         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36174         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
36176 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
36178         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
36179         aix specific files.
36180         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
36181         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
36182         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
36183         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
36184         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
36185         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
36186         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
36187         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
36189 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36190             Roland McGrath  <roland@hack.frob.com>
36192         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
36193         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
36195 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36197         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
36198         __executable_start symbol instead of _start.
36200 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
36202         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
36203         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
36204         Move macros to...
36205         * sysdeps/gnu/ldsodefs.h: ... this new file.
36207         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
36208         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
36209         instead of ELFOSABI_LINUX.
36211         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
36212         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
36213         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
36214         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
36215         Likewise.
36216         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
36217         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
36218         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
36219         Likewise.
36220         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36221         (ibm_extended_long_double): Add ieee_nan member.
36222         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
36223         (do_test): New function.
36225         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
36226         TEST_TRUNC.
36227         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
36228         functions, renamed from truncdfsf_test, trunctfsf_test,
36229         trunctfdf_test.
36230         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
36231         functions.
36232         (do_test): Run all these.
36234 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
36236         * argp/argp-help.c: Fix typos.
36237         * argp/argp-parse.c: Likewise.
36238         * debug/backtracesyms.c: Likewise.
36239         * elf/elf.h: Likewise.
36240         * malloc/malloc.c: Likewise.
36241         * nis/nis_print.c: Likewise.
36242         * resolv/res_comp.c: Likewise.
36243         * stdlib/stdlib.h: Likewise.
36244         * sunrpc/clnt_tcp.c: Likewise.
36245         * sunrpc/clnt_udp.c: Likewise.
36246         * sunrpc/clnt_unix.c: Likewise.
36247         * sysdeps/unix/bsd/ptsname.c: Likewise.
36248         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
36249         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
36250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
36251         Likewise.
36252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
36253         Likewise.
36254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36255         Likewise.
36256         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36258 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36260         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
36261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36263 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
36265         [BZ #15897]
36266         * dlfcn/Makefile (tests): Add bug-dl-leaf.
36267         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
36268         ($(objpfx)bug-dl-leaf): New rule.
36269         ($(objpfx)bug-dl-leaf.so): Likewise.
36270         ($(objpfx)bug-dl-leaf.out): Likewise.
36271         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
36272         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
36273         * dlfcn/bug-dl-leaf.c: New test.
36274         * dlfcn/bug-dl-leaf-lib.c: Likewise.
36275         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
36276         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
36277         (dlclose): Likewise.
36278         (dlmopen): Likewise.
36280 2013-08-27  Roland McGrath  <roland@hack.frob.com>
36282         * include/netdb.h [!_ISOMAC]:
36283         Don't include <tls.h>.
36284         (h_errno, __libc_h_errno): Move declaration and macros out of
36285         [_LIBC_REENTRANT].
36287         * include/resolv.h [_RESOLV_H_]:
36288         Don't include <tls.h>.
36289         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
36290         * resolv/res_libc.c: Don't include <tls.h>.
36291         (_res): Use __attribute__ ((nocommon)) in place of
36292         __attribute__ ((section (".bss"))).
36294         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
36295         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
36297         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
36299         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
36300         only under [SIOCGIFCONF && SIOCGIFNETMASK].
36302         * resolv/res_mkquery.c: Include <sys/time.h>.
36304         * inet/ifreq.c: Moved to ...
36305         * sysdeps/unix/ifreq.c: ... here.
36306         * inet/ifreq.c: New file, true stub version.
36308         * socket/sa_len.c: New file.
36309         * socket/Makefile (aux): Add it.
36310         * sysdeps/unix/sysv/linux/Makefile
36311         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
36312         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
36313         and #include <socket/sa_len.c>.
36314         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
36315         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
36317         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
36318         * bits/socket.h: ... here.
36320         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
36321         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
36322         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
36324 2013-08-27  Andreas Schwab  <schwab@suse.de>
36326         [BZ #15736]
36327         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
36328         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
36329         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
36330         * string/test-strcasecmp.c (test_main): Run tests in several
36331         locales.
36332         * string/test-strncasecmp.c (test_main): Likewise.
36334         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
36335         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
36336         to __strcasecmp_nonascii and __strncasecmp_nonascii.
36337         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
36338         (__strncasecmp_ssse3) [PIC]: Likewise.
36340 2013-08-26  Roland McGrath  <roland@hack.frob.com>
36342         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
36344         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
36345         instead of explicitly declaring xdecrypt.
36346         * nis/nss_nis/nis-publickey.c: Likewise.
36348 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36350         [BZ #15890]
36351         * nscd/aicache.c: Include res_hconf.h.
36352         (addhstaiX): Initialize res_hconf.
36354 2013-08-26  Andreas Schwab  <schwab@suse.de>
36356         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
36357         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
36359 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36361         * nscd/aicache.c (addhstaiX): Fix indentation.
36363 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
36365         * configure.ac: Quote $build_pt_chown test.
36366         * configure: Regenerated.
36368 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
36370         [BZ #15532]
36371         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
36372         * math/s_cexpf.c (__cexpf): Likewise.
36373         * math/s_cexpl.c (__cexpl): Likewise.
36374         * math/libm-test.inc (cexp_test_data): Correct expected return
36375         value for NaN + i0.  Add another test.
36377 2013-08-22  David S. Miller  <davem@davemloft.net>
36379         * po/ca.po: Update Catalan translation from translation project.
36380         * po/uk.po: Add Ukrainian translations from translation project.
36382 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
36384         [BZ #15797]
36385         * math/s_fdim.c (__fdim): Check for infinite arguments if result
36386         is infinite, not alongside NaN test.
36387         * math/s_fdimf.c (__fdimf): Likewise.
36388         * math/s_fdiml.c (__fdiml): Likewise.
36389         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
36390         errno is unchanged.
36392 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
36394         * argp/argp-help.c: Fix typos.
36395         * crypt/speeds.c: Likewise.
36396         * csu/check_fds.c: Likewise.
36397         * elf/dl-load.c: Likewise.
36398         * elf/dl-open.c: Likewise.
36399         * elf/reldep3.c: Likewise.
36400         * elf/reldep.c: Likewise.
36401         * elf/sprof.c: Likewise.
36402         * iconv/iconv_charmap.c: Likewise.
36403         * iconv/skeleton.c: Likewise.
36404         * iconv/strtab.c: Likewise.
36405         * io/lockf64.c: Likewise.
36406         * libio/libioP.h: Likewise.
36407         * resolv/gai_notify.c: Likewise.
36408         * resolv/ns_name.c: Likewise.
36409         * resolv/ns_samedomain.c: Likewise.
36410         * resolv/res_send.c: Likewise.
36411         * stdlib/random.c: Likewise.
36412         * sunrpc/rpc/xdr.h: Likewise.
36413         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
36414         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36415         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36416         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36417         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36418         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36419         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36420         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36421         * sysdeps/mach/hurd/check_fds.c: Likewise.
36422         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36423         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36424         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36425         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36426         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36427         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36428         * sysdeps/pthread/aio_notify.c: Likewise.
36429         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
36430         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
36431         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
36432         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36433         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36435 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36437         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
36438         version if bit_Slow_SSE4_2 is set.
36439         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36440         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36442 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36444         [BZ #15867]
36445         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
36446         trampoline stack frame information.
36447         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
36448         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
36449         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
36450         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
36451         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
36452         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36453         (_libc_vdso_platform_setup): Initialize the signal trampolines.
36454         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
36455         sa_flags value.
36456         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
36457         interrupting a syscall and set with option SA_SIGINFO.
36459 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36461         [BZ #15531]
36462         * math/s_cproj.c (__cproj): Only return an infinity if one part of
36463         argument is infinite.
36464         * math/s_cprojf.c (__cprojf): Likewise.
36465         * math/s_cprojl.c (__cprojl): Likewise.
36466         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
36467         * math/libm-test.inc (cproj_test_data): Add more tests.
36469         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
36471         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
36472         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
36473         size.  Use __ffs to determine corresponding shift.
36475 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
36476             Roland McGrath  <roland@hack.frob.com>
36478         * Makefile (INSTALL): Remove trailing blank lines from output of
36479         makeinfo.
36481 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36483         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
36484         Align 32 bit compat elf_greg to 8 bytes.
36486 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
36488         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
36490 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36492         * string/strcoll_l.c (coll_seq): New structure.
36493         (get_next_seq_cached): New function.
36494         (get_next_seq): New function.
36495         (do_compare): New function.
36496         (STRCOLL): Use GNU style definition.  Simplify implementation
36497         by using get_next_seq, get_next_seq_cached and do_compare.
36499 2013-08-16  Florian Weimer  <fweimer@redhat.com>
36501         [BZ #14699]
36502         CVE-2013-4237
36503         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
36504         member.
36505         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
36506         member.
36507         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
36508         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
36509         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
36510         conditional.
36511         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
36512         GETDENTS_64BIT_ALIGNED.
36513         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36514         * manual/filesys.texi (Reading/Closing Directory): Document
36515         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
36516         strongly.
36517         * manual/conf.texi (Limits for Files): Add portability note to
36518         NAME_MAX, PATH_MAX.
36519         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
36521 2013-08-13  Andreas Schwab  <schwab@suse.de>
36523         [BZ #15749]
36524         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
36525         of fabs.
36526         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
36527         LDBL_MAX_EXP >= 16384]: Add tests for it.
36529 2013-08-12  David S. Miller  <davem@davemloft.net>
36531         * version.h (RELEASE): Set to "development".
36532         (VERSION): Set to "2.18.90".
36533         * NEWS: Add 2.19 section.
36535 2013-08-03  David S. Miller  <davem@davemloft.net>
36537         * po/ko.po: Update Korean translation from translation project.
36539 2013-08-01  David S. Miller  <davem@davemloft.net>
36541         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
36542         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
36543         Bilka.
36545 2013-07-30  David S. Miller  <davem@davemloft.net>
36547         * po/fr.po: Update French translation from translation project.
36549 2013-07-28  David S. Miller  <davem@davemloft.net>
36551         * po/cs.po: Update Czech translation from translation project.
36553         * po/sv.po: Update Swedish translation from translation project.
36555 2013-07-27  David S. Miller  <davem@davemloft.net>
36557         * po/eo.po: Update Esperanto translation from translation project.
36559         * po/vi.po: Update Vietnamese translation from translation project.
36561         * po/de.po: Update German translation from translation project.
36563 2013-07-26  David S. Miller  <davem@davemloft.net>
36565         * po/bg.po: Update Bulgarian translation from translation project.
36567         * po/nl.po: Update Dutch translation from translation project.
36568         * po/pl.po: Update Polish translation from translation project.
36569         * po/ru.po: Update Russian translation from translation project.
36571 2013-07-24  David S. Miller  <davem@davemloft.net>
36573         * po/libc.pot: Update.
36575 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36577         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
36578         variable page size.
36579         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
36580         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
36581         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
36583 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36585         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
36587 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36588             Andreas Schwab  <schwab@suse.de>
36589             Roland McGrath  <roland@hack.frob.com>
36590             Joseph Myers  <joseph@codesourcery.com>
36591             Carlos O'Donell  <carlos@redhat.com>
36593         [BZ #15755]
36594         * config.h.in: Define HAVE_PT_CHOWN.
36595         * config.make.in (build-pt-chown): New variable.
36596         * configure.in (--enable-pt_chown): New configure option.
36597         * configure: Regenerate.
36598         * login/Makefile: Include Makeconfig.  Build pt_chown only if
36599         build-pt-chown is enabled.
36600         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
36601         pt_chown to fix pty ownership.
36602         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
36603         CLOSE_ALL_FDS.
36604         * manual/install.texi (Configuring and compiling): Mention
36605         --enable-pt_chown. Add @findex for grantpt.
36606         * INSTALL: Regenerate.
36608 2013-07-20  David S. Miller  <davem@davemloft.net>
36610         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
36611         difference between 32-bit and 64-bit.
36613 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
36615         [BZ #15711]
36616         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
36617         Avoid system header dependency with -ffreestanding.
36618         ($(objpfx)bits/syscall%d): Likewise.
36620 2013-07-13  David S. Miller  <davem@davemloft.net>
36622         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
36623         underflows from atanl/atan2l due to bug 15319.
36624         (casinh_test_data): Likewise.
36626 2013-07-07  David S. Miller  <davem@davemloft.net>
36628         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36630 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
36632         * sysdeps/i386/fpu/libm-test-ulps: Update.
36633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36635 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36637         * configure.in (--enable-lock-elision): Fix message text.
36638         * INSTALL: Regenerate.
36639         * configure: Regenerate.
36641 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36645 2013-07-03  Andreas Jaeger  <aj@suse.de>
36647         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
36648         define.
36649         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
36650         (ptrace_peeksiginfo_args): Add.
36651         (__ptrace_peeksiginfo_flags): Add.
36652         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36653         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36654         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36656 2013-07-03  Allan McRae  <allan@archlinux.org>
36658         * sysdeps/i386/fpu/libm-test-ulps: Update.
36660 2013-07-02  David S. Miller  <davem@davemloft.net>
36662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36664 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
36666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36668 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36670         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36673 2013-07-02  Andi Kleen <ak@linux.intel.com>
36675         * config.h.in (ENABLE_LOCK_ELISION): Add.
36676         * configure.in (--enable-lock-elision): Add option.
36677         * manual/install.texi: Document --enable lock elision.
36678         * configure: Regenerate
36679         * INSTALL: Regenerate.
36681 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
36683         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
36684         SSE4.2 strcasecmp for libc.a.
36685         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
36687 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
36689         [BZ #13304]
36690         * soft-fp/op-common.h (_FP_FMA): New macro.
36691         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
36692         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
36693         (_FP_MUL_MEAT_1_imm): ... here.
36694         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
36695         (_FP_MUL_MEAT_1_wide): ... here.
36696         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
36697         (_FP_MUL_MEAT_1_hard): ... here.
36698         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
36699         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
36700         (_FP_MUL_MEAT_2_wide): ... here.
36701         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
36702         (_FP_MUL_MEAT_2_wide_3mul): ... here.
36703         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
36704         (_FP_MUL_MEAT_2_gmp): ... here.
36705         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
36706         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
36707         (_FP_MUL_MEAT_4_wide): ... here.
36708         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
36709         (_FP_MUL_MEAT_4_gmp): ... here.
36710         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
36711         (_FP_WFRACBITS_DW_S): Likewise.
36712         (_FP_WFRACXBITS_DW_S): Likewise.
36713         (_FP_HIGHBIT_DW_S): Likewise.
36714         (FP_FMA_S): Likewise.
36715         (_FP_FRAC_HIGH_DW_S): Likewise.
36716         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
36717         (_FP_WFRACBITS_DW_D): Likewise.
36718         (_FP_WFRACXBITS_DW_D): Likewise.
36719         (_FP_HIGHBIT_DW_D): Likewise.
36720         (FP_FMA_D): Likewise.
36721         (_FP_FRAC_HIGH_DW_D): Likewise.
36722         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
36723         (_FP_WFRACBITS_DW_E): Likewise.
36724         (_FP_WFRACXBITS_DW_E): Likewise.
36725         (_FP_HIGHBIT_DW_E): Likewise.
36726         (FP_FMA_E): Likewise.
36727         (_FP_FRAC_HIGH_DW_E): Likewise.
36728         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
36729         (_FP_WFRACBITS_DW_Q): Likewise.
36730         (_FP_WFRACXBITS_DW_Q): Likewise.
36731         (_FP_HIGHBIT_DW_Q): Likewise.
36732         (FP_FMA_Q): Likewise.
36733         (_FP_FRAC_HIGH_DW_Q): Likewise.
36734         * soft-fp/fmasf4.c: New file.
36735         * soft-fp/fmadf4.c: Likewise.
36736         * soft-fp/fmatf4.c: Likewise.
36738 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36741         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
36742         Silvermont.
36743         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
36744         macro.
36745         (index_Slow_SSE4_2): Likewise.
36746         (index_Prefer_PMINUB_for_stringop): Likewise.
36747         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
36748         bit_Slow_SSE4_2 is set.
36749         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36750         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36752 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36754         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
36755         rtld_global._dl_hwcap2.
36756         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
36757         POWER8.
36758         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
36759         POWER8 feature descriptions defined in _dl_hwcap2.
36760         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
36761         string handling for POWER8 feature bits.
36762         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
36763         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
36764         _dl_powerpc_cap_flags.
36765         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
36766         * sysdeps/powerpc/rtld-global-offsets.sym
36767         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
36768         _dl_hwcap2 in the rtld_global_ro structure.
36770 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36772         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
36773         hardware capabilities in support of AT_HWCAP2.
36774         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
36775         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
36776         GLRO(dl_hwcap2).
36777         (_dl_show_auxv): Add support for calling _dl_procinfo to display
36778         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
36779         explicitly the unknown a_type display mechanism is used.
36780         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
36781         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
36782         struct member.
36783         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
36784         to macro prototype for AT_HWCAP2 support.
36785         * sysdeps/i386/dl-procinfo.h: Likewise.
36786         * sysdeps/s390/dl-procinfo.h: Likewise.
36787         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
36788         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
36789         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
36790         return -1 for unknown a_type display fallback.
36791         * sysdeps/sparc/dl-procinfo.h: Likewise.
36792         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
36793         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
36795 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
36797         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
36798         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
36800 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
36802         [BZ #12492]
36803         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
36804         mprotect making __stack_prot writable.
36806 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
36807             Joseph Myers  <joseph@codesourcery.com>
36809         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
36810         as being properly aligned.
36812 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
36814         * dlfcn/modstatic5.c: New file.
36815         * dlfcn/tststatic5.c: New file.
36816         * dlfcn/Makefile (tests): Add tststatic5.
36817         (tests-static): Likewise.
36818         (modules-names): Add modstatic5.
36819         (tststatic5-ENV): New variable.
36820         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
36822         [BZ #15022]
36823         * elf/dl-support.c (_dl_main_map): New variable.
36824         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
36825         (_dl_nns, _dl_load_adds): Set to 1.
36826         (_dl_initial_searchlist): Refer to _dl_main_map.
36827         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
36828         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
36829         call to _dl_get_origin.
36830         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
36831         around call_map.
36832         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
36833         * dlfcn/modstatic3.c: New file.
36834         * dlfcn/tststatic3.c: New file.
36835         * dlfcn/tststatic4.c: New file.
36836         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
36837         (tests-static): Likewise.
36838         (modules-names): Add modstatic3.
36839         (tststatic3-ENV, tststatic4-ENV): New variables.
36840         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
36841         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
36843 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
36845         * configure.in (CC): Require GCC version 4.4 or later.
36846         * configure: Regenerated.
36847         * manual/install.texi (Tools for Compilation): Update GCC version
36848         requirement.
36849         * INSTALL: Regenerated.
36851 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36853         [BZ #15674]
36854         * string/test-memcmp.c (check2): New.
36855         (main): Call check2.
36857         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
36859 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
36861         [BZ #15022]
36862         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
36863         over to...
36864         (dl_open_worker) [!SHARED]: ... here.
36866 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36868         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
36870 2013-06-25  Richard Henderson  <rth@redhat.com>
36872         * locale/programs/locarchive.c: Include <libc-internal.h>
36874 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
36876         * manual/texinfo.tex: Update to version 2013-06-21.17, with
36877         trailing whitespace removed.
36879 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
36881         [BZ #10283]
36882         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
36883         * locale/programs/locarchive.c: Include libc-mmap.h.
36884         (prepare_address_space): Take two new outputs (the mmap base and len).
36885         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
36886         values.
36887         (create_archive): Declare new mmap base and len values for
36888         prepare_address_space, and store the result in ah.
36889         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
36890         (enlarge_archive): If ah->mmap_base is not NULL, use that and
36891         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36892         Declare new mmap base and len values for
36893         prepare_address_space, and store the result in new_ah.
36894         (open_archive): Declare new mmap base and len values for
36895         prepare_address_space, and store the result in ah.
36896         (close_archive): If ah->mmap_base is not NULL, use that and
36897         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
36898         * sysdeps/generic/libc-mmap.h: New file.
36900 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
36902         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
36903         (ALIGN_UP): Likewise.
36904         (PTR_ALIGN_DOWN): Likewise.
36905         (PTR_ALIGN_UP): Likewise.
36907 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36909         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
36910         entry mapped to PPC_PLATFORM_POWER8.
36911         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
36912         POWER8.
36913         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
36914         (_dl_string_platform): Add case for exporting platform position for
36915         POWER8.
36916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
36917         search path to sysdeps/powerpc/powerpc32/power8 directory.
36918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
36919         search path to sysdeps/powerpc/powerpc64/power8 directory.
36920         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
36921         power7 directories.
36922         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
36923         power7 directories.
36925 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36927         * INSTALL: Regenerate.
36929         * nscd/connections.c (nscd_init): Fix comment.
36931 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
36933         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
36935         [BZ #15667]
36936         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
36937         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
36939 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
36941         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
36942         DL_DST_REQ_STATIC.
36943         (DL_DST_REQ_STATIC): Remove macro.
36945 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
36947         [BZ #7006]
36948         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
36949         with a shift of 0 bits.
36951 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
36953         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
36954         $(tststatic-ENV).
36956 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36958         [BZ #15655]
36959         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
36961 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36963         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
36964         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
36965         accepts -fno-tree-loop-distribute-patterns.
36966         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
36967         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
36968         recursive call.
36969         * string/memset.c (memset): Likewise.
36970         * string/test-memmove.c (simple_memmove): Disable loop transformation
36971         to library calls.
36972         * string/test-memset.c (simple_memset): Likewise.
36973         * benchtests/bench-memmove.c (simple_memmove): Likewise.
36974         * benchtests/bench-memset.c (simple_memset): Likewise.
36975         * configure: Regenerated.
36977 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
36979         * math/test-misc.c (main): Ignore fesetround failure when failures
36980         of subsequent rounding tests would be ignored.
36982         [BZ #15654]
36983         * math/fedisblxcpt.c (fedisableexcept): Return 0.
36984         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
36985         * math/fegetenv.c (__fegetenv): Return 0.
36986         * math/fegetexcept.c (fegetexcept): Return 0.
36987         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
36988         FE_TONEAREST.
36989         * math/feholdexcpt.c (feholdexcept): Return 0.
36990         * math/fesetenv.c (__fesetenv): Return 0.
36991         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
36992         argument FE_TONEAREST.
36993         * math/feupdateenv.c (__feupdateenv): Return 0.
36994         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
36996 2013-06-18  Roland McGrath  <roland@hack.frob.com>
36998         * elf/rtld-Rules (rtld-compile-command.S): New variable.
36999         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37000         ($(objpfx)rtld-%.os rules): Use them.
37002 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37004         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37005         fields.
37007 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37009         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37010         length of target pattern, then descending length of dependency pattern.
37011         * configure.in (AWK): Require gawk 3.1.2 or newer.
37012         * manual/install.texi (Tools for Compilation): Say that we do.
37013         * configure: Regenerated.
37015         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37016         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37017         * scripts/sysd-rules.awk: ... this new script.
37018         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37019         than a glob-style pattern.
37021 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37023         * math/test-misc.c (main): Do not treat incorrectly rounded
37024         conversions as failure unless ROUNDING_TESTS passes.
37026 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37028         [BZ #15631]
37029         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37030         restore exception state around main square root computation, then
37031         check for inexactness explicitly.
37033         * math/libm-test.inc (fma_test_data): Add another test.
37035 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37037         * manual/threads.texi (Non-POSIX Extensions): New document
37038         node.  Document pthread_getattr_default_np and
37039         pthread_setattr_default_np.
37041         * Versions.def (libpthread): Add GLIBC_2.18.
37042         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37044         Likewise.
37045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37046         Likewise.
37047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37048         Likewise.
37049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37050         Likewise.
37051         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37052         Likewise.
37053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37054         Likewise.
37055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37056         Likewise.
37057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37058         Likewise.
37059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37060         Likewise.
37062 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37065         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37067 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37068             H.J. Lu  <hjl.tools@gmail.com>
37070         [BZ #15627]
37071         * sysdeps/x86_64/rtld-memset.c: Remove file.
37072         * sysdeps/x86_64/rtld-memset.S: New file.
37074 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37076         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37077         (test_in_one_mode): Take arguments for whether the rounding mode
37078         is supported for each floating-point type.
37079         (do_test): Pass new arguments to test_in_one_mode using
37080         ROUNDING_TESTS.
37082 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37084         * posix/tst-waitid.c (do_test): Distinguish different instances of
37085         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37086         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37087         before entering the kernel for waitpid.
37089 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37091         * NEWS: Fix note on clock function precision.  Text by Roland
37092         McGrath.
37094 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37096         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37097         it into place only when and if the sanity check passes.
37099 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37101         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37102         output for whether conversion result is exact.  Take argument
37103         indicating whether type is IBM long double.
37104         (round_for_all): Change need_exact field to ibm_ld.
37105         * stdlib/tst-strtod-round.c (struct exactness): New type.
37106         (struct test): Change bool ld_ok field to struct exactness exact.
37107         (TEST): Update all definitions for change to field.
37108         (tests): Regenerate array contents.
37109         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37110         field value.  Check for IBM long double here.
37111         (do_test): Update calls to test_in_one_mode.
37113 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37115         [BZ #12515]
37116         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37117         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37119 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37121         [BZ #15605]
37122         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37123         generated by the compiler on loop optimizations.
37124         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37125         general definitions.
37127 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37129         * math/bug-nextafter.c: Include <math-tests.h>.
37130         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37131         the relevant type.
37132         * math/bug-nexttoward.c: Include <math-tests.h>.
37133         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37134         the relevant type.
37135         * math/test-misc.c: Include <math-tests.h>.
37136         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37137         the relevant type.
37139 2013-06-12  Andreas Jaeger  <aj@suse.de>
37141         * po/ia.po: Update Interlingua translation from translation
37142         project.
37144 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37146         * include/fenv.h: Include stdbool.h.
37147         (struct rm_ctx): New structure.
37148         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37149         Define macro.
37150         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37151         (SET_RESTORE_ROUNDF): Likewise.
37152         (SET_RESTORE_ROUNDL): Likewise.
37153         (SET_RESTORE_ROUND_NOEX): Likewise.
37154         (SET_RESTORE_ROUND_NOEXF): Likewise.
37155         (SET_RESTORE_ROUND_NOEXL): Likewise.
37156         (SET_RESTORE_ROUND_53BIT): Likewise.
37157         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37158         (libc_feresetround_noexf_ctx): Likewise.
37159         (libc_feresetround_noexl_ctx): Likewise.
37160         (libc_feholdsetround_53bit_ctx): Likewise.
37161         (libc_feresetround_53bit_ctx): Likewise.
37162         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37163         (libc_feholdexcept_setround_sse_ctx): New function.
37164         (libc_fesetenv_sse_ctx): Likewise.
37165         (libc_feupdateenv_sse_ctx): Likewise.
37166         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37167         (libc_feholdexcept_setround_387_ctx): Likewise.
37168         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37169         (libc_feholdsetround_387_prec_ctx): Likewise.
37170         (libc_feholdsetround_387_ctx): Likewise.
37171         (libc_feholdsetround_387_53bit_ctx): Likewise.
37172         (libc_feholdsetround_sse_ctx): Likewise.
37173         (libc_feresetround_sse_ctx): Likewise.
37174         (libc_feresetround_387_ctx): Likewise.
37175         (libc_feupdateenv_387_ctx): Likewise.
37176         (libc_feholdexcept_setroundf_ctx): Define macro.
37177         (libc_fesetenvf_ctx): Likewise.
37178         (libc_feupdateenvf_ctx): Likewise.
37179         (libc_feholdsetroundf_ctx): Likewise.
37180         (libc_feresetroundf_ctx): Likewise.
37181         (libc_feholdexcept_setround_ctx): Likewise.
37182         (libc_fesetenv_ctx): Likewise.
37183         (libc_feupdateenv_ctx): Likewise.
37184         (libc_feholdsetround_ctx): Likewise.
37185         (libc_feresetround_ctx): Likewise.
37186         (libc_feholdexcept_setroundl_ctx): Likewise.
37187         (libc_feupdateenvl_ctx): Likewise.
37188         (libc_feholdsetroundl_ctx): Likewise.
37189         (libc_feresetroundl_ctx): Likewise.
37190         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
37191         (libc_feresetround_53bit_ctx): Likewise.
37193 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37195         * locale/iso-639.def: Convert to UTF-8.
37197 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
37199         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
37200         (EXCEPTION_TESTS_double): Likewise.
37201         (EXCEPTION_TESTS_long_double): Likewise.
37202         (EXCEPTION_TESTS): Likewise.
37203         * math/libm-test.inc (test_exceptions): Only test exceptions if
37204         EXCEPTION_TESTS (FLOAT).
37206 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37208         * benchtests/Makefile (string-bench): Add strcpy_chk and
37209         stpcpy_chk.
37210         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
37211         * benchtests/bench-stpcpy_chk.c: New file.
37212         * benchtests/bench-strcpy_chk-ifunc.c: New file.
37213         * benchtests/bench-strcpy_chk.c: New file.
37214         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
37215         code.
37216         (do_test): Likewise.
37218 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37220         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
37221         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
37222         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
37223         with tabs where appropriate.
37224         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
37225         dl-procinfo.h.
37226         [PPC_PLATFORM_PPC440]: Likewise.
37227         [PPC_PLATFORM_PPC464]: Likewise.
37228         [PPC_PLATFORM_PPC476]: Likewise.
37229         (_dl_string_platform): Add support for detecting ppc405, ppc440,
37230         ppc464, and ppc476 platform strings merging from ports/
37231         dl-procinfo.h.
37233 2013-06-11  Andreas Schwab  <schwab@suse.de>
37235         [BZ #14991]
37236         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
37237         (from_ucs4_idx): Regenerate.
37238         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
37239         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
37240         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
37241         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
37242         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
37243         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
37244         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
37245         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
37246         from FROM_LOOP and TO_LOOP specific macros.
37247         (BODY): Handle combining characters.
37248         * iconvdata/BIG5HKSCS.irreversible: Update.
37249         * iconvdata/BIG5HKSCS.precomposed: New file.
37250         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
37251         characters.
37252         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
37254 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37256         * include/sys/time.h: Fix indentation and add copyright header.
37258         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
37259         (do_test): Likewise.
37260         * string/test-memchr.c (do_one_test): Likewise.
37261         (do_test): Likewise.
37262         * string/test-memcmp.c (do_one_test): Likewise.
37263         (do_test): Likewise.
37264         * string/test-memcpy.c (do_one_test): Likewise.
37265         (do_test): Likewise.
37266         * string/test-memmem.c (do_one_test): Likewise.
37267         (do_test): Likewise.
37268         (do_random_tests): Likewise.
37269         * string/test-memmove.c (do_one_test): Likewise.
37270         (do_test): Likewise.
37271         * string/test-memset.c (do_one_test): Likewise.
37272         (do_test): Likewise.
37273         * string/test-rawmemchr.c (do_one_test): Likewise.
37274         (do_test): Likewise.
37275         * string/test-strcasecmp.c (do_one_test): Likewise.
37276         (do_test): Likewise.
37277         * string/test-strcasestr.c (do_one_test): Likewise.
37278         (do_test): Likewise.
37279         * string/test-strcat.c (do_one_test): Likewise.
37280         (do_test): Likewise.
37281         * string/test-strchr.c (do_one_test): Likewise.
37282         (do_test): Likewise.
37283         * string/test-strcmp.c (do_one_test): Likewise.
37284         (do_test): Likewise.
37285         * string/test-strcpy.c (do_one_test): Likewise.
37286         (do_test): Likewise.
37287         * string/test-string.h: Likewise.
37288         (test_init): Likewise.
37289         * string/test-strlen.c (do_one_test): Likewise.
37290         (do_test): Likewise.
37291         * string/test-strncasecmp.c (do_one_test): Likewise.
37292         (do_test): Likewise.
37293         * string/test-strncat.c (do_one_test): Likewise.
37294         (do_test): Likewise.
37295         * string/test-strncmp.c (do_one_test): Likewise.
37296         (do_test_limit): Likewise.
37297         (do_test): Likewise.
37298         * string/test-strncpy.c (do_one_test): Likewise.
37299         (do_test): Likewise.
37300         * string/test-strnlen.c (do_one_test): Likewise.
37301         (do_test): Likewise.
37302         * string/test-strpbrk.c (do_one_test): Likewise.
37303         (do_test): Likewise.
37304         * string/test-strrchr.c (do_one_test): Likewise.
37305         (do_test): Likewise.
37306         * string/test-strspn.c (do_one_test): Likewise.
37307         (do_test): Likewise.
37308         * string/test-strstr.c (do_one_test): Likewise.
37309         (do_test): Likewise.
37311         * benchtests/Makefile (string-bench): Add string benchmarks.
37312         * benchtests/bench-bcopy-ifunc.c: New file.
37313         * benchtests/bench-bcopy.c: New file.
37314         * benchtests/bench-bzero-ifunc.c: New file.
37315         * benchtests/bench-bzero.c: New file.
37316         * benchtests/bench-memccpy-ifunc.c: New file.
37317         * benchtests/bench-memccpy.c: New file.
37318         * benchtests/bench-memchr-ifunc.c: New file.
37319         * benchtests/bench-memchr.c: New file.
37320         * benchtests/bench-memcmp-ifunc.c: New file.
37321         * benchtests/bench-memcmp.c: New file.
37322         * benchtests/bench-memmem-ifunc.c: New file.
37323         * benchtests/bench-memmem.c: New file.
37324         * benchtests/bench-memmove-ifunc.c: New file.
37325         * benchtests/bench-memmove.c: New file.
37326         * benchtests/bench-mempcpy-ifunc.c: New file.
37327         * benchtests/bench-mempcpy.c: New file.
37328         * benchtests/bench-memset-ifunc.c: New file.
37329         * benchtests/bench-memset.c: New file.
37330         * benchtests/bench-rawmemchr-ifunc.c: New file.
37331         * benchtests/bench-rawmemchr.c: New file.
37332         * benchtests/bench-stpcpy-ifunc.c: New file.
37333         * benchtests/bench-stpcpy.c: New file.
37334         * benchtests/bench-stpncpy-ifunc.c: New file.
37335         * benchtests/bench-stpncpy.c: New file.
37336         * benchtests/bench-strcasecmp-ifunc.c: New file.
37337         * benchtests/bench-strcasecmp.c: New file.
37338         * benchtests/bench-strcasestr-ifunc.c: New file.
37339         * benchtests/bench-strcasestr.c: New file.
37340         * benchtests/bench-strcat-ifunc.c: New file.
37341         * benchtests/bench-strcat.c: New file.
37342         * benchtests/bench-strchr-ifunc.c: New file.
37343         * benchtests/bench-strchr.c: New file.
37344         * benchtests/bench-strchrnul-ifunc.c: New file.
37345         * benchtests/bench-strchrnul.c: New file.
37346         * benchtests/bench-strcmp-ifunc.c: New file.
37347         * benchtests/bench-strcmp.c: New file.
37348         * benchtests/bench-strcpy-ifunc.c: New file.
37349         * benchtests/bench-strcpy.c: New file.
37350         * benchtests/bench-strcspn-ifunc.c: New file.
37351         * benchtests/bench-strcspn.c: New file.
37352         * benchtests/bench-strlen-ifunc.c: New file.
37353         * benchtests/bench-strlen.c: New file.
37354         * benchtests/bench-strncasecmp-ifunc.c: New file.
37355         * benchtests/bench-strncasecmp.c: New file.
37356         * benchtests/bench-strncat-ifunc.c: New file.
37357         * benchtests/bench-strncat.c: New file.
37358         * benchtests/bench-strncmp-ifunc.c: New file.
37359         * benchtests/bench-strncmp.c: New file.
37360         * benchtests/bench-strncpy-ifunc.c: New file.
37361         * benchtests/bench-strncpy.c: New file.
37362         * benchtests/bench-strnlen-ifunc.c: New file.
37363         * benchtests/bench-strnlen.c: New file.
37364         * benchtests/bench-strpbrk-ifunc.c: New file.
37365         * benchtests/bench-strpbrk.c: New file.
37366         * benchtests/bench-strrchr-ifunc.c: New file.
37367         * benchtests/bench-strrchr.c: New file.
37368         * benchtests/bench-strspn-ifunc.c: New file.
37369         * benchtests/bench-strspn.c: New file.
37370         * benchtests/bench-strstr-ifunc.c: New file.
37371         * benchtests/bench-strstr.c: New file.
37373         * benchtests/Makefile: Disable parallel execution of targets.
37374         (string-bench): Add memcpy.
37375         (benchset): New variable to store a list of benchmark sets.
37376         (bench-func): Renamed from bench.
37377         (bench-set): New target.
37378         (bench): Depend on bench-func and bench-set.
37379         * benchtests/README: Add section on benchmark sets.
37380         * benchtests/bench-memcpy-ifunc.c: New file.
37381         * benchtests/bench-memcpy.c: New file.
37382         * benchtests/bench-string.h: New file.
37384 2013-06-11  Andreas Schwab  <schwab@suse.de>
37386         [BZ #15577]
37387         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
37388         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
37389         values in the triple.
37390         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
37391         terminator in the group key.
37393 2013-06-11  Andreas Jaeger  <aj@suse.de>
37395         * po/zh_TW.po: Update Chinese (traditional) translation from
37396         translation project.
37398 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37400         * include/time.h (__clock_gettime): Add libc_hidden_proto.
37401         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
37402         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
37403         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37404         (clock_getcpuclockid): Likewise.
37405         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
37406         Add weak_alias and libc_hidden_def.
37407         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
37408         * rt/clock_gettime.c (clock_gettime): Rename to
37409         __clock_gettime.  Add weak_alias and libc_hidden_def.
37410         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
37411         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
37412         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
37413         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
37414         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
37415         Likewise.
37416         * rt/clock_settime.c (clock_settime): Rename to
37417         __clock_settime.  Add weak_alias and libc_hidden_def.
37418         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
37420 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
37422         * mach/err_boot.sub: Remove trailing whitespace.
37423         * mach/err_ipc.sub: Likewise.
37424         * mach/err_mach.sub: Likewise.
37426         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
37427         (ROUNDING_TESTS_double): Likewise.
37428         (ROUNDING_TESTS_long_double): Likewise.
37429         (ROUNDING_TESTS): Likewise.
37430         * math/libm-test.inc: Include <math-tests.h>.
37431         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
37432         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
37433         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
37434         (IF_ROUND_INIT_FE_UPWARD): Likewise.
37436 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37438         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
37439         of assigning.
37441 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
37443         * sysdeps/gnu/errlist.awk: Do not generate space at end of
37444         otherwise empty TRANS lines.
37445         * sysdeps/gnu/errlist.c: Regenerated.
37447         * catgets/gencat.c (error_print): Use (void) in function
37448         definition.
37449         * crypt/crypt_util.c (__init_des): Likewise.
37450         * crypt/speeds.c (Stop): Likewise.
37451         (main): Likewise.
37452         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
37453         * inet/ruserpass.c (token): Likewise.
37454         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
37455         * intl/localealias.c (extend_alias_table): Likewise.
37456         * intl/plural-exp.c (init_germanic_plural): Likewise.
37457         * libio/fcloseall.c (__fcloseall): Likewise.
37458         * libio/genops.c (_IO_flush_all): Likewise.
37459         (_IO_flush_all_linebuffered): Likewise.
37460         (_IO_cleanup): Likewise.
37461         (_IO_iter_begin): Likewise.
37462         (_IO_iter_end): Likewise.
37463         (_IO_list_lock): Likewise.
37464         (_IO_list_unlock): Likewise.
37465         (_IO_list_resetlock): Likewise.
37466         * libio/getchar.c (getchar): Likewise.
37467         * libio/getchar_u.c (getchar_unlocked): Likewise.
37468         * libio/getwchar.c (getwchar): Likewise.
37469         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
37470         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
37471         * login/getpt.c (__getpt): Likewise.
37472         * login/tst-utmp.c (main): Likewise.
37473         * malloc/hooks.c (__malloc_check_init): Likewise.
37474         * malloc/malloc.c (__malloc_stats): Likewise.
37475         * malloc/mtrace.c (tr_break): Likewise.
37476         (mtrace): Likewise.
37477         (muntrace): Likewise.
37478         * misc/fstab.c (endfsent): Likewise.
37479         * misc/getclktck.c (__getclktck): Likewise.
37480         * misc/getdtsz.c (__getdtablesize): Likewise.
37481         * misc/gethostid.c (gethostid): Likewise.
37482         * misc/getpagesize.c (__getpagesize): Likewise.
37483         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
37484         (__get_nprocs): Likewise.
37485         (__get_phys_pages): Likewise.
37486         (__get_avphys_pages): Likewise.
37487         * misc/getttyent.c (getttyent): Likewise.
37488         (setttyent): Likewise.
37489         (endttyent): Likewise.
37490         * misc/getusershell.c (getusershell): Likewise.
37491         (endusershell): Likewise.
37492         (setusershell): Likewise.
37493         (initshells): Likewise.
37494         * misc/hsearch.c (__hdestroy): Likewise.
37495         * misc/sync.c (sync): Likewise.
37496         * misc/syslog.c (closelog_internal): Likewise.
37497         (closelog): Likewise.
37498         * misc/ttyslot.c (ttyslot): Likewise.
37499         * misc/vhangup.c (vhangup): Likewise.
37500         * posix/fork.c (__fork): Likewise.
37501         * posix/getegid.c (__getegid): Likewise.
37502         * posix/geteuid.c (__geteuid): Likewise.
37503         * posix/getgid.c (__getgid): Likewise.
37504         * posix/getpid.c (__getpid): Likewise.
37505         * posix/getppid.c (__getppid): Likewise.
37506         * posix/getuid.c (__getuid): Likewise.
37507         * posix/pause.c (pause): Likewise.
37508         * posix/setpgrp.c (setpgrp): Likewise.
37509         * posix/setsid.c (__setsid): Likewise.
37510         * posix/test-vfork.c (noop): Likewise.
37511         * resolv/gethnamaddr.c (_endhtent): Likewise.
37512         (_gethtent): Likewise.
37513         (ht_endhostent): Likewise.
37514         (gethostent): Likewise.
37515         (dns_service): Likewise.
37516         * stdlib/drand48.c (drand48): Likewise.
37517         * stdlib/lrand48.c (lrand48): Likewise.
37518         * stdlib/mrand48.c (mrand48): Likewise.
37519         * stdlib/rand.c (rand): Likewise.
37520         * stdlib/random.c (__random): Likewise.
37521         * stdlib/setenv.c (clearenv): Likewise.
37522         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
37523         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
37524         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
37525         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
37526         (__get_nprocs): Likewise.
37527         (__get_phys_pages): Likewise.
37528         (__get_avphys_pages): Likewise.
37529         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
37530         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
37531         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
37532         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
37533         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
37534         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
37535         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
37536         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
37537         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
37538         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
37539         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
37540         * sysdeps/mach/hurd/sync.c (sync): Likewise.
37541         * sysdeps/posix/clock.c (clock): Likewise.
37542         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
37543         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
37544         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
37545         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
37546         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
37547         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
37548         (__get_nprocs_conf): Likewise.
37549         (__get_phys_pages): Likewise.
37550         (__get_avphys_pages): Likewise.
37551         * time/clock.c (clock): Likewise.
37552         * time/tzset.c (__tzname_max): Likewise.
37554 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
37556         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
37557         (__bswap_32): Do not use "register".
37558         * crypt/crypt.c (_ufc_doit_r): Likewise.
37559         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37560         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37561         * gmon/gmon.c (__monstartup): Likewise.
37562         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
37563         * hurd/hurdmalloc.c (more_memory): Likewise.
37564         (malloc): Likewise.
37565         (free): Likewise.
37566         (realloc): Likewise.
37567         (malloc_fork_prepare): Likewise.
37568         (malloc_fork_parent): Likewise.
37569         (malloc_fork_child): Likewise.
37570         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
37571         (_svcauth_des): Likewise.
37572         * inet/inet_lnaof.c (inet_lnaof): Likewise.
37573         * inet/inet_net.c (inet_network): Likewise.
37574         * inet/inet_netof.c (inet_netof): Likewise.
37575         * inet/rcmd.c (__validuser2_sa): Likewise.
37576         * io/fts.c (fts_open): Likewise.
37577         (fts_load): Likewise.
37578         (fts_close): Likewise.
37579         (fts_read): Likewise.
37580         (fts_children): Likewise.
37581         (fts_build): Likewise.
37582         (fts_stat): Likewise.
37583         (fts_sort): Likewise.
37584         (fts_alloc): Likewise.
37585         (fts_lfree): Likewise.
37586         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
37587         (_IO_file_xsgetn): Likewise.
37588         (_IO_file_xsgetn_mmap): Likewise.
37589         * libio/iofopncook.c (_IO_cookie_read): Likewise.
37590         (_IO_cookie_write): Likewise.
37591         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
37592         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
37593         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
37594         * malloc/obstack.c (_obstack_begin): Likewise.
37595         (_obstack_begin_1): Likewise.
37596         (_obstack_newchunk): Likewise.
37597         (_obstack_allocated_p): Likewise.
37598         (obstack_free): Likewise.
37599         (_obstack_memory_used): Likewise.
37600         * misc/getttyent.c (getttynam): Likewise.
37601         (getttyent): Likewise.
37602         (skip): Likewise.
37603         (value): Likewise.
37604         * misc/getusershell.c (initshells): Likewise.
37605         * misc/syslog.c (__vsyslog_chk): Likewise.
37606         * misc/ttyslot.c (ttyslot): Likewise.
37607         * nis/nis_hash.c (__nis_hash): Likewise.
37608         * posix/fnmatch_loop.c (FCT): Likewise.
37609         * posix/getconf.c (print_all): Likewise.
37610         (main): Likewise.
37611         * posix/getopt.c (exchange): Likewise.
37612         * posix/glob.c (globfree): Likewise.
37613         (prefix_array): Likewise.
37614         (__glob_pattern_type): Likewise.
37615         * resolv/arpa/nameser.h (NS_GET16): Likewise.
37616         (NS_GET32): Likewise.
37617         (NS_PUT16): Likewise.
37618         (NS_PUT32): Likewise.
37619         * resolv/gethnamaddr.c (getanswer): Likewise.
37620         (gethostbyname2): Likewise.
37621         (gethostbyaddr): Likewise.
37622         (_gethtent): Likewise.
37623         (_gethtbyname2): Likewise.
37624         (_gethtbyaddr): Likewise.
37625         * resolv/ns_print.c (dst_s_get_int16): Likewise.
37626         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37627         * resolv/res_init.c (__res_vinit): Likewise.
37628         (net_mask): Likewise.
37629         * resolv/res_mkquery.c (outchar): Likewise.
37630         (PRINT): Likewise.
37631         * stdio-common/printf_fp.c (outchar): Likewise.
37632         (PRINT): Likewise.
37633         * stdio-common/printf_fphex.c (outchar): Likewise.
37634         (PRINT): Likewise.
37635         * stdio-common/printf_size.c (outchar): Likewise.
37636         (PRINT): Likewise.
37637         * stdio-common/test_rdwr.c (main): Likewise.
37638         * stdio-common/tfformat.c (matches): Likewise.
37639         * stdio-common/vfprintf.c (outchar): Likewise.
37640         (printf_unknown): Likewise.
37641         (buffered_vfprintf): Likewise.
37642         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37643         * stdio-common/xbug.c (AppendToBuffer): Likewise.
37644         (ReadFile): Likewise.
37645         * stdlib/qsort.c (SWAP): Likewise.
37646         (_quicksort): Likewise.
37647         * stdlib/setenv.c (__add_to_environ): Likewise.
37648         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37649         * stdlib/strtol_l.c (__strtol_l): Likewise.
37650         * stdlib/tst-strtod.c (main): Likewise.
37651         * stdlib/tst-strtol.c (main): Likewise.
37652         * stdlib/tst-strtoll.c (main): Likewise.
37653         * string/bits/string2.h (__strcmp_cc): Likewise.
37654         (__strcmp_cg): Likewise.
37655         (__strcspn_c1): Likewise.
37656         (__strcspn_c2): Likewise.
37657         (__strcspn_c3): Likewise.
37658         (__strspn_c1): Likewise.
37659         (__strspn_c2): Likewise.
37660         (__strspn_c3): Likewise.
37661         (__strsep_1c): Likewise.
37662         (__strsep_2c): Likewise.
37663         (__strsep_3c): Likewise.
37664         * string/memccpy.c (__memccpy): Likewise.
37665         * string/stpcpy.c (__stpcpy): Likewise.
37666         * string/strcmp.c (strcmp): Likewise.
37667         * string/strrchr.c (strrchr): Likewise.
37668         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
37669         Likewise.
37670         * sysdeps/mach/hurd/getcwd.c
37671         (_hurd_canonicalize_directory_name_internal): Likewise.
37672         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
37673         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
37674         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
37675         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
37676         Likewise, in both definitions.
37677         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
37678         definitions.
37679         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
37680         64] (__bswap_64): Likewise.
37681         * time/test_time.c (main): Likewise.
37682         * time/tzfile.c (__tzfile_read): Likewise.
37683         (__tzfile_compute): Likewise.
37684         * time/tzset.c (__tzset_parse_tz): Likewise.
37685         (tzset_internal): Likewise.
37686         (compute_change): Likewise.
37687         * wcsmbs/wcscat.c (__wcscat): Likewise.
37688         * wcsmbs/wcschr.c (wcschr): Likewise.
37689         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
37690         * wcsmbs/wcscspn.c (wcscspn): Likewise.
37691         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
37692         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
37693         * wcsmbs/wcsspn.c (wcsspn): Likewise.
37694         * wcsmbs/wcsstr.c (wcsstr): Likewise.
37695         * wcsmbs/wmemchr.c (wmemchr): Likewise.
37696         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37697         * wcsmbs/wmemset.c (wmemset): Likewise.
37699 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
37701         * scripts/config.guess: Update to version 2013-05-16.
37702         * scripts/config.sub: Update to version 2013-04-24.
37703         * scripts/install-sh: Update to version 2011-11-20.07.
37704         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
37705         * scripts/move-if-change: Update to version 2012-01-06 07:23.
37707 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
37709         * debug/fgetws_u_chk.c: Fix leading whitespaces.
37710         * elf/sln.c: Likewise.
37711         * hurd/hurd/ioctl.h: Likewise.
37712         * hurd/hurdmalloc.c: Likewise.
37713         * hurd/xattr.c: Likewise.
37714         * include/shlib-compat.h: Likewise.
37715         * inet/ruserpass.c: Likewise.
37716         * libio/iofgets_u.c: Likewise.
37717         * libio/iofgetws_u.c: Likewise.
37718         * locale/programs/ld-identification.c: Likewise.
37719         * locale/programs/ld-time.c: Likewise.
37720         * mach/msg-destroy.c: Likewise.
37721         * nss/nss_files/files-netgrp.c: Likewise.
37722         * resolv/res_data.c: Likewise.
37723         * soft-fp/op-1.h: Likewise.
37724         * soft-fp/op-2.h: Likewise.
37725         * soft-fp/op-4.h: Likewise.
37726         * soft-fp/op-common.h: Likewise.
37727         * stdio-common/printf_fphex.c: Likewise.
37728         * stdlib/strtod_l.c: Likewise.
37729         * sunrpc/rpc/clnt.h: Likewise.
37730         * sysdeps/generic/framestate.c: Likewise.
37731         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37732         * sysdeps/i386/bsd-setjmp.S: Likewise.
37733         * sysdeps/i386/__longjmp.S: Likewise.
37734         * sysdeps/i386/setjmp.S: Likewise.
37735         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37736         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37737         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37738         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37739         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37740         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37741         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37742         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37743         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37744         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37745         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37746         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37747         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37748         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37749         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37750         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37751         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37752         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
37753         * sysdeps/ieee754/support.c: Likewise.
37754         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37755         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
37756         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
37757         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
37758         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
37759         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
37760         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
37761         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
37762         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
37763         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
37764         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
37765         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
37766         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
37767         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
37768         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
37769         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
37770         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37773 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
37775         * posix/transbug.c: Remove executable mode.
37777 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
37779         * crypt/speeds.c: Remove trailing whitespace.
37780         * dlfcn/default.c: Likewise.
37781         * elf/ifuncdep2.c: Likewise.
37782         * elf/ifuncmain1.c: Likewise.
37783         * elf/ifuncmain1vis.c: Likewise.
37784         * elf/testobj.h: Likewise.
37785         * elf/tst-stackguard1.c: Likewise.
37786         * gmon/sys/gmon.h: Likewise.
37787         * hurd/hurdmsg.c: Likewise.
37788         * hurd/new-fd.c: Likewise.
37789         * hurd/ports-get.c: Likewise.
37790         * iconvdata/ibm1008_420.c: Likewise.
37791         * inet/tst-getni1.c: Likewise.
37792         * inet/tst-getni2.c: Likewise.
37793         * libio/ioungetc.c: Likewise.
37794         * libio/wfiledoalloc.c: Likewise.
37795         * manual/libm-err-tab.pl: Likewise.
37796         * math/w_dremf.c: Likewise.
37797         * misc/ftruncate.c: Likewise.
37798         * posix/bug-glob2.c: Likewise.
37799         * posix/tst-pcre.c: Likewise.
37800         * posix/wait4.c: Likewise.
37801         * resolv/README: Likewise.
37802         * resolv/res_debug.h: Likewise.
37803         * resolv/tst-inet_ntop.c: Likewise.
37804         * setjmp/bug269-setjmp.c: Likewise.
37805         * soft-fp/extended.h: Likewise.
37806         * soft-fp/op-1.h: Likewise.
37807         * soft-fp/op-2.h: Likewise.
37808         * soft-fp/op-4.h: Likewise.
37809         * soft-fp/op-8.h: Likewise.
37810         * soft-fp/testit.c: Likewise.
37811         * stdio-common/bug16.c: Likewise.
37812         * stdlib/random.c: Likewise.
37813         * sunrpc/rpcsvc/rquota.x: Likewise.
37814         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
37815         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37816         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37817         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37818         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37819         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37820         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37821         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37822         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37823         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37824         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37825         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37826         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37827         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37828         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37829         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37830         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37831         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37832         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37833         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37834         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37835         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37836         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
37837         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37838         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37839         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37841         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37842         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37843         * sysdeps/ieee754/s_lib_version.c: Likewise.
37844         * sysdeps/mach/hurd/check_fds.c: Likewise.
37845         * sysdeps/mach/hurd/getsockname.c: Likewise.
37846         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
37847         * sysdeps/mach/hurd/recvfrom.c: Likewise.
37848         * sysdeps/powerpc/bits/link.h: Likewise.
37849         * sysdeps/powerpc/dl-procinfo.c: Likewise.
37850         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
37851         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
37852         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
37853         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37854         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37855         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
37856         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37857         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
37858         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37859         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37860         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37861         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
37862         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37863         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37864         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37865         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37866         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37867         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37868         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37869         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37870         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
37871         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37872         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37873         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
37874         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37875         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37876         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37877         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37878         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37879         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37880         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37881         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37882         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37883         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
37884         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37885         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
37886         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37887         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37888         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
37889         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
37890         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
37891         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
37892         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
37893         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37894         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
37895         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
37896         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37897         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
37898         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
37899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37900         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37901         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37902         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37903         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
37904         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37905         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37906         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37907         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
37908         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37909         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
37910         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
37911         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
37912         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37913         * sysdeps/powerpc/sysdep.h: Likewise.
37914         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37915         * sysdeps/s390/s390-64/sub_n.S: Likewise.
37916         * sysdeps/sh/dl-trampoline.S: Likewise.
37917         * sysdeps/sh/memset.S: Likewise.
37918         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
37919         * sysdeps/sh/strlen.S: Likewise.
37920         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
37921         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
37922         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
37923         * sysdeps/sparc/sparc32/rem.S: Likewise.
37924         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
37925         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
37926         * sysdeps/sparc/sparc32/strchr.S: Likewise.
37927         * sysdeps/sparc/sparc32/udiv.S: Likewise.
37928         * sysdeps/sparc/sparc32/urem.S: Likewise.
37929         * sysdeps/sparc/sparc64/add_n.S: Likewise.
37930         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37931         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
37932         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
37933         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
37934         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
37935         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37936         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
37937         * sysdeps/unix/bsd/times.c: Likewise.
37938         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
37939         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
37940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37943         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
37944         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37945         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
37946         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
37947         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
37948         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
37949         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37950         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
37951         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37952         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37953         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37954         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37955         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
37956         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
37957         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
37958         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
37959         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
37960         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37961         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
37962         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
37963         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37964         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
37965         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37966         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
37967         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
37968         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
37969         * sysdeps/x86_64/strcspn.S: Likewise.
37971 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37973         * locale/C-translit.h: Revert #include <stdint.h> because this is a
37974         generated file.  Regenerate properly from gen-translit.pl.
37975         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
37976         locale/C-translit.h.
37978 2013-06-05  Andreas Schwab  <schwab@suse.de>
37980         [BZ #15100]
37981         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
37982         week as 6 instead of -1.
37983         * time/tst-strptime.c (day_tests): Add test case.
37985 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37987         * sysdeps/generic/math_private.h
37988         (libc_feholdexcept_setround_53bit): Replace with
37989         libc_feholdsetround_53bit.
37990         (libc_feupdateenv_53bit): Replace with
37991         libc_feresetround_53bit.
37992         (SET_RESTORE_ROUND_53BIT): Adjust.
37994 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37996         * string/test-strchrnul.c: Add copyright header.
37998         * posix/tst-getaddrinfo4.c: Increase test timeout.
38000 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38002         [BZ #15536]
38003         * math/libm-test.inc (MAX_EXP): Remove
38004         (MIN_EXP): Define.
38005         (ulp): Use MIN_EXP - MANT_DIG.
38006         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38008 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38010         * po/be.po: Revert last change.
38011         * po/zh_CN.po: Likewise.
38012         * po/header.pot: Likewise.
38014 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38016         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38017         link-libc-deps to empty as target-specific variable.
38018         * Makerules (link-libc-args): New variable.
38019         (libc-for-link): Likewise.
38020         (link-libc-deps): Likewise.
38021         (lib%.so): Depend on $(link-libc-deps).  Link with
38022         $(link-libc-args).
38023         (build-module): Link with $(link-libc-args).
38024         (build-module-asneeded): Likewise.
38025         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38026         list of objects.
38027         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38028         target-specific variable.
38029         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38030         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38031         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38032         libc.
38033         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38034         libc and ld.so.
38035         ($(objpfx)libpcprofile.so): Likewise.
38036         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38037         libc_nonshared.a.
38038         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38039         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38040         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38041         $(link-libc-deps).
38042         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38043         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38044         * login/Makefile ($(objpfx)libutil.so): Likewise.
38045         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38046         * math/Makefile ($(objpfx)libm.so): Likewise.
38047         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38048         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38049         variable instead of depending directly on libc.
38050         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38051         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38052         $(link-libc-deps).
38053         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38054         libc.
38055         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38056         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38057         ($(objpfx)libanl.so): Likewise.
38058         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38059         ld.so.
38060         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38061         $(link-libc-deps).
38062         * sysdeps/i386/fpu/Makefile: Remove file.
38063         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38064         ($(objpfx)libm.so): Remove dependency on ld.so.
38066 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38068         [BZ # 15553]
38069         * nis/yp_xdr.c (XDRMAXNAME): Define.
38070         (XDRMAXRECORD): Define.
38071         (xdr_domainname): Use XDRMAXNAME.
38072         (xdr_mapname): Likewise.
38073         (xdr_peername): Likewise.
38074         (xdr_keydat): Use XDRMAXRECORD.
38075         (xdr_valdat): Likewise.
38077 2013-05-30  Jeff Law  <law@redhat.com>
38079         [BZ #14256]
38080         * manual/errno.texi (ESTALE): Update to account for more than
38081         just NFS file systems.
38082         * sysdeps/gnu/errlist.c: Regenerated.
38084 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38086         [BZ #15465]
38087         * elf/Makefile (tests): Add tst-null-argv.
38088         (modules-names):  Add tst-null-argv-lib.
38089         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38090         (tst-null-argv-ENV): Set environment for tst-null-argv.
38091         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38092         (RTLD_PROGNAME): New macro.
38093         * elf/tst-null-argv.c: New test case.
38094         * elf/tst-null-argv-lib.c: Library for test case.
38095         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38096         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38097         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38098         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38099         * elf/dl-init.c (call_init): Likewise.
38100         (_dl_init): Likewise.
38101         * elf/dl-load.c (print_search_path): Likewise.
38102         (_dl_map_object): Likewise.
38103         * elf/dl-lookup.c (do_lookup_x): Likewise.
38104         (add_dependency): Likewise.
38105         (_dl_lookup_symbol_x): Likewise.
38106         (_dl_debug_bindings): Likewise.
38107         * elf/dl-open.c (_dl_show_scope): Likewise.
38108         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38109         * elf/dl-version.c (match_symbol): Likewise.
38110         (_dl_check_map_versions): Likewise.
38111         * elf/rtld.c (dl_main): Likewise.
38112         (print_unresolved): Use RTLD_PROGNAME.
38113         (print_missing_version): Likewise.
38114         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38115         (elf_machine_rela): Likewise.
38116         * sysdeps/powerpc/powerpc32/dl-machine.c
38117         (__process_machine_rela): Likewise.
38118         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38119         Likewise.
38120         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38121         Likewise.
38122         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38123         Likewise.
38124         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38125         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38126         Likewise.
38127         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38128         Likewise.
38129         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38131 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38133         * po/be.po: Add descriptive title.
38134         * po/zh_CN.po: Likewise.
38135         * po/header.pot: Likewise.
38137 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38139         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38140         error message.
38141         (enlarge_archive): Likewise.
38143 2013-05-28  Ben North  <ben@redfrontdoor.org>
38145         * manual/arith.texi (frexp): It is the magnitude of the return
38146         value which lies in [0.5, 1), not the return value itself.
38148 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38152 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38154         * stdio-common/bug26.c (main): Correct fscanf template.
38156         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38157         declare _dl_skip_args.
38159         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38160         Don't declare.
38162         * manual/platform.texi: Add missing @end deftypefun.
38164 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38166         [BZ #15529]
38167         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38168         bit of mantissa of 2^16382.
38169         * math/libm-test.inc (hypot_test_data): Add more tests.
38171         * math/libm-test.inc: Add drem and pow10 to list of tested
38172         functions.
38173         (pow10_test): New function.
38174         (drem_test): Likewise.
38175         (drem_test_tonearest): Likewise.
38176         (drem_test_towardzero): Likewise.
38177         (drem_test_downward): Likewise.
38178         (drem_test_upward): Likewise.
38179         (main): Call the new functions.
38181         * math/libm-test.inc (finite_test_data): Remove.
38182         (finite_test): Run tests from isfinite_test_data.
38183         (gamma_test_data): Remove.
38184         (gamma_test): Run tests from lgamma_test_data.
38185         * sysdeps/i386/fpu/libm-test-ulps: Update.
38186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38188 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38190         * manual/platform.texi: Add PowerPC PPR function set documentation.
38191         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
38192         implementation.
38194 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
38196         * math/libm-test.inc (MAX_EXP): Define.
38197         (ULPDIFF): Define.
38198         (ulp): New function.
38199         (check_float_internal): Use ULPDIFF.
38200         (cpow_test): Disable failing test.
38201         (check_ulp): Test ulp() implemetnation.
38202         (main): Call check_ulp before starting tests.
38204 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38206         * math/gen-libm-test.pl (generate_testfile): Do not handle
38207         START_DATA and END_DATA.
38208         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
38209         END_DATA.
38210         (acos_tonearest_test_data): Likewise.
38211         (acos_towardzero_test_data): Likewise.
38212         (acos_downward_test_data): Likewise.
38213         (acos_upward_test_data): Likewise.
38214         (acosh_test_data): Likewise.
38215         (asin_test_data): Likewise.
38216         (asin_tonearest_test_data): Likewise.
38217         (asin_towardzero_test_data): Likewise.
38218         (asin_downward_test_data): Likewise.
38219         (asin_upward_test_data): Likewise.
38220         (asinh_test_data): Likewise.
38221         (atan_test_data): Likewise.
38222         (atanh_test_data): Likewise.
38223         (atan2_test_data): Likewise.
38224         (cabs_test_data): Likewise.
38225         (cacos_test_data): Likewise.
38226         (cacosh_test_data): Likewise.
38227         (carg_test_data): Likewise.
38228         (casin_test_data): Likewise.
38229         (casinh_test_data): Likewise.
38230         (catan_test_data): Likewise.
38231         (catanh_test_data): Likewise.
38232         (cbrt_test_data): Likewise.
38233         (ccos_test_data): Likewise.
38234         (ccosh_test_data): Likewise.
38235         (ceil_test_data): Likewise.
38236         (cexp_test_data): Likewise.
38237         (cimag_test_data): Likewise.
38238         (clog_test_data): Likewise.
38239         (clog10_test_data): Likewise.
38240         (conj_test_data): Likewise.
38241         (copysign_test_data): Likewise.
38242         (cos_test_data): Likewise.
38243         (cos_tonearest_test_data): Likewise.
38244         (cos_towardzero_test_data): Likewise.
38245         (cos_downward_test_data): Likewise.
38246         (cos_upward_test_data): Likewise.
38247         (cosh_test_data): Likewise.
38248         (cosh_tonearest_test_data): Likewise.
38249         (cosh_towardzero_test_data): Likewise.
38250         (cosh_downward_test_data): Likewise.
38251         (cosh_upward_test_data): Likewise.
38252         (cpow_test_data): Likewise.
38253         (cproj_test_data): Likewise.
38254         (creal_test_data): Likewise.
38255         (csin_test_data): Likewise.
38256         (csinh_test_data): Likewise.
38257         (csqrt_test_data): Likewise.
38258         (ctan_test_data): Likewise.
38259         (ctan_tonearest_test_data): Likewise.
38260         (ctan_towardzero_test_data): Likewise.
38261         (ctan_downward_test_data): Likewise.
38262         (ctan_upward_test_data): Likewise.
38263         (ctanh_test_data): Likewise.
38264         (ctanh_tonearest_test_data): Likewise.
38265         (ctanh_towardzero_test_data): Likewise.
38266         (ctanh_downward_test_data): Likewise.
38267         (ctanh_upward_test_data): Likewise.
38268         (erf_test_data): Likewise.
38269         (erfc_test_data): Likewise.
38270         (exp_test_data): Likewise.
38271         (exp_tonearest_test_data): Likewise.
38272         (exp_towardzero_test_data): Likewise.
38273         (exp_downward_test_data): Likewise.
38274         (exp_upward_test_data): Likewise.
38275         (exp10_test_data): Likewise.
38276         (exp2_test_data): Likewise.
38277         (expm1_test_data): Likewise.
38278         (fabs_test_data): Likewise.
38279         (fdim_test_data): Likewise.
38280         (finite_test_data): Likewise.
38281         (floor_test_data): Likewise.
38282         (fma_test_data): Likewise.
38283         (fma_towardzero_test_data): Likewise.
38284         (fma_downward_test_data): Likewise.
38285         (fma_upward_test_data): Likewise.
38286         (fmax_test_data): Likewise.
38287         (fmin_test_data): Likewise.
38288         (fmod_test_data): Likewise.
38289         (fpclassify_test_data): Likewise.
38290         (frexp_test_data): Likewise.
38291         (gamma_test_data): Likewise.
38292         (hypot_test_data): Likewise.
38293         (ilogb_test_data): Likewise.
38294         (isfinite_test_data): Likewise.
38295         (isgreater_test_data): Likewise.
38296         (isgreaterequal_test_data): Likewise.
38297         (isinf_test_data): Likewise.
38298         (isless_test_data): Likewise.
38299         (islessequal_test_data): Likewise.
38300         (islessgreater_test_data): Likewise.
38301         (isnan_test_data): Likewise.
38302         (isnormal_test_data): Likewise.
38303         (issignaling_test_data): Likewise.
38304         (isunordered_test_data): Likewise.
38305         (j0_test_data): Likewise.
38306         (j1_test_data): Likewise.
38307         (jn_test_data): Likewise.
38308         (ldexp_test_data): Likewise.
38309         (lgamma_test_data): Likewise.
38310         (lrint_test_data): Likewise.
38311         (lrint_tonearest_test_data): Likewise.
38312         (lrint_towardzero_test_data): Likewise.
38313         (lrint_downward_test_data): Likewise.
38314         (lrint_upward_test_data): Likewise.
38315         (llrint_test_data): Likewise.
38316         (llrint_tonearest_test_data): Likewise.
38317         (llrint_towardzero_test_data): Likewise.
38318         (llrint_downward_test_data): Likewise.
38319         (llrint_upward_test_data): Likewise.
38320         (log_test_data): Likewise.
38321         (log10_test_data): Likewise.
38322         (log1p_test_data): Likewise.
38323         (log2_test_data): Likewise.
38324         (logb_test_data): Likewise.
38325         (logb_downward_test_data): Likewise.
38326         (lround_test_data): Likewise.
38327         (llround_test_data): Likewise.
38328         (modf_test_data): Likewise.
38329         (nearbyint_test_data): Likewise.
38330         (nextafter_test_data): Likewise.
38331         (nexttoward_test_data): Likewise.
38332         (pow_test_data): Likewise.
38333         (pow_tonearest_test_data): Likewise.
38334         (pow_towardzero_test_data): Likewise.
38335         (pow_downward_test_data): Likewise.
38336         (pow_upward_test_data): Likewise.
38337         (remainder_test_data): Likewise.
38338         (remainder_tonearest_test_data): Likewise.
38339         (remainder_towardzero_test_data): Likewise.
38340         (remainder_downward_test_data): Likewise.
38341         (remainder_upward_test_data): Likewise.
38342         (remquo_test_data): Likewise.
38343         (rint_test_data): Likewise.
38344         (rint_tonearest_test_data): Likewise.
38345         (rint_towardzero_test_data): Likewise.
38346         (rint_downward_test_data): Likewise.
38347         (rint_upward_test_data): Likewise.
38348         (round_test_data): Likewise.
38349         (scalb_test_data): Likewise.
38350         (scalbn_test_data): Likewise.
38351         (scalbln_test_data): Likewise.
38352         (signbit_test_data): Likewise.
38353         (sin_test_data): Likewise.
38354         (sin_tonearest_test_data): Likewise.
38355         (sin_towardzero_test_data): Likewise.
38356         (sin_downward_test_data): Likewise.
38357         (sin_upward_test_data): Likewise.
38358         (sincos_test_data): Likewise.
38359         (sinh_test_data): Likewise.
38360         (sinh_tonearest_test_data): Likewise.
38361         (sinh_towardzero_test_data): Likewise.
38362         (sinh_downward_test_data): Likewise.
38363         (sinh_upward_test_data): Likewise.
38364         (sqrt_test_data): Likewise.
38365         (tan_test_data): Likewise.
38366         (tan_tonearest_test_data): Likewise.
38367         (tan_towardzero_test_data): Likewise.
38368         (tan_downward_test_data): Likewise.
38369         (tan_upward_test_data): Likewise.
38370         (tanh_test_data): Likewise.
38371         (tgamma_test_data): Likewise.
38372         (trunc_test_data): Likewise.
38373         (y0_test_data): Likewise.
38374         (y1_test_data): Likewise.
38375         (yn_test_data): Likewise.
38376         (significand_test_data): Likewise.
38378         * math/gen-libm-test.pl (@functions): Remove variable.
38379         (generate_testfile): Don't handle START and END lines.
38380         * math/libm-test.inc (START): New macro.
38381         (END): Likewise.
38382         (END_COMPLEX): Likewise.
38383         (acos_test): Use END macro without arguments.
38384         (acos_test_tonearest): Likewise.
38385         (acos_test_towardzero): Likewise.
38386         (acos_test_downward): Likewise.
38387         (acos_test_upward): Likewise.
38388         (acosh_test): Likewise.
38389         (asin_test): Likewise.
38390         (asin_test_tonearest): Likewise.
38391         (asin_test_towardzero): Likewise.
38392         (asin_test_downward): Likewise.
38393         (asin_test_upward): Likewise.
38394         (asinh_test): Likewise.
38395         (atan_test): Likewise.
38396         (atanh_test): Likewise.
38397         (atan2_test): Likewise.
38398         (cabs_test): Likewise.
38399         (cacos_test): Use END_COMPLEX macro without arguments.
38400         (cacosh_test): Likewise.
38401         (carg_test): Use END macro without arguments.
38402         (casin_test): Use END_COMPLEX macro without arguments.
38403         (casinh_test): Likewise.
38404         (catan_test): Likewise.
38405         (catanh_test): Likewise.
38406         (cbrt_test): Use END macro without arguments.
38407         (ccos_test): Use END_COMPLEX macro without arguments.
38408         (ccosh_test): Likewise.
38409         (ceil_test): Use END macro without arguments.
38410         (cexp_test): Use END_COMPLEX macro without arguments.
38411         (cimag_test): Use END macro without arguments.
38412         (clog_test): Use END_COMPLEX macro without arguments.
38413         (clog10_test): Likewise.
38414         (conj_test): Likewise.
38415         (copysign_test): Use END macro without arguments.
38416         (cos_test): Likewise.
38417         (cos_test_tonearest): Likewise.
38418         (cos_test_towardzero): Likewise.
38419         (cos_test_downward): Likewise.
38420         (cos_test_upward): Likewise.
38421         (cosh_test): Likewise.
38422         (cosh_test_tonearest): Likewise.
38423         (cosh_test_towardzero): Likewise.
38424         (cosh_test_downward): Likewise.
38425         (cosh_test_upward): Likewise.
38426         (cpow_test): Use END_COMPLEX macro without arguments.
38427         (cproj_test): Likewise.
38428         (creal_test): Use END macro without arguments.
38429         (csin_test): Use END_COMPLEX macro without arguments.
38430         (csinh_test): Likewise.
38431         (csqrt_test): Likewise.
38432         (ctan_test): Likewise.
38433         (ctan_test_tonearest): Likewise.
38434         (ctan_test_towardzero): Likewise.
38435         (ctan_test_downward): Likewise.
38436         (ctan_test_upward): Likewise.
38437         (ctanh_test): Likewise.
38438         (ctanh_test_tonearest): Likewise.
38439         (ctanh_test_towardzero): Likewise.
38440         (ctanh_test_downward): Likewise.
38441         (ctanh_test_upward): Likewise.
38442         (erf_test): Use END macro without arguments.
38443         (erfc_test): Likewise.
38444         (exp_test): Likewise.
38445         (exp_test_tonearest): Likewise.
38446         (exp_test_towardzero): Likewise.
38447         (exp_test_downward): Likewise.
38448         (exp_test_upward): Likewise.
38449         (exp10_test): Likewise.
38450         (exp2_test): Likewise.
38451         (expm1_test): Likewise.
38452         (fabs_test): Likewise.
38453         (fdim_test): Likewise.
38454         (finite_test): Likewise.
38455         (floor_test): Likewise.
38456         (fma_test): Likewise.
38457         (fma_test_towardzero): Likewise.
38458         (fma_test_downward): Likewise.
38459         (fma_test_upward): Likewise.
38460         (fmax_test): Likewise.
38461         (fmin_test): Likewise.
38462         (fmod_test): Likewise.
38463         (fpclassify_test): Likewise.
38464         (frexp_test): Likewise.
38465         (gamma_test): Likewise.
38466         (hypot_test): Likewise.
38467         (ilogb_test): Likewise.
38468         (isfinite_test): Likewise.
38469         (isgreater_test): Likewise.
38470         (isgreaterequal_test): Likewise.
38471         (isinf_test): Likewise.
38472         (isless_test): Likewise.
38473         (islessequal_test): Likewise.
38474         (islessgreater_test): Likewise.
38475         (isnan_test): Likewise.
38476         (isnormal_test): Likewise.
38477         (issignaling_test): Likewise.
38478         (isunordered_test): Likewise.
38479         (j0_test): Likewise.
38480         (j1_test): Likewise.
38481         (jn_test): Likewise.
38482         (ldexp_test): Likewise.
38483         (lgamma_test): Likewise.
38484         (lrint_test): Likewise.
38485         (lrint_test_tonearest): Likewise.
38486         (lrint_test_towardzero): Likewise.
38487         (lrint_test_downward): Likewise.
38488         (lrint_test_upward): Likewise.
38489         (llrint_test): Likewise.
38490         (llrint_test_tonearest): Likewise.
38491         (llrint_test_towardzero): Likewise.
38492         (llrint_test_downward): Likewise.
38493         (llrint_test_upward): Likewise.
38494         (log_test): Likewise.
38495         (log10_test): Likewise.
38496         (log1p_test): Likewise.
38497         (log2_test): Likewise.
38498         (logb_test): Likewise.
38499         (logb_test_downward): Likewise.
38500         (lround_test): Likewise.
38501         (llround_test): Likewise.
38502         (modf_test): Likewise.
38503         (nearbyint_test): Likewise.
38504         (nextafter_test): Likewise.
38505         (nexttoward_test): Likewise.
38506         (pow_test): Likewise.
38507         (pow_test_tonearest): Likewise.
38508         (pow_test_towardzero): Likewise.
38509         (pow_test_downward): Likewise.
38510         (pow_test_upward): Likewise.
38511         (remainder_test): Likewise.
38512         (remainder_test_tonearest): Likewise.
38513         (remainder_test_towardzero): Likewise.
38514         (remainder_test_downward): Likewise.
38515         (remainder_test_upward): Likewise.
38516         (remquo_test): Likewise.
38517         (rint_test): Likewise.
38518         (rint_test_tonearest): Likewise.
38519         (rint_test_towardzero): Likewise.
38520         (rint_test_downward): Likewise.
38521         (rint_test_upward): Likewise.
38522         (round_test): Likewise.
38523         (scalb_test): Likewise.
38524         (scalbn_test): Likewise.
38525         (scalbln_test): Likewise.
38526         (signbit_test): Likewise.
38527         (sin_test): Likewise.
38528         (sin_test_tonearest): Likewise.
38529         (sin_test_towardzero): Likewise.
38530         (sin_test_downward): Likewise.
38531         (sin_test_upward): Likewise.
38532         (sincos_test): Likewise.
38533         (sinh_test): Likewise.
38534         (sinh_test_tonearest): Likewise.
38535         (sinh_test_towardzero): Likewise.
38536         (sinh_test_downward): Likewise.
38537         (sinh_test_upward): Likewise.
38538         (sqrt_test): Likewise.
38539         (tan_test): Likewise.
38540         (tan_test_tonearest): Likewise.
38541         (tan_test_towardzero): Likewise.
38542         (tan_test_downward): Likewise.
38543         (tan_test_upward): Likewise.
38544         (tanh_test): Likewise.
38545         (tgamma_test): Likewise.
38546         (trunc_test): Likewise.
38547         (y0_test): Likewise.
38548         (y1_test): Likewise.
38549         (yn_test): Likewise.
38550         (significand_test): Likewise.
38552 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
38554         [BZ #15381]
38555         * libio/genops.c (_IO_no_init): Initialize wide struct info.
38557 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
38559         [BZ #14894]
38560         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
38561         __ppc_mdoio and __ppc_mdoom.
38562         * manual/platform.texi: Document new functions __ppc_yield,
38563         __ppc_mdoio and __ppc_mdoom.
38565 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
38567         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
38568         (main): Mention "tls" pseudo-hwcap is legacy.
38569         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
38571 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38573         * math/gen-libm-test.pl (parse_args): Output only string of
38574         arguments as text for test name, not full call or descriptions of
38575         tests for extra outputs.
38576         (generate_testfile): Do not pass function name to parse_args.
38577         Generate this_func variable from START.
38578         * math/libm-test.inc (struct test_f_f_data): Rename test_name
38579         field to arg_str.
38580         (struct test_ff_f_data): Likewise.
38581         (test_ff_f_data_nexttoward): Likewise.
38582         (struct test_fi_f_data): Likewise.
38583         (struct test_fl_f_data): Likewise.
38584         (struct test_if_f_data): Likewise.
38585         (struct test_fff_f_data): Likewise.
38586         (struct test_c_f_data): Likewise.
38587         (struct test_f_f1_data): Likewise.  Remove field extra_name.
38588         (struct test_fF_f1_data): Likewise.
38589         (struct test_ffI_f1_data): Likewise.
38590         (struct test_c_c_data): Rename test_name field to arg_str.
38591         (struct test_cc_c_data): Likewise.
38592         (struct test_f_i_data): Likewise.
38593         (struct test_ff_i_data): Likewise.
38594         (struct test_f_l_data): Likewise.
38595         (struct test_f_L_data): Likewise.
38596         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
38597         and extra2_name.
38598         (COMMON_TEST_SETUP): New macro.
38599         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
38600         (COMMON_TEST_CLEANUP): Likewise.
38601         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
38602         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
38603         macros.
38604         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
38605         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
38606         macros.
38607         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
38608         (RUN_TEST_fff_f): Take argument string.  Call new setup and
38609         cleanup macros.
38610         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
38611         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
38612         macros.
38613         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
38614         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
38615         macros.
38616         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38617         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
38618         cleanup macros.
38619         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38620         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
38621         cleanup macros.
38622         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38623         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
38624         cleanup macros.
38625         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38626         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
38627         macros.
38628         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
38629         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
38630         macros.
38631         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
38632         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
38633         macros.
38634         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
38635         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
38636         cleanup macros.
38637         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
38638         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
38639         cleanup macros.
38640         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
38641         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
38642         macros.
38643         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
38644         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
38645         cleanup macros.
38646         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
38647         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
38648         macros.
38649         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
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_fFF_11): Take argument string.  Call new setup and
38654         cleanup macros.
38655         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
38657 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
38659         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
38660         to _sifields.sigfault.
38661         (si_addr_lsb): Define new macro.
38662         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
38663         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38664         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
38666 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
38668         [BZ #15441]
38669         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
38670         returns -1.
38671         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
38672         null return -1.
38673         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
38674         loading the domain.
38676 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
38678         * math/gen-libm-test.pl (parse_args): Do not include expected
38679         result in test name.
38680         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
38681         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38682         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38683         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38684         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38687 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38689         * benchtests/Makefile: Sort function entries.
38691         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
38692         tanh, asinh, acosh, atanh.
38693         * benchtests/acos-inputs: New file.
38694         * benchtests/acosh-inputs: New file.
38695         * benchtests/asin-inputs: New file.
38696         * benchtests/asinh-inputs: New file.
38697         * benchtests/atanh-inputs: New file.
38698         * benchtests/cosh-inputs: New file.
38699         * benchtests/log-inputs: New file.
38700         * benchtests/sinh-inputs: New file.
38701         * benchtests/tanh-inputs: New file.
38703 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
38705         [BZ #15339]
38706         * posix/tst-getaddrinfo4.c: New test.
38707         * posix/Makefile (tests): Add it.
38709 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38711         [BZ #15339]
38712         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
38713         when no services were used.
38714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
38715         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
38717 2013-05-21  Andreas Schwab  <schwab@suse.de>
38719         [BZ #15014]
38720         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
38721         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
38722         successful.
38723         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
38724         redundant variable declarations and reallocation of buffer when
38725         parsing as IPv6 address.  Always set NSS status when called from
38726         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
38727         buffer too small.  Correct computation of needed size.
38728         * nss/Makefile (tests): Add test-digits-dots.
38729         * nss/test-digits-dots.c: New test.
38731 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38733         * benchtests/Makefile: Remove instructions for adding
38734         benchmark tests.
38735         * benchtests/README: New file to explain how to execute and
38736         enhance the benchmark tests.
38738 2013-05-21  Andreas Schwab  <schwab@suse.de>
38740         [BZ #15493]
38741         * setjmp/Makefile (tests): Add tst-sigsetjmp.
38742         * setjmp/tst-sigsetjmp.c: New test.
38744 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38746         * sysdeps/x86_64/memset.S (memset): New implementation.
38747         (__bzero): Likewise.
38748         (__memset_tail): New function.
38750 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
38752         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
38753         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
38754         __memcpy_sse2_unaligned ifunc selection.
38755         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38756         Add memcpy-sse2-unaligned.S.
38757         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38758         Add: __memcpy_sse2_unaligned.
38760 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
38762         [BZ #15490]
38763         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38764         math_force_eval before restoring floating-point envrionment.
38765         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
38766         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38767         Likewise.
38768         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
38769         <math_private.h>.
38770         (__nearbyintl): Use math_force_eval before restoring
38771         floating-point environment.
38772         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
38774         * math/gen-libm-test.pl (special_functions): Remove.
38775         (parse_args): Don't handle TEST_extra.  Handle functions with no
38776         return value.
38777         * math/libm-test.inc (struct test_sincos_data): Replace with
38778         struct test_fFF_11_data.
38779         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
38780         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
38781         (sincos_test_data): Change element type to struct
38782         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
38783         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
38784         RUN_TEST_LOOP_sincos.
38785         * math/README.libm-test: Don't mention special handling of
38786         individual functions.
38787         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
38788         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38789         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38790         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38791         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38794         * math/gen-libm-test.pl (get_variable): Remove function.
38795         (parse_args): Don't show pointer parameters to call in test
38796         names.  Use "extra output N" in test names for extra outputs
38797         rather than naming variables.
38799 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
38801         [BZ #15488]
38802         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
38803         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
38804         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
38805         double tests.
38806         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
38807         disable.
38808         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
38809         check_long_double.
38811         * math/gen-libm-test.pl (@tests): Remove variable.
38812         ($count): Likewise.
38813         (new_test): Remove function.
38814         (show_exceptions): New function.
38815         (special_functions): Use show_exceptions instead of new_test.
38816         (parse_args): Likewise.
38817         (generate_testfile): Pass only function name in generated call to
38818         print_max_error or print_complex_max_error.
38819         (get_ulps): Do not handle complex tests specially.
38820         (output_test): Rename to ...
38821         (get_all_ulps_for_test): ... this.  Return a string rather than
38822         printing to a file.  Require ulps to be present.
38823         (output_ulps): Generate arrays rather than #defines.
38824         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
38825         (struct ulp_data): New type.
38826         (BUILD_COMPLEX_ULP): Remove macro.
38827         (compare_ulp_data): New function.
38828         (find_ulps): Likewise.
38829         (find_test_ulps): Likewise.
38830         (find_function_ulps): Likewise.
38831         (find_complex_function_ulps): Likewise.
38832         (print_max_error): Determine allowed ulps using
38833         find_function_ulps.
38834         (print_complex_max_error): Determine allowed ulps using
38835         find_complex_function_ulps.
38836         (check_float_internal): Determine max ulps using find_test_ulps.
38837         (check_float): Do not take max_ulp parameter.  Update call to
38838         check_float_internal.
38839         (check_complex): Likewise.
38840         (check_int): Do not take max_ulp parameter.
38841         (check_long): Likewise.
38842         (check_bool): Likewise.
38843         (check_longlong): Likewise.
38844         (struct test_f_f_data): Remove max_ulp field.
38845         (struct test_ff_f_data): Likewise.
38846         (struct test_ff_f_data_nexttoward): Likewise.
38847         (struct test_fi_f_data): Likewise.
38848         (struct test_fl_f_data): Likewise.
38849         (struct test_if_f_data): Likewise.
38850         (struct test_fff_f_data): Likewise.
38851         (struct test_c_f_data): Likewise.
38852         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
38853         (struct test_fF_f1_data): Likewise.
38854         (struct test_ffI_f1_data): Likewise.
38855         (struct test_c_c_data): Remove max_ulp field.
38856         (struct test_cc_c_data): Likewise.
38857         (struct test_f_i_data): Likewise.
38858         (struct test_ff_i_data): Likewise.
38859         (struct test_f_l_data): Likewise.
38860         (struct test_f_L_data): Likewise.
38861         (struct test_sincos_data): Likewise.
38862         (RUN_TEST_f_f): Do not handle ulps.
38863         (RUN_TEST_LOOP_f_f): Likewise.
38864         (RUN_TEST_2_f): Likewise.
38865         (RUN_TEST_LOOP_2_f): Likewise.
38866         (RUN_TEST_fff_f): Likewise.
38867         (RUN_TEST_LOOP_fff_f): Likewise.
38868         (RUN_TEST_c_f): Likewise.
38869         (RUN_TEST_LOOP_c_f): Likewise.
38870         (RUN_TEST_f_f1): Likewise.
38871         (RUN_TEST_LOOP_f_f1): Likewise.
38872         (RUN_TEST_fF_f1): Likewise.
38873         (RUN_TEST_LOOP_fF_f1): Likewise.
38874         (RUN_TEST_fI_f1): Likewise.
38875         (RUN_TEST_LOOP_fI_f1): Likewise.
38876         (RUN_TEST_ffI_f1): Likewise.
38877         (RUN_TEST_LOOP_ffI_f1): Likewise.
38878         (RUN_TEST_c_c): Likewise.
38879         (RUN_TEST_LOOP_c_c): Likewise.
38880         (RUN_TEST_cc_c): Likewise.
38881         (RUN_TEST_LOOP_cc_c): Likewise.
38882         (RUN_TEST_f_i): Likewise.
38883         (RUN_TEST_LOOP_f_i): Likewise.
38884         (RUN_TEST_f_i_tg): Likewise.
38885         (RUN_TEST_LOOP_f_i_tg): Likewise.
38886         (RUN_TEST_ff_i_tg): Likewise.
38887         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38888         (RUN_TEST_f_b): Likewise.
38889         (RUN_TEST_LOOP_f_b): Likewise.
38890         (RUN_TEST_f_b_tg): Likewise.
38891         (RUN_TEST_LOOP_f_b_tg): Likewise.
38892         (RUN_TEST_f_l): Likewise.
38893         (RUN_TEST_LOOP_f_l): Likewise.
38894         (RUN_TEST_f_L): Likewise.
38895         (RUN_TEST_LOOP_f_L): Likewise.
38896         (RUN_TEST_sincos): Likewise.
38897         (RUN_TEST_LOOP_sincos): Likewise.
38899 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
38901         [BZ #15480]
38902         [BZ #15485]
38903         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
38904         main case of finite arguments, set rounding mode to FE_TONEAREST
38905         and discard exceptions.
38906         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
38907         exceptions.
38908         (remainder_tonearest_test_data): New variable.
38909         (remainder_test_tonearest): New function.
38910         (remainder_towardzero_test_data): New variable.
38911         (remainder_test_towardzero): New function.
38912         (remainder_downward_test_data): New variable.
38913         (remainder_test_downward): New function.
38914         (remainder_upward_test_data): New variable.
38915         (remainder_test_upward): New function.
38916         (main): Call the new test functions.
38918         * math/libm-test.inc (struct test_f_f1_data): Remove field
38919         extra_init.
38920         (struct test_fF_f1_data): Likewise.
38921         (struct test_ffI_f1_data): Likewise.
38922         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
38923         based on value of EXTRA_EXPECTED.
38924         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
38925         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
38926         EXTRA_VAR based on value of EXTRA_EXPECTED.
38927         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
38928         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
38929         EXTRA_VAR based on value of EXTRA_EXPECTED.
38930         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
38931         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
38932         EXTRA_VAR based on value of EXTRA_EXPECTED.
38933         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
38934         * math/gen-libm-test.pl (parse_args): Don't output initializers
38935         for extra output values.
38937         * math/libm-test.inc (check_int): Expect result to be exactly
38938         equal to expected value and do not handle ulps.
38939         (check_long): Likewise.
38940         (check_longlong): Likewise.
38942         * math/libm-test.inc (ceil_test_data): Test for "inexact"
38943         exceptions.
38944         (cimag_test_data): Likewise.
38945         (conj_test_data): Likewise.
38946         (copysign_test_data): Likewise.
38947         (cproj_test_data): Likewise.
38948         (creal_test_data): Likewise.
38949         (fabs_test_data): Likewise.
38950         (fdim_test_data): Likewise.
38951         (finite_test_data): Likewise.
38952         (floor_test_data): Likewise.
38953         (fmax_test_data): Likewise.
38954         (fmin_test_data): Likewise.
38955         (fmod_test_data): Likewise.
38956         (fpclassify_test_data): Likewise.
38957         (frexp_test_data): Likewise.
38958         (ilogb_test_data): Likewise.
38959         (isfinite_test_data): Likewise.
38960         (isgreater_test_data): Likewise.
38961         (isgreaterequal_test_data): Likewise.
38962         (isinf_test_data): Likewise.
38963         (isless_test_data): Likewise.
38964         (islessequal_test_data): Likewise.
38965         (islessgreater_test_data): Likewise.
38966         (isnan_test_data): Likewise.
38967         (isnormal_test_data): Likewise.
38968         (issignaling_test_data): Likewise.
38969         (isunordered_test_data): Likewise.
38970         (ldexp_test_data): Likewise.
38971         (lrint_test_data): Likewise.
38972         (lrint_test_data) [TEST_FLOAT]: Disable one test.
38973         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
38974         (lrint_tonearest_test_data): Test for "inexact" exceptions.
38975         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
38976         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
38977         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
38978         test input.
38979         (lrint_towardzero_test_data): Test for "inexact" exceptions.
38980         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
38981         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
38982         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
38983         that test input.
38984         (lrint_downward_test_data): Test for "inexact" exceptions.
38985         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
38986         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
38987         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
38988         test input.
38989         (lrint_upward_test_data): Test for "inexact" exceptions.
38990         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
38991         test input.
38992         (llrint_test_data): Test for "inexact" exceptions.
38993         (llrint_test_data) [TEST_FLOAT]: Disable one test.
38994         (llrint_tonearest_test_data): Test for "inexact" exceptions.
38995         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
38996         (llrint_towardzero_test_data): Test for "inexact" exceptions.
38997         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
38998         (llrint_downward_test_data): Test for "inexact" exceptions.
38999         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39000         (llrint_upward_test_data): Test for "inexact" exceptions.
39001         (logb_test_data): Likewise.
39002         (logb_downward_test_data): Likewise.
39003         (nextafter_test_data): Likewise.
39004         (nexttoward_test_data): Likewise.
39005         (remainder_test_data): Likewise.
39006         (remquo_test_data): Likewise.
39007         (scalbn_test_data): Likewise.
39008         (scalbln_test_data): Likewise.
39009         (signbit_test_data): Likewise.
39010         (sqrt_test_data): Likewise.
39011         (significand_test_data): Likewise.
39013 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39015         [BZ #15424]
39016         * benchtests/bench-modf.c (struct args): Mark arg0 as
39017         volatile.
39018         * scripts/bench.pl: Mark members of struct args as volatile.
39020 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39022         [BZ # 15497]
39023         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39024         negative infinity on POWER6 or lower.
39025         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39027 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39029         [BZ #15442]
39030         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39031         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39032         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39033         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39034         (_FP_SETQNAN): New macro.
39035         (_FP_SETQNAN_SEMIRAW): Likewise.
39036         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39037         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39038         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39039         (FP_EXTEND): Use _FP_FRAC_SNANP.
39040         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39041         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39042         into account.
39043         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39044         New macro.
39045         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39046         Likewise.
39048 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39050         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39051         with DIVIDE_BY_ZERO_EXCEPTION.
39052         (gamma_test_data): Likewise.
39053         (lgamma_test_data): Likewise.
39054         (log_test_data): Likewise.
39055         (log10_test_data): Likewise.
39056         (log2_test_data): Likewise.
39057         (tgamma_test_data): Likewise.
39059         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39060         (acos_test_tonearest): Likewise.
39061         (acos_test_towardzero): Likewise.
39062         (acos_test_downward): Likewise.
39063         (acos_test_upward): Likewise.
39064         (acosh_test): Likewise.
39065         (asin_test): Likewise.
39066         (asin_test_tonearest): Likewise.
39067         (asin_test_towardzero): Likewise.
39068         (asin_test_downward): Likewise.
39069         (asin_test_upward): Likewise.
39070         (asinh_test): Likewise.
39071         (atan_test): Likewise.
39072         (atanh_test): Likewise.
39073         (atan2_test): Likewise.
39074         (cabs_test): Likewise.
39075         (cacos_test): Likewise.
39076         (cacosh_test): Likewise.
39077         (casin_test): Likewise.
39078         (casinh_test): Likewise.
39079         (catan_test): Likewise.
39080         (catanh_test): Likewise.
39081         (cbrt_test): Likewise.
39082         (ccos_test): Likewise.
39083         (ccosh_test): Likewise.
39084         (cexp_test): Likewise.
39085         (clog_test): Likewise.
39086         (clog10_test): Likewise.
39087         (cos_test): Likewise.
39088         (cos_test_tonearest): Likewise.
39089         (cos_test_towardzero): Likewise.
39090         (cos_test_downward): Likewise.
39091         (cos_test_upward): Likewise.
39092         (cosh_test): Likewise.
39093         (cosh_test_tonearest): Likewise.
39094         (cosh_test_towardzero): Likewise.
39095         (cosh_test_downward): Likewise.
39096         (cosh_test_upward): Likewise.
39097         (cpow_test): Likewise.
39098         (csin_test): Likewise.
39099         (csinh_test): Likewise.
39100         (csqrt_test): Likewise.
39101         (ctan_test): Likewise.
39102         (ctan_test_tonearest): Likewise.
39103         (ctan_test_towardzero): Likewise.
39104         (ctan_test_downward): Likewise.
39105         (ctan_test_upward): Likewise.
39106         (ctanh_test): Likewise.
39107         (ctanh_test_tonearest): Likewise.
39108         (ctanh_test_towardzero): Likewise.
39109         (ctanh_test_downward): Likewise.
39110         (ctanh_test_upward): Likewise.
39111         (erf_test): Likewise.
39112         (erfc_test): Likewise.
39113         (exp_test): Likewise.
39114         (exp_test_tonearest): Likewise.
39115         (exp_test_towardzero): Likewise.
39116         (exp_test_downward): Likewise.
39117         (exp_test_upward): Likewise.
39118         (exp10_test): Likewise.
39119         (exp2_test): Likewise.
39120         (expm1_test): Likewise.
39121         (fmod_test): Likewise.
39122         (gamma_test): Likewise.
39123         (hypot_test): Likewise.
39124         (j0_test): Likewise.
39125         (j1_test): Likewise.
39126         (jn_test): Likewise.
39127         (lgamma_test): Likewise.
39128         (log_test): Likewise.
39129         (log10_test): Likewise.
39130         (log1p_test): Likewise.
39131         (log2_test): Likewise.
39132         (logb_test_downward): Likewise.
39133         (pow_test): Likewise.
39134         (pow_test_tonearest): Likewise.
39135         (pow_test_towardzero): Likewise.
39136         (pow_test_downward): Likewise.
39137         (pow_test_upward): Likewise.
39138         (remainder_test): Likewise.
39139         (remquo_test): Likewise.
39140         (sin_test): Likewise.
39141         (sin_test_tonearest): Likewise.
39142         (sin_test_towardzero): Likewise.
39143         (sin_test_downward): Likewise.
39144         (sin_test_upward): Likewise.
39145         (sincos_test): Likewise.
39146         (sinh_test): Likewise.
39147         (sinh_test_tonearest): Likewise.
39148         (sinh_test_towardzero): Likewise.
39149         (sinh_test_downward): Likewise.
39150         (sinh_test_upward): Likewise.
39151         (sqrt_test): Likewise.
39152         (tan_test): Likewise.
39153         (tan_test_tonearest): Likewise.
39154         (tan_test_towardzero): Likewise.
39155         (tan_test_downward): Likewise.
39156         (tan_test_upward): Likewise.
39157         (tanh_test): Likewise.
39158         (tgamma_test): Likewise.
39159         (y0_test): Likewise.
39160         (y1_test): Likewise.
39161         (yn_test): Likewise.
39163         * math/gen-libm-test.pl (adjust_arg): Remove function.
39164         (special_function): Remove argument $in_func.  Only handle
39165         generating output for tables of tests, not inside functions.
39166         (parse_args): Likewise.
39167         (generate_testfile): Remove variable $in_func.  Update call to
39168         parse_args.
39169         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39170         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39171         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39172         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39173         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39174         (MAX_VALUE_INIT): Rename macro to max_value.
39175         (MIN_VALUE_INIT): Rename macro to min_value.
39176         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
39177         (plus_zero): Remove variable.
39178         (minus_zero): Likewise.
39179         (plus_infty): Likewise.
39180         (minus_infty): Likewise.
39181         (qnan_value): Likewise.
39182         (max_value): Likewise.
39183         (min_value): Likewise.
39184         (min_subnorm_value): Likewise.
39186 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39188         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
39189         uint64_t or uint32_t usage.
39190         * crypt/sha256-block.c: Likewise.
39191         * crypt/sha256-crypt.c: Likewise.
39192         * crypt/sha256.c: Likewise.
39193         * crypt/sha512-block.c: Likewise.
39194         * crypt/sha512-crypt.c: Likewise.
39195         * crypt/sha512.c: Likewise.
39196         * debug/backtrace-tst.c: Likewise.
39197         * debug/pcprofiledump.c: Likewise.
39198         * elf/cache.c: Likewise.
39199         * elf/dl-cache.c: Likewise.
39200         * elf/dl-misc.c: Likewise.
39201         * elf/dl-profile.c: Likewise.
39202         * elf/dl-support.c: Likewise.
39203         * elf/ldconfig.c: Likewise.
39204         * elf/sprof.c: Likewise.
39205         * iconv/dummy-repertoire.c: Likewise.
39206         * iconv/iconv_charmap.c: Likewise.
39207         * iconv/skeleton.c: Likewise.
39208         * iconvdata/8bit-generic.c: Likewise.
39209         * iconvdata/cp737.h: Likewise.
39210         * iconvdata/cp775.h: Likewise.
39211         * iconvdata/ibm1008.h: Likewise.
39212         * iconvdata/ibm1025.h: Likewise.
39213         * iconvdata/ibm1046.h: Likewise.
39214         * iconvdata/ibm1097.h: Likewise.
39215         * iconvdata/ibm1112.h: Likewise.
39216         * iconvdata/ibm1122.h: Likewise.
39217         * iconvdata/ibm1123.h: Likewise.
39218         * iconvdata/ibm1124.h: Likewise.
39219         * iconvdata/ibm1129.h: Likewise.
39220         * iconvdata/ibm1130.h: Likewise.
39221         * iconvdata/ibm1132.h: Likewise.
39222         * iconvdata/ibm1133.h: Likewise.
39223         * iconvdata/ibm1137.h: Likewise.
39224         * iconvdata/ibm1140.h: Likewise.
39225         * iconvdata/ibm1141.h: Likewise.
39226         * iconvdata/ibm1142.h: Likewise.
39227         * iconvdata/ibm1143.h: Likewise.
39228         * iconvdata/ibm1144.h: Likewise.
39229         * iconvdata/ibm1145.h: Likewise.
39230         * iconvdata/ibm1146.h: Likewise.
39231         * iconvdata/ibm1147.h: Likewise.
39232         * iconvdata/ibm1148.h: Likewise.
39233         * iconvdata/ibm1149.h: Likewise.
39234         * iconvdata/ibm1153.h: Likewise.
39235         * iconvdata/ibm1154.h: Likewise.
39236         * iconvdata/ibm1155.h: Likewise.
39237         * iconvdata/ibm1156.h: Likewise.
39238         * iconvdata/ibm1157.h: Likewise.
39239         * iconvdata/ibm1158.h: Likewise.
39240         * iconvdata/ibm1160.h: Likewise.
39241         * iconvdata/ibm1161.h: Likewise.
39242         * iconvdata/ibm1162.h: Likewise.
39243         * iconvdata/ibm1163.h: Likewise.
39244         * iconvdata/ibm1164.h: Likewise.
39245         * iconvdata/ibm1166.h: Likewise.
39246         * iconvdata/ibm1167.h: Likewise.
39247         * iconvdata/ibm12712.h: Likewise.
39248         * iconvdata/ibm1390.h: Likewise.
39249         * iconvdata/ibm1399.h: Likewise.
39250         * iconvdata/ibm16804.h: Likewise.
39251         * iconvdata/ibm4517.h: Likewise.
39252         * iconvdata/ibm4899.h: Likewise.
39253         * iconvdata/ibm4909.h: Likewise.
39254         * iconvdata/ibm4971.h: Likewise.
39255         * iconvdata/ibm5347.h: Likewise.
39256         * iconvdata/ibm803.h: Likewise.
39257         * iconvdata/ibm856.h: Likewise.
39258         * iconvdata/ibm901.h: Likewise.
39259         * iconvdata/ibm902.h: Likewise.
39260         * iconvdata/ibm9030.h: Likewise.
39261         * iconvdata/ibm9066.h: Likewise.
39262         * iconvdata/ibm921.h: Likewise.
39263         * iconvdata/ibm922.h: Likewise.
39264         * iconvdata/ibm9448.h: Likewise.
39265         * iconvdata/isiri-3342.h: Likewise.
39266         * iconvdata/jis0201.h: Likewise.
39267         * include/link.h: Likewise.
39268         * include/netdb.h: Likewise.
39269         * inet/check_native.c: Likewise.
39270         * inet/check_pf.c: Likewise.
39271         * inet/getipv4sourcefilter.c: Likewise.
39272         * inet/getnameinfo.c: Likewise.
39273         * inet/getsourcefilter.c: Likewise.
39274         * inet/htonl.c: Likewise.
39275         * inet/setipv4sourcefilter.c: Likewise.
39276         * inet/setsourcefilter.c: Likewise.
39277         * inet/test-inet6_opt.c: Likewise.
39278         * inet/tst-network.c: Likewise.
39279         * locale/C-collate.c: Likewise.
39280         * locale/C-ctype.c: Likewise.
39281         * locale/C-time.c: Likewise.
39282         * locale/C-translit.h: Likewise.
39283         * locale/loadarchive.c: Likewise.
39284         * locale/programs/3level.h: Likewise.
39285         * locale/programs/charmap.c: Likewise.
39286         * locale/programs/charmap.h: Likewise.
39287         * locale/programs/ld-address.c: Likewise.
39288         * locale/programs/ld-collate.c: Likewise.
39289         * locale/programs/ld-ctype.c: Likewise.
39290         * locale/programs/ld-identification.c: Likewise.
39291         * locale/programs/ld-measurement.c: Likewise.
39292         * locale/programs/ld-messages.c: Likewise.
39293         * locale/programs/ld-monetary.c: Likewise.
39294         * locale/programs/ld-name.c: Likewise.
39295         * locale/programs/ld-numeric.c: Likewise.
39296         * locale/programs/ld-paper.c: Likewise.
39297         * locale/programs/ld-telephone.c: Likewise.
39298         * locale/programs/ld-time.c: Likewise.
39299         * locale/programs/linereader.c: Likewise.
39300         * locale/programs/locale.c: Likewise.
39301         * locale/programs/locarchive.c: Likewise.
39302         * locale/programs/locfile.h: Likewise.
39303         * locale/programs/repertoire.c: Likewise.
39304         * locale/programs/simple-hash.c: Likewise.
39305         * locale/programs/simple-hash.h: Likewise.
39306         * malloc/memusage.c: Likewise.
39307         * malloc/memusagestat.c: Likewise.
39308         * nis/nis_defaults.c: Likewise.
39309         * nis/nis_hash.c: Likewise.
39310         * nis/nis_print.c: Likewise.
39311         * nis/nis_xdr.c: Likewise.
39312         * nscd/connections.c: Likewise.
39313         * nscd/hstcache.c: Likewise.
39314         * nscd/nscd_gethst_r.c: Likewise.
39315         * nscd/nscd_getserv_r.c: Likewise.
39316         * nscd/nscd_helper.c: Likewise.
39317         * nscd/servicescache.c: Likewise.
39318         * nss/makedb.c: Likewise.
39319         * nss/nss_db/db-XXX.c: Likewise.
39320         * nss/nss_db/db-initgroups.c: Likewise.
39321         * nss/nss_db/db-netgrp.c: Likewise.
39322         * nss/nss_files/files-network.c: Likewise.
39323         * nss/nss_files/files-parse.c: Likewise.
39324         * posix/bug-regex5.c: Likewise.
39325         * posix/fnmatch_loop.c: Likewise.
39326         * posix/regcomp.c: Likewise.
39327         * posix/regexec.c: Likewise.
39328         * posix/tst-rfc3484-2.c: Likewise.
39329         * posix/tst-rfc3484-3.c: Likewise.
39330         * posix/tst-rfc3484.c: Likewise.
39331         * resolv/nss_dns/dns-canon.c: Likewise.
39332         * resolv/nss_dns/dns-network.c: Likewise.
39333         * resolv/res_init.c: Likewise.
39334         * resolv/res_mkquery.c: Likewise.
39335         * resolv/tst-aton.c: Likewise.
39336         * stdlib/cxa_atexit.c: Likewise.
39337         * stdlib/cxa_finalize.c: Likewise.
39338         * stdlib/gen-fpioconst.c: Likewise.
39339         * stdlib/strtol_l.c: Likewise.
39340         * string/tst-endian.c: Likewise.
39341         * sunrpc/auth_des.c: Likewise.
39342         * sunrpc/clnt_udp.c: Likewise.
39343         * sunrpc/rtime.c: Likewise.
39344         * sunrpc/svcauth_des.c: Likewise.
39345         * sunrpc/xdr.c: Likewise.
39346         * sunrpc/xdr_intXX_t.c: Likewise.
39347         * sunrpc/xdr_rec.c: Likewise.
39348         * sysdeps/generic/ldconfig.h: Likewise.
39349         * sysdeps/generic/ldsodefs.h: Likewise.
39350         * sysdeps/generic/memusage.h: Likewise.
39351         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39352         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
39353         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
39354         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39355         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39356         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39357         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39358         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39359         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39360         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39361         * sysdeps/posix/getaddrinfo.c: Likewise.
39362         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39363         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39364         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39365         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39366         * sysdeps/powerpc/test-gettimebase.c: Likewise.
39367         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
39368         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
39369         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
39370         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
39371         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
39372         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39373         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39374         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
39375         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
39376         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
39377         * sysdeps/x86_64/dl-tls.h: Likewise.
39378         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
39379         * time/alt_digit.c: Likewise.
39380         * time/era.c: Likewise.
39381         * wcsmbs/tst-c16c32-1.c: Likewise.
39383 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39385         * math/libm-test.inc (struct test_sincos_data): New type.
39386         (RUN_TEST_LOOP_sincos): New macro.
39387         (sincos_test_data): New variable.
39388         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
39390 2013-05-16  Richard Henderson  <rth@redhat.com>
39392         * math/atest-exp2.c (LIMB64): New macro.
39393         (CONSTSZ): New macro.
39394         (mp_exp1, mp_exp_m1, mp_log2): New variables.
39395         (hexdig): Move ...
39396         (print_mpn_fp): ... to function scope.
39397         (read_mpn_hex): Remove.
39398         (get_log2): Remove.
39399         (exp2_mpn): Use mp_log2.
39400         (main): Use mp_exp1.
39402 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39404         * math/libm-test.inc: Remove comment about not testing "inexact"
39405         exceptions.
39406         (INEXACT_EXCEPTION): New macro.
39407         (NO_INEXACT_EXCEPTION): Likewise.
39408         (INVALID_EXCEPTION_OK): Update value.
39409         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39410         (OVERFLOW_EXCEPTION_OK): Likewise.
39411         (UNDERFLOW_EXCEPTION_OK): Likewise.
39412         (IGNORE_ZERO_INF_SIGN): Likewise.
39413         (ERRNO_UNCHANGED): Likewise.
39414         (ERRNO_EDOM): Likewise.
39415         (ERRNO_ERANGE): Likewise.
39416         (test_exceptions): Handle testing "inexact" exceptions.
39417         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
39418         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
39419         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
39420         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39421         INEXACT_EXCEPTION.
39422         (rint_towardzero_test_data): Likewise.
39423         (rint_downward_test_data): Likewise.
39424         (rint_upward_test_data): Likewise.
39426         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
39427         with OVERFLOW_EXCEPTION.
39428         (exp10_test_data): Likewise.
39429         (exp2_test_data): Likewise.
39430         (expm1_test_data): Likewise.
39431         (lgamma_test_data): Likewise.
39432         (pow_test_data): Likewise.
39433         (tgamma_test_data): Likewise.
39434         (yn_test_data): Remove duplicate test of overflow.
39436         * math/libm-test.inc (struct test_cc_c_data): New type.
39437         (RUN_TEST_LOOP_cc_c): New macro.
39438         (cpow_test_data): New variable.
39439         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
39441         * math/libm-test.inc (struct test_f_L_data): New type.
39442         (RUN_TEST_LOOP_f_L): New macro.
39443         (llrint_test_data): New variable.
39444         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
39445         (llrint_tonearest_test_data): New variable.
39446         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
39447         (llrint_towardzero_test_data): New variable.
39448         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
39449         (llrint_downward_test_data): New variable.
39450         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
39451         (llrint_upward_test_data): New variable.
39452         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
39453         (llround_test_data): New variable.
39454         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
39456 2013-05-13  Peter Collingbourne  <pcc@google.com>
39458         * math/atest-exp2.c (get_log2): Remove const attribute.
39460 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39462         * math/libm-test.inc (struct test_f_l_data): New type.
39463         (RUN_TEST_LOOP_f_l): New macro.
39464         (lrint_test_data): New variable.
39465         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
39466         (lrint_tonearest_test_data): New variable.
39467         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
39468         (lrint_towardzero_test_data): New variable.
39469         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
39470         (lrint_downward_test_data): New variable.
39471         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
39472         (lrint_upward_test_data): New variable.
39473         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
39474         (lround_test_data): New variable.
39475         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
39477 2013-05-15  Peter Collingbourne  <pcc@google.com>
39479         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
39480         (EXTRACT_WORDS64) Use where appropriate.
39481         (INSERT_WORDS64) Likewise.
39483         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
39484         constraints with x constraints.
39485         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
39487         * malloc/obstack.c (_obstack_compat): Add initializer.
39489 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39491         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
39492         si_trapno and add si_addr_lsb to _sifields.sigfault.
39493         (si_trapno): Remove macro.
39494         (si_addr_lsb): Define new macro.
39495         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39497 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
39499         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
39500         instead of TEST_f_l.
39501         (llrint_test_tonearest): Likewise.
39502         (llrint_test_towardzero): Likewise.
39503         (llrint_test_downward): Likewise.
39504         (llrint_test_upward): Likewise.
39505         (llround_test): Likewise.
39507         * math/libm-test.inc (struct test_f_i_data): Add comment.
39508         (RUN_TEST_LOOP_f_b): New macro.
39509         (RUN_TEST_LOOP_f_b_tg): Likewise.
39510         (finite_test_data): New variable.
39511         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
39512         (isfinite_test_data): New variable.
39513         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39514         (isinf_test_data): New variable.
39515         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39516         (isnan_test_data): New variable.
39517         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39518         (isnormal_test_data): New variable.
39519         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39520         (issignaling_test_data): New variable.
39521         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39522         (signbit_test_data): New variable.
39523         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
39525         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
39526         with INVALID_EXCEPTION.
39527         (acosh_test_data): Likewise.
39528         (asin_test_data): Likewise.
39529         (atanh_test_data): Likewise.
39530         (fmod_test_data): Likewise.
39531         (log_test_data): Likewise.
39532         (log10_test_data): Likewise.
39533         (log2_test_data): Likewise.
39534         (pow_test_data): Likewise.
39535         (sqrt_test_data): Likewise.
39536         (y0_test_data): Likewise.
39537         (y1_test_data): Likewise.
39538         (yn_test_data): Likewise.
39540         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
39541         function contents.
39543         * math/libm-test.inc (struct test_ff_i_data): New type.
39544         (RUN_TEST_LOOP_ff_i_tg): New macro.
39545         (isgreater_test_data): New variable.
39546         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39547         (isgreaterequal_test_data): New variable.
39548         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39549         (isless_test_data): New variable.
39550         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39551         (islessequal_test_data): New variable.
39552         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39553         (islessgreater_test_data): New variable.
39554         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39555         (isunordered_test_data): New variable.
39556         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
39558 2013-05-14  David S. Miller  <davem@davemloft.net>
39560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39562 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
39564         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
39566         * math/libm-test.inc (struct test_fF_f1_data): Change type of
39567         extra_test to int.
39568         (struct test_f_i_data): Change type of max_ulp to int.
39570         * math/libm-test.inc (test_ffI_f1_data): New type.
39571         (RUN_TEST_LOOP_ffI_f1): New macro.
39572         (remquo_test_data): New variable.
39573         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
39575         * setjmp/tst-setjmp-fp.c: New file.
39576         * setjmp/Makefile (tests): Add tst-setjmp-fp.
39577         (link-libm): New variable.
39578         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
39580         * math/libm-test.inc (struct test_f_i_data): New type.
39581         (RUN_TEST_LOOP_f_i): New macro.
39582         (RUN_TEST_LOOP_f_i_tg): Likewise.
39583         (fpclassify_test_data): New variable.
39584         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
39585         (ilogb_test_data): New variable.
39586         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
39588         * math/libm-test.inc (scalbln_test): Correct function name in END
39589         call.
39591         * math/libm-test.inc (struct test_f_f1_data): Add comment.
39592         (RUN_TEST_LOOP_fI_f1): New macro.
39593         (frexp_test_data): New variable.
39594         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
39596         * math/libm-test.inc (struct test_fF_f1_data): New type.
39597         (RUN_TEST_LOOP_fF_f1): New macro.
39598         (modf_test_data): New variable.
39599         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
39601         * math/libm-test.inc (struct test_f_f1_data): New type.
39602         (RUN_TEST_LOOP_f_f1): New macro.
39603         (gamma_test_data): New variable.
39604         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39605         (lgamma_test_data): New variable.
39606         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
39608 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
39610         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
39611         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
39612         (main): Comment "tls" pseudo-hwcap.
39614 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
39616         * math/libm-test.inc (struct test_fl_f_data): New type.
39617         (RUN_TEST_LOOP_fl_f): New variable.
39618         (scalbln_test_data): New variable.
39619         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
39621         * math/libm-test.inc (struct test_fi_f_data): New type.
39622         (RUN_TEST_LOOP_fi_f): New macro.
39623         (ldexp_test_data): New variable.
39624         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
39625         (scalbn_test_data): New variable.
39626         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
39628         * math/libm-test.inc (struct test_c_f_data): New type.
39629         (RUN_TEST_LOOP_c_f): New macro.
39630         (cabs_test_data): New variable.
39631         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
39632         (carg_test_data): New variable.
39633         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
39634         (cimag_test_data): New variable.
39635         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
39636         (creal_test_data): New variable.
39637         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
39639         * math/libm-test.inc (struct test_if_f_data): New type.
39640         (RUN_TEST_LOOP_if_f): New macro.
39641         (jn_test_data): New variable.
39642         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
39643         (yn_test_data): New variable.
39644         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
39646         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
39648 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39650         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
39651         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
39653 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39655         * benchtests/Makefile (CPPFLAGS-nonlib): Add
39656         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
39657         (bench-deps): Add bench-timing.h.
39658         * benchtests-bench-skeleton.c: Include bench-timing.h.
39659         (main): Use TIMING_* macros instead of clock_gettime.
39660         * benchtests/bench-timing.h: New file.
39662         [BZ #14582]
39663         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
39664         Renamed from _LIB_VERSION.
39665         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
39667 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
39669         * math/libm-test.inc (struct test_fff_f_data): New type.
39670         (RUN_TEST_LOOP_fff_f): New macro.
39671         (fma_test_data): New variable.
39672         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
39673         (fma_towardzero_test_data): New variable.
39674         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
39675         (fma_downward_test_data): New variable.
39676         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
39677         (fma_upward_test_data): New variable.
39678         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
39680         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
39681         (struct test_c_c_data): New type.
39682         (RUN_TEST_LOOP_c_c): New macro.
39683         (cacos_test_data): New variable.
39684         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
39685         (cacosh_test_data): New variable.
39686         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
39687         (casin_test_data): New variable.
39688         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
39689         (casinh_test_data): New variable.
39690         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
39691         (catan_test_data): New variable.
39692         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
39693         (catanh_test_data): New variable.
39694         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
39695         (ccos_test_data): New variable.
39696         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
39697         (ccosh_test_data): New variable.
39698         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
39699         (cexp_test_data): New variable.
39700         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
39701         (clog_test_data): New variable.
39702         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
39703         (clog10_test_data): New variable.
39704         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
39705         (conj_test_data): New variable.
39706         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
39707         (cproj_test_data): New variable.
39708         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
39709         (csin_test_data): New variable.
39710         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
39711         (csinh_test_data): New variable.
39712         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
39713         (csqrt_test_data): New variable.
39714         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
39715         (ctan_test_data): New variable.
39716         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
39717         (ctan_tonearest_test_data): New variable.
39718         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39719         (ctan_towardzero_test_data): New variable.
39720         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39721         (ctan_downward_test_data): New variable.
39722         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39723         (ctan_upward_test_data): New variable.
39724         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39725         (ctanh_test_data): New variable.
39726         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
39727         (ctanh_tonearest_test_data): New variable.
39728         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
39729         (ctanh_towardzero_test_data): New variable.
39730         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
39731         (ctanh_downward_test_data): New variable.
39732         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
39733         (ctanh_upward_test_data): New variable.
39734         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
39735         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
39736         of BUILD_COMPLEX.
39738         * math/libm-test.inc (struct test_ff_f_data): New type.
39739         (struct test_ff_f_data_nexttoward): Likewise.
39740         (RUN_TEST_LOOP_2_f): New macro.
39741         (RUN_TEST_LOOP_ff_f): Likewise.
39742         (atan2_test_data): New variable.
39743         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
39744         (copysign_test_data): New variable.
39745         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
39746         (fdim_test_data): New variable.
39747         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
39748         (fmax_test_data): New variable.
39749         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
39750         (fmin_test_data): New variable.
39751         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
39752         (fmod_test_data): New variable.
39753         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
39754         (hypot_test_data): New variable.
39755         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
39756         (nextafter_test_data): New variable.
39757         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
39758         (nexttoward_test_data): New variable.
39759         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
39760         (pow_test_data): New variable.
39761         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
39762         (pow_tonearest_test_data): New variable.
39763         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
39764         (pow_towardzero_test_data): New variable.
39765         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
39766         (pow_downward_test_data): New variable.
39767         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
39768         (pow_upward_test_data): New variable.
39769         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
39770         (remainder_test_data): New variable.
39771         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
39772         (scalb_test_data): New variable.
39773         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
39774         * sysdeps/i386/fpu/libm-test-ulps: Update.
39776 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
39778         * math/libm-test.inc (fma_test): Use max_value instead of local
39779         variable fltmax.
39780         (nextafter_test): Likewise.
39782         * math/libm-test.inc (acos_towardzero_test_data): New variable.
39783         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39784         (acos_downward_test_data): New variable.
39785         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39786         (acos_upward_test_data): New variable.
39787         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39788         (acosh_test_data): New variable.
39789         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
39790         (asin_test_data): New variable.
39791         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
39792         (asin_tonearest_test_data): New variable.
39793         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39794         (asin_towardzero_test_data): New variable.
39795         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39796         (asin_downward_test_data): New variable.
39797         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39798         (asin_upward_test_data): New variable.
39799         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39800         (asinh_test_data): New variable.
39801         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
39802         (atan_test_data): New variable.
39803         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
39804         (atanh_test_data): New variable.
39805         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
39806         (cbrt_test_data): New variable.
39807         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
39808         (ceil_test_data): New variable.
39809         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
39810         (cos_test_data): New variable.
39811         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
39812         (cos_tonearest_test_data): New variable.
39813         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39814         (cos_towardzero_test_data): New variable.
39815         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39816         (cos_downward_test_data): New variable.
39817         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39818         (cos_upward_test_data): New variable.
39819         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39820         (cosh_test_data): New variable.
39821         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
39822         (cosh_tonearest_test_data): New variable.
39823         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39824         (cosh_towardzero_test_data): New variable.
39825         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39826         (cosh_downward_test_data): New variable.
39827         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39828         (cosh_upward_test_data): New variable.
39829         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39830         (erf_test_data): New variable.
39831         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
39832         (erfc_test_data): New variable.
39833         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
39834         (exp_test_data): New variable.
39835         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
39836         (exp_tonearest_test_data): New variable.
39837         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39838         (exp_towardzero_test_data): New variable.
39839         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39840         (exp_downward_test_data): New variable.
39841         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39842         (exp_upward_test_data): New variable.
39843         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39844         (exp10_test_data): New variable.
39845         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
39846         (exp2_test_data): New variable.
39847         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
39848         (expm1_test_data): New variable.
39849         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
39850         (fabs_test_data): New variable.
39851         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
39852         (floor_test_data): New variable.
39853         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
39854         (j0_test_data): New variable.
39855         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
39856         (j1_test_data): New variable.
39857         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
39858         (log_test_data): New variable.
39859         (log_test): Run tests with RUN_TEST_LOOP_f_f.
39860         (log10_test_data): New variable.
39861         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
39862         (log1p_test_data): New variable.
39863         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
39864         (log2_test_data): New variable.
39865         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
39866         (logb_test_data): New variable.
39867         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
39868         (logb_downward_test_data): New variable.
39869         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39870         (nearbyint_test_data): New variable.
39871         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
39872         (rint_test_data): New variable.
39873         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
39874         (rint_tonearest_test_data): New variable.
39875         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39876         (rint_towardzero_test_data): New variable.
39877         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39878         (rint_downward_test_data): New variable.
39879         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39880         (rint_upward_test_data): New variable.
39881         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39882         (round_test_data): New variable.
39883         (round_test): Run tests with RUN_TEST_LOOP_f_f.
39884         (sin_test_data): New variable.
39885         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
39886         (sin_tonearest_test_data): New variable.
39887         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39888         (sin_towardzero_test_data): New variable.
39889         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39890         (sin_downward_test_data): New variable.
39891         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39892         (sin_upward_test_data): New variable.
39893         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39894         (sinh_test_data): New variable.
39895         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
39896         (sinh_tonearest_test_data): New variable.
39897         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39898         (sinh_towardzero_test_data): New variable.
39899         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39900         (sinh_downward_test_data): New variable.
39901         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39902         (sinh_upward_test_data): New variable.
39903         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39904         (sqrt_test_data): New variable.
39905         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
39906         (tan_test_data): New variable.
39907         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
39908         (tan_tonearest_test_data): New variable.
39909         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39910         (tan_towardzero_test_data): New variable.
39911         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
39912         (tan_downward_test_data): New variable.
39913         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
39914         (tan_upward_test_data): New variable.
39915         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
39916         (tanh_test_data): New variable.
39917         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
39918         (tgamma_test_data): New variable.
39919         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
39920         (trunc_test_data): New variable.
39921         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
39922         (y0_test_data): New variable.
39923         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
39924         (y1_test_data): New variable.
39925         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
39926         (significand_test_data): New variable.
39927         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
39929 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
39931         [BZ #12387]
39932         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
39934 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39936         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
39938 2013-05-10  Andreas Jaeger  <aj@suse.de>
39940         [BZ #15448]
39941         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
39942         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
39944 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
39946         * math/gen-libm-test.pl (adjust_arg): New function.
39947         (special_functions): Handle generating output in both functions
39948         and arrays.
39949         (parse_args): Likewise.
39950         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
39951         $in_func argument to parse_args.
39952         * math/libm-test.inc (struct test_f_f_data): New type.
39953         (IF_ROUND_INIT_): New macro.
39954         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
39955         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39956         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39957         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39958         (ROUND_RESTORE_): Likewise.
39959         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
39960         (ROUND_RESTORE_FE_TONEAREST): Likewise.
39961         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
39962         (ROUND_RESTORE_FE_UPWARD): Likewise.
39963         (RUN_TEST_LOOP_f_f): New macro.
39964         (acos_test_data): New variable.
39965         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
39966         (acos_tonearest_test_data): New variable.
39967         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39969 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39971         * benchtests/bench-skeleton.c (startup): Fix coding style.
39973 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
39975         [BZ #6809]
39976         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
39977         negative infinity argument.
39978         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
39979         negative infinity argument.
39980         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
39981         negative infinity argument.
39982         * math/libm-test.inc (tgamma_test): Expect errno to be set for
39983         domain errors.
39985 2013-05-10  Florian Weimer  <fweimer@redhat.com>
39987         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
39988         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
39989         * iconv/iconv_prog.c (main): Likewise.
39990         * locale/programs/charmap-dir.c (charmap_readdir)
39991         (fopen_uncompressed): Likewise.
39992         * locale/programs/locfile.c (siblings_uncached)
39993         (write_locale_data): Use lstat64 instead of lstat.
39994         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
39995         stat.
39997 2013-05-10  Andreas Jaeger  <aj@suse.de>
39999         [BZ #15395]
40000         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40001         localization.
40002         Include <locale.h>.
40004 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40006         * elf/dl-close.c (_dl_close_worker): Add comments.
40008 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40010         [BZ #15359]
40011         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40012         high part of pi/2.
40013         (__ieee754_rem_pio2l): Update comments.
40015         [BZ #15429]
40016         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40017         high part of pi/2.
40018         (__ieee754_rem_pio2l): Update comments.
40020         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40021         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40023         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40024         M_PI_4l.
40026         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40027         (M_PI_34_LOG10El): Likewise.
40028         (M_PI2_LOG10El): Likewise.
40029         (M_PI4_LOG10El): Likewise.
40030         (M_PI_LOG10El): Likewise.
40032 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40036 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40038         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40039         (MINUS_ZERO_INIT): Likewise.
40040         (PLUS_INFTY_INIT): Likewise.
40041         (MINUS_INFTY_INIT): Likewise.
40042         (QNAN_VALUE_INIT): Likewise.
40043         (MAX_VALUE_INIT): Likewise.
40044         (MIN_VALUE_INIT): Likewise.
40045         (MIN_SUBNORM_VALUE_INIT): Likewise.
40046         (plus_zero): Initialize with PLUS_ZERO_INIT.
40047         (minus_zero): Initialize with MINUS_ZERO_INIT.
40048         (plus_infty): Initialize with PLUS_INFTY_INIT.
40049         (minus_infty): Initialize with MINUS_INFTY_INIT.
40050         (qnan_value): Initialize with QNAN_VALUE_INIT.
40051         (max_value): Initialize with MAX_VALUE_INIT.
40052         (min_value): Initialize with MIN_VALUE_INIT.
40053         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40055         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40056         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40057         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40058         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40060         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40061         (RUN_TEST_2_f): Likewise.
40062         (RUN_TEST_ff_f): Likewise.
40063         (RUN_TEST_fi_f): Likewise.
40064         (RUN_TEST_fl_f): Likewise.
40065         (RUN_TEST_fff_f): Likewise.
40066         (RUN_TEST_c_f): Likewise.
40067         (RUN_TEST_f_f1): Likewise.
40068         (RUN_TEST_fF_f1): Likewise.
40069         (RUN_TEST_fI_f1): Likewise.
40070         (RUN_TEST_ffI_f1): Likewise.
40071         (RUN_TEST_c_c): Likewise.
40072         (RUN_TEST_cc_c): Likewise.
40073         (RUN_TEST_f_i): Likewise.
40074         (RUN_TEST_f_i_tg): Likewise.
40075         (RUN_TEST_ff_i_tg): Likewise.
40076         (RUN_TEST_f_b): Likewise.
40077         (RUN_TEST_f_b_tg): Likewise.
40078         (RUN_TEST_f_l): Likewise.
40079         (RUN_TEST_f_L): Likewise.
40080         (RUN_TEST_sincos): Likewise.
40081         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40082         whether to show exceptions.  Do not include ");\n" in return
40083         value.
40084         (special_functions): Output call to RUN_TEST_sincos instead of
40085         check_float calls.  Update calls to new_test.
40086         (parse_args): Output call to single RUN_TEST_* macro instead of
40087         check_* calls and other assignments.  Update calls to new_test.
40089         [BZ #2546]
40090         [BZ #2560]
40091         [BZ #5159]
40092         [BZ #15426]
40093         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40094         input to result for tgamma overflow.
40095         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40096         (gamma_coeff): New variable.
40097         (NCOEFF): New macro.
40098         (gamma_positive): New function.
40099         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40100         underflow here.  Use gamma_positive instead of exp (lgamma) for
40101         other arguments.
40102         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40103         (gamma_coeff): New variable.
40104         (NCOEFF): New macro.
40105         (gammaf_positive): New function.
40106         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40107         underflow here.  Use gamma_positive instead of exp (lgamma) for
40108         other arguments.
40109         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40110         (gamma_coeff): New variable.
40111         (NCOEFF): New macro.
40112         (gammal_positive): New function.
40113         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40114         underflow here.  Use gamma_positive instead of exp (lgamma) for
40115         other arguments.
40116         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40117         (gamma_coeff): New variable.
40118         (NCOEFF): New macro.
40119         (gammal_positive): New function.
40120         (__ieee754_gammal_r): Handle positive infinity, overflow and
40121         underflow here.  Handle NaN the same as positive infinity.  Remove
40122         check x < 0xffffffff for negative integers.  Use gamma_positive
40123         instead of exp (lgamma) for other arguments.
40124         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40125         (gamma_coeff): New variable.
40126         (NCOEFF): New macro.
40127         (gammal_positive): New function.
40128         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40129         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40130         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40131         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40132         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40133         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40134         * sysdeps/generic/math_private.h (__gamma_productf): New
40135         prototype.
40136         (__gamma_product): Likewise.
40137         (__gamma_productl): Likewise.
40138         * math/Makefile (libm-calls): Add gamma_product.
40139         * math/libm-test.inc (tgamma_test): Add more tests.
40140         * sysdeps/i386/fpu/libm-test-ulps: Update.
40141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40143 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40145         * benchtests/bench-skeleton.c (main): Preheat CPU.
40147 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40149         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40151 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40153         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40154         and _dl_skip_args_internal.
40156 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40158         * manual/message.texi (Message Translation): Talk about users.
40159         Message to key mapping impacts design.
40161 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40163         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40165         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40167         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40168         * sysdeps/wordsize-64/glob64.c: ... here.
40170         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40171         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40172         New macros.
40174         * debug/getlogin_r_chk.c: Moved to ...
40175         * login/getlogin_r_chk.c: ... here.
40176         * debug/Makefile (routines): Move getlogin_r_chk to ...
40177         * login/Makefile (routines): ... here.
40178         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
40179         * login/Versions (libc: GLIBC_2.4): ... here.
40181         * io/poll.c (__poll): Renamed from poll.
40182         Add libc_hidden_def.
40183         (poll): Define as weak alias.
40185         * debug/ptsname_r_chk.c: Moved to ...
40186         * login/ptsname_r_chk.c: ... here.
40187         * debug/Makefile (routines): Move ptsname_r_chk to ...
40188         * login/Makefile (routines): ... here.
40189         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40190         * login/Versions (libc: GLIBC_2.4): ... here.
40192         * posix/getlogin.c: Moved to ...
40193         * login/getlogin.c: ... here.
40194         * posix/getlogin_r.c: Moved to ...
40195         * login/getlogin_r.c: ... here.
40196         * posix/getlogin_r.c: Moved to ...
40197         * login/getlogin_r.c: ... here.
40198         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
40199         * login/Makefile (routines): ... here.
40200         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
40201         * login/Versions (libc: GLIBC_2.0): ... here.
40203         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40204         (setrlimit): Define as weak alias.
40206         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
40207         Call __ names for open, ftruncate, and close.
40208         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
40209         (truncate): Define as weak alias.
40211 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
40213         * math/gen-libm-test.pl (parse_args): Initialize x before each
40214         test of frexp, modf and remquo.
40216         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
40217         test signgam value.
40219 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40221         [BZ #15418]
40222         [BZ #15419]
40223         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
40224         internal tests.
40225         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40227 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40229         * elf/dl-writev.h: New file.
40230         * elf/dl-misc.c: Include it.
40231         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
40232         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
40234 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
40236         * math/libm-test.inc (noXFails): Remove variable.
40237         (noXPasses): Likewise.
40238         (BUILD_COMPLEX_INT): Remove macro.
40239         (print_screen): Remove xfail argument.
40240         (print_screen_max_error): Likewise.
40241         (update_stats): Likewise.
40242         (print_max_error): Likewise.  Update calls to other affected
40243         functions.
40244         (print_complex_max_error): Likewise.
40245         (test_single_exception): Update calls to print_screen.
40246         (test_single_errno): Likewise.
40247         (check_float_internal): Remove xfail argument.  Update calls to
40248         other affected functions.
40249         (check_float): Likewise.
40250         (check_complex): Likewise.
40251         (check_int): Likewise.
40252         (check_long): Likewise.
40253         (check_bool): Likewise.
40254         (check_longlong): Likewise.
40255         (main): Don't print noXFails and noXPasses.
40256         * math/gen-libm-test.pl (top level): Don't mention expected
40257         failure handling in comment.
40258         (new_test): Don't handle expected failures.
40259         (parse_args): Don't mention expected failure handling in comment.
40260         (generate_testfile): Don't handle expected failures.
40261         (parse_ulps): Likewise.
40262         (print_ulps_file): Likewise.
40263         (get_failure): Remove function.
40264         (output_test): Don't handle expected failures.
40265         * make/README.libm-test: Don't mention expected failure handling.
40267         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
40268         (minus_zero): Likewise.
40269         (plus_infty): Likewise.
40270         (minus_infty): Likewise.
40271         (qnan_value): Likewise.
40272         (max_value): Likewise.
40273         (min_value): Likewise.
40274         (min_subnorm_value): Likewise.
40275         (initialize): Do not initialize those variables dynamically.
40277 2013-05-03  Roland McGrath  <roland@hack.frob.com>
40279         * io/open.c (__open_2): Moved to ...
40280         * io/open_2.c: ... this new file.
40281         * io/open64.c (__open64_2): Moved to ...
40282         * io/open64_2.c: ... this new file.
40283         * io/openat.c (__openat_2): Moved to ...
40284         * io/openat_2.c: ... this new file.
40285         * io/openat64.c (__openat64_2): Moved to ...
40286         * io/openat64_2.c: ... this new file.
40287         * io/Makefile (routines): Add them.
40288         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
40289         * sysdeps/unix/sysv/linux/open_2.c: File removed.
40290         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
40291         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
40292         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
40293         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
40294         (__openat64): Add hidden_ver.
40295         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
40296         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
40298         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
40299         Separately conditionalize setting of GLRO(dl_sysinfo) so
40300         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
40301         as well, but the actual setting is only under [NEED_DL_SYSINFO].
40303 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40305         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
40306         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
40307         definition.
40308         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
40309         * sysdeps/unix/sysv/linux/powerpc/init-first.c
40310         (_libc_vdso_platform_setup): Add __vdso_time initialization.
40311         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
40312         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
40314 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
40316         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
40317         test signgam value.
40319         * math/libm-test.inc (hypot_test): Do not use
40320         IGNORE_ZERO_INF_SIGN.
40322 2013-05-03  Andreas Jaeger  <aj@suse.de>
40324         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
40325         Linux 3.9.
40326         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
40327         (PF_MAX): Adjust for VSOCK change.
40329 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40333 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
40335         [BZ #15264]
40336         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
40337         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
40338         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
40340 2013-05-02  David S. Miller  <davem@davemloft.net>
40342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40344 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
40346         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
40348 2013-05-01  Roland McGrath  <roland@hack.frob.com>
40350         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
40352 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
40354         [BZ #14952]
40355         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
40356         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40357         Use __attribute__ ((__gnu_inline__)).
40358         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
40359         Don't use __attribute__ ((__gnu_inline__)).
40361 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
40363         [BZ #15423]
40364         * math/s_catan.c (__catan): Handle small real or imaginary part of
40365         input specially to avoid spurious underflow.
40366         * math/s_catanf.c (__catanf): Likewise.
40367         * math/s_catanh.c (__catanh): Likewise.
40368         * math/s_catanhf.c (__catanhf): Likewise.
40369         * math/s_catanhl.c (__catanhl): Likewise.
40370         * math/s_catanl.c (__catanl): Likewise.
40371         * math/libm-test.inc (catan_test): Add more tests.
40372         (catanh_test): Likewise.
40373         * sysdeps/i386/fpu/libm-test-ulps: Update.
40374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40376 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40380 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
40382         [BZ #15416]
40383         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
40384         accurately for denominator in atan2.
40385         * math/s_catanf.c (__catanf): Likewise.
40386         * math/s_catanh.c (__catanh): Likewise.
40387         * math/s_catanhf.c (__catanhf): Likewise.
40388         * math/s_catanhl.c (__catanhl): Likewise.
40389         * math/s_catanl.c (__catanl): Likewise.
40390         * math/libm-test.inc (catan_test): Add more tests.
40391         (catanh_test): Likewise.
40392         * sysdeps/i386/fpu/libm-test-ulps: Update.
40393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40395 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40397         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
40399         * benchtests/Makefile (bench): Remove slow benchmarks.
40400         * benchtests/atan-inputs: Add slow benchmark inputs.
40401         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
40402         (BENCH_FUNC): Accept variant offset.
40403         (VARIANT): Define.
40404         * benchtests/bench-skeleton.c (main): Run benchmark for each
40405         variant.
40406         * benchtests/cos-inputs: Add slow benchmark inputs.
40407         * benchtests/exp-inputs: Likewise.
40408         * benchtests/pow-inputs: Likewise.
40409         * benchtests/sin-inputs: Likewise.
40410         * benchtests/slowatan-inputs: Remove.
40411         * benchtests/slowatan.c: Remove.
40412         * benchtests/slowcos-inputs: Remove.
40413         * benchtests/slowcos.c: Remove.
40414         * benchtests/slowexp-inputs: Remove.
40415         * benchtests/slowexp.c: Remove.
40416         * benchtests/slowpow-inputs: Remove.
40417         * benchtests/slowpow.c: Remove.
40418         * benchtests/slowsin-inputs: Remove.
40419         * benchtests/slowsin.c: Remove.
40420         * benchtests/slowtan-inputs: Remove.
40421         * benchtests/slowtan.c: Remove.
40422         * benchtests/tan-inputs: Add slow benchmark inputs.
40423         * scripts/bench.pl: Parse comments and directives.
40425         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
40426         in CPPFLAGS.
40427         ($(objpfx)bench-%.c): Remove *-ITER.
40428         * benchtests/bench-modf.c: Remove definition of ITER.
40429         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
40430         (main): Loop for DURATION seconds instead of fixed number of
40431         iterations.
40432         * scripts/bench.pl: Don't expect iterations in parameters.
40434 2013-04-29  Roland McGrath  <roland@hack.frob.com>
40436         * io/fchdir.c (__fchdir): Renamed from fchdir.
40437         (fchdir): Define as weak alias.
40439 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40441         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
40442         (ERRNO_EDOM): Likewise.
40443         (ERRNO_ERANGE): Likewise.
40444         (noErrnoTests): New variable.
40445         (init_max_error): Set errno to 0.
40446         (test_single_errno): New function.
40447         (test_errno): Likewise.
40448         (check_float_internal): Call test_errno.  Set errno to 0.
40449         (check_complex): Refer to errno tests in comment.
40450         (check_int): Call test_errno.  Set errno to 0.
40451         (check_long): Likewise.
40452         (check_bool): Likewise.
40453         (check_longlong): Likewise.
40454         (cos_test): Use ERRNO_* flags for errno tests instead of
40455         check_int.
40456         (expm1_test): Likewise.
40457         (fmod_test): Likewise.
40458         (ilogb_test): Likewise.
40459         (lgamma_test): Likewise.
40460         (pow_test): Likewise.
40461         (remainder_test): Likewise.
40462         (sin_test): Likewise.
40463         (tan_test): Likewise.
40464         (yn_test): Likewise.
40465         (initialize): Set errno to 0.
40466         (main): Print number of errno tests.
40467         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
40469 2013-04-29  Andreas Jaeger  <aj@suse.de>
40471         [BZ #15084]
40472         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
40473         and RES_USEVC.
40475         [BZ #15085]
40476         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
40477         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
40478         unimplemented.
40480         [BZ #15380]
40481         * stdlib/random.c (__initstate): Return NULL if
40482         __initstate fails.
40484         [BZ #15086]
40485         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
40486         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
40487         RES_SNGLKUPREOP.
40489 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40493 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
40495         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
40496         of individual tests.
40497         (casin_test): Likewise.
40498         (casinh_test): Likewise.
40500 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
40502         [BZ #15409]
40503         * math/s_catan.c (__catan): Handle arguments with large real or
40504         imaginary part separately without squaring.
40505         * math/s_catanf.c (__catanf): Likewise.
40506         * math/s_catanh.c (__catanh): Likewise.
40507         * math/s_catanhf.c (__catanhf): Likewise.
40508         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40509         and redefine.
40510         (__catanhl): Handle arguments with large real or imaginary part
40511         separately without squaring.
40512         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40513         and redefine.
40514         (__catanl): Handle arguments with large real or imaginary part
40515         separately without squaring.
40516         * math/libm-test.inc (catan_test): Add more tests.
40517         (catanh_test): Likewise.
40518         * sysdeps/i386/fpu/libm-test-ulps: Update.
40519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40521 2013-04-27  Andreas Jaeger  <aj@suse.de>
40523         [BZ #15007]
40524         * stdlib/stdlib.h: Update guards for qecvt.
40525         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
40526         <stdlib.h>.
40528 2013-04-27  Allan McRae  <allan@archlinux.org>
40530         * sysdeps/i386/fpu/libm-test-ulps: Update.
40532 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
40534         [BZ #15406]
40535         * math/s_catan.c: Include <float.h>.
40536         (__catan): Ensure underflow exception occurs for underflowed
40537         result.
40538         * math/s_catanf.c: Include <float.h>.
40539         (__catanf): Ensure underflow exception occurs for underflowed
40540         result.
40541         * math/s_catanh.c: Include <float.h>.
40542         (__catanh): Ensure underflow exception occurs for underflowed
40543         result.
40544         * math/s_catanhf.c: Include <float.h>.
40545         (__catanhf): Ensure underflow exception occurs for underflowed
40546         result.
40547         * math/s_catanhl.c: Include <float.h>.
40548         (__catanhl): Ensure underflow exception occurs for underflowed
40549         result.
40550         * math/s_catanl.c: Include <float.h>.
40551         (__catanl): Ensure underflow exception occurs for underflowed
40552         result.
40553         * math/libm-test.inc (catan_test): Add more tests.
40554         (catanh_test): Likewise.
40556         [BZ #15405]
40557         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
40558         underflowed result.
40559         * math/s_ccoshf.c (__ccoshf): Likewise.
40560         * math/s_ccoshl.c (__ccoshl): Likewise.
40561         * math/s_csin.c (__csin): Likewise.
40562         * math/s_csinf.c (__csinf): Likewise.
40563         * math/s_csinh.c (__csinh): Likewise.
40564         * math/s_csinhf.c (__csinhf): Likewise.
40565         * math/s_csinhl.c (__csinhl): Likewise.
40566         * math/s_csinl.c (__csinl): Likewise.
40567         * math/libm-test.inc (ccos_test): Add more tests.
40568         (ccosh_test): Likewise.
40569         (csin_test): Likewise.
40570         (csinh_test): Likewise.
40572 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40574         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
40575         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
40576         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
40577         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
40578         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
40579         powerpc/power5+/fpu folders.
40580         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
40583 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
40585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40587 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
40589         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
40590         additions to variable.
40591         [$(config-machine) = x86_64] (modules-names): Likewise.
40592         ($(objpfx)tst-audit3): Remove dependency.
40593         ($(objpfx)tst-audit3.out): Likewise.
40594         ($(objpfx)tst-audit4): Likewise.
40595         ($(objpfx)tst-audit4.out): Likewise.
40596         ($(objpfx)tst-audit5): Likewise.
40597         ($(objpfx)tst-audit5.out): Likewise.
40598         ($(objpfx)tst-audit6): Likewise.
40599         ($(objpfx)tst-audit6.out): Likewise.
40600         ($(objpfx)tst-audit7): Likewise.
40601         ($(objpfx)tst-audit7.out): Likewise.
40602         (tst-audit3-ENV): Remove variable.
40603         (tst-audit4-ENV): Likewise.
40604         (tst-audit5-ENV): Likewise.
40605         (tst-audit6-ENV): Likewise.
40606         (tst-audit7-ENV): Likewise.
40607         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
40608         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
40609         addition to variable.
40610         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
40611         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
40612         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
40613         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
40614         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
40615         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
40616         tst-audit3, tst-audit4 and tst-audit5.
40617         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
40618         tst-audit6 and tst-audit7.
40619         [$(subdir) = elf] (modules-names): Add audit modules for those
40620         tests.
40621         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
40622         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
40623         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
40624         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
40625         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
40626         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
40627         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
40628         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
40629         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
40630         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
40631         [$(subdir) = elf] (tst-audit3-ENV): New variable.
40632         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
40633         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
40634         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
40635         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
40636         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
40637         Likewise.
40638         [$(subdir) = elf && $(config-cflags-avx) = yes]
40639         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
40640         [$(subdir) = elf && $(config-cflags-avx) = yes]
40641         (CFLAGS-tst-auditmod4a.c): Likewise.
40642         [$(subdir) = elf && $(config-cflags-avx) = yes]
40643         (CFLAGS-tst-auditmod4b.c): Likewise.
40644         [$(subdir) = elf && $(config-cflags-avx) = yes]
40645         (CFLAGS-tst-auditmod6b.c): Likewise.
40646         [$(subdir) = elf && $(config-cflags-avx) = yes]
40647         (CFLAGS-tst-auditmod6c.c): Likewise.
40648         [$(subdir) = elf && $(config-cflags-avx) = yes]
40649         (CFLAGS-tst-auditmod7b.c): Likewise.
40650         * elf/tst-audit3.c: Move to ...
40651         * sysdeps/x86_64/tst-audit3.c: ... here.
40652         * elf/tst-audit4.c: Move to ...
40653         * sysdeps/x86_64/tst-audit4.c: ... here.
40654         * elf/tst-audit5.c: Move to ...
40655         * sysdeps/x86_64/tst-audit5.c: ... here.
40656         * elf/tst-audit6.c: Move to ...
40657         * sysdeps/x86_64/tst-audit6.c: ... here.
40658         * elf/tst-audit7.c: Move to ...
40659         * sysdeps/x86_64/tst-audit7.c: ... here.
40660         * elf/tst-auditmod3a.c: Move to ...
40661         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
40662         * elf/tst-auditmod3b.c: Move to ...
40663         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
40664         * elf/tst-auditmod4a.c: Move to ...
40665         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
40666         * elf/tst-auditmod4b.c: Move to ...
40667         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
40668         * elf/tst-auditmod5a.c: Move to ...
40669         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
40670         * elf/tst-auditmod5b.c: Move to ...
40671         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
40672         * elf/tst-auditmod6a.c: Move to ...
40673         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
40674         * elf/tst-auditmod6b.c: Move to ...
40675         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
40676         * elf/tst-auditmod6c.c: Move to ...
40677         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
40678         * elf/tst-auditmod7a.c: Move to ...
40679         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
40680         * elf/tst-auditmod7b.c: Move to ...
40681         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
40683 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
40685         [BZ #15366]
40686         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
40687         define unconditionally.
40688         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
40689         define unconditionally.
40690         (INT8_C, INT16_C, etc.): Likewise.
40692 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
40694         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
40695         __ehdr_start with hidden visibility.
40697         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
40699 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
40701         * math/libm-test.inc (cos_test): Use accurate hex constants.
40702         (sincost_test): Likewise.
40704 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
40706         * math/libm-test.inc (catan_test): Add more tests.
40707         (catanh_test): Likewise.
40709         * math/s_catanf.c (__catanf): Use suffixed floating-point
40710         constants.
40711         * math/s_catanhf.c (__catanhf): Likewise.
40712         * math/s_catanhl.c (__catanhl): Likewise.
40713         * math/s_catanl.c (__catanl): Likewise.
40715         [BZ #15394]
40716         * math/s_catan.c (__catan): Calculate imaginary part of result
40717         with log1p not log unless computing log of number close to 0.
40718         * math/s_catanf.c (__catanf): Likewise.
40719         * math/s_catanl.c (__catanl): Likewise.
40720         * math/s_catanh.c (__catanh): Calculate real part of result with
40721         log1p not log unless computing log of number close to 0.
40722         * math/s_catanhf.c (__catanhf): Likewise.
40723         * math/s_catanhl.c (__catanhl): Likewise.
40724         * math/libm-test.inc (catan_test): Add more tests.
40725         (catanh_test): Likewise.
40726         * sysdeps/i386/fpu/libm-test-ulps: Update.
40727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40729 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40731         * benchtests/Makefile: Mention files in which fast and slow
40732         paths of math functions are implemented.
40734 2013-04-23  Roland McGrath  <roland@hack.frob.com>
40736         * sysdeps/posix/timespec_get.c: New file.
40738 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40740         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
40741         POWER.
40742         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
40743         for POWER.
40744         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
40745         powerpc/power5/fpu folders.
40746         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
40747         * benchtests/Makefile: Add modf testcase.
40748         * benchtests/bench-modf.c: New file: Benchmark test for mo
40750 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40752         [BZ #14888]
40753         * time/Makefile (tests): Add tst-strptime-whitespace.
40754         * time/strptime_l.c (get_number): Use ISSPACE.
40755         (__strptime_internal): Likewise.
40756         * time/tst-strptime-whitespace.c: New test case.
40758 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
40760         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
40761         member.
40762         (_nss_files_init): Set it here.
40764 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
40766         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
40767         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
40768         unsigned.
40770 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
40772         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
40774 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40776         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
40777         size just once.
40779 2013-04-21  David S. Miller  <davem@davemloft.net>
40781         * po/ru.po: Update Russion translation from translation project.
40783 2013-04-17  Adam Conrad  <adconrad@0c3.net>
40785         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
40786         and setfsgid.
40788 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
40790         * configure.in: Remove i386 configure warning. Remove i386 case.
40791         * configure: Regenerate.
40792         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
40793         Add example to error message.
40794         * sysdeps/i386/configure: Regenerate.
40796 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40798         * benchtests/Makefile (bench): Add cos, tan, slowcos and
40799         slowtan.
40800         * benchtests/cos-inputs: New file.
40801         * benchtests/slowcos-inputs: New file.
40802         * benchtests/slowcos.c: New file.
40803         * benchtests/slowtan-inputs: New file.
40804         * benchtests/slowtan.c: New file.
40805         * benchtests/tan-inputs: New file.
40807 2013-04-16  Roland McGrath  <roland@hack.frob.com>
40809         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
40810         considered kosher.
40812 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40814         * benchtests/Makefile: Include cppflags-iterator.mk to add
40815         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
40817         * Makefile.in (bench-clean): New target.
40818         * benchtests/Makefile (bench-clean): Likewise.
40820 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
40822         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
40824 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
40826         * stdio-common/tstdiomisc.c: Fix coding-style violation.
40828 2013-04-15  Andreas Schwab  <schwab@suse.de>
40830         * nscd/grpcache.c (cache_addgr): Properly check for short write.
40831         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40832         * nscd/pwdcache.c (cache_addpw): Likewise.
40833         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
40834         more than recsize.
40836 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40838         * benchtests/Makefile (bench): Write all output to
40839         bench-out.tmp together.
40841 2013-04-15  Andreas Schwab  <schwab@suse.de>
40843         * nscd/nscd.c (main): Don't fork again after closing files.
40845 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40847         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
40849         * benchtests/Rules (bench-deps): Collect dependencies into a
40850         single variable.  Add Makefile to dependencies.
40851         ($(objpfx)bench-%.c): Depend on bench-deps.
40853 2013-04-12  Roland McGrath  <roland@hack.frob.com>
40854             Xavier Roche  <roche+kml2@exalead.com>
40856         [BZ #15361]
40857         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
40858         just that it's a file descriptor.
40859         * manual/llio.texi (Synchronizing AIO Operations): Update description
40860         for EBADF error from aio_fsync.
40862 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40864         * Rules (bench): Move target definition...
40865         * benchtests/Makefile: ... here.
40867 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
40869         * math/libm-test.inc (cos_test): Fix PI/2 test.
40870         (sincos_test): Likewise.
40871         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40872         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
40874 2013-04-11  Andreas Schwab  <schwab@suse.de>
40876         [BZ #13988]
40877         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
40878         accept exponent character only when digits were seen.
40879         * stdio-common/Makefile (tests): Add bug26.
40880         * stdio-common/bug26.c: New file.
40882         [BZ #14293]
40883         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
40884         non-freeable.
40886 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40888         * Makeconfig (rtld-prefix): Define built linker prefix.
40889         * Rules (run-bench): Use it.
40890         * math/Makefile (run-regen-ulps): Likewise.
40892         * Rules (bench): Remove eval.
40894 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40895             Roland McGrath  <roland@hack.frob.com>
40896             Ondrej Bilka  <neleai@seznam.cz>
40898         [BZ #15346]
40899         * time/getdate.c: Include ctype.h and alloca.h.
40900         (__getdate_r): Trim leading and trailing spaces of input.
40901         * time/tst-getdate.c (tests): Add tests with leading and
40902         trailing spaces.
40904 2013-04-08  Roland McGrath  <roland@hack.frob.com>
40906         [BZ #14280]
40907         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
40908         when computing value.
40910 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40912         * math/README.libm-test (How can I generate "libm-test-ulps"?):
40913         Use testrun.sh to run libm tests.
40915         [BZ #15309]
40916         * elf/dl-open.c (dl_open_worker): memset all of seen array.
40918 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
40920         [BZ #15264]
40921         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
40923 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40925         * Makefile.in (regen-ulps): New target.
40926         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
40927         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
40928         [ifneq (no,$(PERL)] (regen-ulps): New target.
40929         [ifeq (no,$(PERL)] (regen-ulps): New target.
40930         * math/libm-test.inc (ulps_file_name): Define.
40931         (output_dir): New variable.
40932         (options): Add "output-dir" option.
40933         (parse_opt): Handle 'o' case.
40934         (main): If output_dir is non-NULL use it as a prefix
40935         otherwise use "".
40936         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
40938 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40940         [BZ #10060, #10062]
40941         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
40942         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
40943         fail configure if __sync_val_compare_and_swap is not inlined.
40944         * sysdeps/i386/configure: Regenerate.
40945         * configure.in: Build for i686 when configured for i386.
40946         * configure: Regenerate.
40947         * README: Remove i386 reference.
40949 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
40951         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
40952         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40954 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40956         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
40957         (lmsnanval): New variables.
40958         (F): Add conversion tests.
40959         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
40960         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
40962         * stdio-common/tstdiomisc.c (F): Properly collect individual
40963         tests' results.
40965         [BZ #14686, #15336]
40966         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
40967         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
40968         Instead, use input NaN values or generate a qNaN by arithmetic
40969         operation.  Also fix bugs to comply with the standard.
40970         * math/libm-test.inc (remainder_test): Add more tests.
40972         [BZ #15335, #15342]
40973         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
40974         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
40975         input NaN values or generate a qNaN by arithmetic operation.
40977         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
40978         unreachable code.
40980         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
40981         definitions.
40983 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
40985         [BZ #14478]
40986         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
40987         underflowed result.
40988         * math/s_cexpf.c (__cexpf): Likewise.
40989         * math/s_cexpl.c (__cexpl): Likewise.
40990         * math/libm-test.inc (cexp_test): Add more tests.
40992 2013-04-03  Andreas Schwab  <schwab@suse.de>
40994         [BZ #15330]
40995         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
40996         order arrays from heap if bigger than alloca cutoff.
40998 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41000         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41001         (SNAN_TESTS_double): Refer to GCC PR56831.
41002         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41003         GCC PR56828.
41005 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41007         * Rules (bench): Move bench.out after the run is complete.
41009         * Rules (bench): Echo currently running benchmark.
41011         * benchtests/Makefile (bench): Add atan and slowatan.
41012         * benchtests/atan-inputs: New file.
41013         * benchtests/slowatan-inputs: New file.
41014         * benchtests/slowatan.c: New file.
41016         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41017         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41018         its value.
41020         [BZ #15305]
41021         * sysdeps/unix/sysv/linux/kernel-features.h
41022         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41023         __ASSUME_XFS_RESTRICTED_CHOWN.
41024         * sysdeps/unix/sysv/linux/pathconf.c
41025         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41026         Save and restore errno.
41028 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41030         [BZ #15327]
41031         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41032         arguments using __kernel_casinh.
41033         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41034         arguments using __kernel_casinhf.
41035         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41036         arguments using __kernel_casinhl.
41037         * math/libm-test.inc (cacosh_test): Add more tests.
41038         * sysdeps/i386/fpu/libm-test-ulps: Update.
41039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41041 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41043         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41046         * bench/Makefile (bench): Add sin and slowsin.
41047         * benchtests/sin-inputs: New file.
41048         * benchtests/slowsin-inputs: New file.
41049         * benchtests/slowsin.c: New file.
41051         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41052         (bench): Add slowexp and slowpow.
41053         (exp-ITER): Increase iterations.
41054         (pow-ITER): Likewise.
41055         * benchtests/exp-inputs: Change input.
41056         * benchtests/pow-inputs: Likewise.
41057         * benchtests/slowexp-inputs: New file.
41058         * benchtests/slowexp.c: New file.
41059         * benchtests/slowpow-inputs: New file.
41060         * benchtests/slowpow.c: New file.
41062 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41064         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41065         instructions.
41066         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41067         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41068         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41069         * benchtests/Makefile: Add rint benchtest.
41070         * benchtests/rint-inputs: Input for rint benchtest.
41072 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41074         * Versions.def (libm): Add GLIBC_2.18.
41075         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41076         hidden libm prototypes.
41077         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41078         * math/Makefile (libm-calls): Add s_issignaling.
41079         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41080         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41081         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41082         declaration.
41083         * math/math.h [__USE_GNU] (issignaling): New macro.
41084         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41085         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41086         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41087         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41089         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41090         * manual/arith.texi (issignaling): New section.
41091         * manual/libm-err-tab.pl (@all_functions): Update comment.
41092         * math/gen-libm-test.pl (parse_args): Apply special handling for
41093         issignaling.
41094         * math/libm-test.inc (print_float, issignaling_test): New
41095         functions.
41096         (check_float_internal): Add issignaling checks.
41097         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41098         default definition.
41099         * sysdeps/powerpc/math-tests.h: New file.
41100         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41101         tests.
41102         * math/test-snan.c (TEST_FUNC): Likewise.
41104 2013-03-30  David S. Miller  <davem@davemloft.net>
41106         * po/de.po: Update from translation team.
41108 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41110         [BZ #10357]
41111         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41112         imaginary part less than 1.0 and real part less than 0.5
41113         specially.
41114         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41115         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41116         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41117         (cacos_test): Add more tests.
41118         (casin_test): Likewise.
41119         (casinh_test): Likewise.
41120         * sysdeps/i386/fpu/libm-test-ulps: Update.
41121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41123 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41125         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41126         ONE with its value.
41128         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41129         (__pow_mp): Replace ONE and MONE with their values.
41130         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41131         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41132         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41133         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41134         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41135         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41137         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41139         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41140         (__pow_mp): Replace ZERO and MZERO with their values.
41141         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41142         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41143         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41144         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41145         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41146         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41147         (__sqr): Likewise.
41149         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41151         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41153 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41155         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41156         Declare with __attribute__ ((weak)).
41157         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41158         Call __call_tls_dtors only if it's not NULL.
41160 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41162         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41163         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41164         magic __ehdr_start linker symbol if it's defined.
41165         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41166         them up here if it was already done.
41168         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41169         (_dl_aux_init): Use const in cast when setting it.
41170         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41171         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41172         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41174         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41175         Declare them here.
41176         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
41177         * csu/libc-tls.c: Nor here.
41178         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
41180         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
41181         (__libc_message): Never call vsyslog.
41183 2013-03-28  Alan Modra  <amodra@gmail.com>
41185         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
41186         Define as empty.
41187         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
41188         Likewise.
41190 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41192         [BZ #15214]
41193         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
41194         underflow.
41195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41197 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41199         [BZ #15304]
41200         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41201         Don't add gid passed as argument.
41203         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
41205 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
41207         [BZ #15307]
41208         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41209         imaginary part between 1.0 and 1.5 and real part less than 0.5
41210         specially.
41211         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41212         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41213         * math/libm-test.inc (cacos_test): Add more tests.
41214         (casin_test): Likewise.
41215         (casinh_test): Likewise.
41216         * sysdeps/i386/fpu/libm-test-ulps: Update.
41217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41219 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41221         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
41222         constants.
41223         (norm): Likewise.
41224         (denorm): Likewise.
41225         (__dbl_mp): Likewise.
41226         (add_magnitudes): Likewise.
41227         (sub_magnitudes): Likewise.
41228         (__add): Likewise.
41229         (__sub): Likewise.
41230         (__mul): Likewise.
41231         (__sqr): Likewise.
41232         (__inv): Likewise.
41233         (__dvd): Likewise.
41235         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
41236         commented code.
41237         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
41238         (__dubcos): Likewise.
41239         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
41240         (__ieee754_acos): Likewise.
41241         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41242         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
41243         (__exp1): Likewise.
41244         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41245         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41246         (log1): Likewise.
41247         (my_log2): Likewise.
41248         (checkint): Likewise.
41249         * sysdeps/ieee754/dbl-64/e_remainder.c
41250         (__ieee754_remainder): Likewise.
41251         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41252         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
41253         (bsloww): Likewise.
41254         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41256         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41257         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
41258         MANTISSA_STORE_T to store computations on mantissa.  Use
41259         macros for rounding and division.
41260         (denorm): Likewise.
41261         (__dbl_mp): Likewise.
41262         (add_magnitudes): Likewise.
41263         (sub_magnitudes): Likewise.
41264         (__mul): Likewise.
41265         (__sqr): Likewise.
41266         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41267         powers of two in terms of TWOPOW macro.
41268         (mp_no): Make type of mantissa as MANTISSA_T.
41269         [!RADIXI]: Define RADIXI.
41270         [!TWO52]: Define TWO52.
41271         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41273 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41275         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
41276         llroundl symbol when building for PPC32.
41278 2013-03-24  Mark H Weaver  <mhw@netris.org>
41280         * manual/arith.texi (Normalization Functions): Fix prototypes for
41281         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
41283 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41285         [BZ #13889]
41286         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
41287         high value to check if expl overflow.
41288         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
41289         to check for underflow and overflow.
41290         * math/libm-test.inc: Add exp test.
41292 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
41294         [BZ #11120]
41295         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
41296         with NOT_IN_libc.
41298 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41300         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
41301         symbol.
41303 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41305         * math/gen-libm-test.pl (parse_args, special_functions): Properly
41306         wrap blocks consisting of several statements.
41308         * sysdeps/generic/math-tests.h: New file.
41309         * sysdeps/i386/fpu/math-tests.h: Likewise.
41310         * math/test-snan.c: Include it.
41311         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
41313 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41315         [BZ #15285]
41316         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
41317         (__ieee754_j0l): Do not improve calculations using cos of twice
41318         input for inputs above LDBL_MAX / 2.0L.
41319         (__ieee754_y0l): Likewise.
41320         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
41321         (__ieee754_j1l): Do not improve calculations using cos of twice
41322         input for inputs above LDBL_MAX / 2.0L.
41323         (__ieee754_y1l): Likewise.
41324         * math/libm-test.inc (j0_test): Add another test.
41325         (j1_test): Likewise.
41326         (y0_test): Likewise.
41327         (y1_test): Likewise.
41328         * sysdeps/i386/fpu/libm-test-ulps: Update.
41330 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41332         * Rules ($(objpfx)bench-%.c): Include code from a C source
41333         file.
41335 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
41337         [BZ #15287]
41338         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41339         imaginary part 1.0 and real part less than 0.5 specially.
41340         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41341         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41342         * math/libm-test.inc (cacos_test): Add more tests.
41343         (casin_test): Likewise.
41344         (casinh_test): Likewise.
41345         * sysdeps/i386/fpu/libm-test-ulps: Update.
41346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41348 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41350         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
41351         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
41353 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
41355         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
41356         * config.make.in (config-cflags-sse4): Remove variable.
41357         (config-cflags-avx): Likewise.
41358         (config-cflags-sse2avx): Likewise.
41359         (config-cflags-novzeroupper): Likewise.
41360         (config-asflags-i686): Likewise.
41361         (have-mfma4): Likewise.
41362         (have-as-vis3): Likewise.
41363         (MIG): Likewise.
41364         * configure.in (MIG): Do not AC_SUBST.
41365         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
41366         (libc_cv_cc_sse4): Do not AC_SUBST.
41367         (libc_cv_cc_avx): Likewise.
41368         (libc_cv_cc_sse2avx): Likewise.
41369         (libc_cv_cc_novzeroupper): Likewise.
41370         (libc_cv_cc_fma4): Likewise.
41371         (libc_cv_as_i686): Likewise.
41372         (libc_cv_sparc_as_vis3): Likewise.
41373         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
41374         LIBC_CONFIG_VAR.
41375         (config-asflags-i686): Likewise.
41376         (config-cflags-avx): Likewise.
41377         (config-cflags-sse2avx): Likewise.
41378         (have-mfma4): Likewise.
41379         (config-cflags-novzeroupper): Likewise.
41380         * sysdeps/mach/configure.in (MIG): Likewise.
41381         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
41382         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
41383         LIBC_CONFIG_VAR.
41384         (config-cflags-avx): Likewise.
41385         (config-cflags-sse2avx): Likewise.
41386         (have-mfma4): Likewise.
41387         (config-cflags-novzeroupper): Likewise.
41388         * configure: Regenerated.
41389         * sysdeps/i386/configure: Likewise.
41390         * sysdeps/mach/configure: Likewise.
41391         * sysdeps/sparc/configure: Likewise.
41392         * sysdeps/x86_64/configure: Likewise.
41394 2013-03-20  Roland McGrath  <roland@hack.frob.com>
41396         [BZ #14812]
41397         * locale/programs/localedef.c (options): Put N_ translation marker
41398         on argument names, not just descriptions.
41400 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41402         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
41404 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
41406         [BZ #14176]
41407         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
41409 2013-03-19  Roland McGrath  <roland@hack.frob.com>
41411         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
41412         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
41413         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
41414         [!BEFORE_ABORT] (before_abort): New function.
41415         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
41416         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
41417         (writev_for_fatal): New function.
41418         (WRITEV_FOR_FATAL): New macro; call that.
41419         (backtrace_and_maps): New function.
41420         (BEFORE_ABORT): New macro; call that.
41421         (struct str_list): Type removed.
41422         (__libc_message, __libc_fatal): Functions removed.
41423         Include <sysdeps/posix/libc_fatal.c> instead.
41425 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
41427         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
41428         constants.
41429         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
41430         double constants.
41432 2013-03-19  Andreas Schwab  <schwab@suse.de>
41434         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
41435         * sysdeps/gnu/configure: Regenerate.
41437         * configure.in: Substitute libc_cv_rtlddir.
41438         * configure: Regenerate.
41439         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
41440         * Makeconfig (rtlddir, inst_rtlddir): New variables.
41441         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
41442         * elf/Makefile (install-others, CFLAGS-interp.c)
41443         (ldso_install, common-ldd-rewrite): Likewise.
41444         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
41445         $(inst_slibdir)/$(rtld-installed-name).
41446         * scripts/rellns-sh: Add -p option.
41447         * Makerules (make-shlib-link): Use rellns-sh to get relative name
41448         for source.
41450 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41452         * manual/nptl.texi: Renamed to ...
41453         * manual/threads.texi: ... this.
41454         * manual/Makefile (chapters): Update.
41456 2013-03-18  Roland McGrath  <roland@hack.frob.com>
41458         [BZ #14812]
41459         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
41460         on argument names, not just descriptions.
41461         * malloc/memusagestat.c (options): Likewise.
41462         * nss/getent.c (options): Likewise.
41464 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
41466         [BZ #14812]
41467         * iconv/iconv_prog.c (options): Put N_ translation marker
41468         on argument names, not just descriptions.
41469         * iconv/iconvconfig.c (options): Likewise.
41471 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
41473         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
41474         implementation which is faster on all x86_64 architectures.
41475         Tested on AMD, Intel Nehalem, SNB, IVB.
41476         * sysdeps/x86_64/strnlen.S: Likewise.
41478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41479         Remove all multiarch strlen and strnlen versions.
41480         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41481         Remove strlen and strnlen related parts.
41483         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
41484         Inline strlen part.
41485         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41487         * sysdeps/x86_64/multiarch/strlen.S: Remove.
41488         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
41489         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
41490         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
41491         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41492         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
41494 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
41496         * manual/memory.texi (Malloc Tunable Parameters):
41497         Sort parameters alphabetically. Add comments for missing entries.
41499 2013-03-17  David S. Miller  <davem@davemloft.net>
41501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41503 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
41505         [BZ #15283]
41506         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
41507         for arguments at most half maximum finite value.
41508         * math/libm-test.inc (j0_test): Add more tests.
41509         (j1_test): Likewise.
41510         (y0_test): Likewise.
41511         (y1_test): Likewise.
41512         * sysdeps/i386/fpu/libm-test-ulps: Update.
41513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41515         [BZ #14155]
41516         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
41517         1 / x and functions P and Q for arguments above 0x1p256L.
41518         (__ieee754_y0l): Likewise.
41519         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
41520         (__ieee754_y1l): Likewise.
41521         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
41522         (j1_test): Likewise.
41523         (y0_test): Likewise.
41524         (y1_test): Likewise.
41526 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
41528         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
41529         variable.
41531 2013-03-15  Roland McGrath  <roland@hack.frob.com>
41533         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
41534         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
41535         zero since it's initialized to EXEC_PAGESIZE.
41537         * sysdeps/unix/sysv/linux/ldsodefs.h
41538         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
41539         * sysdeps/generic/ldsodefs.h: ... here.
41541 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
41543         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
41545         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
41546         math/test-snan.c.
41547         * math/test-snan.c: Renamed from
41548         sysdeps/powerpc/fpu/test-powerpc-snan.c.
41549         * math/Makefile (tests): Add test-snan.
41550         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
41551         test-powerpc-snan.
41553         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
41554         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
41555         functions.
41556         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
41557         __builtin_nan family of functions.
41558         * math/libm-test.inc (initialize): Initialize qnan_value with
41559         __builtin_nan family of functions.
41560         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
41561         Remove variables.
41562         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
41563         Remove functions.
41564         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
41565         storage class.  Initialize qNaN_var and sNaN_var with
41566         __builtin_nan and __builtin_nans families of functions,
41567         respectively.
41569         * math/libm-test.inc (acosh_test): Also test with qNaN input.
41570         (sqrt_test): Remove duplicate test with qNaN input.
41571         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
41572         (round_test, signbit_test, significand_test): Note missing +/-Inf
41573         as well as qNaN tests.
41575         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
41576         qNaN_var.  Fix a few strings, too.
41577         * math/libm-test.inc (nan_value): Rename to qnan_value.
41578         * math/gen-libm-test.pl (%beautify): Adjust to that.
41579         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
41580         * math/test-misc.c (main): Likewise.
41581         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
41582         to __qnan_bytes, and __qnan_union, respectively.
41583         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
41584         Likewise.
41585         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
41586         and lqnanval, respectively.
41587         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
41588         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
41589         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
41590         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
41592         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
41593         * math/test-misc.c (main) [__x86_64__]: Enable test for long
41594         doubles.
41596         * math/test-misc.c (main): Fix copy'n'pastos.
41597         * misc/tst-efgcvt.c (special): Likewise.
41599         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
41600         Remove declarations.
41602 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41604         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
41605         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
41606         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
41607         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
41609 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41611         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
41612         macro to return vdso values correctly in IFUNC implementations.
41613         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41614         Optimization by using IFUNC.
41616 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41617             Richard Henderson  <rth@redhat.com>
41618             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41620         * Makefile.in (bench): New target.
41621         * NEWS: Mention the benchmark framework.
41622         * Rules (bench): Likewise.
41623         (binaries-bench): Generate binaries for functions to
41624         benchmark.
41625         * benchtests/Makefile: New makefile for benchmark tests.
41626         * benchtests/bench-skeleton.c: New skeleton file for benchmark
41627         programs.
41628         * benchtests/exp-inputs: New input file for EXP function.
41629         * benchtests/pow-inputs: New input file for POW function.
41630         * scripts/bench.pl: New script to generate source files for
41631         benchmark programs.
41633 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41635         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
41636         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
41637         computations on mantissa.  Use macros for rounding and
41638         division.
41639         (denorm): Likewise.
41640         (__dbl_mp): Likewise.
41641         (add_magnitudes): Likewise.
41642         (sub_magnitudes): Likewise.
41643         (__mul): Likewise.
41644         (__sqr): Likewise.
41645         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
41646         powers of two in terms of TWOPOW macro.
41647         (mp_no): Make type of mantissa as MANTISSA_T.
41648         [!RADIXI]: Define RADIXI.
41649         [!TWO52]: Define TWO52.
41650         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
41652         * manual/nptl.texi (cindex): Modify threads to pthreads.
41654 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
41656         * sysdeps/x86_64/preconfigure: Regenerated.
41658 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
41660         [BZ #14155]
41661         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
41662         0x1p28 and above.
41663         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
41664         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
41665         0x1p28 and above.
41666         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
41667         * math/libm-test.inc (j0_test): Do not allow one spurious
41668         underflow exception.
41669         (y1_test): Likewise.
41671 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41673         * manual/Makefile (chapters): Add nptl.
41674         * manual/debug.texi (Debugging Support): Add link to Threads
41675         chapter.
41676         * manual/nptl.texi: New file.
41678         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
41680 2013-03-14  Petr Baudis  <pasky@ucw.cz>
41682         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
41683         for non-NULL pointer before the memory validity test. Pointed
41684         out by Holger Brunck <holger.brunck@keymile.com>.
41686 2013-03-13  Andreas Schwab  <schwab@suse.de>
41688         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
41689         instead of .os.
41691 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
41693         * timezone/zic.c: Update from tzcode 2013b.
41695 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
41697         * manual/install.texi (Configuring and compiling):
41698         Mention i686 and i586.
41699         * INSTALL: Regenerate.
41701 2013-03-12  Roland McGrath  <roland@hack.frob.com>
41703         * sysdeps/init_array/elf-init.c: New file.
41704         * csu/elf-init.c
41705         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
41706         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
41708         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
41709         __gmon_start__ as global, but as static with a .preinit_array pointer.
41710         * sysdeps/init_array/gmon-start.c: New file.  Use that.
41711         * sysdeps/init_array/crti.S: New file, empty except for comments.
41712         * sysdeps/init_array/crtn.S: Likewise.
41714 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
41716         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
41717         definining bcopy.
41718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41719         Remove Prefer_SSE_for_memop.
41720         * sysdeps/x86_64/multiarch/init-arch.h: Remove
41721         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
41722         HAS_PREFER_SSE_FOR_MEMOP.
41723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
41724         memset-x86-64.
41725         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41726         Remove bzero, memset ifunc support.
41727         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
41728         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
41729         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41730         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41732 2013-03-11  Andreas Schwab  <schwab@suse.de>
41734         [BZ #15234]
41735         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
41736         by SHLIB_COMPAT.
41737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
41738         (GLIBC_2.16): Remove pthread_atfork.
41740 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
41742         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
41743         (ptestcases.h): Likewise.
41745 2013-03-08  Roland McGrath  <roland@hack.frob.com>
41747         * Makeconfig ($(common-objpfx)config.status): Depend on
41748         sysdeps/*/preconfigure{,.in} too.
41750 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
41752         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
41753         (__free_hook): Use void * instead of __malloc_ptr_t.
41754         (__malloc_hook): Likewise.
41755         (__realloc_hook): Likewise.
41756         (__memalign_hook): Likewise.
41757         (__after_morecore_hook): Likewise.
41758         * malloc/arena.c (save_malloc_hook): Likewise.
41759         (save_free_hook): Likewise.
41760         * malloc/hooks.c (malloc_hook_ini): Likewise.
41761         (realloc_hook_ini): Likewise.
41762         (memalign_hook_ini): Likewise.
41763         * malloc/malloc.c (malloc_hook_ini): Likewise.
41764         (realloc_hook_ini): Likewise.
41765         (memalign_hook_ini): Likewise.
41766         (__free_hook): Likewise.
41767         (__malloc_hook): Likewise.
41768         (__realloc_hook): Likewise.
41769         (__memalign_hook): Likewise.
41770         (__libc_malloc): Likewise.
41771         (__libc_free): Likewise.
41772         (__libc_realloc): Likewise.
41773         (__libc_memalign): Likewise.
41774         (__libc_valloc): Likewise.
41775         (__libc_pvalloc): Likewise.
41776         (__libc_calloc): Likewise.
41777         (__posix_memalign): Likewise.
41778         * malloc/morecore.c (__sbrk): Likewise.
41779         (__default_morecore): Likewise.
41781         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
41783         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
41784         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
41785         __malloc_ptrdiff_t.
41787         * malloc/malloc.h (__malloc_size_t): Remove macro.
41788         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
41789         __malloc_size_t.
41790         (old_memalign_hook): Likewise.
41791         (old_realloc_hook): Likewise.
41792         (struct hdr): Likewise.
41793         (flood): Likewise.
41794         (mallochook): Likewise.
41795         (memalignhook): Likewise.
41796         (reallochook): Likewise.
41797         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
41798         (tr_old_realloc_hook): Likewise.
41799         (tr_old_memalign_hook): Likewise.
41800         (tr_mallochook): Likewise.
41801         (tr_reallochook): Likewise.
41802         (tr_memalignhook): Likewise.
41804 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41806         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
41807         default_ldbl_pack and using as default implementation.
41808         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
41809         implementation.
41810         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
41811         redundant definition.
41812         (ldbl_insert_mantissa): Likewise.
41813         (ldbl_canonicalize): Likewise.
41814         (ldbl_nearbyint): Likewise.
41815         (ldbl_pack): Rename to ldbl_pack_ppc.
41816         (ldbl_unpack): Rename to ldbl_unpack_ppc.
41817         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
41818         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
41820 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
41823         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
41824         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
41825         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
41826         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
41827         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
41828         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
41829         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
41831 2013-03-07  Andreas Jaeger  <aj@suse.de>
41833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41834         bits/mman-linux.h.
41836 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41838         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
41839         Include mpa.h and declare __MPEXP.
41840         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
41841         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41842         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41843         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
41844         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41845         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
41846         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
41848         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
41849         (__slowpow): Use long double EXPL and LOGL functions to
41850         compute POW.
41851         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
41852         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41853         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
41854         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
41855         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
41856         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
41858         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
41859         intermediate variable to calculate exponent.
41860         (__sqr): Likewise.
41861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
41862         Likewise.
41863         (__sqr): Likewise.
41865         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
41866         [!NO__SQR]: Define __sqr.
41867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
41868         and NO__SQR.  Remove all code except __mul and __sqr.  Include
41869         sysdeps/ieee754/dbl-64/mpa.c.
41870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41872         [BZ #12723]
41873         * posix/Makefile (tests): Add tst-pathconf.
41874         * posix/tst-pathconf.c: New test case.
41875         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
41876         _PC_PIPE_BUF.
41877         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
41879 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
41881         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
41883 2013-03-06  Andreas Jaeger  <aj@suse.de>
41885         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
41886         definition via __MAP_ANONYMOUS.
41888         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
41889         it's not part of Linux headers.
41891         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
41892         (MAP_HUGE_MASK): Define.
41894         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41895         Define.
41896         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41897         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41898         Define.
41899         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41900         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
41901         Define.
41902         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41903         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
41904         Define.
41905         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
41907         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
41908         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
41909         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
41910         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
41911         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
41912         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
41914         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41915         Handle f2fs.
41917         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41918         Handle f2fs and efivarfs.
41920         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
41921         f2fs.
41923         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
41924         (EFIVARFS_MAGIC): Add.
41925         (F2FS_LINK_MAX): Add.
41927 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41929         * stdio-common/vfprintf.c: Replace __builtin_expect with
41930         __glibc_unlikely.
41932 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
41934         [BZ #13550]
41935         * sysdeps/generic/bp-sym.h: Remove file.
41936         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
41937         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
41938         <bp-sym.h> and <bp-asm.h>.
41939         (__longjmp): Don't use BP_SYM.
41940         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
41941         and <bp-asm.h>.
41942         (memcpy): Don't use BP_SYM.
41943         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
41944         <bp-sym.h> and <bp-asm.h>.
41945         (memcpy): Don't use BP_SYM.
41946         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
41947         <bp-asm.h>.
41948         (memcpy): Don't use BP_SYM.
41949         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
41950         <bp-asm.h>.
41951         (memset): Don't use BP_SYM.
41952         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41953         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41954         (__bzero): Don't use BP_SYM.
41955         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41956         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41957         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
41958         <bp-sym.h> and <bp-asm.h>.
41959         (memcmp): Don't use BP_SYM.  Remove comment about bounded
41960         pointers.
41961         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
41962         <bp-sym.h> and <bp-asm.h>.
41963         (memcpy): Don't use BP_SYM.
41964         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
41965         <bp-sym.h> and <bp-asm.h>.
41966         (memset): Don't use BP_SYM.
41967         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41968         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41969         (__bzero): Don't use BP_SYM.
41970         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41971         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41972         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
41973         <bp-sym.h> and <bp-asm.h>.
41974         (strncmp): Don't use BP_SYM.  Remove comment about bounded
41975         pointers.
41976         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
41977         <bp-sym.h> and <bp-asm.h>.
41978         (memcpy): Don't use BP_SYM.
41979         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
41980         <bp-sym.h> and <bp-asm.h>.
41981         (memset): Don't use BP_SYM.
41982         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
41983         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
41984         (__bzero): Don't use BP_SYM.
41985         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
41986         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
41987         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
41988         <bp-sym.h> and <bp-asm.h>.
41989         (__memchr): Don't use BP_SYM.
41990         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
41991         <bp-sym.h> and <bp-asm.h>.
41992         (memcmp): Don't use BP_SYM.  Remove comment about bounded
41993         pointers.
41994         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
41995         <bp-sym.h> and <bp-asm.h>.
41996         (memcpy): Don't use BP_SYM.
41997         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
41998         <bp-sym.h> and <bp-asm.h>.
41999         (__mempcpy): Don't use BP_SYM.
42000         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42001         <bp-sym.h> and <bp-asm.h>.
42002         (__memrchr): Don't use BP_SYM.
42003         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42004         <bp-sym.h> and <bp-asm.h>.
42005         (memset): Don't use BP_SYM.
42006         (__bzero): Likewise.
42007         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42008         <bp-sym.h> and <bp-asm.h>.
42009         (__rawmemchr): Don't use BP_SYM.
42010         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42011         <bp-sym.h> and <bp-asm.h>.
42012         (__STRCMP): Don't use BP_SYM.
42013         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42014         <bp-sym.h> and <bp-asm.h>.
42015         (strchr): Don't use BP_SYM.
42016         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42017         <bp-sym.h> and <bp-asm.h>.
42018         (__strchrnul): Don't use BP_SYM.
42019         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42020         <bp-sym.h> and <bp-asm.h>.
42021         (strlen): Don't use BP_SYM.
42022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42023         <bp-sym.h> and <bp-asm.h>.
42024         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42025         pointers.
42026         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42027         <bp-sym.h> and <bp-asm.h>.
42028         (__strnlen): Don't use BP_SYM.
42029         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42030         <bp-sym.h> and <bp-asm.h>.
42031         (__GI__setjmp): Don't use BP_SYM.
42032         (_setjmp): Likewise.
42033         (__sigsetjmp): Likewise.
42034         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42035         (L(start_addresses)): Don't use BP_SYM.
42036         (_start): Likewise.
42037         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42038         <bp-asm.h>.
42039         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42040         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42041         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42042         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42043         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42044         <bp-asm.h>.
42045         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42046         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42047         about bounded pointers.
42048         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42049         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42050         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42051         <bp-asm.h>.
42052         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42053         about bounded pointers.  Remove GKM FIXME comments.
42054         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42055         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42056         <bp-asm.h>.
42057         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42058         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42059         Remove GKM FIXME comments.
42060         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42061         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42062         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42063         <bp-asm.h>.
42064         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42065         about bounded pointers.  Remove GKM FIXME comment.
42066         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42067         and <bp-asm.h>.
42068         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42069         pointers.
42070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42071         <bp-sym.h> and <bp-asm.h>.
42072         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42074         <bp-sym.h> and <bp-asm.h>.
42075         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42076         comment.
42078 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42080         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42081         call free(NULL).
42083 2013-03-05  David S. Miller  <davem@davemloft.net>
42085         * po/es.po: Update from translation team.
42087 2013-03-05  Andreas Jaeger  <aj@suse.de>
42089         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42090         <bits/mman-linux.h>.
42091         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42092         is fine.
42093         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42094         <bits/mman-linux.h> to end of file.
42095         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42096         is fine.
42097         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42098         <bits/mman-linux.h> to end of file.
42099         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42100         is fine.
42101         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42102         <bits/mman-linux.h> to end of file.
42104         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42105         (MCL_CURRENT, MCL_FUTURE): Define here.
42107 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42109         [BZ #15232]
42110         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42111         attribute_hidden.
42112         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42114 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42116         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42117         fourth parameter needed for rt_sigprocmask syscall.
42118         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42119         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42120         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42121         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42122         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42123         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42125 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42127         [BZ #13550]
42128         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42129         comment about bounded pointers.
42130         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42131         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42133 2013-03-04  Andreas Jaeger  <aj@suse.de>
42135         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42136         common definitions.
42138         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42139         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42140         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42141         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42142         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42143         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42145 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42147         [BZ #15055]
42148         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42149         __ieee754_sqrl instead of __sqrl.
42151 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42153         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42154         * sysdeps/powerpc/fpu_control.h: ... here.
42155         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42156         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42157         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42158         * sysdeps/powerpc/bits/mathinline.h: ... here.
42160 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42162         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42163         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42164         to just [NEED_DL_SYSINFO_DSO].
42165         * elf/dl-support.c: Likewise.
42166         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42167         * elf/rtld.c (dl_main): Likewise.
42168         * elf/setup-vdso.h (setup_vdso): Likewise.
42169         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42170         * sysdeps/unix/sysv/linux/dl-sysdep.c
42171         (_dl_discover_osversion): Likewise.
42173 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42175         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
42176         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42178 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42180         * NEWS: Mention libm performance improvements and non-x86 PI
42181         futex support.
42183         * csu/libc-start.c (__pthread_initialize_minimal): Change
42184         function arguments.
42185         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
42187 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
42189         [BZ #13550]
42190         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
42191         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
42192         <bp-sym.h> and <bp-asm.h>.
42193         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42194         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
42195         and <bp-asm.h>.
42196         (memcpy): Don't use BP_SYM.
42197         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
42198         <bp-asm.h>.
42199         (__mpn_add_n): Don't use BP_SYM.
42200         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
42201         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
42202         and <bp-asm.h>.
42203         (__mpn_addmul_1): Don't use BP_SYM.
42204         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42205         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
42206         <bp-sym.h>.
42207         (_setjmp): Don't use BP_SYM.
42208         (__novmx_setjmp): Likewise.
42209         (__GI__setjmp): Likewise.
42210         (__vmx_setjmp): Likewise.
42211         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
42212         <bp-sym.h>.
42213         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
42214         (__bzero): Don't use BP_SYM.
42215         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42216         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42217         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
42218         <bp-sym.h> and <bp-asm.h>.
42219         (memcpy): Don't use BP_SYM.
42220         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
42221         <bp-sym.h> and <bp-asm.h>.
42222         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42223         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
42224         <bp-sym.h> and <bp-asm.h>.
42225         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
42226         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
42227         <bp-asm.h>.
42228         (__mpn_lshift): Don't use BP_SYM.
42229         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42230         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
42231         <bp-asm.h>.
42232         (memset): Don't use BP_SYM.
42233         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42234         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42235         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
42236         <bp-asm.h>.
42237         (__mpn_mul_1): Don't use BP_SYM.
42238         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42239         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
42240         <bp-sym.h> and <bp-asm.h>.
42241         (memcmp): Don't use BP_SYM.
42242         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
42243         <bp-sym.h> and <bp-asm.h>.
42244         (memcpy): Don't use BP_SYM.
42245         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
42246         <bp-sym.h> and <bp-asm.h>.
42247         (memset): Don't use BP_SYM.
42248         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
42249         <bp-sym.h> and <bp-asm.h>.
42250         (strncmp): Don't use BP_SYM.
42251         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
42252         <bp-sym.h> and <bp-asm.h>.
42253         (memcpy): Don't use BP_SYM.
42254         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
42255         <bp-sym.h> and <bp-asm.h>.
42256         (memset): Don't use BP_SYM.
42257         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
42258         <bp-sym.h> and <bp-asm.h>.
42259         (__memchr): Don't use BP_SYM.
42260         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
42261         <bp-sym.h> and <bp-asm.h>.
42262         (memcmp): Don't use BP_SYM.
42263         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
42264         <bp-sym.h> and <bp-asm.h>.
42265         (memcpy): Don't use BP_SYM.
42266         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
42267         <bp-sym.h> and <bp-asm.h>.
42268         (__mempcpy): Don't use BP_SYM.
42269         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
42270         <bp-sym.h> and <bp-asm.h>.
42271         (__memrchr): Don't use BP_SYM.
42272         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
42273         <bp-sym.h> and <bp-asm.h>.
42274         (memset): Don't use BP_SYM.
42275         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
42276         <bp-sym.h> and <bp-asm.h>.
42277         (__rawmemchr): Don't use BP_SYM.
42278         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
42279         <bp-sym.h> and <bp-asm.h>.
42280         (__STRCMP): Don't use BP_SYM.
42281         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
42282         <bp-sym.h> and <bp-asm.h>.
42283         (strchr): Don't use BP_SYM.
42284         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
42285         <bp-sym.h> and <bp-asm.h>.
42286         (__strchrnul): Don't use BP_SYM.
42287         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
42288         <bp-sym.h> and <bp-asm.h>.
42289         (strlen): Don't use BP_SYM.
42290         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
42291         <bp-sym.h> and <bp-asm.h>.
42292         (strncmp): Don't use BP_SYM.
42293         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
42294         <bp-sym.h> and <bp-asm.h>.
42295         (__strnlen): Don't use BP_SYM.
42296         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
42297         <bp-asm.h>.
42298         (__mpn_rshift): Don't use BP_SYM.
42299         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42300         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
42301         <bp-sym.h> and <bp-asm.h>.
42302         (__sigsetjmp): Don't use BP_SYM.
42303         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
42304         (L(start_addresses)): Don't use BP_SYM.
42305         (_start): Likewise.
42306         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
42307         <bp-asm.h>.
42308         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
42309         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42310         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42311         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
42312         <bp-asm.h>.
42313         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
42314         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42315         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42316         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
42317         <bp-asm.h>.
42318         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42319         comments.
42320         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42321         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
42322         <bp-asm.h>.
42323         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
42324         FIXME comments.
42325         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42326         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42327         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
42328         <bp-asm.h>.
42329         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
42330         comment.
42331         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
42332         and <bp-asm.h>.
42333         (strncmp): Don't use BP_SYM,
42334         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
42335         <bp-asm.h>.
42336         (__mpn_sub_n): Don't use BP_SYM.
42337         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42338         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
42339         and <bp-asm.h>.
42340         (__mpn_submul_1): Don't use BP_SYM.
42341         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
42343         <bp-sym.h> and <bp-asm.h>.
42344         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
42346         <bp-sym.h> and <bp-asm.h>.
42347         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42348         comment.
42350 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
42353         Use ZK to minimize writes to Z.
42354         (sub_magnitudes): Simplify code a bit.
42355         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
42356         Use ZK to minimize writes to Z.
42357         (sub_magnitudes): Simplify code a bit.
42359 2013-02-27  Roland McGrath  <roland@hack.frob.com>
42361         * csu/gmon-start.c: Add special exception to license text.
42363 2013-02-27  Richard Henderson  <rth@redhat.com>
42365         * scripts/config.guess: Update from config.git.
42366         * scripts/config.sub: Likewise.
42368 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42370         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
42372         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
42374         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
42376         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
42378         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
42380 2013-02-26  Roland McGrath  <roland@hack.frob.com>
42382         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
42383         [$(build-shared = yes].
42385 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42387         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
42388         (__mul): Reduce iterations for calculating mantissa.
42390         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
42391         MPTWO.
42392         (__mpranred): Likewise.
42394         [BZ #15160]
42395         * malloc/memusagestat.c (main): Draw graphs for heap and stack
42396         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
42398 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
42400         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
42401         Define __attribute__.
42403 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42405         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
42406         unused.
42407         * posix/regex_internal.h (__attribute): Remove.
42408         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
42409         (re_string_context_at): Likewise.
42410         (bitset_not): Use __attribute__ and mark function as possibly
42411         unused.
42412         (bitset_merge): Likewise.
42413         (bitset_mask): Likewise.
42414         (re_string_char_size_at): Likewise.
42415         (re_string_wchar_at): Likewise.
42416         (re_string_elem_size_at): Likewise.
42418 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42420         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
42421         code.
42422         (cc32): Likewise.
42424         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
42425         (__acr): Likewise.
42426         (__cpy): Likewise.
42427         (norm): Likewise.
42428         (denorm): Likewise.
42429         (__dbl_mp): Likewise.
42430         (add_magnitudes): Likewise.
42431         (sub_magnitudes): Likewise.
42432         (__mul): Likewise.
42433         (__inv): Likewise.
42435         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
42436         style.
42438         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
42439         style.
42441         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
42442         code.
42444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
42445         up changes with default code.
42446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
42447         Likewise.
42449 2013-02-24  Allan McRae  <allan@archlinux.org>
42451         * manual/socket.texi (The Internet Namespace): Order menu items
42452         to match that in the file.
42454         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
42455         node listing of the info page menu.
42457 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
42459         [BZ #13550]
42460         * sysdeps/i386/bp-asm.h: Remove file.
42461         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42462         (PARMS): Do not use macros from bp-asm.h.
42463         (S1): Likewise.
42464         (S2): Likewise.
42465         (SIZE): Likewise.
42466         (__mpn_add_n): Do not use BP_SYM
42467         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
42468         "bp-asm.h".
42469         (PARMS): Do not use macros from bp-asm.h.
42470         (S1): Likewise.
42471         (SIZE): Likewise.
42472         (__mpn_addmul_1): Do not use BP_SYM
42473         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
42474         "bp-asm.h".
42475         (PARMS): Do not use macros from bp-asm.h.
42476         (SIGMSK): Likewise.
42477         (_setjmp): Likewise.  Do not use BP_SYM.
42478         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
42479         "bp-asm.h".
42480         (PARMS): Do not use macros from bp-asm.h.
42481         (SIGMSK): Likewise.
42482         (setjmp): Likewise.  Do not use BP_SYM.
42483         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
42484         "bp-asm.h".
42485         (PARMS): Do not use macros from bp-asm.h.
42486         (__frexp): Do not use BP_SYM.
42487         (frexp): Likewise.
42488         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
42489         "bp-asm.h".
42490         (PARMS): Do not use macros from bp-asm.h.
42491         (__frexpf): Do not use BP_SYM.
42492         (frexpf): Likewise.
42493         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
42494         "bp-asm.h".
42495         (PARMS): Do not use macros from bp-asm.h.
42496         (__frexpl): Do not use BP_SYM.
42497         (frexpl): Likewise.
42498         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
42499         "bp-asm.h".
42500         (PARMS): Do not use macros from bp-asm.h.
42501         (__remquo): Do not use BP_SYM.
42502         (remquo): Likewise.
42503         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
42504         "bp-asm.h".
42505         (PARMS): Do not use macros from bp-asm.h.
42506         (__remquof): Do not use BP_SYM.
42507         (remquof): Likewise.
42508         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
42509         "bp-asm.h".
42510         (PARMS): Do not use macros from bp-asm.h.
42511         (__remquol): Do not use BP_SYM.
42512         (remquol): Likewise.
42513         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
42514         "bp-asm.h".
42515         (PARMS): Do not use macros from bp-asm.h.
42516         (DEST): Likewise.
42517         (SRC): Likewise.
42518         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
42519         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
42520         "bp-asm.h".
42521         (PARMS): Do not use macros from bp-asm.h.
42522         (strlen): Do not use BP_SYM.
42523         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
42524         "bp-asm.h".
42525         (PARMS): Do not use macros from bp-asm.h.
42526         (S1): Likewise.
42527         (S2): Likewise.
42528         (SIZE): Likewise.
42529         (__mpn_add_n): Do not use BP_SYM.
42530         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
42531         "bp-asm.h".
42532         (PARMS): Do not use macros from bp-asm.h.
42533         (S1): Likewise.
42534         (SIZE): Likewise.
42535         (__mpn_addmul_1): Do not use BP_SYM.
42536         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
42537         weak_alias.
42538         (bzero): Likewise.
42539         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
42540         "bp-asm.h".
42541         (PARMS): Do not use macros from bp-asm.h.
42542         (S): Likewise.
42543         (SIZE): Likewise.
42544         (__mpn_lshift): Do not use BP_SYM.
42545         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
42546         "bp-asm.h".
42547         (PARMS): Do not use macros from bp-asm.h.
42548         (DEST): Likewise.
42549         (SRC): Likewise.
42550         (LEN): Likewise.
42551         (memcpy): Likewise.  Do not use BP_SYM.
42552         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
42553         libc_hidden_def and weak_alias.
42554         (mempcpy): Do not use BP_SYM in weak_alias.
42555         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
42556         "bp-asm.h".
42557         (PARMS): Do not use macros from bp-asm.h.
42558         (DEST): Likewise.
42559         (LEN): Likewise.
42560         [!BZERO_P] (CHR): Likewise.
42561         (memset): Likewise.  Do not use BP_SYM.
42562         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
42563         "bp-asm.h".
42564         (PARMS): Do not use macros from bp-asm.h.
42565         (S1): Likewise.
42566         (SIZE): Likewise.
42567         (__mpn_mul_1): Do not use BP_SYM.
42568         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
42569         "bp-asm.h".
42570         (PARMS): Do not use macros from bp-asm.h.
42571         (S): Likewise.
42572         (SIZE): Likewise.
42573         (__mpn_rshift): Do not use BP_SYM.
42574         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
42575         "bp-asm.h".
42576         (PARMS): Do not use macros from bp-asm.h.
42577         (STR): Likewise.
42578         (CHR): Likewise.
42579         (strchr): Likewise.  Do not use BP_SYM.
42580         (index): Do not use BP_SYM in weak_alias.
42581         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
42582         "bp-asm.h".
42583         (PARMS): Do not use macros from bp-asm.h.
42584         (DEST): Likewise.
42585         (SRC): Likewise.
42586         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
42587         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
42588         "bp-asm.h".
42589         (PARMS): Do not use macros from bp-asm.h.
42590         (strlen): Do not use BP_SYM.
42591         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
42592         "bp-asm.h".
42593         (PARMS): Do not use macros from bp-asm.h.
42594         (S1): Likewise.
42595         (S2): Likewise.
42596         (SIZE): Likewise.
42597         (__mpn_sub_n): Do not use BP_SYM.
42598         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
42599         "bp-asm.h".
42600         (PARMS): Do not use macros from bp-asm.h.
42601         (S1): Likewise.
42602         (SIZE): Likewise.
42603         (__mpn_submul_1): Do not use BP_SYM.
42604         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
42605         "bp-asm.h".
42606         (PARMS): Do not use macros from bp-asm.h.
42607         (S1): Likewise.
42608         (S2): Likewise.
42609         (SIZE): Likewise.
42610         (__mpn_add_n): Do not use BP_SYM.
42611         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
42612         weak_alias.
42613         (bzero): Likewise.
42614         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
42615         "bp-asm.h".
42616         (PARMS): Do not use macros from bp-asm.h.
42617         (BLK2): Likewise.
42618         (LEN): Likewise.
42619         (memcmp): Do not use BP_SYM.
42620         (bcmp): Do not use BP_SYM in weak_alias.
42621         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
42622         "bp-asm.h".
42623         (PARMS): Do not use macros from bp-asm.h.
42624         (DEST): Likewise.
42625         (SRC): Likewise.
42626         (LEN): Likewise.
42627         (memcpy): Likewise.  Do not use BP_SYM.
42628         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
42629         "bp-asm.h".
42630         (PARMS): Do not use macros from bp-asm.h.
42631         (DEST): Likewise.
42632         (SRC): Likewise.
42633         (LEN): Likewise.
42634         (memmove): Likewise.  Do not use BP_SYM.
42635         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
42636         "bp-asm.h".
42637         (PARMS): Do not use macros from bp-asm.h.
42638         (DEST): Likewise.
42639         (SRC): Likewise.
42640         (LEN): Likewise.
42641         (__mempcpy): Likewise.  Do not use BP_SYM.
42642         (mempcpy): Do not use BP_SYM in weak_alias.
42643         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
42644         "bp-asm.h".
42645         (PARMS): Do not use macros from bp-asm.h.
42646         (DEST): Likewise.
42647         (LEN): Likewise.
42648         [!BZERO_P] (CHR): Likewise.
42649         (memset): Likewise.  Do not use BP_SYM.
42650         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
42651         "bp-asm.h".
42652         (PARMS): Do not use macros from bp-asm.h.
42653         (STR2): Likewise.
42654         (strcmp): Do not use BP_SYM.
42655         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
42656         "bp-asm.h".
42657         (PARMS): Do not use macros from bp-asm.h.
42658         (STR): Likewise.
42659         (DELIM): Likewise.
42660         [USE_AS_STRTOK_R] (SAVE): Likewise.
42661         (FUNCTION): Likewise.  Do not use BP_SYM.
42662         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
42663         aliases.
42664         (strtok_r): Likewise.
42665         (__GI___strtok_r): Likewise.
42666         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42667         (PARMS): Do not use macros from bp-asm.h.
42668         (S): Likewise.
42669         (SIZE): Likewise.
42670         (__mpn_lshift): Do not use BP_SYM.
42671         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42672         (PARMS): Do not use macros from bp-asm.h.
42673         (STR): Likewise.
42674         (CHR): Likewise.
42675         (__memchr): Do not use BP_SYM.
42676         (memchr): Do not use BP_SYM in weak_alias.
42677         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42678         (PARMS): Do not use macros from bp-asm.h.
42679         (BLK2): Likewise.
42680         (LEN): Likewise.
42681         (memcmp): Do not use BP_SYM.
42682         (bcmp): Do not use BP_SYM in weak_alias.
42683         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
42684         (PARMS): Do not use macros from bp-asm.h.
42685         (S1): Likewise.
42686         (SIZE): Likewise.
42687         (__mpn_mul_1): Do not use BP_SYM.
42688         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
42689         "bp-asm.h".
42690         (PARMS): Do not use macros from bp-asm.h.
42691         (STR): Likewise.
42692         (CHR): Likewise.
42693         (__rawmemchr): Do not use BP_SYM.
42694         (rawmemchr): Do not use BP_SYM in weak_alias.
42695         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
42696         (PARMS): Do not use macros from bp-asm.h.
42697         (S): Likewise.
42698         (SIZE): Likewise.
42699         (__mpn_rshift): Do not use BP_SYM.
42700         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
42701         (PARMS): Do not use macros from bp-asm.h.
42702         (SIGMSK): Likewise.
42703         (__sigsetjmp): Likewise.  Do not use BP_SYM.
42704         * sysdeps/i386/start.S: Do not include "bp-sym.h".
42705         (_start): Do not use BP_SYM.
42706         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
42707         (PARMS): Do not use macros from bp-asm.h.
42708         (DEST): Likewise.
42709         (SRC): Likewise.
42710         (__stpcpy): Likewise.  Do not use BP_SYM.
42711         (stpcpy): Do not use BP_SYM in weak_alias.
42712         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
42713         "bp-asm.h".
42714         (PARMS): Do not use macros from bp-asm.h.
42715         (DEST): Likewise.
42716         (SRC): Likewise.
42717         (LEN): Likewise.
42718         (__stpncpy): Likewise.  Do not use BP_SYM.
42719         (stpncpy): Do not use BP_SYM in weak_alias.
42720         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
42721         (PARMS): Do not use macros from bp-asm.h.
42722         (STR): Likewise.
42723         (CHR): Likewise.
42724         (strchr): Likewise.  Do not use BP_SYM.
42725         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
42726         "bp-asm.h".
42727         (PARMS): Do not use macros from bp-asm.h.
42728         (STR): Likewise.
42729         (CHR): Likewise.
42730         (__strchrnul): Likewise.  Do not use BP_SYM.
42731         (strchrnul): Do not use BP_SYM in weak_alias.
42732         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
42733         "bp-asm.h".
42734         (PARMS): Do not use macros from bp-asm.h.
42735         (STOP): Likewise.
42736         (strcspn): Do not use BP_SYM.
42737         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
42738         "bp-asm.h".
42739         (PARMS): Do not use macros from bp-asm.h.
42740         (STR): Likewise.
42741         (STOP): Likewise.
42742         (strpbrk): Likewise.  Do not use BP_SYM.
42743         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
42744         "bp-asm.h".
42745         (PARMS): Do not use macros from bp-asm.h.
42746         (STR): Likewise.
42747         (CHR): Likewise.
42748         (strrchr): Likewise.  Do not use BP_SYM.
42749         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
42750         (PARMS): Do not use macros from bp-asm.h.
42751         (SKIP): Likewise.
42752         (strspn): Do not use BP_SYM.
42753         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
42754         (PARMS): Do not use macros from bp-asm.h.
42755         (STR): Likewise.
42756         (DELIM): Likewise.
42757         (SAVE): Likewise.
42758         (FUNCTION): Likewise.  Do not use BP_SYM.
42759         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
42760         aliases.
42761         (strtok_r): Likewise.
42762         (__GI___strtok_r): Likewise.
42763         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
42764         (PARMS): Do not use macros from bp-asm.h.
42765         (S1): Likewise.
42766         (S2): Likewise.
42767         (SIZE): Likewise.
42768         (__mpn_sub_n): Do not use BP_SYM.
42769         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
42770         "bp-asm.h".
42771         (PARMS): Do not use macros from bp-asm.h.
42772         (S1): Likewise.
42773         (SIZE): Likewise.
42774         (__mpn_submul_1): Do not use BP_SYM.
42775         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
42776         <bp-sym.h>.
42777         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
42778         and <bp-asm.h>.
42779         (PARMS): Do not use macros from bp-asm.h.
42780         (FLAGS): Likewise.
42781         (PTID): Likewise.
42782         (TLS): Likewise.
42783         (CTID): Likewise.
42784         (__clone): Do not use BP_SYM.
42785         (clone): Do not use BP_SYM in weak_alias.
42786         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
42787         and <bp-asm.h>.
42788         (PARMS): Do not use macros from bp-asm.h.
42789         (LEN): Likewise.
42790         (__mmap64): Do not use BP_SYM.
42791         (mmap64): Do not use BP_SYM in weak_alias.
42792         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42793         <bp-sym.h> and <bp-asm.h>.
42794         (PARMS): Do not use macros from bp-asm.h.
42795         (__posix_fadvise64_l64): Do not use BP_SYM.
42796         * sysdeps/unix/sysv/linux/i386/semtimedop.S
42797         (PARMS): Do not use macros from bp-asm.h.
42798         (NSOPS): Likewise.
42799         (semtimedop): Do not use BP_SYM.
42800         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
42801         and <bp-asm.h>.
42803 2013-02-21  Allan McRae  <allan@archlinux.org>
42805         * manual/message.texi (Charset conversion in gettext):
42806         Move @end statement to beginning of line.
42808 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
42811         static.
42812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42813         Likewise.
42815         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
42816         (denorm): Likewise.
42817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
42818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
42820 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42822         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
42823         tail-call to the resolved function if pltexit isn't needed.
42825 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
42828         or Y being zero as being unlikely.
42829         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42830         Likewise.
42832 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
42834         * manual/nss.texi (System Databases and Name Service Switch):
42835         Remove frobnicate @pxref.
42837 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
42839         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42840         __attribute__ ((unused)) to __attribute__ ((__unused__)).
42842 2013-02-20  Petr Machata  <pmachata@redhat.com>
42844         * elf/elf.h (R_ARM_TARGET1): New macro.
42845         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
42846         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
42847         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
42848         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
42849         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
42850         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
42851         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
42852         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
42853         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
42854         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
42855         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
42856         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
42857         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
42858         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
42859         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
42860         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
42861         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
42862         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
42863         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
42864         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
42865         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
42866         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
42867         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
42868         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
42869         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
42870         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
42871         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
42872         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
42873         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
42874         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
42875         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
42876         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
42877         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
42878         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
42879         (R_ARM_THM_GOT_BREL12): Likewise.
42880         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
42881         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
42882         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
42883         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
42884         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
42885         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
42886         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
42887         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
42888         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
42890 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
42892         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
42893         __attribute_used__ to __attribute__ ((unused)).
42895 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42897         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
42898         powerpc mpa.c.
42899         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
42900         comment formatting.
42901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
42903 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
42905         [BZ #13550]
42906         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
42907         Remove macro.
42908         (ENTER): Remove both macro definitions.
42909         (LEAVE): Likewise.
42910         (CHECK_BOUNDS_LOW): Likewise.
42911         (CHECK_BOUNDS_HIGH): Likewise.
42912         (CHECK_BOUNDS_BOTH): Likewise.
42913         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
42914         (RETURN_BOUNDED_POINTER): Likewise.
42915         (RETURN_NULL_BOUNDED_POINTER): Likewise.
42916         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
42917         (POP_ERRNO_LOCATION_RETURN): Likewise.
42918         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
42919         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42920         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
42921         macros.
42922         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42923         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
42924         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
42925         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
42926         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
42927         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
42928         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
42929         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
42930         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
42931         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
42932         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
42933         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
42934         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42935         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
42936         removed macros.
42937         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42938         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
42939         macros.
42940         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42941         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
42942         * sysdeps/i386/i586/memset.S (memset): Likewise.
42943         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
42944         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42945         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
42946         macros.
42947         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42948         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
42949         Change uses of L(2) to L(out).
42950         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
42951         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
42952         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
42953         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42954         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
42955         removed macros.
42956         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42957         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
42958         macros.
42959         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
42960         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
42961         (RETURN): Do not use macro LEAVE.
42962         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
42963         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
42964         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
42965         * sysdeps/i386/i686/memset.S (memset): Likewise.
42966         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
42967         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
42968         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42969         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
42970         Likewise.
42971         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42972         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
42973         L(1_2) and L(1_3) into L(1).
42974         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
42975         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
42976         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42977         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
42978         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42979         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
42980         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
42981         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
42982         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
42983         macros.
42984         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
42985         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
42986         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
42987         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
42988         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
42989         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42990         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
42991         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
42992         * sysdeps/i386/strcspn.S (strcspn): Likewise.
42993         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
42994         * sysdeps/i386/strrchr.S (strrchr): Likewise.
42995         * sysdeps/i386/strspn.S (strspn): Likewise.
42996         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
42997         conditional code.
42998         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42999         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43000         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43001         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43002         L(1_3) into L(1_1).
43003         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43004         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43005         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43006         macros.
43007         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43009 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43011         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43012         macro.
43014 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43016         * math/atest-exp.c (exp_mpn): Remove ROUND.
43017         * math/atest-exp2.c (exp_mpn): Likewise.
43018         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43020         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43021         * stdlib/tst-tls-atexit-lib.c: Likewise.
43022         * stdlib/tst-tls-atexit.c: Likewise.
43024 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43026         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43027         and __attribute_alloc_size__.
43029 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43031         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43032         __attribute_alloc_size__.
43033         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43034         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43036 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43038         * include/programs/xmalloc.h: New file.
43039         * catgets/gencat.c: Include it.
43040         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43041         * elf/pldd.c: Likewise.
43042         * iconv/iconv_charmap.c: Likewise.
43043         * iconv/iconvconfig.c: Likewise.
43044         * iconv/strtab.c: Likewise.
43045         * locale/programs/locale.c: Likewise.
43046         * locale/programs/localedef.h: Likewise.
43047         * locale/programs/simple-hash.c: Likewise.
43048         * nscd/nscd.h: Likewise.
43049         * nss/makedb.c: Likewise.
43050         * sysdeps/generic/ldconfig.h: Likewise.
43052 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43054         * Versions.def: Add GLIBC_2.18.
43055         * include/link.h (struct link_map): New member l_tls_dtor_count.
43056         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43057         (__call_tls_dtors): Likewise.
43058         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43059         __cxa_thread_atexit_impl.
43060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43061         Likewise.
43062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43063         Likewise.
43064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43065         Likewise.
43066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43067         Likewise.
43068         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43070         Likewise.
43071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43072         Likewise.
43073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43075         Likewise.
43076         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43077         (tests): Add test case tst-tls-atexit.
43078         (modules-names): Add shared library for tst-tls-atexit.
43079         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43080         (GLIBC_PRIVATE): Add __call_tls_dtors.
43081         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43082         for libstdc++.
43083         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43084         * stdlib/tst-tls-atexit.c: New test case.
43085         * stdlib/tst-tls-atexit-lib.c: New test case.
43087         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43089         * elf/Versions (ld): Add _dl_find_dso_for_object.
43090         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43091         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43092         (dl_open_worker): Use _dl_find_dso_for_object.
43093         * elf/dl-sym.c (do_sym): Likewise.
43094         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43096 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43098         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43099         Syntactic changes only.
43100         (_dl_runtime_profile): Do a tail-call to the resolved function.
43102 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43104         [BZ #13550]
43105         * sysdeps/x86_64/bp-asm.h: Remove file.
43106         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43107         <bp-sym.h> and <bp-asm.h>.
43108         (__clone): Do not use BP_SYM.
43109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43110         <bp-sym.h> and <bp-asm.h>.
43111         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43112         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43113         "bp-asm.h".
43114         (_setjmp): Do not use BP_SYM.
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/mempcpy.S (__mempcpy): Do not use BP_SYM in
43119         libc_hidden_def.
43120         (mempcpy): Do not use BP_SYM in weak_alias.
43121         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43122         "bp-asm.h".
43123         (strchr): Do not use BP_SYM.
43124         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43125         "bp-asm.h".
43126         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43127         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43128         (_start): Do not use BP_SYM.
43129         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43130         "bp-asm.h".
43131         (strcat): Do not use BP_SYM.
43132         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43133         "bp-asm.h".
43134         (STRCMP): Do not use BP_SYM.
43135         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43136         "bp-asm.h".
43137         (STRCPY): Do not use BP_SYM.
43138         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43139         "bp-asm.h".
43140         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43141         "bp-asm.h".
43142         (FUNCTION): Do not use BP_SYM.
43143         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43144         weak_alias.
43145         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43147 2013-02-17  Andreas Jaeger  <aj@suse.de>
43149         * time/Versions: Sort entries.
43150         * string/Versions: Likewise.
43151         * resolv/Versions: Likewise.
43152         * posix/Versions: Likewise.
43153         * iconv/Versions: Likewise.
43154         * elf/Versions: Likewise.
43155         * wcsmbs/Versions: Likewise.
43157 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43159         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43160         loop termination condition.
43162         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43163         variable to calculate EZ.
43164         (__sqr): Likewise.
43166         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43167         the lower precision input.
43169 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43171         [BZ #13550]
43172         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43173         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43174         (run-via-rtld-prefix): Do not handle %-bp tests.
43175         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
43176         (all-object-suffixes): Remove .ob.
43177         (bppfx): Remove variable.
43178         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
43179         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
43180         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
43181         [$(build-bounded) = yes] (libtype.ob): Likewise.
43182         * Makerules (elide-routines.ob): Remove variable.
43183         (do-tests-clean): Do not handle *-bp.out.
43184         (common-mostlyclean): Do not handle *-bp and *-bp.out.
43185         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
43186         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
43187         (tests): Do not include $(tests-bp.out).
43188         (xtests): Do not include $(xtests-bp.out).
43189         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
43190         [$(build-bounded) = yes] ($(addprefix
43191         $(objpfx),$(binaries-bounded))): Remove rule.
43192         ($(objpfx)%-bp.out): Remove rule.
43193         * config.make.in (build-bounded): Remove variable.
43194         * crypt/Makefile [$(build-bounded) = yes]
43195         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
43196         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
43197         append to variable.
43198         [$(build-bounded) = yes] (install-lib): Likewise.
43199         [$(build-bounded) = yes] (generated): Likewise.
43200         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
43201         Remove rule.
43202         * intl/Makefile [$(build-bounded) = yes]
43203         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
43204         * math/Makefile [$(build-bounded) = yes]
43205         ($(tests:%=$(objpfx)%-bp): Likewise.
43206         * misc/Makefile [$(build-bounded) = yes]
43207         ($(objpfx)tst-tsearch-bp): Likewise.
43208         * nptl/Makeconfig (bounded-thread-library): Remove variable.
43209         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
43210         Remove dependency.
43211         * string/Makefile (o-objects.ob): Remove variable.
43212         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
43213         (CFLAGS-.ob): Remove variable.
43214         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
43215         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
43216         both definitions of variable.
43217         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
43218         (ASFLAGS-.ob): Remove variable.
43220 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
43222         [BZ #13550]
43223         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
43224         Remove __BOUNDED_POINTERS__ from condition.
43225         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
43226         * string/bits/string2.h [!__NO_STRING_INLINES &&
43227         !__BOUNDED_POINTERS__]: Likewise.
43228         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
43229         Likewise.
43230         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
43231         Remove conditional code.
43232         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
43233         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
43234         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
43235         condition.
43237         [BZ #13550]
43238         * csu/libc-start.c: Do not include <bp-sym.h>.
43239         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
43240         * elf/dl-open.c: Do not include <bp-sym.h>.
43241         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
43242         * math/fegetenv.c: Do not include <bp-sym.h>.
43243         (fegetenv): Do not use BP_SYM in versioned symbols.
43244         * nptl/sysdeps/pthread/bits/libc-lockP.h
43245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
43246         <bp-sym.h>.
43247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43248         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
43249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43250         (__pthread_mutex_destroy): Likewise.
43251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43252         (__pthread_mutex_lock): Likewise.
43253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43254         (__pthread_mutex_trylock): Likewise.
43255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43256         (__pthread_mutex_unlock): Likewise.
43257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43258         (__pthread_mutexattr_init): Likewise.
43259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43260         (__pthread_mutexattr_destroy): Likewise.
43261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43262         (__pthread_mutexattr_settype): Likewise.
43263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43264         (__pthread_rwlock_init): Likewise.
43265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43266         (__pthread_rwlock_destroy): Likewise.
43267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43268         (__pthread_rwlock_rdlock): Likewise.
43269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43270         (__pthread_rwlock_tryrdlock): Likewise.
43271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43272         (__pthread_rwlock_wrlock): Likewise.
43273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43274         (__pthread_rwlock_trywrlock): Likewise.
43275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43276         (__pthread_rwlock_unlock): Likewise.
43277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43278         (__pthread_key_create): Likewise.
43279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43280         (__pthread_setspecific): Likewise.
43281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43282         (__pthread_getspecific): Likewise.
43283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
43284         Likewise.
43285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43286         (_pthread_cleanup_push_defer): Likewise.
43287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43288         (_pthread_cleanup_pop_restore): Likewise.
43289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
43290         (pthread_setcancelstate): Likewise.
43291         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
43292         <bp-sym.h>.
43293         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
43294         (memchr): Do not use BP_SYM in weak_alias.
43295         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
43296         (fegetenv): Do not use BP_SYM in versioned symbols.
43297         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
43298         (fesetenv): Do not use BP_SYM in versioned symbols.
43299         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43300         (feupdateenv): Do not use BP_SYM in versioned symbols.
43301         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43302         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43303         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
43304         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
43305         (open64): Do not use BP_SYM in weak_alias.
43306         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
43307         (fegetenv): Do not use BP_SYM in versioned symbols.
43308         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
43309         (fesetenv): Do not use BP_SYM in versioned symbols.
43310         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
43311         (feupdateenv): Do not use BP_SYM in versioned symbols.
43312         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
43313         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
43314         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
43315         (feraiseexcept): Do not use BP_SYM in versioned symbols.
43316         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
43317         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
43318         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
43319         <bp-sym.h>.
43320         (__libc_start_main): Do not use BP_SYM.
43322 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
43325         redundant return line.
43326         (norm): Likewise.
43327         (denorm): Likewise.
43328         (dbl_mp): Likewise.
43329         (sub_magnitudes): Likewise.
43330         (__add): Likewise.
43331         (__sub): Likewise.
43332         (__mul): Likewise.
43333         (__inv): Likewise.
43334         (__dvd): Likewise.
43335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
43336         (norm): Likewise.
43337         (denorm): Likewise.
43338         (dbl_mp): Likewise.
43339         (sub_magnitudes): Likewise.
43340         (__add): Likewise.
43341         (__sub): Likewise.
43342         (__mul): Likewise.
43343         (__inv): Likewise.
43344         (__dvd): Likewise.
43346         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
43347         instead of __mul.
43348         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43349         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
43350         (cc32): Likewise.
43352         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
43353         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
43354         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
43355         of __mul for squares.
43356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
43357         function
43358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
43359         Likewise.
43360         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
43361         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43363 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
43365         [BZ #13550]
43366         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
43367         code.
43368         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
43369         prototype or function definition.  Rename ubp_* variables and
43370         parameters.  Remove argv definitions conditional on
43371         [__BOUNDED_POINTERS__].
43372         * debug/backtrace.c (__backtrace): Do not use __unbounded.
43373         * elf/dl-runtime.c (_dl_fixup): Likewise.
43374         * include/set-hooks.h (RUN_HOOK): Likewise.
43375         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
43376         definition.
43377         * string/strcpy.c (strcpy): Do not use __unbounded.
43378         * sysdeps/generic/frame.h (struct layout): Likewise.
43379         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
43380         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
43381         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
43382         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
43383         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
43384         (__backtrace): Likewise.
43385         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
43386         use __ptrvalue.
43387         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
43388         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43389         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
43390         Likewise.
43391         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
43392         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
43393         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43394         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43395         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
43396         Do not use __unbounded.
43397         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
43398         Rename __unboundedrlimits parameter to rlimits in prototype.
43399         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
43400         Do not use __unbounded.
43401         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
43402         not use __ptrvalue.
43403         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43404         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
43405         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43406         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
43407         __ptrvalue or __unbounded.
43408         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
43409         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
43410         use __unbounded.
43411         (__new_msgctl): Do not use __ptrvalue.
43412         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
43413         __unbounded.
43414         (__libc_msgrcv): Do not use __ptrvalue.
43415         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
43416         startup_info): Do not use __unbounded.
43417         (__libc_start_main): Likewise.  Rename ubp_* variables and
43418         parameters.  Remove argv definitions conditional on
43419         [__BOUNDED_POINTERS__].
43420         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
43421         __ptrvalue.
43422         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
43423         use __unbounded.
43424         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
43425         or __ptrvalue.
43426         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
43427         use __unbounded.
43428         (__new_shmctl): Do not use __ptrvalue.
43429         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
43430         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
43431         Likewise.
43432         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
43433         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
43434         (__libc_sigaction): Likewise.
43435         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
43436         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
43437         Likewise.
43438         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43440 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
43442         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
43444         * string/mempcpy.c: Implement by calling memcpy.
43446 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43448         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
43450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
43451         evaluation.
43453         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
43454         values in the mantissa.
43456         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
43457         minimize writes to Z.
43458         (sub_magnitudes): Simplify code a bit.
43460 2013-02-12  Roland McGrath  <roland@hack.frob.com>
43462         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
43463         from the message.  The linker prefixes all warnings with that already.
43465 2013-02-12  Andreas Schwab  <schwab@suse.de>
43467         [BZ #15078]
43468         * posix/regexec.c (extend_buffers): Add parameter min_len.
43469         (check_matching): Pass minimum needed length.
43470         (clean_state_log_if_needed): Likewise.
43471         (get_subexp): Likewise.
43472         * posix/Makefile (tests): Add bug-regex34.
43473         (bug-regex34-ENV): Define.
43474         * posix/bug-regex34.c: New file.
43476         [BZ #11561]
43477         * posix/regcomp.c (parse_bracket_exp): When looking up collating
43478         elements compare against the byte sequence of it, not its name.
43479         * posix/Makefile (tests): Add bug-regex35.
43480         (bug-regex35-ENV): Define.
43481         * posix/bug-regex35.c: New file.
43483 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43485         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
43486         comment.
43487         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
43488         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
43489         (CHECK_EOL): Add undef.
43491 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
43493         * bits/stdlib-bsearch.h: New file.
43494         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
43495         * stdlib/stdlib.h: Likewise.
43497 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43499         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
43500         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
43501         declaration.
43502         * manual/search.texi (Array Search Function): Add missing const in
43503         lfind prototype.
43504         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
43505         declaration to use rlim_t.
43506         (Basic Scheduling Functions): Remove erroneous const from
43507         sched_getparam prototype.  Remove erroneous * from
43508         sched_get_priority_max and sched_get_priority_min prototypes.
43509         (Resource Usage): Fix summary @comment on vtimes to refer to
43510         sys/vtimes.h rather than vtimes.h.
43511         Add missing *s in vtimes prototype.
43512         (Limits on Resources): Fix ulimit prototype to return long int.
43513         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
43514         prototypes to use long int rather than double.
43515         (BSD Random): Fix initstate and setstate to use char *, not void *.
43516         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
43517         prototype to make second argument 'struct aiocb64 *const[]'.
43518         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
43519         (Status of AIO Operations): Remove erroneous const in aio_return and
43520         aio_return64 prototypes.
43521         (Synchronizing I/O): Fix sync prototype to return void.
43522         * manual/startup.texi (Suboptions): Remove an erroneous const in
43523         getsubopt prototype.
43524         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
43525         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
43526         use size_t rather than int.
43527         (Scanning All Users): Likewise for getpwent_r.
43528         (Setting Groups): Add missing const to setgroups prototype.
43529         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
43530         * manual/socket.texi (Host Names): Fix gethostbyaddr and
43531         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
43532         'const void *' rather than 'const char *'.
43533         (Host Address Functions): Likewise for inet_ntop.
43534         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
43535         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
43536         ssize_t for return value.
43537         (Sending Data): Likewise for send, sendto, sendmsg.
43538         (Socket Option Functions): Add a missing const in setsockopt prototype.
43539         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
43540         use wchar_t for the argument.
43541         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
43542         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
43543         take no arguments.
43544         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
43545         double/float/long double for second argument.
43546         Fix return types of significand, significandf, significandl.
43547         * manual/filesys.texi (Setting Permissions): Use mode_t for second
43548         argument in fchmod prototype.
43549         (File Owner): Use uid_t and gid_t in fchown prototype.
43550         (File Times): Add const to utimes, futimes, and lutimes prototypes.
43551         (Making Special Files): Use mode_t and dev_t in mknod prototype.
43552         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
43553         use 'const struct dirent **' as argument types to CMP function pointer
43554         argument.
43555         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
43556         (File Times): Fix summary magic @comment for struct utimbuf and utime
43557         to refer to utime.h, not time.h.
43558         * manual/string.texi (Argz Functions): Add missing const in
43559         argz_extract and argz_next prototypes.
43560         (Finding Tokens in a String): Likewise for basename.
43561         (String/Array Comparison): Fix typo in wcscasecmp prototype.
43562         (Copying and Concatenation): Fix typo in wmemmove prototype.
43563         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
43564         (Signal Stack): Remove erroneous const in sigstack prototype.
43565         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
43566         prototype.
43567         (Simple Calendar Time): Likewise for stime.
43568         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
43569         prototype.
43570         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
43571         say sys/sysctl.h instead.
43572         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
43573         and vsyslog prototypes.
43575 2013-02-11  Tom de Vries  <tom@codesourcery.com>
43577         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
43578         Remove.
43580 2013-02-11  Roland McGrath  <roland@hack.frob.com>
43582         * misc/sys/mman.h: Fix typo in mremap comment.
43584 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43586         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
43587         the '\0' terminator.
43589 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43591         [BZ #13550]
43592         * debug/segfault.c: Don't include <bp-checks.h>.
43593         * sysdeps/generic/bp-checks.h: Remove file.
43594         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
43595         (__GETDENTS): Don't use CHECK_N.
43596         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
43597         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43598         (__getgroups): Don't use CHECK_N.
43599         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
43600         (setgroups): Don't use CHECK_N.
43601         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
43602         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
43603         (__libc_msgrcv): Don't use CHECK_N.
43604         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
43605         (__libc_msgsnd): Don't use CHECK_N.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
43607         <bp-checks.h>.
43608         (__libc_pread): Don't use CHECK_N.
43609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
43610         include <bp-checks.h>.
43611         (__libc_pread64): Don't use CHECK_N.
43612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
43613         include <bp-checks.h>.
43614         (__libc_pwrite): Don't use CHECK_N.
43615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
43616         include <bp-checks.h>.
43617         (__libc_pwrite64): Don't use CHECK_N.
43618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
43619         <bp-checks.h>.
43620         (__libc_pread): Don't use CHECK_N.
43621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
43622         include <bp-checks.h>.
43623         (__libc_pread64): Don't use CHECK_N.
43624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
43625         include <bp-checks.h>.
43626         (__libc_pwrite): Don't use CHECK_N.
43627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
43628         include <bp-checks.h>.
43629         (__libc_pwrite64): Don't use CHECK_N.
43630         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
43631         (do_pread): Don't use CHECK_N.
43632         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
43633         (do_pread64): Don't use CHECK_N.
43634         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
43635         (do_pwrite): Don't use CHECK_N.
43636         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
43637         (do_pwrite64): Don't use CHECK_N.
43638         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
43639         (__libc_readv): Don't use CHECK_N.
43640         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
43641         (semop): Don't use CHECK_N.
43642         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
43643         <bp-checks.h>.
43644         (semtimedop): Don't use CHECK_N.
43645         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
43646         (__libc_pread): Don't use CHECK_N.
43647         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
43648         <bp-checks.h>.
43649         (__libc_pread64): Don't use CHECK_N.
43650         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
43651         <bp-checks.h>.
43652         (__libc_pwrite): Don't use CHECK_N.
43653         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
43654         <bp-checks.h>.
43655         (__libc_pwrite64): Don't use CHECK_N.
43656         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
43657         <bp-checks.h>.
43658         (__libc_msgrcv): Don't use CHECK_N.
43659         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
43660         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
43661         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
43662         (__libc_writev): Don't use CHECK_N.
43664 2013-02-08  Roland McGrath  <roland@hack.frob.com>
43666         * string/strcpy.c: Removed unused variable.
43668         * Makeconfig (+sysdep-includes): Define with := rather than =.
43669         Use an existing include/ subdir of each sysdeps dir before it.
43671 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43673         * nscd/connection.c (register_traced_file): Comment function.
43674         [HAVE_INOTIFY] (union __inev): Define.
43675         [HAVE_INOTIFY] (inotify_check_files): New function.
43676         [HAVE_INOTIFY] (clear_db_cache): Likewise.
43677         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
43678         clear_db_cache.
43679         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
43681 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43683         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
43684         loaded if not already and that a failure is permanent.
43686 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
43688         [BZ #15006]
43689         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
43690         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
43692 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
43694         [BZ #13550]
43695         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
43696         (CHECK_1_NULL_OK): Likewise.
43697         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
43698         (__fxstat): Do not use CHECK_1.
43699         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
43700         <bp-checks.h>.
43701         (___fxstat64): Do not use CHECK_1.
43702         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43703         <bp-checks.h>.
43704         (__fxstatat): Do not use CHECK_1.
43705         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43706         <bp-checks.h>.
43707         (__fxstatat64): Do not use CHECK_1.
43708         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
43709         <bp-checks.h>.
43710         (__fxstat): Do not use CHECK_1.
43711         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43712         <bp-checks.h>.
43713         (__fxstatat): Do not use CHECK_1.
43714         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43715         <bp-checks.h>.
43716         (__getresgid): Do not use CHECK_1.
43717         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43718         <bp-checks.h>.
43719         (__getresuid): Do not use CHECK_1.
43720         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
43721         <bp-checks.h>.
43722         (__lxstat): Do not use CHECK_1.
43723         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43724         <bp-checks.h>.
43725         (__old_msgctl): Do not use CHECK_1.
43726         (__new_msgctl): Likewise.
43727         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
43728         <bp-checks.h>.
43729         (__new_setrlimit): Do not use CHECK_1.
43730         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43731         <bp-checks.h>.
43732         (__old_shmctl): Do not use CHECK_1.
43733         (__new_shmctl): Likewise.
43734         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
43735         <bp-checks.h>.
43736         (__xstat): Do not use CHECK_1.
43737         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
43738         (__lxstat): Do not use CHECK_1.
43739         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
43740         <bp-checks.h>.
43741         (___lxstat64): Do not use CHECK_1.
43742         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
43743         (__old_msgctl): Do not use CHECK_1.
43744         (__new_msgctl): Likewise.
43745         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
43746         <bp-checks.h>.
43747         (__gettimeofday): Do not use CHECK_1.
43748         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
43749         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
43750         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
43751         <bp-checks.h>.
43752         (__gettimeofday): Do not use CHECK_1.
43753         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
43754         (__old_shmctl): Do not use CHECK_1_NULL_OK.
43755         (__new_shmctl): Do not use CHECK_1.
43756         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
43757         <bp-checks.h>.
43758         (do_sigtimedwait): Do not use CHECK_1.
43759         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
43760         <bp-checks.h>.
43761         (do_sigwaitinfo): Do not use CHECK_1.
43762         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
43763         <bp-checks.h>.
43764         (msgctl): Do not use CHECK_1.
43765         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
43766         <bp-checks.h>.
43767         (shmctl): Do not use CHECK_1.
43768         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
43769         (ustat): Do not use CHECK_1.
43770         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
43771         <bp-checks.h>.
43772         (__fxstat): Do not use CHECK_1.
43773         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43774         <bp-checks.h>.
43775         (__fxstatat): Do not use CHECK_1.
43776         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
43777         <bp-checks.h>.
43778         (__lxstat): Do not use CHECK_1.
43779         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
43780         <bp-checks.h>.
43781         (__xstat): Do not use CHECK_1.
43782         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
43783         (__xstat): Do not use CHECK_1.
43784         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
43785         (___xstat64): Do not use CHECK_1.
43787         [BZ #13550]
43788         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
43789         definitions.
43790         (CHECK_BOUNDS_HIGH): Likewise.
43791         * string/strcpy.c: Do not include <bp-checks.h>.
43792         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
43794 2013-02-07  Roland McGrath  <roland@hack.frob.com>
43796         * nscd/nscd-client.h (__nscd_drop_map_ref):
43797         Add __attribute__ ((unused)).
43798         * nis/nss-nisplus.h (niserr2nss): Likewise.
43800         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
43801         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
43803         * csu/libc-tls.c (init_static_tls, init_slotinfo):
43804         Remove inline keyword.
43805         * include/rounding-mode.h (round_away): Likewise.
43806         * libio/wfileops.c (adjust_wide_data): Likewise.
43807         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
43808         (__m128i_strloadu_tolower): Likewise.
43809         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
43810         (__m128i_strloadu_tolower): Likewise.
43811         * time/mktime.c (ydhms_diff): Likewise.
43812         * locale/elem-hash.h (elem_hash): Likewise.
43813         * locale/setlocale.c (setdata): Likewise.
43814         * posix/regex_internal.h (re_string_char_size_at): Likewise.
43815         (re_string_wchar_at): Likewise.
43816         (bitset_not, bitset_merge, bitset_mask): Likewise.
43817         [!(__GNUC__ > 3)] (inline): Remove macro.
43818         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
43819         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
43820         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
43821         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
43822         * string/memcmp.c (memcmp_bytes): Likewise.
43823         * locale/programs/locarchive.c (compute_hashval): Likewise.
43824         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
43825         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
43826         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
43827         * nss/getent.c (print_rpc, print_protocols): Likewise.
43828         (print_passwd, print_group, print_aliases): Likewise.
43829         * nis/nss-nisplus.h (niserr2nss): Likewise.
43830         * nscd/connections.c (restart_p): Likewise.
43831         Change return type to bool.
43833 2013-02-05  Roland McGrath  <roland@hack.frob.com>
43835         * Makeconfig (all-Depend-files): Add existing
43836         $(sorted-subdirs:=/Depend) files.
43837         (all-subdirs): Remove nss.
43838         * sysdeps/unix/inet/Subdirs: Add it here instead.
43839         * hesiod/Depend: New file.
43841         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
43842         instead of calling alloca.
43844         * io/lseek.c (__lseek): Rename to __libc_lseek.
43845         Define __lseek as an alias.
43847         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
43849 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
43851         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
43852         else clause and remove check for non-standard endianness.
43854 2013-02-04  David S. Miller  <davem@davemloft.net>
43856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43858 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
43860         [BZ #13550]
43861         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
43862         (__ubp_memchr): Remove prototype.
43863         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
43864         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43865         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
43866         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
43867         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
43868         Remove alias.
43869         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
43870         (__ubp_memchr): Likewise.
43871         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
43872         (__ubp_memchr): Likewise.
43873         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
43874         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
43875         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
43876         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
43877         CHECK_STRING.
43878         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43879         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
43880         (__getcwd): Do not use CHECK_STRING.
43881         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43882         <bp-checks.h>.
43883         (__real_chown): Do not use CHECK_STRING.
43884         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
43885         <bp-checks.h>.
43886         (fchownat): Do not use CHECK_STRING.
43887         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
43888         CHECK_STRING.
43889         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43890         <bp-checks.h>.
43891         (__lchown): Do not use CHECK_STRING.
43892         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
43893         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
43894         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
43895         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
43896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43897         include <bp-checks.h>.
43898         (truncate64): Do not use CHECK_STRING.
43899         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43900         <bp-checks.h>.
43901         (__real_chown): Do not use CHECK_STRING.
43902         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43903         <bp-checks.h>.
43904         (__lchown): Do not use CHECK_STRING.
43905         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43906         <bp-checks.h>.
43907         (__chown): Do not use CHECK_STRING.
43908         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
43909         <bp-checks.h>.
43910         (truncate64): Do not use CHECK_STRING.
43911         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
43912         Likewise.
43913         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
43914         (__xmknod): Do not use CHECK_STRING.
43915         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43916         <bp-checks.h>.
43917         (__xmknodat): Do not use CHECK_STRING.
43918         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
43919         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
43921 2013-02-04  Andreas Schwab  <schwab@suse.de>
43923         [BZ #14142]
43924         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
43925         * include/netdb.h: Likewise for h_errno.
43926         * elf/tst-stackguard1.c: Include <tls.h>.
43928 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
43930         * elf/link.h (struct link_map): Extend the l_addr comment.
43931         * include/link.h (struct link_map): Likewise.
43933 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
43935         [BZ #13550]
43936         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
43937         (BOUNDED_1): Remove macro.
43938         * debug/backtrace.c: Don't include <bp-checks.h>.
43939         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
43940         (__backtrace): Likewise.
43941         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
43942         <bp-checks.h>.
43943         (__backtrace): Don't use BOUNDED_1.
43944         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
43945         <bp-checks.h>.
43946         (__backtrace): Don't use BOUNDED_1.
43947         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
43948         (__backtrace): Don't use BOUNDED_1.
43949         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
43950         (shmat): Don't use BOUNDED_N.
43952 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
43954         [BZ #13550]
43955         * sysdeps/generic/bp-start.h: Remove file.
43956         * csu/libc-start.c: Don't include <bp-start.h>.
43957         (LIBC_START_MAIN): Set up __environ directly instead of using
43958         INIT_ARGV_and_ENVIRON.
43959         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
43960         <bp-start.h>.
43962         [BZ #13550]
43963         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
43964         definitions.
43965         (CHECK_FCNTL): Likewise.
43966         (CHECK_N_PAGES): Likewise.
43968         [BZ #13550]
43969         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
43970         definitions.
43971         (CHECK_SIGSET_NULL_OK): Likewise.
43972         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
43973         <bp-checks.h>.
43974         (sigpending): Don't use CHECK_SIGSET.
43975         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
43976         <bp-checks.h>.
43977         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43978         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
43979         <bp-checks.h>.
43980         (do_sigsuspend): Don't use CHECK_SIGSET.
43981         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
43982         use CHECK_SIGSET.
43983         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
43984         (do_sigwait): Don't use CHECK_SIGSET.
43985         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
43986         use CHECK_SIGSET.
43987         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
43988         include <bp-checks.h>.
43989         (sigpending): Don't use CHECK_SIGSET.
43990         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
43991         include <bp-checks.h>.
43992         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
43993         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
43994         <bp-checks.h>.
43995         (sigpending): Don't use CHECK_SIGSET.
43996         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
43997         <bp-checks.h>.
43998         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44000         [BZ #13550]
44001         * sysdeps/generic/bp-semctl.h: Remove file.
44002         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44003         <bp-checks.h> and <bp-semctl.h>.
44004         (__old_semctl): Don't use CHECK_SEMCTL.
44005         (__new_semctl): Likewise.
44006         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44007         and <bp-semctl.h>.
44008         (__old_semctl): Don't use CHECK_SEMCTL.
44009         (__new_semctl): Likewise.
44010         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44011         <bp-checks.h> and <bp-semctl.h>.
44012         (__old_semctl): Don't use CHECK_SEMCTL.
44013         (__new_semctl): Likewise.
44014         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44015         <bp-checks.h> and <bp-semctl.h>.
44016         (semctl): Don't use CHECK_SEMCTL.
44018         [BZ #13550]
44019         * Makerules (elide-bp-thunks): Remove variable.
44020         (elide-routines.oS): Don't use $(elide-bp-thunks).
44021         (elide-routines.os): Likewise.
44022         (elide-routines.o): Likewise.
44023         (elide-routines.op): Likewise.
44024         (elide-routines.og): Likewise.
44025         (objects): Don't use $(bp-thunks).
44026         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44027         include.
44028         (common-generated): Do not add s-proto-bp.d.
44029         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44030         (int): Likewise.
44031         (typ): Likewise.
44032         Do not generate makefile rules for bounded-pointer thunks.
44033         * sysdeps/generic/bp-thunks.h: Remove file.
44034         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44035         * sysdeps/unix/s-proto-bp.S: Likewise.
44037         [BZ #15062]
44038         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44039         parts of result separately when argument is not close to line from
44040         -i to i and one part of argument is small.
44041         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44042         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44043         * math/libm-test.inc (cacos_test): Add more tests.
44044         (casin_test): Likewise.
44045         (casinh_test): Likewise.
44046         * sysdeps/i386/fpu/libm-test-ulps: Update.
44047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44049 2013-01-31  David S. Miller  <davem@davemloft.net>
44051         * po/de.po: Update from translation team.
44053 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44055         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44057 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44059         * configure.in (_AC_PROG_CC_C89): New definition.
44060         * configure: Regenerate.
44062         * configure.in (AC_PROG_CPP): New definition.
44063         * configure: Regenerate.
44065 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44067         * debug/tst-backtrace.h: New file.
44068         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44069         (ret): Remove variable.
44070         (x): Likewise.
44071         (FAIL): Remove macro.
44072         (NO_INLINE): Likewise.
44073         (fn1): Use match function instead of strstr.
44074         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44075         (ret): Remove variable.
44076         (x): Likewise.
44077         (FAIL): Remove macro.
44078         (NO_INLINE): Likewise.
44079         (fn): Use match function instead of strstr.
44080         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44081         (ret): Remove variable.
44082         (x): Likewise.
44083         (FAIL): Remove macro.
44084         (NO_INLINE): Likewise.
44085         (handle_signal): Use match function instead of strstr.
44086         * debug/tst-backtrace5.c: Include tst-backtrace.h.
44087         (ret): Remove variable.
44088         (x): Likewise.
44089         (FAIL): Remove macro.
44090         (NO_INLINE): Likewise.
44091         (handle_signal): Use match function instead of strstr.
44093 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44095         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44097 2013-01-23  David S. Miller  <davem@davemloft.net>
44099         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44100         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44101         argument of CAS if possible.
44102         * sysdeps/sparc/sparc64/bits/atomic.h
44103         (__arch_compare_and_exchange_val_32_acq): Likewise.
44104         (__arch_compare_and_exchange_val_64_acq): Likewise.
44106 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44108         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44109         * sysdeps/posix/ulimit.c: ... this.
44110         Include <limits.h>.
44111         * sysdeps/unix/bsd/ulimit.c: Remove file.
44113 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44115         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44116         (LDFLAGS-tst-array5): Likewise.
44118 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44120         [BZ #15036]
44121         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44122         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44123         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44124         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44126 2013-01-21  David S. Miller  <davem@davemloft.net>
44128         * sysdeps/sparc/backtrace.c: New file.
44129         * sysdeps/sparc/sparc32/backtrace.h: New file.
44130         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44131         * sysdeps/sparc/sparc64/backtrace.h: New file.
44132         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44133         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44134         -funwind-tables.
44136 2013-01-21  Andreas Schwab  <schwab@suse.de>
44138         [BZ #15020]
44139         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44140         closed its stdout.
44142 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44144         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44145         "mpa2.h".
44146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44148 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44149             Mark Mitchell  <mark@codesourcery.com>
44150             Tom de Vries  <tom@codesourcery.com>
44151             Paul Pluzhnikov  <ppluzhnikov@google.com>
44153         * debug/tst-backtrace2.c: New file.
44154         * debug/tst-backtrace3.c: Likewise.
44155         * debug/tst-backtrace4.c: Likewise.
44156         * debug/tst-backtrace5.c: Likewise.
44157         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44158         (CFLAGS-tst-backtrace3.c): Likewise.
44159         (CFLAGS-tst-backtrace4.c): Likewise.
44160         (CFLAGS-tst-backtrace5.c): Likewise.
44161         (LDFLAGS-tst-backtrace2): Likewise.
44162         (LDFLAGS-tst-backtrace3): Likewise.
44163         (LDFLAGS-tst-backtrace4): Likewise.
44164         (LDFLAGS-tst-backtrace5): Likewise.
44165         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44166         tst-backtrace4 and tst-backtrace5.
44168 2013-01-18  Anton Blanchard  <anton@samba.org>
44169             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44171         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44172         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44173         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44174         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
44176         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
44177         "+r" and remove output regs list as redundant.  Add explicit inline
44178         asm to specify register of return val to work around compiler codegen
44179         bug.  Remove (int) cast on return value.  Add return type parameter to
44180         use in macro so that this macro does not truncate return value for
44181         64-bit values.
44182         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
44183         pass to INTERNAL_VSYSCALL_NCS.
44184         (INLINE_VSYSCALL): Add 'long int' as return type to
44185         INTERNAL_VSYSCALL_NCS macro invocation.
44186         (INTERNAL_VSYSCALL): Add 'long int' as return type to
44187         INTERNAL_VSYSCALL_NCS macro invocation.
44188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44190 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44192         [BZ #14496]
44193         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
44194         Fix application of SIMD FP exception mask.
44196         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
44197         mp_no from a power of two.
44198         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
44199         __mpexp_twomm1.  Use __pow_mp.
44201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
44202         multiplication.
44204 2013-01-17  David S. Miller  <davem@davemloft.net>
44206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44208 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44210         [BZ #15023]
44211         * include/complex.h: Condition contents on [!_COMPLEX_H].
44212         (__kernel_casinhf): New prototype.
44213         (__kernel_casinh): Likewise.
44214         (__kernel_casinhl): Likewise.
44215         * math/Makefile (libm_calls): Add k_casinh.
44216         * math/k_casinh.c: New file.
44217         * math/k_casinhf.c: Likewise.
44218         * math/k_casinhl.c: Likewise.
44219         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
44220         finite nonzero arguments.
44221         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
44222         finite nonzero arguments.
44223         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
44224         finite nonzero arguments.
44225         * math/s_casinh.c: Do not include <float.h>.
44226         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
44227         * math/s_casinhf.c: Do not include <float.h>.
44228         (__casinhf): Move code for finite nonzero arguments to
44229         k_casinhf.c.
44230         * math/s_casinhl.c: Do not include <float.h>.
44231         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
44232         redefine.
44233         (__casinhl): Move code for finite nonzero arguments to
44234         k_casinhl.c.
44235         * math/libm-test.inc (cacos_test): Add more tests.
44236         * sysdeps/i386/fpu/libm-test-ulps: Update.
44237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44239 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
44241         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
44242         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
44243         [!HAVE_MREMAP]: Remove [defined linux] case.
44244         * malloc/arena.c: Do not include <malloc-sysdep.h>.
44246 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44248         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
44250 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
44252         * elf/elf.h (R_386_SIZE32): New relocation.
44253         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
44254         R_386_SIZE32.
44255         (elf_machine_rela): Likewise.
44256         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44257         R_X86_64_SIZE64 and R_X86_64_SIZE32.
44259 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
44261         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
44262         (FP_FAST_FMA): Do not define.
44263         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
44264         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
44265         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
44266         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
44267         !_SOFT_FLOAT]: Likewise.
44268         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
44269         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
44270         value.
44271         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
44272         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
44273         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
44274         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
44275         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
44276         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
44277         file.
44279 2013-01-16  Andreas Schwab  <schwab@suse.de>
44281         [BZ #14327]
44282         * include/stdlib.h (__mktemp): Add declaration.
44283         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
44284         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
44286 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44288         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
44289         definitions.
44290         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
44291         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
44292         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
44293         definitions here.
44294         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
44295         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
44296         definitions.
44297         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
44298         and ONE.
44299         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
44300         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
44301         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
44302         definitions.
44303         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
44304         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
44305         definitions.
44306         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
44308         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
44310 2013-01-15  David S. Miller  <davem@davemloft.net>
44312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44313         trunc{,f} to libm-sysdep_routes.
44314         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
44316         file.
44317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
44318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
44319         file.
44320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
44321         file.
44322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
44323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
44324         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
44325         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
44326         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
44327         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
44328         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
44329         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
44331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44332         nearbyint{,f} to libm-sysdep_routes.
44333         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
44335         New file.
44336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
44337         file.
44338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
44339         New file.
44340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
44341         file.
44342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
44343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
44344         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
44345         file.
44346         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
44347         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
44348         file.
44349         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
44350         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
44351         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
44353         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44354         libc_feholdexcept and libc_fesetenv.
44356 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
44358         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
44360 2013-01-14  David S. Miller  <davem@davemloft.net>
44362         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
44363         (SPARC_ASM_VIS2_IFUNC): Likewise.
44364         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
44365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
44366         use of 'siam' instruction.
44367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
44368         Likewise.
44369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
44370         Likewise.
44371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
44372         Likewise.
44373         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
44374         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
44375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
44376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
44377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
44378         file.
44379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
44380         file.
44381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
44382         file.
44383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
44384         file.
44385         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
44386         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
44387         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
44388         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
44389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
44390         new VIS2 routines.
44391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44394         Likewise.
44395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44397         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44398         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
44400         routines to libm-sysdep_routines.
44401         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
44403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
44404         fdim/fdimf to libm-sysdep_routines.
44405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
44406         file.
44407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
44408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
44409         file.
44410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
44411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
44412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
44413         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
44414         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
44415         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
44416         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
44418 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44420         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
44421         to optimize copies.
44423         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
44424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
44428         local variable MPTWO.
44429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44430         Likewise.
44432 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44434         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
44435         GLOB_NOESCAPE.
44437 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44439         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
44441 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
44443         * manual/pattern.texi (glob_t): Document gl_flags.
44444         (glob64_t): Likewise.
44446 2013-01-11  David S. Miller  <davem@davemloft.net>
44448         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
44449         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
44450         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
44451         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
44452         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
44453         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
44454         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
44455         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
44456         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
44457         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
44458         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
44459         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
44460         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
44462         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44463         sparc V9 rather than using V8 code.
44464         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44465         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44467         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44468         Move to...
44469         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
44470         Here.
44472 2013-01-11  Roland McGrath  <roland@hack.frob.com>
44474         [BZ #14941]
44475         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
44476         not in the main loop.
44477         * configure: Regenerated.
44479 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
44481         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
44482         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
44483         to just #else.
44484         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
44485         [!__GLIBC_HAVE_LONG_LONG] case.
44486         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
44487         condition to just #else.
44488         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
44489         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
44490         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
44491         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
44492         unconditional.
44493         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
44494         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44495         #elif condition to just #else.
44496         * sysdeps/unix/sysv/linux/sys/sysmacros.h
44497         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
44498         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
44499         #elif condition to just #else.
44501 2013-01-11  Steve Ellcey  <sellcey@mips.com>
44503         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
44504         (EF_MIPS_ARCH_64): Fix value.
44505         (EF_MIPS_ARCH_32R2): New.
44506         (EF_MIPS_ARCH_64R2): New.
44508 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
44510         * Makeconfig (+link-pie-before-libc): New.
44511         (+link-pie-after-libc): Likewise.
44512         (+link-pie-tests): Likewise.
44513         (+link-pie): Rewritten.
44514         (link-before-libc): Remove $(config-LDFLAGS).
44515         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
44516         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
44517         (config-LDFLAGS): Renamed to ...
44518         (rtld-LDFLAGS): This.
44519         (rtld-tests-LDFLAGS): New macro.
44520         (link-libc-rpath-link): Likewise.
44521         (link-libc-tests-rpath-link): Likewise.
44522         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
44523         (link-libc): Prepand $(link-libc-rpath-link).
44524         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
44525         (test-program-prefix): New macro.
44526         (test-via-rtld-prefix): Likewise.
44527         (test-program-cmd): Likewise.
44528         (host-test-program-cmd): Likewise.
44529         * Makefile ($(common-objpfx)testrun.sh): Replace
44530         $(run-program-prefix) with $(test-program-prefix).
44531         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
44532         $(rtld-LDFLAGS).
44533         ($(common-objpfx)shlib.lds): Likewise.
44534         (build-module-helper): Likewise.
44535         ($(common-objpfx)format.lds): Likewise.
44536         * Rules (binaries-pie-tests): New.
44537         (binaries-pie-notests): Likewise.
44538         (binaries-pie): Rewritten.
44539         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
44540         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
44541         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
44542         (make-test-out): Replace $(host-built-program-cmd) with
44543         $(host-test-program-cmd).
44544         * config.make.in (build-hardcoded-path-in-tests): New variable.
44545         * configure.in (--enable-hardcoded-path-in-tests): New configure
44546         option.
44547         (hardcoded_path_in_tests): New AC_SUBST.
44548         * configure: Regenerated.
44549         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
44550         $(built-program-cmd) with $(test-program-cmd).
44551         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
44552         (test_program_cmd): This.
44553         * elf/Makefile ($(objpfx)order.out): Run test with
44554         $(test-program-prefix).
44555         ($(objpfx)order2.out): Likewise.
44556         ($(objpfx)tst-initorder.out): Likewise.
44557         ($(objpfx)tst-initorder2.out): Likewise.
44558         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
44559         $(test-program-cmd).
44560         ($(objpfx)tst-array1-static.out): Likewise.
44561         ($(objpfx)tst-array2.out): Likewise.
44562         ($(objpfx)tst-array3.out): Likewise.
44563         ($(objpfx)tst-array4.out): Likewise.
44564         ($(objpfx)tst-array5.out): Likewise.
44565         ($(objpfx)tst-array5-static.out): Likewise.
44566         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
44567         $(test-program-cmd).
44568         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
44569         $(run-program-prefix) with $(test-program-prefix).
44570         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
44571         (test_program_prefix): This.
44572         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
44573         $(run-program-prefix) with $(test-program-prefix).
44574         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
44575         (test_program_prefix): This.
44576         * iconvdata/tst-tables.sh: Likewise.
44577         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
44578         $(run-program-prefix) with $(test-program-prefix).
44579         ($(objpfx)tst-translit.out): Likewise.
44580         ($(objpfx)tst-gettext2.out): Likewise.
44581         ($(objpfx)tst-gettext4.out): Likewise.
44582         ($(objpfx)tst-gettext6.out): Likewise.
44583         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
44584         (test_program_prefix): This.
44585         * intl/tst-gettext2.sh: Likewise.
44586         * intl/tst-gettext4.sh  Likewise.
44587         * intl/tst-gettext6.sh: Likewise.
44588         * intl/tst-translit.sh: Likewise.
44589         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
44590         with $(test-program-cmd).
44591         * libio/Makefile ($(objpfx)test-freopen.out): Replace
44592         $(run-program-prefix) with $(test-program-prefix).
44593         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
44594         (test_program_prefix): This.
44595         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
44596         $(run-program-prefix) with $(test-program-prefix).
44597         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
44598         (test_program_prefix): This.
44599         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
44600         * posix/Makefile ($(objpfx)globtest.out): Replace
44601         $(run-via-rtld-prefix) and $(test-wrapper) with
44602         $(test-program-prefix) and $(test-via-rtld-prefix).
44603         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
44604         $(test-program-prefix).
44605         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
44606         $(host-test-program-cmd).
44607         (tst-spawn-ARGS): Likewise.
44608         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
44609         $(test-program-prefix).
44610         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
44611         (test_via_rtld_prefix): This.
44612         (test_wrapper): Renamed to ...
44613         (test_program_prefix): This.
44614         (run_program_prefix): Replaced by test_program_prefix.
44615         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
44616         (test_program_prefix): This.
44617         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
44618         with $(host-test-program-cmd).
44619         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
44620         $(run-program-prefix) with $(test-program-prefix).
44621         ($(objpfx)tst-printf.out): Likewise.
44622         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
44623         $(test-program-cmd).
44624         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
44625         (test_program_prefix): This.
44626         * stdio-common/tst-unbputc.sh: Likewise.
44627         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
44628         $(run-program-prefix) with $(test-program-prefix).
44629         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
44630         (test_program_prefix): This.
44631         * string/Makefile ($(objpfx)tst-svc.out):  Replace
44632         $(built-program-cmd) with $(test-program-cmd).
44634 2013-01-11  Andreas Jaeger  <aj@suse.de>
44636         [BZ #15003]
44637         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
44638         value. Sync with Linux 3.7.
44640 2013-01-10  David S. Miller  <davem@davemloft.net>
44642         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
44643         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44644         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44646 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44648         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
44649         never set.
44650         * configure: Regenerated.
44652 2013-01-10  David S. Miller  <davem@davemloft.net>
44654         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
44655         sparc V9 rather than using V8 code.
44656         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
44657         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
44659 2013-01-10  Roland McGrath  <roland@hack.frob.com>
44661         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
44662         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
44663         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
44664         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
44665         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
44666         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
44667         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
44668         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
44669         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
44670         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
44671         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
44672         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
44673         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
44674         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
44675         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
44676         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
44677         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
44678         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
44679         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
44680         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
44681         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
44682         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
44683         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
44684         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
44685         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
44686         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
44687         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
44689 2013-01-10  David S. Miller  <davem@davemloft.net>
44691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44693 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44695         * posix/Makefile (tests-static): New variable.
44696         (tests): Add $(tests-static).
44697         (tst-exec-static-ARGS): New variable.
44698         (tst-spawn-static-ARGS): Likewise.
44699         * posix/tst-exec-static.c: New file.
44700         * posix/tst-spawn-static.c: Likewise.
44701         * posix/tst-exec.c: Support run directly.
44702         * posix/tst-spawn.c: Likewise.
44704 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
44706         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
44707         long.
44708         * math/bits/mathcalls.h (llrint): Likewise.
44709         (llround): Likewise.
44710         * stdlib/stdlib.h (struct drand48_data): Likewise.
44711         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
44712         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
44713         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
44714         Likewise.
44715         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
44716         Likewise.
44717         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
44718         (elf_greg_t): Likewise.
44719         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
44720         (__jmp_buf): Likewise.
44721         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
44722         definitions.
44723         (llrint): Likewise, for all definitions.
44724         (llrintl): Likewise.
44726         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
44727         Remove [__GNUC__] condition.
44728         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
44729         condition to just [__USE_ISOC99].
44730         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
44732 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
44734         [BZ #14200]
44735         * sysdeps/unix/sysv/linux/x86/bits/environments.h
44736         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
44737         defined.
44738         (_POSIX_V6_ILP32_OFF32): Likewise.
44739         (_XBS5_ILP32_OFF32): Likewise.
44740         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
44741         (__ILP32_OFFBIG_LDFLAGS): Likewise.
44743 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44745         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
44747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
44748         doubles __mpexp_twomm1.  Adjust usage.
44749         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
44750         Remove.
44752 2013-01-10  Andreas Schwab  <schwab@suse.de>
44754         [BZ #14964]
44755         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
44756         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
44758 2013-01-09  David S. Miller  <davem@davemloft.net>
44760         [BZ #15003]
44761         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
44762         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
44763         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
44764         (TCP_FASTOPEN): Define.
44765         (tcp_repair_opt): New structure.
44766         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
44767         enum values.
44768         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
44769         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
44770         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
44771         (tcp_cookie_transactions): New structure.
44773 2013-01-09  Anton Blanchard  <anton@samba.org>
44775         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
44776         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
44777         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
44778         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
44780 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
44782         * include/features.h (__USE_ANSI): Remove.
44784 2013-01-09  Roland McGrath  <roland@hack.frob.com>
44786         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
44788         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
44790 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44792         * sysdeps/s390/fpu/libm-test-ulps: Update.
44794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44796         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
44797         (__acr): Likewise.
44798         (__cpy): Likewise.
44799         (norm): Likewise.
44800         (denorm): Likewise.
44801         (__mp_dbl): Likewise.
44802         (__dbl_mp): Likewise.
44803         (add_magnitudes): Likewise.
44804         (sub_magnitudes): Likewise.
44805         (__add): Likewise.
44806         (__sub): Likewise.
44807         (__mul): Likewise.
44808         (__inv): Likewise.
44809         (__dvd): Likewise.
44810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
44811         (__acr): Likewise.
44812         (__cpy): Likewise.
44813         (norm): Likewise.
44814         (denorm): Likewise.
44815         (__mp_dbl): Likewise.
44816         (__dbl_mp): Likewise.
44817         (add_magnitudes): Likewise.
44818         (sub_magnitudes): Likewise.
44819         (__add): Likewise.
44820         (__sub): Likewise.
44821         (__mul): Likewise.
44822         (__inv): Likewise.
44823         (__dvd): Likewise.
44824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
44825         (__acr): Likewise.
44826         (__cpy): Likewise.
44827         (norm): Likewise.
44828         (denorm): Likewise.
44829         (__mp_dbl): Likewise.
44830         (__dbl_mp): Likewise.
44831         (add_magnitudes): Likewise.
44832         (sub_magnitudes): Likewise.
44833         (__add): Likewise.
44834         (__sub): Likewise.
44835         (__mul): Likewise.
44836         (__inv): Likewise.
44837         (__dvd): Likewise.
44839 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
44841         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
44842         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
44843         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
44844         2 && __USE_EXTERN_INLINES]: Likewise.
44846 2013-01-08  Andreas Jaeger  <aj@suse.de>
44848         [BZ# 14985]
44849         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
44850         Remove.
44851         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44852         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
44854 2013-01-07  Anton Blanchard  <anton@samba.org>
44856         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
44857         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44858         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
44859         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44860         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44861         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44862         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
44863         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
44864         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
44865         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44866         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44867         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44869         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44870         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44871         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44872         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44873         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44874         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44875         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44876         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44877         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
44878         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44879         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44880         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
44881         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44882         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44883         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44884         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
44885         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44886         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44888         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44889         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44890         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44891         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44892         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44893         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44894         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
44895         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44896         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
44897         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44898         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44900 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
44902         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
44903         (__MALLOC_PMT): Likewise.
44904         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
44905         [__GNUC__], only on [_LIBC].
44906         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44907         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
44908         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
44909         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
44910         forward declaration.
44911         (realloc_hook_ini): Likewise.
44912         (memalign_hook_ini): Likewise.
44913         (__libc_memalign): Do not use __MALLOC_PMT in variable
44914         declaration.
44915         (__libc_valloc): Likewise.
44916         (__libc_pvalloc): Likewise.
44917         (__libc_calloc): Likewise.
44918         (__posix_memalign): Likewise.
44920         [BZ #14996]
44921         * math/s_casinh.c: Include <float.h>.
44922         (__casinh): Do not do computation with squaring and square root
44923         for large arguments.
44924         * math/s_casinhf.c: Include <float.h>.
44925         (__casinhf): Do not do computation with squaring and square root
44926         for large arguments.
44927         * math/s_casinhl.c: Include <float.h>.
44928         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
44929         (__casinhl): Do not do computation with squaring and square root
44930         for large arguments.
44931         * math/libm-test.inc (casin_test): Add more tests.
44932         (casinh_test): Likewise.
44933         * sysdeps/i386/fpu/libm-test-ulps: Update.
44934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44936 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
44938         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
44939         (__x86_64_raw_data_cache_size): Likewise.
44940         (__x86_64_data_cache_size_half): Likewise.
44941         (__x86_64_raw_data_cache_size_half): Likewise.
44942         (__x86_64_shared_cache_size): Likewise.
44943         (__x86_64_raw_shared_cache_size): Likewise.
44944         (__x86_64_shared_cache_size_half): Likewise.
44945         (__x86_64_raw_shared_cache_size_half): Likewise.
44946         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
44947         to ...
44948         (__x86_data_cache_size): This.
44949         (__x86_64_raw_data_cache_size): Renamed to ...
44950         (__x86_raw_data_cache_size): This.
44951         (__x86_64_data_cache_size_half): Renamed to ...
44952         (__x86_data_cache_size_half): This.
44953         (__x86_64_raw_data_cache_size_half): Renamed to ...
44954         (__x86_raw_data_cache_size_half): This.
44955         (__x86_64_shared_cache_size): Renamed to ...
44956         (__x86_shared_cache_size): This.
44957         (__x86_64_raw_shared_cache_size): Renamed to ...
44958         (__x86_raw_shared_cache_size): This.
44959         (__x86_64_shared_cache_size_half): Renamed to ...
44960         (__x86_shared_cache_size_half): This.
44961         (__x86_64_raw_shared_cache_size_half): Renamed to ...
44962         (__x86_raw_shared_cache_size_half): This.
44963         * sysdeps/x86_64/memcpy.S: Updated.
44964         * sysdeps/x86_64/memset.S: Likewise.
44965         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44966         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44967         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44969 2013-01-04  David S. Miller  <davem@davemloft.net>
44971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44973 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
44975         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
44976         1 to avoid redefinition warning.
44977         (__USE_GNU): Don't define.
44978         (init_signaling_nan): Protoize.
44980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44982 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44984         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
44985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
44986         (__cpymn): Likewise.
44987         (norm): Remove commented code.
44988         (denorm): Likewise.
44989         (__mp_dbl): Likewise.
44990         (__inv): Likewise.
44991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
44992         (__cpymn): Likewise.
44993         (norm): Remove commented code.
44994         (denorm): Likewise.
44995         (__mp_dbl): Likewise.
44996         (__inv): Likewise.
44998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
44999         mp_no value for 1.0 and 2.0.
45000         (norm): Use RADIXI instead of radixi.d.
45001         (denorm): Likewise.
45002         (__mul): Use 0.0 instead of zero.d.
45003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45004         mp_no value for 1.0 and 2.0.
45005         (norm): Use RADIXI instead of radixi.d.
45006         (denorm): Likewise.
45007         (__mul): Use 0.0 instead of zero.d.
45009 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45011         [BZ #14994]
45012         * math/s_casinh.c (__casinh): Reduce finite argument to first
45013         quadrant then set signs of results at the end.
45014         * math/s_casinhf.c (__casinhf): Likewise.
45015         * math/s_casinhl.c (__casinhl): Likewise.
45016         * math/libm-test.inc (casin_test): Add more tests.
45017         (casinh_test): Likewise.
45018         * sysdeps/i386/fpu/libm-test-ulps: Update.
45019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45021 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45023         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45025         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45027         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45028         declarations.
45029         (denorm): Likewise.
45030         (__mp_dbl): Likewise.
45031         (__inv): Likewise.
45033         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45034         and adjust the header comment.
45036         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45037         variable name from declaration.
45039 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45042         Initialize COMMON_CPUID_INDEX_7 element.
45043         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45044         (CPUID_RTM): Likewise.
45045         (HAS_RTM): Likewise.
45046         (COMMON_CPUID_INDEX_7): New enum.
45048 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45050         [BZ #14981]
45051         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45052         size is zero, record memory as freed.
45054 2013-01-03  Andreas Jaeger  <aj@suse.de>
45056         * po/ia.po: Add new Interlingua translation.
45058 2012-01-03  Allan McRae  <allan@archlinux.org>
45060         * locale/programs/localedef.c: Fix description of '--posix' flag.
45062 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45064         * NEWS: Update dates in second copyright notice.
45065         * README: Update copyright dates in example.
45066         * manual/libc.texinfo: Update copyright dates.
45067         * scripts/test-installation.pl: Update copyright date in --version
45068         output.
45070         * hurd/ctty-input.c: Fix copyright notice formatting.
45071         * hurd/ctty-output.c: Likewise.
45072         * hurd/dtable.c: Likewise.
45073         * hurd/hurd-raise.c: Likewise.
45074         * hurd/hurdprio.c: Likewise.
45075         * hurd/msgportdemux.c: Likewise.
45076         * misc/sys/file.h: Likewise.
45077         * misc/sys/ioctl.h: Likewise.
45078         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45079         * sysdeps/mach/hurd/chdir.c: Likewise.
45080         * sysdeps/mach/hurd/fchdir.c: Likewise.
45081         * sysdeps/mach/hurd/rename.c: Likewise.
45082         * sysdeps/mach/hurd/rmdir.c: Likewise.
45083         * sysdeps/mach/hurd/seekdir.c: Likewise.
45084         * sysdeps/mach/hurd/setsid.c: Likewise.
45085         * sysdeps/posix/wait3.c: Likewise.
45087         * All files with FSF copyright notices: Update copyright dates
45088         using scripts/update-copyrights.
45089         * intl/plural.c: Regenerated.
45090         * locale/programs/charmap-kw.h: Likewise.
45091         * locale/programs/locfile-kw.h: Likewise.
45093 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45095         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45096         four values.
45098         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45099         calculation loop and add branch prediction.
45101         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45102         check access beyond bounds of m1np.
45104         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45105         MPTWO.
45106         (__inv): Remove local variable MPTWO to use the global
45107         constant.
45108         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45109         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45110         variable MPTWO.
45111         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45112         MP3HALFS static const.
45114 2013-01-01  David S. Miller  <davem@davemloft.net>
45116         * po/ca.po: Update from translation team.
45118 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45120         * scripts/update-copyrights: New file.
45121         * Makeconfig: Reformat copyright notice.
45122         * ctype/ctype.h: Likewise.
45123         * debug/swprintf_chk.c: Likewise.
45124         * elf/dl-cache.c: Likewise.
45125         * elf/dl-debug.c: Likewise.
45126         * elf/dl-object.c: Likewise.
45127         * grp/initgroups.c: Likewise.
45128         * hurd/Makefile: Likewise.
45129         * hurd/hurd/signal.h: Likewise.
45130         * hurd/hurdfault.c: Likewise.
45131         * hurd/hurdioctl.c: Likewise.
45132         * hurd/hurdlookup.c: Likewise.
45133         * hurd/intr-msg.c: Likewise.
45134         * iconv/gconv_open.c: Likewise.
45135         * libio/swprintf.c: Likewise.
45136         * locale/lc-ctype.c: Likewise.
45137         * locale/nl_langinfo.c: Likewise.
45138         * mach/Machrules: Likewise.
45139         * mach/Makefile: Likewise.
45140         * malloc/obstack.h: Likewise.
45141         * manual/Makefile: Likewise.
45142         * manual/tsort.awk: Likewise.
45143         * misc/bits/stab.def: Likewise.
45144         * nis/nis_print_group_entry.c: Likewise.
45145         * nis/nis_table.c: Likewise.
45146         * nis/nss_compat/compat-pwd.c: Likewise.
45147         * nis/nss_compat/compat-spwd.c: Likewise.
45148         * po/Makefile: Likewise.
45149         * posix/fnmatch.c: Likewise.
45150         * posix/regex.h: Likewise.
45151         * resolv/Makefile: Likewise.
45152         * resolv/nss_dns/dns-network.c: Likewise.
45153         * resolv/res_hconf.c: Likewise.
45154         * scripts/gen-sorted.awk: Likewise.
45155         * soft-fp/soft-fp.h: Likewise.
45156         * stdio-common/printf.h: Likewise.
45157         * stdlib/monetary.h: Likewise.
45158         * stdlib/random.c: Likewise.
45159         * stdlib/random_r.c: Likewise.
45160         * sysdeps/generic/Makefile: Likewise.
45161         * sysdeps/gnu/Makefile: Likewise.
45162         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45163         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45164         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45165         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45166         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45169         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45170         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45171         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45172         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45173         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45174         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45175         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45176         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
45177         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45178         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45179         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45180         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45181         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45182         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45183         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45184         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45185         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45186         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
45187         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45188         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45189         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
45190         * sysdeps/mach/hurd/errnos.awk: Likewise.
45191         * sysdeps/mach/hurd/fork.c: Likewise.
45192         * sysdeps/mach/hurd/getcwd.c: Likewise.
45193         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
45194         * sysdeps/mach/hurd/mmap.c: Likewise.
45195         * sysdeps/mach/hurd/utimes.c: Likewise.
45196         * sysdeps/mach/hurd/xmknod.c: Likewise.
45197         * sysdeps/posix/profil.c: Likewise.
45198         * sysdeps/posix/readdir_r.c: Likewise.
45199         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45200         * sysdeps/powerpc/bits/setjmp.h: Likewise.
45201         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
45202         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45204         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45205         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45206         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45208         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45209         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45210         * sysdeps/pthread/lio_listio.c: Likewise.
45211         * sysdeps/sparc/dl-procinfo.h: Likewise.
45212         * sysdeps/unix/i386/sysdep.S: Likewise.
45213         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
45214         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
45215         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
45216         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
45217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45218         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
45219         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
45220         * sysdeps/unix/sysv/linux/speed.c: Likewise.
45221         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45222         * sysdeps/wordsize-32/divdi3.c: Likewise.
45223         * time/sys/time.h: Likewise.
45224         * wcsmbs/Makefile: Likewise.
45226 2013-01-01  David S. Miller  <davem@davemloft.net>
45228         * po/fr.po: Update from translation team.
45230         * catgets/gencat.c: Update copyright year.
45231         * csu/version.c: Likewise.
45232         * debug/catchsegv.sh: Likewise.
45233         * debug/pcprofiledump.c: Likewise.
45234         * debug/xtrace.sh: Likewise.
45235         * elf/ldconfig.c: Likewise.
45236         * elf/ldd.bash.in: Likewise.
45237         * elf/pldd.c: Likewise.
45238         * elf/sotruss.ksh: Likewise.
45239         * elf/sprof.c: Likewise.
45240         * iconv/iconv_prog.c: Likewise.
45241         * iconv/iconvconfig.c: Likewise.
45242         * locale/programs/locale.c: Likewise.
45243         * locale/programs/localedef.c: Likewise.
45244         * login/programs/pt_chown.c: Likewise.
45245         * malloc/memusage.sh: Likewise.
45246         * malloc/memusagestat.c: Likewise.
45247         * malloc/mtrace.pl: Likewise.
45248         * nscd/nscd.c: Likewise.
45249         * nss/getent.c: Likewise.
45250         * nss/makedb.c: Likewise.
45251         * posix/getconf.c: Likewise.
45253 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45255         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
45256         numbers.
45258 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
45260         * math/bits/mathcalls.h (modf): Use __nonnull.
45262 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45264         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
45265         (split): Use macro CN instead of the bare value.
45266         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
45267         could be used.
45268         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
45269         instead of the bare value.
45270         (power1): Likewise.
45272 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45274         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
45275         __ATAN_TWOM.
45276         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45278         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
45279         their values.
45280         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45281         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45282         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
45283         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45285 2012-12-28  Andreas Jaeger  <aj@suse.de>
45287         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
45288         values are from Linux 3.7.
45290         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
45291         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
45293 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45295         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
45296         TRUE case.
45298         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
45299         (norm): Likewise.
45300         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
45301         variables with preprocessor constants.
45302         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45303         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45304         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45306 2012-12-27  Bruno Haible  <bruno@clisp.org>
45308         [BZ #14317]
45309         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
45310         only if needed.
45312 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
45315         and use variable directly.
45316         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
45318         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45319         MPONE.
45320         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
45321         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45322         variable MPONE.
45323         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45324         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45325         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
45326         include directive.  Remove local variable MPONE.
45327         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
45328         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
45329         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45331 2012-12-25  David S. Miller  <davem@davemloft.net>
45333         * version.h (RELEASE): Set to "development".
45334         (VERSION): Set to "2.17.90".
45335         * NEWS: Add 2.18 section.
45337 2012-12-21  David S. Miller  <davem@davemloft.net>
45339         * po/hr.po: Update from translation team.
45341 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45343         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
45345 2012-12-19  Steve Ellcey  <sellcey@mips.com>
45347         * NEWS:  Mention new memcpy for MIPS.
45349 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45351         * manual/contrib.texi (Contributors): Spelling correction.
45353 2012-12-15  David S. Miller  <davem@davemloft.net>
45355         * po/ru.po: Update from translation team.
45357 2012-12-13  David S. Miller  <davem@davemloft.net>
45359         * NEWS: Mention IFUNC testsuite enhancements.
45361         * po/pl.po: Update from translation team.
45362         * po/bg.po: Likewise.
45364         * manual/contrib.texi (Contributors): Update entries for Hongjiu
45365         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
45367 2012-12-11  David S. Miller  <davem@davemloft.net>
45369         * po/sv.po: Update from translation team.
45371         * po/vi.po: Update from translation team.
45373         * po/cs.po: Update from translation team.
45375         * po/de.po: Update from translation team.
45376         * po/eo.po: Likewise.
45377         * po/nl.po: Likewise.
45379 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45381         [BZ #14246]
45382         * manual/argp.texi (Argp Helper Functions): Move node to follow
45383         Argp Parsing State.
45385         [BZ #14872]
45386         * manual/conf.texi (Limits on File System Capacity): Mention if
45387         terminating null is included in the max size.
45389 2012-12-10  Andreas Jaeger  <aj@suse.de>
45391         * po/cs.po: Update from translation team.
45393 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45395         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
45396         void pointer and cast to uintptr_t.
45397         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
45398         path.
45399         * sysdeps/s390/s390-64/memcpy.S: Likewise.
45400         * sysdeps/s390/s390-64/memset.S: Likewise.
45402 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
45404         [BZ #14833]
45405         * menual/message.texi (Message Translation): Fix typos.
45406         (Helper programs for gettext): Likewise.
45408 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
45410         [BZ #14898]
45411         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
45412         Change to -1.
45414 2012-12-07  David S. Miller  <davem@davemloft.net>
45416         * po/libc.pot: Update.
45418 2012-12-07  Richard Henderson  <rth@redhat.com>
45420         [BZ #10114]
45421         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
45422         normal/normal case to before the switch.
45423         (_FP_DIV): Likewise.
45425 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
45426             Mike Frysinger  <vapier@gentoo.org>
45428         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
45429         check for __NR_fadvise64_64.
45431 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
45433         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
45434         0, not just to plain "0" as a statement.
45435         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
45436         with cw.
45438 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
45440         * NEWS: Use sourceware.org in Bugzilla URL.
45442 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
45445         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45447         * stdio-common/tst-put-error.c (do_test): Add newline to the
45448         padded test to ensure flush.
45450 2012-12-05  Jeff Law  <law@redhat.com>
45452         * sunrpc/etc.rpc (fedfs_admin): Add entry.
45454 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
45456         * README: Don't refer to ports add-on as distributed separately.
45457         Mention AArch64 in list of systems supported in the ports add-on.
45459         * LICENSES: Add more non-FSF copyright and license notices.
45461         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
45462         ((unused)).
45464         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
45466         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
45467         10000 as width of padded output.
45469 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45471         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
45473         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
45474         variable LX with __attribute__ ((unused)).
45475         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45476         Likewise.
45477         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45478         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45479         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
45480         with __attribute__ ((unused)).
45482 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
45484         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
45486 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
45488         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
45489         (CFLAGS-nldbl-acos.c): New variable.
45490         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
45491         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
45492         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
45493         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
45494         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
45495         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
45496         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
45497         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
45498         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
45499         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
45500         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
45501         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
45502         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
45503         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
45504         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
45505         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
45506         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
45507         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
45508         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
45509         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
45510         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
45511         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
45512         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
45513         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
45514         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
45515         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
45516         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
45517         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
45518         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
45519         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
45520         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
45521         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
45522         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
45523         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
45524         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
45525         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
45526         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
45527         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
45528         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
45529         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
45530         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
45531         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
45532         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
45533         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
45534         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
45535         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
45536         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
45537         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
45538         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
45539         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
45540         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
45541         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
45542         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
45543         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
45544         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
45545         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
45546         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
45547         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
45548         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
45549         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
45550         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
45551         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
45552         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
45553         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
45554         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
45555         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
45556         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
45557         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
45558         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
45559         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
45560         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
45561         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
45562         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
45563         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
45564         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
45565         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
45566         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
45567         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
45568         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
45569         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
45570         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
45571         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
45572         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
45573         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
45574         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
45575         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
45576         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
45577         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
45578         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
45579         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
45580         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
45581         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
45582         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
45583         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
45584         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
45585         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
45586         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
45588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45589         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
45591         [BZ #14914]
45592         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
45593         whole low double instead of just low 47 bits when splitting values
45594         into two parts.
45596 2012-12-03  Allan McRae  <allan@archlinux.org>
45598         * manual/stdio.texi (Predefined Printf Handlers): Remove
45599         @hsep and @vsep usage.
45601 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
45603         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
45604         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
45606 2012-12-03  Jeff Law  <law@redhat.com>
45608         * time/sys/time.h (settimeofday): Do not mark TV argument
45609         as __nonnull.
45611 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
45613         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
45614         when currently writing and seek to current position when not.
45615         * libio/Makefile (tests): Remove bug-fclose1.
45616         * libio/bug-fclose1.c: Delete.
45618 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
45620         * manual/arith.texi (feenableexcept): Fix typo.
45621         (fedisableexcept): Likewise.
45623 2012-11-30  Roland McGrath  <roland@hack.frob.com>
45625         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
45626         second, differently-typed declaration, rather than a cast.
45628 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45630         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
45631         * include/rpc/svc.h: ... here.
45633 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
45635         [BZ #13013]
45636         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
45637         depending n and resplen2 to catch cases where answer
45638         equals answerp2.
45640 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
45642         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
45643         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
45645 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
45647         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
45649 2012-11-29  Roland McGrath  <roland@hack.frob.com>
45651         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
45653 2012-11-28  Jeff Law  <law@redhat.com>
45655         [BZ #13761]
45656         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
45657         dataset_temporary.  Track alloca usage into alloca_used.
45658         If dataset is large allocate and release it via malloc/free.
45660 2012-06-04  Florian Weimer  <fweimer@redhat.com>
45662         [BZ #14197]
45663         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
45665 2012-11-28  David S. Miller  <davem@davemloft.net>
45667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45669 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45671         [BZ #14803]
45672         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
45673         of pi/2 rounded to nearest to 64 bits.
45674         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
45675         nearest to 64 bits.
45676         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
45677         bits.
45679 2012-11-28  Jeff Law <law@redhat.com>
45680             Martin Osvald <mosvald@redhat.com>
45682         [BZ #14889]
45683         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
45684         * sunrpc/svc.c: Include time.h.
45685         (__svc_accept_failed): New function.
45686         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
45687         any reason other than EINTR, call __svc_accept_failed.
45688         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
45689         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
45691 2012-11-28  Andreas Schwab  <schwab@suse.de>
45693         * scripts/abilist.awk: Also handle indirect functions in .opd
45694         section.
45696 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
45698         [BZ #13881]
45699         * sysdeps/x86/fpu/powl_helper.c: New file.
45700         * sysdeps/x86/fpu/Makefile: Likewise.
45701         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
45702         (p3): New object.
45703         (__ieee754_powl): Use __powl_helper for finite arguments except
45704         integer exponents below 8.
45705         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
45706         (p3): New object.
45707         (__ieee754_powl): Use __powl_helper for finite arguments except
45708         integer exponents below 8.
45709         * math/libm-test.inc (pow_test): Add more tests and enable some
45710         previously disabled tests.
45711         * sysdeps/i386/fpu/libm-test-ulps: Update.
45712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45714 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45715             Carlos O'Donell  <carlos_odonell@mentor.com>
45717         * nss/makedb.c (is_prime): Assert that input is odd and greater
45718         than 4.  Note that fact in a comment too.
45719         (next_prime): Add 4 to input.
45721 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45723         [BZ #11741]
45724         * libio/Makefile (tests): Add test case tst-fwrite-error.
45725         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
45726         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
45727         * libio/tst-fwrite-error.c: New test case.
45729 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
45731         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
45732         before casting to void *.
45733         * include/libc-internal.h (__pointer_type): New macro.
45734         (__integer_if_pointer_type_sub): Likewise.
45735         (__integer_if_pointer_type): Likewise.
45736         (cast_to_integer): Likewise.
45737         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
45738         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
45739         before casting to atomic64_t.
45740         (atomic_exchange_acq): Likewise.
45741         (__arch_exchange_and_add_body): Likewise.
45742         (__arch_add_body): Likewise.
45743         (atomic_add_negative): Likewise.
45744         (atomic_add_zero): Likewise.
45746 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
45748         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
45749         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
45750         (add_fdes): Likewise.
45751         (linear_search_fdes): Likewise.
45752         (binary_search_unencoded_fdes): Likewise.
45754 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
45756         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
45758 2012-11-24  Adam Conrad  <adconrad@0c3.net>
45760         * configure.in: Autodetect C++ header directories.
45761         * configure: Regenerated.
45763 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
45765         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
45767 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
45769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45771 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
45773         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
45774         LDBL_MANT_DIG == 106]: Disable some tests.
45775         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45776         Likewise.
45777         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
45778         Likewise.
45780         [BZ #14871]
45781         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
45782         input for small inputs.  Return +/- pi/2 for large inputs.
45783         * math/libm-test.inc (atan_test): Add more tests.
45785         * sysdeps/generic/unwind-dw2-fde-glibc.c
45786         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
45787         __attribute__ ((unused)).
45789         [BZ #14645]
45790         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
45791         x * y if x and y are nonzero and z is zero.
45793         [BZ #14811]
45794         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
45795         nonzero exponents with absolute value below 0x1p-117 to +/-
45796         0x1p-117.
45798         [BZ #14869]
45799         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
45800         up arguments below 2**-450, not just those below 2**-500.
45801         * math/libm-test.inc (hypot_test): Add another test.
45803         [BZ #14868]
45804         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
45805         Return a+b for ratio over 2**120, not 2**60.
45806         * math/libm-test.inc (hypot_test): Add another test.
45808         * math/libm-test.inc (clog_test): Use
45809         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
45810         (clog10_test): Likewise.
45812         [BZ #6778]
45813         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
45815 2012-11-22  Andreas Schwab  <schwab@suse.de>
45817         * sysdeps/i386/fpu/libm-test-ulps: Update.
45819 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
45821         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
45822         printf output with newline.
45824 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
45826         [BZ #14865]
45827         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
45828         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
45829         -z nodlopen, -z initfirst and -z execstack support.
45830         * configure: Regenerated.
45832         * elf/elf.h (DF_1_NODIRECT): New macro.
45833         (DF_1_IGNMULDEF): Likewise.
45834         (DF_1_NOKSYMS): Likewise.
45835         (DF_1_NOHDR): Likewise.
45836         (DF_1_EDITED): Likewise.
45837         (DF_1_NORELOC): Likewise.
45838         (DF_1_SYMINTPOSE): Likewise.
45839         (DF_1_GLOBAUDIT): Likewise.
45840         (DF_1_SINGLETON): Likewise.
45841         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
45842         DT_1_SUPPORTED_MASK bits.
45843         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
45845 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
45847         * sysdeps/unix/make-syscalls.sh: Document prefixes.
45849 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
45851         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
45852         macro.
45854         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
45855         (sendmmsg): Move declarations...
45856         * socket/sys/socket.h: ... here.
45857         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
45858         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
45859         include it from...
45860         * socket/recvmmsg.c: ... this new file.
45861         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
45862         (sendmmsg): Rename to __sendmmsg, create weak alias and make
45863         definition of __sendmmsg hidden.
45864         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
45865         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
45866         Move ENOSYS stub into and include it from...
45867         * socket/sendmmsg.c: ... this new file.
45868         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
45869         (sysdep_routines): Move recvmmsg and sendmmsg...
45870         * socket/Makefile (routines): ... here.
45871         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
45872         (GLIBC_PRIVATE): Add __sendmmsg.
45873         * include/sys/socket.h (__sendmmsg): Add declarations.
45874         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
45875         sendmmsg.
45877 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
45879         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
45880         variable I1 with __attribute__ ((unused)).
45881         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45883 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
45885         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
45886         DUMMY variables with __attribute__ ((unused)).
45888         * bits/byteswap.h: Include <bits/types.h>.
45889         (__bswap_64): Use __uint64_t instead of unsigned long long int.
45891 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
45893         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
45894         string_t.  Do not manually set errno.
45895         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
45896         length with __strnlen.  Make sure to both set errno and return it on
45897         failure.
45899 2012-11-19  David S. Miller  <davem@davemloft.net>
45901         With help from Joseph Myers.
45902         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
45903         very large arguments properly.
45904         * math/libm-test.inc (atan_test): New tests.
45905         (atan2_test): New tests.
45906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45909 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
45911         [BZ #14856]
45912         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
45913         Define to 3.
45915         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
45916         [POSIX] (EADDRNOTAVAIL): Likewise.
45917         [POSIX] (EAFNOSUPPORT): Likewise.
45918         [POSIX] (EALREADY): Likewise.
45919         [POSIX] (ECONNABORTED): Likewise.
45920         [POSIX] (ECONNREFUSED): Likewise.
45921         [POSIX] (ECONNRESET): Likewise.
45922         [POSIX] (EDESTADDRREQ): Likewise.
45923         [POSIX] (EDQUOT): Likewise.
45924         [POSIX] (EHOSTUNREACH): Likewise.
45925         [POSIX] (EIDRM): Likewise.
45926         [POSIX] (EISCONN): Likewise.
45927         [POSIX] (ELOOP): Likewise.
45928         [POSIX] (EMULTIHOP): Likewise.
45929         [POSIX] (ENETDOWN): Likewise.
45930         [POSIX] (ENETUNREACH): Likewise.
45931         [POSIX] (ENOBUFS): Likewise.
45932         [POSIX] (ENODATA): Likewise.
45933         [POSIX] (ENOLINK): Likewise.
45934         [POSIX] (ENOMSG): Likewise.
45935         [POSIX] (ENOPROTOOPT): Likewise.
45936         [POSIX] (ENOSR): Likewise.
45937         [POSIX] (ENOSTR): Likewise.
45938         [POSIX] (ENOTCONN): Likewise.
45939         [POSIX] (ENOTSOCK): Likewise.
45940         [POSIX] (EOPNOTSUPP): Likewise.
45941         [POSIX] (EOVERFLOW): Likewise.
45942         [POSIX] (EPROTO): Likewise.
45943         [POSIX] (EPROTONOSUPPORT): Likewise.
45944         [POSIX] (EPROTOTYPE): Likewise.
45945         [POSIX] (ESTALE): Likewise.
45946         [POSIX] (ETIME): Likewise.
45947         [POSIX] (ETXTBSY): Likewise.
45948         [POSIX] (EWOULDBLOCK): Likewise.
45949         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
45950         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
45951         [POSIX] (SEEK_CUR): Likewise.
45952         [POSIX] (SEEK_END): Likewise.
45953         [POSIX || UNIX98] (mode_t): Do not require.
45954         [POSIX] (off_t): Likewise.
45955         [POSIX] (pid_t): Likewise.
45956         [POSIX] (sys/stat.h): Do not allow header.
45957         [POSIX] (unistd.h): Likewise.
45958         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
45959         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
45960         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
45961         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
45962         require.
45963         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
45964         sigevent): Specify elements.
45965         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
45966         entry.
45967         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
45968         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
45970         * conform/data/cpio.h-data [POSIX]: Disable whole file.
45971         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
45972         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
45973         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
45974         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
45975         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
45976         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
45977         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
45978         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
45979         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
45980         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
45981         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
45982         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
45983         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
45984         Likewise.
45985         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
45986         Likewise.
45987         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
45988         Likewise.
45989         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
45990         Likewise.
45991         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
45992         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
45993         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
45994         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
45995         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
45996         Specify lower bound on value.
45997         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
45998         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
45999         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46000         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46001         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46002         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46003         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46004         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46005         value.
46006         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46007         as optional.
46008         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46009         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46010         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46011         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46012         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46013         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46014         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46015         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46016         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46017         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46018         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46019         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46020         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46021         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46022         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46023         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46024         entry.
46025         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46026         optional.
46027         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46028         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46029         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46030         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46031         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46032         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46033         Likewise.
46034         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46035         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46036         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46037         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46038         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46039         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46040         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46041         as optional.
46042         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46043         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46044         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46045         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46046         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46047         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46048         specify as optional.
46049         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46050         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46051         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46052         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46053         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46054         [XPG3] (NL_LANGMAX): Likewise.
46055         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46056         [POSIX || XPG3] (NL_NMAX): Likewise.
46057         [POSIX || XPG3] (NL_SETMAX): Likewise.
46058         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46059         [XPG3] (NZERO): Likewise.
46060         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46061         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46062         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46063         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46064         (REG_ERANGE): Expect.
46065         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46066         optional-constant.
46067         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46068         Use (void) in prototype.
46069         [POSIX] (*_t): Allow.
46070         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46071         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46072         (WRDE_BADVAL): Expect.
46074         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46075         expect.
46076         [XPG3 || XPG4] (O_RSYNC): Likewise.
46077         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46078         Likewise.
46079         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46080         [XPG3 || XPG4] (sigqueue): Likewise.
46081         [XPG3 || XPG4] (sigtimedwait): Likewise.
46082         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46083         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46084         [XPG3 || XPG4] (vsnprintf): Likewise.
46085         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46086         Likewise.
46087         [XPG3 || XPG4] (blksize_t): Likewise.
46088         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46089         Likewise.
46090         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46091         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46092         [XPG3 || XPG4] (struct itimerspec): Likewise.
46093         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46094         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46095         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46096         [XPG3 || XPG4] (clockid_t): Likewise.
46097         [XPG3 || XPG4] (timer_t): Likewise.
46098         [XPG3 || XPG4] (clock_getres): Likewise.
46099         [XPG3 || XPG4] (clock_gettime): Likewise.
46100         [XPG3 || XPG4] (clock_settime): Likewise.
46101         [XPG3 || XPG4] (nanosleep): Likewise.
46102         [XPG3 || XPG4] (timer_create): Likewise.
46103         [XPG3 || XPG4] (timer_delete): Likewise.
46104         [XPG3 || XPG4] (timer_gettime): Likewise.
46105         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46106         [XPG3 || XPG4] (timer_settime): Likewise.
46107         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46108         [XPG3 || XPG4] (getlogin_r): Likewise.
46109         [XPG3 || XPG4] (pread): Likewise.
46110         [XPG3 || XPG4] (pthread_atfork): Likewise.
46111         [XPG3 || XPG4] (pwrite): Likewise.
46113         [BZ #14835]
46114         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46115         <bits/siginfo.h>.
46117 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46119         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46120         finalizing MALLSTREAM.
46122         * sysdeps/mach/hurd/syncfs.c: New file.
46124 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46126         [BZ #14719]
46127         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46128         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46129         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46130         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46131         (_nss_dns_gethostbyname4_r): Likewise.
46132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46133         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46135 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46137         [BZ #13763]
46138         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46140 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46142         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46143         * elf/cache.c (print_entry): Print ",AArch64" for
46144         FLAG_AARCH64_LIB64
46146         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46147         * elf/cache.c (print_entry): Print ",hard-float" for
46148         FLAG_ARM_LIBHF.
46150 2012-11-18  David S. Miller  <davem@davemloft.net>
46152         With help from Joseph Myers.
46153         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46154         cutoff to 2**-13.
46155         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46156         cutoff to 2**-25.
46157         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46158         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46159         small.
46160         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46161         * math/libm-test.inc (y0_test): New tests.
46162         (y1_test): New tests.
46163         * sysdeps/i386/fpu/libm-test-ulps: Update.
46164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46167 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46169         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46170         64-bit targets.
46171         * configure: Regenerated.
46173 2012-11-17  David S. Miller  <davem@davemloft.net>
46175         [BZ #14811]
46176         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
46177         nonzero exponents with absolute value below 0x1p-128 to +/-
46178         0x1p-128.
46180 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
46182         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
46184         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
46186         * posix/getconf-speclist.c: New file.
46187         * posix/posix-envs.def: Likewise.
46188         * posix/confstr.c (START_ENV_GROUP): New macro.
46189         (END_ENV_GROUP): Likewise.
46190         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46191         (KNOWN_PRESENT_ENV_STRING): Likewise.
46192         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46193         (UNKNOWN_ENVIRONMENT): Likewise.
46194         (confstr): Include posix-envs.def instead of handling
46195         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
46196         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
46197         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
46198         (END_ENV_GROUP): Likewise.
46199         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
46200         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
46201         (UNKNOWN_ENVIRONMENT): Likewise.
46202         (__sysconf): Include posix-envs.def instead of handling associated
46203         cases directly here.
46204         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
46205         preprocessing getconf-speclist.c rather than running getconf or
46206         generating empty file.
46208 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
46210         * scripts/check-local-headers.sh: Ignore 'mach' headers.
46212 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
46214         [BZ #14672]
46215         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
46217 2012-11-16  David S. Miller  <davem@davemloft.net>
46219         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
46220         smaller than LDBL_EPSILON/2.0L, just return xm1.
46222 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
46224         * elf/tst-array1.c (init): Set constructor priority to 1000.
46225         (fini): Set destructor priority to 1000.
46226         * elf/tst-array2dep.c: Likewise.
46228 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46230         [BZ #11741]
46231         * libio/fileops.c (_IO_new_file_write): Correctly return error.
46232         (_IO_new_file_xsputn): Also return EOF if none of the input
46233         data was written when overflow failed.
46234         * libio/iopadn.c (_IO_padn): Likewise.
46235         * libio/iowpadn.c (_IO_wpadn): Likewise.
46236         * stdio-common/tst-put-error.c: Add copyright notice.
46237         (do_test): Add case for printing padded string.
46238         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
46239         _IO_padn returned error.
46240         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
46241         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
46242         return EOF.
46244 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46246         * libio/libioP.h: Add comment note that the references to C++
46247         bits are now obsolete.
46249 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46251         * math/libm-test.inc (check_complex): Use asprintf.
46253 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
46255         * debug/pcprofiledump.c (print_version): Update copyright year.
46256         * malloc/memusagestat.c (print_version): Likewise.
46258 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
46260         [BZ #14831]
46261         * elf/Makefile (tests): Add tst-audit8.
46262         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
46263         ($(objpfx)tst-audit8.out): New target.
46264         (tst-audit8-ENV): New variable.
46265         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
46266         audit if l_reloc_result is NULL.
46267         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
46268         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
46269         * elf/tst-audit8.c: New file.
46271 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46273         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
46274         * misc/Makefile (CFLAGS-select.c): Define.
46275         * posix/Makefile (CFLAGS-pause.c): Define.
46277 2012-11-13  David S. Miller  <davem@davemloft.net>
46279         * crypt/Makefile: Move test targets after toplevel Rules
46280         inclusion.  Grab any necessary sysdep routines when linking.
46281         * crypt/md5.c (md5_process_block): Remove define, we will always
46282         name it __md5_process_block.
46283         (md5_finish_ctx): Update md5_process_block call.
46284         (md5_stream): Likewise.
46285         (md5_process_bytes): Likewise.
46286         (md5_process_block): Rename to __md5_process_block and move to ...
46287         * crypt/md5-block.c: ... here.
46288         * crypt/sha256.c (sha256_process_block): Move to ...
46289         * crypt/sha256-block.c: ... here.
46290         * crypt/sha512.c (sha512_process_block): Move to ...
46291         * crypt/sha512-block.c: ... here.
46292         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
46293         path.
46294         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
46295         * sysdeps/sparc/sparc64/multiarch/Makefile
46296         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
46297         crypt subdir.
46298         (localedef-aux): Add md5 crypto assembler when in locale subdir.
46299         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
46300         multiarch changes.
46301         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
46302         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
46303         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
46304         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
46305         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
46306         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
46307         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
46308         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
46309         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
46310         file.
46311         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
46312         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
46313         file.
46314         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
46316 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
46318         * timezone/tzselect.ksh: Update from tzcode git revision
46319         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
46320         * timezone/zdump.c: Likewise.
46321         * timezone/zic.c: Likewise.
46322         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
46323         in TZVERSION setting, not $(PKGVERSION).
46324         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
46325         REPORT_BUGS_TO settings.
46327         [BZ #14838]
46328         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
46329         macro.
46331 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46333         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
46334         detection to immediately after _FP_ROUND().
46335         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
46336         bits are 0.
46338 2012-11-11  David S. Miller  <davem@davemloft.net>
46340         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
46341         inttypes.h
46342         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
46343         __close rather than their public counterparts.
46345 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
46347         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
46348         file.
46349         [UNIX98] (sem_timedwait): Do not expect.
46350         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
46351         [XPG4 || UNIX98] (sockatmark): Do not expect.
46352         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
46353         (clock_getcpuclockid): Do not expect.
46354         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
46355         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
46356         Do not expect.
46357         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
46358         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
46359         [UNIX98] (vwscanf): Likewise.
46360         [UNIX98] (vswscanf): Likewise.
46362 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
46364         * timezone/version.h: Remove file.
46365         * timezone/README: Do not refer to version.h.
46366         * timezone/Makefile ($(objpfx)zic.o): New dependency on
46367         $(objpfx)version.h.
46368         ($(objpfx)zdump.o): Likewise.
46369         ($(objpfx)version.h): New target.
46371         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
46372         2012i.
46373         * timezone/README: Don't mention modification to tzselect.ksh.
46374         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
46375         work on unmodified tzselect.ksh.  Substitute version numbers in
46376         tzselect.ksh.
46378         * Makefile (format-me): Remove.
46379         (INSTALL): Adjust indentation.  Use commands directly instead of
46380         using $(format-me).
46382         * aclocal.m4 (ACX_PKGVERSION): New macro.
46383         (ACX_BUGURL): Likewise.
46384         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
46385         (PKGVERSION): New AC_DEFINE_UNQUOTED.
46386         (REPORT_BUGS_TO): Likewise.
46387         * configure: Regenerated.
46388         * config.h.in (PKGVERSION): New macro.
46389         (REPORT_BUGS_TO): Likewise.
46390         * config.make.in (PKGVERSION): New variable.
46391         (PKGVERSION_TEXI): Likewise.
46392         (REPORT_BUGS_TO): Likewise.
46393         (REPORT_BUGS_TEXI): Likewise.
46394         * Makefile (format-me): Use -I$(common-objpfx)manual.
46395         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
46396         ($(common-objpfx)manual/%): New target.
46397         (manual/%): Remove target.
46398         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
46399         (print_version): Use PKGVERSION.
46400         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
46401         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
46402         and REPORT_BUGS_TO.
46403         ($(objpfx)xtrace): Likewise.
46404         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
46405         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
46406         (print_version): Use PKGVERSION.
46407         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
46408         (do_version): Use PKGVERSION.
46409         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
46410         REPORT_BUGS_TO.
46411         (common-ldd-rewrite): Likewise.
46412         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
46413         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
46414         (print_version): Use PKGVERSION.
46415         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
46416         * elf/pldd.c (argp_program_bug_address): Remove variable.
46417         (more_help): New function.
46418         (argp): Use more_help.
46419         (print_version): Use PKGVERSION.
46420         * elf/sln.c (main): Use PKGVERSION.
46421         (usage): Use REPORT_BUGS_TO.
46422         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
46423         (top level): Use PKGVERSION.
46424         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
46425         (print_version): Use PKGVERSION.
46426         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
46427         (print_version): Use PKGVERSION.
46428         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
46429         (print_version): Use PKGVERSION.
46430         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
46431         (print_version): Use PKGVERSION.
46432         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
46433         (print_version): Use PKGVERSION.
46434         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
46435         (print_version): Use PKGVERSION.
46436         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
46437         and BUGURL.
46438         ($(objpfx)memusage): Likewise.
46439         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
46440         (do_version): Use PKGVERSION.
46441         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
46442         (print_version): Use PKGVERSION.
46443         * malloc/mtrace.pl ($PACKAGE): Remove variable.
46444         ($PKGVERSION): New variable.
46445         ($REPORT_BUGS_TO): Likewise.
46446         (usage): Use $REPORT_BUGS_TO.
46447         (top level): Use $PKGVERSION.
46448         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
46449         ($(objpfx)pkgvers.texi): New rule.
46450         ($(objpfx)stamp-pkgvers): Likewise.
46451         * manual/install.texi: Include pkgvers.texi.
46452         (--with-pkgversion): Document new configure option.
46453         (--with-bugurl): Likewise.
46454         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
46455         than necessarily for this particular distribution.  Use
46456         REPORT_BUGS_TO for where to report bugs.
46457         * INSTALL: Regenerated.
46458         * manual/libc.texinfo: Include pkgvers.texi.
46459         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
46460         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
46461         (print_version): Use PKGVERSION.
46462         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
46463         (print_version): Use PKGVERSION.
46464         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
46465         (print_version): Use PKGVERSION.
46466         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
46467         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
46468         macro.
46469         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
46470         (print_version): Use PKGVERSION.
46471         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
46472         (print_version): Use PKGVERSION.
46473         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
46474         and PKGVERSION.
46476         * timezone/checktab.awk: Update from tzcode 2012i.
46477         * timezone/ialloc.c: Likewise.
46478         * timezone/private.h: Likewise.
46479         * timezone/scheck.c: Likewise.
46480         * timezone/tzfile.h: Likewise.
46481         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
46482         (TZVERSION): Hardcode tzcode version number.
46483         * timezone/zdump.c: Update from tzcode 2012i.
46484         * timezone/zic.c: Likewise.
46485         * timezone/version.h: New file.
46486         * timezone/README: Describe version.h.  Update upstream location.
46488         [BZ #14824]
46489         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
46490         (mktemp): Enable declaration.
46491         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
46492         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
46493         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
46494         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
46495         Likewise.
46496         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
46497         Likewise.
46498         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
46499         Likewise.
46500         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
46501         Likewise.
46502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
46503         Likewise.
46504         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
46505         Likewise.
46507         [BZ #14821]
46508         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
46509         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
46510         for copies of such integer values.
46511         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46512         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46514 2012-11-09  Andreas Jaeger  <aj@suse.de>
46516         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
46517         definitions and declarations that are provided by
46518         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46520 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46522         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
46523         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
46524         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
46525         definition.
46527 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46529         * elf/elf.h: Update comment before AArch64 relocations.
46531 2012-11-07  David S. Miller  <davem@davemloft.net>
46533         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
46534         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46535         (__start_context): Declare.
46536         (__makecontext_ret): Delete.
46537         (__makecontext): Hook up __start_context instead of
46538         __makecontext_ret.
46539         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
46540         (sysdep_routines): Add __start_context when in stdlib.
46542 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46544         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
46545         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
46546         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
46547         hardcoded "nm".
46548         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
46549         (READELF): New variable.  Use it instead of hardcoded "readelf".
46551 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46553         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
46554         * sysdeps/x86/Makefile: Here.
46555         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
46556         * sysdeps/x86/tst-xmmymm.sh: This.
46558 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46560         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
46561         expectations.
46562         [UNIX98] (pthread_barrier_t): Do not expect.
46563         [UNIX98] (pthread_barrierattr_t): Likewise.
46564         [UNIX98] (pthread_spinlock_t): Likewise.
46565         [UNIX98] (pthread_barrier_destroy): Likewise.
46566         [UNIX98] (pthread_barrier_init): Likewise.
46567         [UNIX98] (pthread_barrier_wait): Likewise.
46568         [UNIX98] (pthread_barrierattr_destroy): Likewise.
46569         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
46570         [UNIX98] (pthread_barrierattr_init): Likewise.
46571         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
46572         [UNIX98] (pthread_getcpuclockid): Likewise.
46573         [UNIX98] (pthread_mutex_timedlock): Likewise.
46574         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
46575         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
46576         [UNIX98] (pthread_sigmask): Likewise.
46577         [UNIX98] (pthread_spin_destroy): Likewise.
46578         [UNIX98] (pthread_spin_init): Likewise.
46579         [UNIX98] (pthread_spin_lock): Likewise.
46580         [UNIX98] (pthread_spin_trylock): Likewise.
46581         [UNIX98] (pthread_spin_unlock): Likewise.
46582         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
46583         Do not expect.
46584         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
46585         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
46586         [XPG3 || XPG4] (pthread_cond_t): Likewise.
46587         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
46588         [XPG3 || XPG4] (pthread_key_t): Likewise.
46589         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
46590         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
46591         [XPG3 || XPG4] (pthread_once_t): Likewise.
46592         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
46593         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
46594         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
46595         [XPG3 || XPG4] (pthread_t): Likewise.
46597         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
46598         not expect.
46599         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
46601         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
46602         Change function return type to int.
46604         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
46605         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
46606         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
46607         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
46608         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
46609         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
46610         [!POSIX] (posix_madvise): Likewise.
46611         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
46612         && !UNIX98].
46613         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
46614         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
46615         (mode_t): Likewise.
46616         (posix_mem_offset): Likewise.
46617         (posix_typed_mem_get_info): Likewise.
46618         (posix_typed_mem_open): Likewise.
46620         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
46621         Change condition to [XOPEN2K8].
46623         * conform/conformtest.pl: Preprocess allow-header data with -x c
46624         instead of from stdin.
46625         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
46626         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
46627         [C99-based standards] (cerfc): Likewise.
46628         [C99-based standards] (cexp2): Likewise.
46629         [C99-based standards] (cexpm1): Likewise.
46630         [C99-based standards] (clog10): Likewise.
46631         [C99-based standards] (clog1p): Likewise.
46632         [C99-based standards] (clog2): Likewise.
46633         [C99-based standards] (clgamma): Likewise.
46634         [C99-based standards] (ctgamma): Likewise.
46635         [C99-based standards] (cerff): Likewise.
46636         [C99-based standards] (cerfcf): Likewise.
46637         [C99-based standards] (cexp2f): Likewise.
46638         [C99-based standards] (cexpm1f): Likewise.
46639         [C99-based standards] (clog10f): Likewise.
46640         [C99-based standards] (clog1pf): Likewise.
46641         [C99-based standards] (clog2f): Likewise.
46642         [C99-based standards] (clgammaf): Likewise.
46643         [C99-based standards] (ctgammaf): Likewise.
46644         [C99-based standards] (cerfl): Likewise.
46645         [C99-based standards] (cerfcl): Likewise.
46646         [C99-based standards] (cexp2l): Likewise.
46647         [C99-based standards] (cexpm1l): Likewise.
46648         [C99-based standards] (clog10l): Likewise.
46649         [C99-based standards] (clog1pl): Likewise.
46650         [C99-based standards] (clog2l): Likewise.
46651         [C99-based standards] (clgammal): Likewise.
46652         [C99-based standards] (ctgammal): Likewise.
46653         * conform/data/inttypes.h-data [C99-based standards]: Include
46654         stdint.h-data.  Remove all expectations for stdint.h contents.
46655         [C99-based standards] (PRI*): Do not allow.
46656         [C99-based standards] (SCN*): Likewise.
46657         [C99-based standards] (*_t): Likewise.
46658         [C99-based-standards] (PRId8): Expect macro.
46659         [C99-based-standards] (PRIi8): Likewise.
46660         [C99-based-standards] (PRIo8): Likewise.
46661         [C99-based-standards] (PRIu8): Likewise.
46662         [C99-based-standards] (PRIx8): Likewise.
46663         [C99-based-standards] (PRIX8): Likewise.
46664         [C99-based-standards] (SCNd8): Likewise.
46665         [C99-based-standards] (SCNi8): Likewise.
46666         [C99-based-standards] (SCNo8): Likewise.
46667         [C99-based-standards] (SCNu8): Likewise.
46668         [C99-based-standards] (SCNx8): Likewise.
46669         [C99-based-standards] (PRIdLEAST8): Likewise.
46670         [C99-based-standards] (PRIiLEAST8): Likewise.
46671         [C99-based-standards] (PRIoLEAST8): Likewise.
46672         [C99-based-standards] (PRIuLEAST8): Likewise.
46673         [C99-based-standards] (PRIxLEAST8): Likewise.
46674         [C99-based-standards] (PRIXLEAST8): Likewise.
46675         [C99-based-standards] (SCNdLEAST8): Likewise.
46676         [C99-based-standards] (SCNiLEAST8): Likewise.
46677         [C99-based-standards] (SCNoLEAST8): Likewise.
46678         [C99-based-standards] (SCNuLEAST8): Likewise.
46679         [C99-based-standards] (SCNxLEAST8): Likewise.
46680         [C99-based-standards] (PRIdFAST8): Likewise.
46681         [C99-based-standards] (PRIiFAST8): Likewise.
46682         [C99-based-standards] (PRIoFAST8): Likewise.
46683         [C99-based-standards] (PRIuFAST8): Likewise.
46684         [C99-based-standards] (PRIxFAST8): Likewise.
46685         [C99-based-standards] (PRIXFAST8): Likewise.
46686         [C99-based-standards] (SCNdFAST8): Likewise.
46687         [C99-based-standards] (SCNiFAST8): Likewise.
46688         [C99-based-standards] (SCNoFAST8): Likewise.
46689         [C99-based-standards] (SCNuFAST8): Likewise.
46690         [C99-based-standards] (SCNxFAST8): Likewise.
46691         [C99-based-standards] (PRId16): Likewise.
46692         [C99-based-standards] (PRIi16): Likewise.
46693         [C99-based-standards] (PRIo16): Likewise.
46694         [C99-based-standards] (PRIu16): Likewise.
46695         [C99-based-standards] (PRIx16): Likewise.
46696         [C99-based-standards] (PRIX16): Likewise.
46697         [C99-based-standards] (SCNd16): Likewise.
46698         [C99-based-standards] (SCNi16): Likewise.
46699         [C99-based-standards] (SCNo16): Likewise.
46700         [C99-based-standards] (SCNu16): Likewise.
46701         [C99-based-standards] (SCNx16): Likewise.
46702         [C99-based-standards] (PRIdLEAST16): Likewise.
46703         [C99-based-standards] (PRIiLEAST16): Likewise.
46704         [C99-based-standards] (PRIoLEAST16): Likewise.
46705         [C99-based-standards] (PRIuLEAST16): Likewise.
46706         [C99-based-standards] (PRIxLEAST16): Likewise.
46707         [C99-based-standards] (PRIXLEAST16): Likewise.
46708         [C99-based-standards] (SCNdLEAST16): Likewise.
46709         [C99-based-standards] (SCNiLEAST16): Likewise.
46710         [C99-based-standards] (SCNoLEAST16): Likewise.
46711         [C99-based-standards] (SCNuLEAST16): Likewise.
46712         [C99-based-standards] (SCNxLEAST16): Likewise.
46713         [C99-based-standards] (PRIdFAST16): Likewise.
46714         [C99-based-standards] (PRIiFAST16): Likewise.
46715         [C99-based-standards] (PRIoFAST16): Likewise.
46716         [C99-based-standards] (PRIuFAST16): Likewise.
46717         [C99-based-standards] (PRIxFAST16): Likewise.
46718         [C99-based-standards] (PRIXFAST16): Likewise.
46719         [C99-based-standards] (SCNdFAST16): Likewise.
46720         [C99-based-standards] (SCNiFAST16): Likewise.
46721         [C99-based-standards] (SCNoFAST16): Likewise.
46722         [C99-based-standards] (SCNuFAST16): Likewise.
46723         [C99-based-standards] (SCNxFAST16): Likewise.
46724         [C99-based-standards] (PRId32): Likewise.
46725         [C99-based-standards] (PRIi32): Likewise.
46726         [C99-based-standards] (PRIo32): Likewise.
46727         [C99-based-standards] (PRIu32): Likewise.
46728         [C99-based-standards] (PRIx32): Likewise.
46729         [C99-based-standards] (PRIX32): Likewise.
46730         [C99-based-standards] (SCNd32): Likewise.
46731         [C99-based-standards] (SCNi32): Likewise.
46732         [C99-based-standards] (SCNo32): Likewise.
46733         [C99-based-standards] (SCNu32): Likewise.
46734         [C99-based-standards] (SCNx32): Likewise.
46735         [C99-based-standards] (PRIdLEAST32): Likewise.
46736         [C99-based-standards] (PRIiLEAST32): Likewise.
46737         [C99-based-standards] (PRIoLEAST32): Likewise.
46738         [C99-based-standards] (PRIuLEAST32): Likewise.
46739         [C99-based-standards] (PRIxLEAST32): Likewise.
46740         [C99-based-standards] (PRIXLEAST32): Likewise.
46741         [C99-based-standards] (SCNdLEAST32): Likewise.
46742         [C99-based-standards] (SCNiLEAST32): Likewise.
46743         [C99-based-standards] (SCNoLEAST32): Likewise.
46744         [C99-based-standards] (SCNuLEAST32): Likewise.
46745         [C99-based-standards] (SCNxLEAST32): Likewise.
46746         [C99-based-standards] (PRIdFAST32): Likewise.
46747         [C99-based-standards] (PRIiFAST32): Likewise.
46748         [C99-based-standards] (PRIoFAST32): Likewise.
46749         [C99-based-standards] (PRIuFAST32): Likewise.
46750         [C99-based-standards] (PRIxFAST32): Likewise.
46751         [C99-based-standards] (PRIXFAST32): Likewise.
46752         [C99-based-standards] (SCNdFAST32): Likewise.
46753         [C99-based-standards] (SCNiFAST32): Likewise.
46754         [C99-based-standards] (SCNoFAST32): Likewise.
46755         [C99-based-standards] (SCNuFAST32): Likewise.
46756         [C99-based-standards] (SCNxFAST32): Likewise.
46757         [C99-based-standards] (PRId64): Likewise.
46758         [C99-based-standards] (PRIi64): Likewise.
46759         [C99-based-standards] (PRIo64): Likewise.
46760         [C99-based-standards] (PRIu64): Likewise.
46761         [C99-based-standards] (PRIx64): Likewise.
46762         [C99-based-standards] (PRIX64): Likewise.
46763         [C99-based-standards] (SCNd64): Likewise.
46764         [C99-based-standards] (SCNi64): Likewise.
46765         [C99-based-standards] (SCNo64): Likewise.
46766         [C99-based-standards] (SCNu64): Likewise.
46767         [C99-based-standards] (SCNx64): Likewise.
46768         [C99-based-standards] (PRIdLEAST64): Likewise.
46769         [C99-based-standards] (PRIiLEAST64): Likewise.
46770         [C99-based-standards] (PRIoLEAST64): Likewise.
46771         [C99-based-standards] (PRIuLEAST64): Likewise.
46772         [C99-based-standards] (PRIxLEAST64): Likewise.
46773         [C99-based-standards] (PRIXLEAST64): Likewise.
46774         [C99-based-standards] (SCNdLEAST64): Likewise.
46775         [C99-based-standards] (SCNiLEAST64): Likewise.
46776         [C99-based-standards] (SCNoLEAST64): Likewise.
46777         [C99-based-standards] (SCNuLEAST64): Likewise.
46778         [C99-based-standards] (SCNxLEAST64): Likewise.
46779         [C99-based-standards] (PRIdFAST64): Likewise.
46780         [C99-based-standards] (PRIiFAST64): Likewise.
46781         [C99-based-standards] (PRIoFAST64): Likewise.
46782         [C99-based-standards] (PRIuFAST64): Likewise.
46783         [C99-based-standards] (PRIxFAST64): Likewise.
46784         [C99-based-standards] (PRIXFAST64): Likewise.
46785         [C99-based-standards] (SCNdFAST64): Likewise.
46786         [C99-based-standards] (SCNiFAST64): Likewise.
46787         [C99-based-standards] (SCNoFAST64): Likewise.
46788         [C99-based-standards] (SCNuFAST64): Likewise.
46789         [C99-based-standards] (SCNxFAST64): Likewise.
46790         [C99-based-standards] (PRIdMAX): Likewise.
46791         [C99-based-standards] (PRIiMAX): Likewise.
46792         [C99-based-standards] (PRIoMAX): Likewise.
46793         [C99-based-standards] (PRIuMAX): Likewise.
46794         [C99-based-standards] (PRIxMAX): Likewise.
46795         [C99-based-standards] (PRIXMAX): Likewise.
46796         [C99-based-standards] (SCNdMAX): Likewise.
46797         [C99-based-standards] (SCNiMAX): Likewise.
46798         [C99-based-standards] (SCNoMAX): Likewise.
46799         [C99-based-standards] (SCNuMAX): Likewise.
46800         [C99-based-standards] (SCNxMAX): Likewise.
46801         [C99-based-standards] (PRIdPTR): Likewise.
46802         [C99-based-standards] (PRIiPTR): Likewise.
46803         [C99-based-standards] (PRIoPTR): Likewise.
46804         [C99-based-standards] (PRIuPTR): Likewise.
46805         [C99-based-standards] (PRIxPTR): Likewise.
46806         [C99-based-standards] (PRIXPTR): Likewise.
46807         [C99-based-standards] (SCNdPTR): Likewise.
46808         [C99-based-standards] (SCNiPTR): Likewise.
46809         [C99-based-standards] (SCNoPTR): Likewise.
46810         [C99-based-standards] (SCNuPTR): Likewise.
46811         [C99-based-standards] (SCNxPTR): Likewise.
46812         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
46813         allow.
46814         * conform/data/stdint.h-data: Update comments to clarify
46815         requirements.
46816         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
46817         type.
46818         [C99-based standards] (INT8_MAX): Likewise.
46819         [C99-based standards] (INT16_MIN): Likewise.
46820         [C99-based standards] (INT16_MAX): Likewise.
46821         [C99-based standards] (INT32_MIN): Likewise.
46822         [C99-based standards] (INT32_MAX): Likewise.
46823         [C99-based standards] (INT64_MIN): Likewise.
46824         [C99-based standards] (INT64_MAX): Likewise.
46825         [C99-based standards] (UINT8_MAX): Likewise.
46826         [C99-based standards] (UINT16_MAX): Likewise.
46827         [C99-based standards] (UINT32_MAX): Likewise.
46828         [C99-based standards] (UINT64_MAX): Likewise.
46829         [C99-based standards] (INT_LEAST8_MIN): Likewise.
46830         [C99-based standards] (INT_LEAST8_MAX): Likewise.
46831         [C99-based standards] (INT_LEAST16_MIN): Likewise.
46832         [C99-based standards] (INT_LEAST16_MAX): Likewise.
46833         [C99-based standards] (INT_LEAST32_MIN): Likewise.
46834         [C99-based standards] (INT_LEAST32_MAX): Likewise.
46835         [C99-based standards] (INT_LEAST64_MIN): Likewise.
46836         [C99-based standards] (INT_LEAST64_MAX): Likewise.
46837         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
46838         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
46839         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
46840         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
46841         [C99-based standards] (INT_FAST8_MIN): Likewise.
46842         [C99-based standards] (INT_FAST8_MAX): Likewise.
46843         [C99-based standards] (INT_FAST16_MIN): Likewise.
46844         [C99-based standards] (INT_FAST16_MAX): Likewise.
46845         [C99-based standards] (INT_FAST32_MIN): Likewise.
46846         [C99-based standards] (INT_FAST32_MAX): Likewise.
46847         [C99-based standards] (INT_FAST64_MIN): Likewise.
46848         [C99-based standards] (INT_FAST64_MAX): Likewise.
46849         [C99-based standards] (UINT_FAST8_MAX): Likewise.
46850         [C99-based standards] (UINT_FAST16_MAX): Likewise.
46851         [C99-based standards] (UINT_FAST32_MAX): Likewise.
46852         [C99-based standards] (UINT_FAST64_MAX): Likewise.
46853         [C99-based standards] (INTPTR_MIN): Likewise.
46854         [C99-based standards] (INTPTR_MAX): Likewise.
46855         [C99-based standards] (UINTPTR_MAX): Likewise.
46856         [C99-based standards] (INTMAX_MIN): Likewise.
46857         [C99-based standards] (INTMAX_MAX): Likewise.
46858         [C99-based standards] (UINTMAX_MAX): Likewise.
46859         [C99-based standards] (PTRDIFF_MIN): Likewise.
46860         [C99-based standards] (PTRDIFF_MAX): Likewise.
46861         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
46862         [C99-based standards] (SIZE_MAX): Likewise.
46863         [C99-based standards] (WCHAR_MAX): Likewise.
46864         [C99-based standards] (WINT_MAX): Likewise.
46865         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
46866         constraint on value.
46867         [C99-based standards] (WCHAR_MIN): Likewise.
46868         [C99-based standards] (WINT_MIN): Likewise.
46869         [C99-based standards] (*_t): Allow.
46870         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
46871         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
46872         Include math.h-data and complex.h-data.  Remove all expectations
46873         of math.h and complex.h contents.
46874         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
46875         at end of line.
46876         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
46877         (struct tm): Expect tag.
46878         [C99-based-standards] (wcstof): Expect function.
46879         [C99-based-standards] (wcstold): Likewise.
46880         [C99-based-standards] (wcstoll): Likewise.
46881         [C99-based-standards] (wcstoull): Likewise.
46882         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
46883         macro-int-constant.  Specify type.
46884         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
46885         constraint on value.
46886         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46887         Specify type.
46888         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
46889         Specify value.
46890         [ISO C standards]: Do not allow headers.
46891         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
46892         wcs[abcdefghijklmnopqrstuvwxyz]*.
46893         [ISO C standards] (*_t): Do not allow.
46894         * conform/data/wctype.h-data [C99-based standards] (iswblank):
46895         Expect function.
46896         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
46897         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
46898         Specify type.
46899         [ISO C standards]: Do not allow headers.
46900         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
46901         is[abcdefghijklmnopqrstuvwxyz]*.
46902         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
46903         to[abcdefghijklmnopqrstuvwxyz]*.
46904         [ISO C standards] (*_t): Do not allow.
46905         * conform/data/stdalign.h-data: New file.
46906         * conform/data/stdbool.h-data: Likewise.
46907         * conform/data/stdnoreturn.h-data: Likewise.
46909 2012-11-07  Roland McGrath  <roland@hack.frob.com>
46911         [BZ #14815]
46912         * manual/filesys.texi (Directory Entries): Typo fix.
46913         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
46915 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46917         * elf/elf.h (EM_AARCH64): New macro.
46918         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
46919         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
46920         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
46921         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
46922         (R_AARCH64_TLSDESC): Likewise.
46923         (NT_ARM_TLS): Likewise.
46924         (NT_ARM_HW_BREAK): Likewise.
46925         (NT_ARM_HW_WATCH): Likewise.
46927 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46929         [BZ #14811]
46930         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
46931         (__ieee754_powl): Saturate nonzero exponents with absolute value
46932         below 0x1p-79 to +/- 0x1p-79.
46933         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
46934         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
46935         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
46936         nonzero exponents with absolute value below 0x1p-32 to +/-
46937         0x1p-32.
46938         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
46939         (__ieee754_powl): Saturate nonzero exponents with absolute value
46940         below 0x1p-79 to +/- 0x1p-79.
46941         * math/libm-test.inc (pow_test): Add more tests.
46943 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46945         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
46946         _dl_s390_cap_flags with kernel. Increase string length.
46947         (_dl_s390_platforms): Add z196 and zEC12.
46949 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
46951         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
46952         Change XOPEN21K to XOPEN2K.
46954 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
46956         * string/memmove.c: Use memcpy when possible.
46958 2012-11-06  Andreas Jaeger  <aj@suse.de>
46960         * po/eo.po: Update from translation team.
46962 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
46964         [BZ #14793]
46965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
46966         exponent and small x and y exponents, scale x or y up.  Increase
46967         by 2 the exponent used in scaling up.
46968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46969         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46970         * math/libm-test.inc (fma_test): Add more tests.
46971         (fma_test_towardzero): Likewise.
46972         (fma_test_downward): Likewise.
46973         (fma_test_upward): Likewise.
46975 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
46977         [BZ #14805]
46978         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
46979         fenv_t *.
46981         [BZ #14801]
46982         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
46983         namespace for names of struct fields.
46984         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
46985         fenv_t fields.
46986         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
46987         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
46989 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46991         [BZ #3665]
46992         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
46994 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
46996         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
46997         PTR_DEMANGLE.
46999         [BZ #5246]
47000         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47001         PTR_DEMANGLE.
47003 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47005         [BZ #14797]
47006         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47007         definitely overflow as x * y not x * y + z.
47008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47009         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47010         * math/libm-test.inc (fma_test): Add more tests.
47011         (fma_test_towardzero): Likewise.
47012         (fma_test_downward): Likewise.
47013         (fma_test_upward): Likewise.
47015 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47017         [BZ #157]
47019         * include/stub-tag.h: Remove file.
47020         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47021         '#include' of it.
47022         * manual/maint.texi (Porting): Don't reference it.
47023         * Makerules ($(objpfx)stubs): Likewise.
47024         * dirent/closedir.c: Don't include <stub-tag.h>.
47025         * dirent/dirfd.c: Likewise.
47026         * dirent/fdopendir.c: Likewise.
47027         * dirent/getdents.c: Likewise.
47028         * dirent/getdents64.c: Likewise.
47029         * dirent/opendir.c: Likewise.
47030         * dirent/readdir.c: Likewise.
47031         * dirent/readdir64.c: Likewise.
47032         * dirent/readdir64_r.c: Likewise.
47033         * dirent/readdir_r.c: Likewise.
47034         * dirent/rewinddir.c: Likewise.
47035         * dirent/seekdir.c: Likewise.
47036         * dirent/telldir.c: Likewise.
47037         * gmon/profil.c: Likewise.
47038         * grp/setgroups.c: Likewise.
47039         * inet/if_index.c: Likewise.
47040         * io/access.c: Likewise.
47041         * io/chdir.c: Likewise.
47042         * io/chmod.c: Likewise.
47043         * io/chown.c: Likewise.
47044         * io/close.c: Likewise.
47045         * io/dup.c: Likewise.
47046         * io/dup2.c: Likewise.
47047         * io/dup3.c: Likewise.
47048         * io/euidaccess.c: Likewise.
47049         * io/faccessat.c: Likewise.
47050         * io/fchdir.c: Likewise.
47051         * io/fchmod.c: Likewise.
47052         * io/fchmodat.c: Likewise.
47053         * io/fchown.c: Likewise.
47054         * io/fchownat.c: Likewise.
47055         * io/fcntl.c: Likewise.
47056         * io/flock.c: Likewise.
47057         * io/fstatfs.c: Likewise.
47058         * io/fstatfs64.c: Likewise.
47059         * io/fstatvfs.c: Likewise.
47060         * io/fstatvfs64.c: Likewise.
47061         * io/futimens.c: Likewise.
47062         * io/fxstat.c: Likewise.
47063         * io/fxstat64.c: Likewise.
47064         * io/fxstatat.c: Likewise.
47065         * io/fxstatat64.c: Likewise.
47066         * io/getcwd.c: Likewise.
47067         * io/isatty.c: Likewise.
47068         * io/lchmod.c: Likewise.
47069         * io/lchown.c: Likewise.
47070         * io/link.c: Likewise.
47071         * io/linkat.c: Likewise.
47072         * io/lseek.c: Likewise.
47073         * io/lseek64.c: Likewise.
47074         * io/lxstat64.c: Likewise.
47075         * io/mkdir.c: Likewise.
47076         * io/mkdirat.c: Likewise.
47077         * io/mkfifo.c: Likewise.
47078         * io/mkfifoat.c: Likewise.
47079         * io/open.c: Likewise.
47080         * io/open64.c: Likewise.
47081         * io/openat.c: Likewise.
47082         * io/openat64.c: Likewise.
47083         * io/pipe.c: Likewise.
47084         * io/pipe2.c: Likewise.
47085         * io/poll.c: Likewise.
47086         * io/posix_fadvise.c: Likewise.
47087         * io/posix_fadvise64.c: Likewise.
47088         * io/posix_fallocate.c: Likewise.
47089         * io/posix_fallocate64.c: Likewise.
47090         * io/read.c: Likewise.
47091         * io/readlink.c: Likewise.
47092         * io/readlinkat.c: Likewise.
47093         * io/rmdir.c: Likewise.
47094         * io/sendfile.c: Likewise.
47095         * io/sendfile64.c: Likewise.
47096         * io/statfs.c: Likewise.
47097         * io/statfs64.c: Likewise.
47098         * io/statvfs.c: Likewise.
47099         * io/statvfs64.c: Likewise.
47100         * io/symlink.c: Likewise.
47101         * io/symlinkat.c: Likewise.
47102         * io/ttyname.c: Likewise.
47103         * io/ttyname_r.c: Likewise.
47104         * io/umask.c: Likewise.
47105         * io/unlink.c: Likewise.
47106         * io/unlinkat.c: Likewise.
47107         * io/utime.c: Likewise.
47108         * io/utimensat.c: Likewise.
47109         * io/write.c: Likewise.
47110         * io/xmknod.c: Likewise.
47111         * io/xmknodat.c: Likewise.
47112         * io/xstat.c: Likewise.
47113         * io/xstat64.c: Likewise.
47114         * login/getpt.c: Likewise.
47115         * login/grantpt.c: Likewise.
47116         * login/unlockpt.c: Likewise.
47117         * math/e_acoshl.c: Likewise.
47118         * math/e_acosl.c: Likewise.
47119         * math/e_asinl.c: Likewise.
47120         * math/e_atan2l.c: Likewise.
47121         * math/e_atanhl.c: Likewise.
47122         * math/e_coshl.c: Likewise.
47123         * math/e_expl.c: Likewise.
47124         * math/e_fmodl.c: Likewise.
47125         * math/e_gammal_r.c: Likewise.
47126         * math/e_hypotl.c: Likewise.
47127         * math/e_j0l.c: Likewise.
47128         * math/e_j1l.c: Likewise.
47129         * math/e_jnl.c: Likewise.
47130         * math/e_lgammal_r.c: Likewise.
47131         * math/e_log10l.c: Likewise.
47132         * math/e_log2l.c: Likewise.
47133         * math/e_logl.c: Likewise.
47134         * math/e_powl.c: Likewise.
47135         * math/e_rem_pio2l.c: Likewise.
47136         * math/e_sinhl.c: Likewise.
47137         * math/e_sqrtl.c: Likewise.
47138         * math/fclrexcpt.c: Likewise.
47139         * math/fedisblxcpt.c: Likewise.
47140         * math/feenablxcpt.c: Likewise.
47141         * math/fegetenv.c: Likewise.
47142         * math/fegetexcept.c: Likewise.
47143         * math/fegetround.c: Likewise.
47144         * math/feholdexcpt.c: Likewise.
47145         * math/fesetenv.c: Likewise.
47146         * math/fesetround.c: Likewise.
47147         * math/feupdateenv.c: Likewise.
47148         * math/fgetexcptflg.c: Likewise.
47149         * math/fraiseexcpt.c: Likewise.
47150         * math/fsetexcptflg.c: Likewise.
47151         * math/ftestexcept.c: Likewise.
47152         * math/k_cosl.c: Likewise.
47153         * math/k_rem_pio2l.c: Likewise.
47154         * math/k_sinl.c: Likewise.
47155         * math/k_tanl.c: Likewise.
47156         * math/s_asinhl.c: Likewise.
47157         * math/s_atanl.c: Likewise.
47158         * math/s_cbrtl.c: Likewise.
47159         * math/s_erfl.c: Likewise.
47160         * math/s_expm1l.c: Likewise.
47161         * math/s_log1pl.c: Likewise.
47162         * math/s_tanhl.c: Likewise.
47163         * misc/acct.c: Likewise.
47164         * misc/brk.c: Likewise.
47165         * misc/chflags.c: Likewise.
47166         * misc/chroot.c: Likewise.
47167         * misc/fchflags.c: Likewise.
47168         * misc/fgetxattr.c: Likewise.
47169         * misc/flistxattr.c: Likewise.
47170         * misc/fremovexattr.c: Likewise.
47171         * misc/fsetxattr.c: Likewise.
47172         * misc/fsync.c: Likewise.
47173         * misc/ftruncate.c: Likewise.
47174         * misc/futimes.c: Likewise.
47175         * misc/futimesat.c: Likewise.
47176         * misc/getdomain.c: Likewise.
47177         * misc/getdtsz.c: Likewise.
47178         * misc/gethostid.c: Likewise.
47179         * misc/gethostname.c: Likewise.
47180         * misc/getloadavg.c: Likewise.
47181         * misc/getpagesize.c: Likewise.
47182         * misc/getsysstats.c: Likewise.
47183         * misc/getxattr.c: Likewise.
47184         * misc/gtty.c: Likewise.
47185         * misc/ioctl.c: Likewise.
47186         * misc/lgetxattr.c: Likewise.
47187         * misc/listxattr.c: Likewise.
47188         * misc/llistxattr.c: Likewise.
47189         * misc/lremovexattr.c: Likewise.
47190         * misc/lsetxattr.c: Likewise.
47191         * misc/lutimes.c: Likewise.
47192         * misc/madvise.c: Likewise.
47193         * misc/mincore.c: Likewise.
47194         * misc/mlock.c: Likewise.
47195         * misc/mlockall.c: Likewise.
47196         * misc/mmap.c: Likewise.
47197         * misc/mprotect.c: Likewise.
47198         * misc/msync.c: Likewise.
47199         * misc/munlock.c: Likewise.
47200         * misc/munlockall.c: Likewise.
47201         * misc/munmap.c: Likewise.
47202         * misc/preadv.c: Likewise.
47203         * misc/preadv64.c: Likewise.
47204         * misc/ptrace.c: Likewise.
47205         * misc/pwritev.c: Likewise.
47206         * misc/pwritev64.c: Likewise.
47207         * misc/readv.c: Likewise.
47208         * misc/reboot.c: Likewise.
47209         * misc/remap_file_pages.c: Likewise.
47210         * misc/removexattr.c: Likewise.
47211         * misc/revoke.c: Likewise.
47212         * misc/select.c: Likewise.
47213         * misc/setdomain.c: Likewise.
47214         * misc/setegid.c: Likewise.
47215         * misc/seteuid.c: Likewise.
47216         * misc/sethostid.c: Likewise.
47217         * misc/sethostname.c: Likewise.
47218         * misc/setregid.c: Likewise.
47219         * misc/setreuid.c: Likewise.
47220         * misc/setxattr.c: Likewise.
47221         * misc/sstk.c: Likewise.
47222         * misc/stty.c: Likewise.
47223         * misc/swapoff.c: Likewise.
47224         * misc/swapon.c: Likewise.
47225         * misc/sync.c: Likewise.
47226         * misc/syncfs.c: Likewise.
47227         * misc/syscall.c: Likewise.
47228         * misc/truncate.c: Likewise.
47229         * misc/ualarm.c: Likewise.
47230         * misc/usleep.c: Likewise.
47231         * misc/ustat.c: Likewise.
47232         * misc/utimes.c: Likewise.
47233         * misc/vhangup.c: Likewise.
47234         * misc/writev.c: Likewise.
47235         * posix/_exit.c: Likewise.
47236         * posix/alarm.c: Likewise.
47237         * posix/execve.c: Likewise.
47238         * posix/fexecve.c: Likewise.
47239         * posix/fork.c: Likewise.
47240         * posix/fpathconf.c: Likewise.
47241         * posix/getaddrinfo.c: Likewise.
47242         * posix/getegid.c: Likewise.
47243         * posix/geteuid.c: Likewise.
47244         * posix/getgid.c: Likewise.
47245         * posix/getgroups.c: Likewise.
47246         * posix/getlogin.c: Likewise.
47247         * posix/getlogin_r.c: Likewise.
47248         * posix/getpgid.c: Likewise.
47249         * posix/getpid.c: Likewise.
47250         * posix/getppid.c: Likewise.
47251         * posix/getresgid.c: Likewise.
47252         * posix/getresuid.c: Likewise.
47253         * posix/getsid.c: Likewise.
47254         * posix/getuid.c: Likewise.
47255         * posix/glob64.c: Likewise.
47256         * posix/nanosleep.c: Likewise.
47257         * posix/pathconf.c: Likewise.
47258         * posix/pause.c: Likewise.
47259         * posix/posix_madvise.c: Likewise.
47260         * posix/pread.c: Likewise.
47261         * posix/pread64.c: Likewise.
47262         * posix/pwrite.c: Likewise.
47263         * posix/pwrite64.c: Likewise.
47264         * posix/sched_getaffinity.c: Likewise.
47265         * posix/sched_getp.c: Likewise.
47266         * posix/sched_gets.c: Likewise.
47267         * posix/sched_primax.c: Likewise.
47268         * posix/sched_primin.c: Likewise.
47269         * posix/sched_rr_gi.c: Likewise.
47270         * posix/sched_setaffinity.c: Likewise.
47271         * posix/sched_setp.c: Likewise.
47272         * posix/sched_sets.c: Likewise.
47273         * posix/sched_yield.c: Likewise.
47274         * posix/setgid.c: Likewise.
47275         * posix/setlogin.c: Likewise.
47276         * posix/setpgid.c: Likewise.
47277         * posix/setresgid.c: Likewise.
47278         * posix/setresuid.c: Likewise.
47279         * posix/setsid.c: Likewise.
47280         * posix/setuid.c: Likewise.
47281         * posix/sleep.c: Likewise.
47282         * posix/spawni.c: Likewise.
47283         * posix/sysconf.c: Likewise.
47284         * posix/times.c: Likewise.
47285         * posix/wait.c: Likewise.
47286         * posix/wait3.c: Likewise.
47287         * posix/wait4.c: Likewise.
47288         * posix/waitpid.c: Likewise.
47289         * resolv/gai_sigqueue.c: Likewise.
47290         * resource/getpriority.c: Likewise.
47291         * resource/getrlimit.c: Likewise.
47292         * resource/getrusage.c: Likewise.
47293         * resource/nice.c: Likewise.
47294         * resource/setpriority.c: Likewise.
47295         * resource/setrlimit.c: Likewise.
47296         * resource/ulimit.c: Likewise.
47297         * rt/aio_cancel.c: Likewise.
47298         * rt/aio_fsync.c: Likewise.
47299         * rt/aio_read.c: Likewise.
47300         * rt/aio_sigqueue.c: Likewise.
47301         * rt/aio_suspend.c: Likewise.
47302         * rt/aio_write.c: Likewise.
47303         * rt/clock_getres.c: Likewise.
47304         * rt/clock_gettime.c: Likewise.
47305         * rt/clock_nanosleep.c: Likewise.
47306         * rt/clock_settime.c: Likewise.
47307         * rt/lio_listio.c: Likewise.
47308         * rt/mq_close.c: Likewise.
47309         * rt/mq_getattr.c: Likewise.
47310         * rt/mq_notify.c: Likewise.
47311         * rt/mq_open.c: Likewise.
47312         * rt/mq_receive.c: Likewise.
47313         * rt/mq_send.c: Likewise.
47314         * rt/mq_setattr.c: Likewise.
47315         * rt/mq_timedreceive.c: Likewise.
47316         * rt/mq_timedsend.c: Likewise.
47317         * rt/mq_unlink.c: Likewise.
47318         * rt/shm_open.c: Likewise.
47319         * rt/shm_unlink.c: Likewise.
47320         * rt/timer_create.c: Likewise.
47321         * rt/timer_delete.c: Likewise.
47322         * rt/timer_getoverr.c: Likewise.
47323         * rt/timer_gettime.c: Likewise.
47324         * rt/timer_settime.c: Likewise.
47325         * setjmp/__longjmp.c: Likewise.
47326         * setjmp/setjmp.c: Likewise.
47327         * signal/kill.c: Likewise.
47328         * signal/killpg.c: Likewise.
47329         * signal/raise.c: Likewise.
47330         * signal/sigaction.c: Likewise.
47331         * signal/sigaltstack.c: Likewise.
47332         * signal/sigblock.c: Likewise.
47333         * signal/sigignore.c: Likewise.
47334         * signal/sigintr.c: Likewise.
47335         * signal/signal.c: Likewise.
47336         * signal/sigpause.c: Likewise.
47337         * signal/sigpending.c: Likewise.
47338         * signal/sigqueue.c: Likewise.
47339         * signal/sigreturn.c: Likewise.
47340         * signal/sigset.c: Likewise.
47341         * signal/sigsetmask.c: Likewise.
47342         * signal/sigstack.c: Likewise.
47343         * signal/sigsuspend.c: Likewise.
47344         * signal/sigtimedwait.c: Likewise.
47345         * signal/sigvec.c: Likewise.
47346         * signal/sigwait.c: Likewise.
47347         * signal/sigwaitinfo.c: Likewise.
47348         * signal/sysv_signal.c: Likewise.
47349         * socket/accept.c: Likewise.
47350         * socket/accept4.c: Likewise.
47351         * socket/bind.c: Likewise.
47352         * socket/connect.c: Likewise.
47353         * socket/getpeername.c: Likewise.
47354         * socket/getsockname.c: Likewise.
47355         * socket/getsockopt.c: Likewise.
47356         * socket/isfdtype.c: Likewise.
47357         * socket/listen.c: Likewise.
47358         * socket/recv.c: Likewise.
47359         * socket/recvfrom.c: Likewise.
47360         * socket/recvmsg.c: Likewise.
47361         * socket/send.c: Likewise.
47362         * socket/sendmsg.c: Likewise.
47363         * socket/sendto.c: Likewise.
47364         * socket/setsockopt.c: Likewise.
47365         * socket/shutdown.c: Likewise.
47366         * socket/sockatmark.c: Likewise.
47367         * socket/socket.c: Likewise.
47368         * socket/socketpair.c: Likewise.
47369         * stdio-common/ctermid.c: Likewise.
47370         * stdio-common/cuserid.c: Likewise.
47371         * stdio-common/remove.c: Likewise.
47372         * stdio-common/rename.c: Likewise.
47373         * stdio-common/renameat.c: Likewise.
47374         * stdio-common/tempname.c: Likewise.
47375         * stdlib/getcontext.c: Likewise.
47376         * stdlib/makecontext.c: Likewise.
47377         * stdlib/setcontext.c: Likewise.
47378         * stdlib/swapcontext.c: Likewise.
47379         * stdlib/system.c: Likewise.
47380         * streams/fattach.c: Likewise.
47381         * streams/fdetach.c: Likewise.
47382         * streams/getmsg.c: Likewise.
47383         * streams/getpmsg.c: Likewise.
47384         * streams/putmsg.c: Likewise.
47385         * streams/putpmsg.c: Likewise.
47386         * sysdeps/unix/bsd/getpt.c: Likewise.
47387         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
47388         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
47389         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47391         Likewise.
47392         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
47393         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47394         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47395         * sysvipc/msgctl.c: Likewise.
47396         * sysvipc/msgget.c: Likewise.
47397         * sysvipc/msgrcv.c: Likewise.
47398         * sysvipc/msgsnd.c: Likewise.
47399         * sysvipc/semctl.c: Likewise.
47400         * sysvipc/semget.c: Likewise.
47401         * sysvipc/semop.c: Likewise.
47402         * sysvipc/semtimedop.c: Likewise.
47403         * sysvipc/shmat.c: Likewise.
47404         * sysvipc/shmctl.c: Likewise.
47405         * sysvipc/shmdt.c: Likewise.
47406         * sysvipc/shmget.c: Likewise.
47407         * termios/tcdrain.c: Likewise.
47408         * termios/tcflow.c: Likewise.
47409         * termios/tcflush.c: Likewise.
47410         * termios/tcgetattr.c: Likewise.
47411         * termios/tcgetpgrp.c: Likewise.
47412         * termios/tcsendbrk.c: Likewise.
47413         * termios/tcsetattr.c: Likewise.
47414         * termios/tcsetpgrp.c: Likewise.
47415         * time/adjtime.c: Likewise.
47416         * time/clock.c: Likewise.
47417         * time/getitimer.c: Likewise.
47418         * time/gettimeofday.c: Likewise.
47419         * time/setitimer.c: Likewise.
47420         * time/settimeofday.c: Likewise.
47421         * time/stime.c: Likewise.
47422         * time/time.c: Likewise.
47424 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
47426         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
47427         /usr/old/bin.
47429         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
47430         instead of spaces.
47431         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
47433 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
47435         [BZ #14796]
47436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
47437         FE_TONEAREST before applying Dekker multiplication and Knuth
47438         addition.  Clear inexact exceptions and check for exact zero
47439         results afterwards.
47440         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47441         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47442         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47443         * math/libm-test.inc (fma_test): Add more tests.
47444         (fma_test_towardzero): Likewise.
47445         (fma_test_downward): Likewise.
47446         (fma_test_upward): Likewise.
47447         * sysdeps/generic/math_private.h (default_libc_fesetround): New
47448         function.
47449         (libc_fesetround): New macro.
47450         (libc_fesetroundf): Likewise.
47451         (libc_fesetroundl): Likewise.
47452         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
47453         function.
47454         (libc_fesetround_387): Likewise.
47455         (libc_fesetroundf): New macro.
47456         (libc_fesetround): Likewise.
47457         (libc_fesetroundl): Likewise.
47458         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
47459         function.
47460         (libc_fesetroundf): New macro.
47461         (libc_fesetround): Likewise.
47462         (libc_fesetroundl): Likewise.
47463         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
47464         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
47465         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
47466         libm_hidden_ver.
47467         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
47468         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
47469         libm_hidden_def.
47470         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
47471         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
47472         libm_hidden_ver.
47473         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
47474         libm_hidden_def.
47476         [BZ #3439]
47477         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
47478         integer constant usable in #if and use that to give value to enum
47479         constant.
47480         (FE_DIVBYZERO): Likewise.
47481         (FE_UNDERFLOW): Likewise.
47482         (FE_OVERFLOW): Likewise.
47483         (FE_INVALID): Likewise.
47484         (FE_INVALID_SNAN): Likewise.
47485         (FE_INVALID_ISI): Likewise.
47486         (FE_INVALID_IDI): Likewise.
47487         (FE_INVALID_ZDZ): Likewise.
47488         (FE_INVALID_IMZ): Likewise.
47489         (FE_INVALID_COMPARE): Likewise.
47490         (FE_INVALID_SOFTWARE): Likewise.
47491         (FE_INVALID_SQRT): Likewise.
47492         (FE_INVALID_INTEGER_CONVERSION): Likewise.
47493         (FE_TONEAREST): Likewise.
47494         (FE_TOWARDZERO): Likewise.
47495         (FE_UPWARD): Likewise.
47496         (FE_DOWNWARD): Likewise.
47497         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
47498         (FE_DIVBYZERO): Likewise.
47499         (FE_OVERFLOW): Likewise.
47500         (FE_UNDERFLOW): Likewise.
47501         (FE_INEXACT): Likewise.
47502         (FE_TONEAREST): Likewise.
47503         (FE_DOWNWARD): Likewise.
47504         (FE_UPWARD): Likewise.
47505         (FE_TOWARDZERO): Likewise.
47506         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
47507         (FE_UNDERFLOW): Likewise.
47508         (FE_OVERFLOW): Likewise.
47509         (FE_DIVBYZERO): Likewise.
47510         (FE_INVALID): Likewise.
47511         (FE_TONEAREST): Likewise.
47512         (FE_TOWARDZERO): Likewise.
47513         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
47514         (FE_OVERFLOW): Likewise.
47515         (FE_UNDERFLOW): Likewise.
47516         (FE_DIVBYZERO): Likewise.
47517         (FE_INEXACT): Likewise.
47518         (FE_TONEAREST): Likewise.
47519         (FE_TOWARDZERO): Likewise.
47520         (FE_UPWARD): Likewise.
47521         (FE_DOWNWARD): Likewise.
47522         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
47523         (FE_DIVBYZERO): Likewise.
47524         (FE_OVERFLOW): Likewise.
47525         (FE_UNDERFLOW): Likewise.
47526         (FE_INEXACT): Likewise.
47527         (FE_TONEAREST): Likewise.
47528         (FE_DOWNWARD): Likewise.
47529         (FE_UPWARD): Likewise.
47530         (FE_TOWARDZERO): Likewise.
47532 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
47534         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
47536 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
47538         * scripts/cross-test-ssh.sh (command): Use newlines to separate
47539         commands.  Quote $PWD.
47540         (blacklist_exports): Don't use remove_newlines.  Replace "declare
47541         -x" by "export".
47542         (remove_newlines): Remove.
47544 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
47546         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
47547         * stdlib/stdlib.h (atof): Moved to ...
47548         * include/bits/stdlib-float.h: Here.  New file.
47549         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
47550         * stdlib/bits/stdlib-float.h: New file.
47551         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
47552         -mno-sse -mno-mmx.
47553         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
47554         <xmmintrin.h>.
47556 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47558         * conform/conformtest.pl (@headers): Add fenv.h.
47559         * conform/data/fenv.h-data: New file.
47560         * include/fenv.h [_ISOMAC]: Disable all contents of file except
47561         include of <math/fenv.h>.
47563         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
47564         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
47565         && !UNIX98].  Enables tests for XOPEN2K8.
47566         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
47567         POSIX2008]: Likewise.
47569         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
47570         (struct rusage): Do not expect type or its members.
47572         [BZ #3439]
47573         * math/math.h (FP_NAN): Define macro to integer constant usable in
47574         #if and use that to give value to enum constant.
47575         (FP_INFINITE): Likewise.
47576         (FP_ZERO): Likewise.
47577         (FP_SUBNORMAL): Likewise.
47578         (FP_NORMAL): Likewise.
47580 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
47582         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
47583         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
47584         arguments.
47586 2012-11-02  Roland McGrath  <roland@hack.frob.com>
47588         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
47589         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
47590         autoconf-time if not.
47591         * configure.in: Remove AC_PREREQ.
47593 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47595         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
47596         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
47597         of the internal implementation.
47599 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
47601         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
47602         except include of <misc/sys/syslog.h>.
47604 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
47607         function returns with a NULL context exit with zero.
47609 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47611         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
47613 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
47615         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
47616         (run_program_cmd): This.
47617         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
47618         (tst_langinfo): New variable.  Use it.
47620 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
47622         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
47623         floating point opcodes.
47625 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47627         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
47628         variable.
47630         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
47632         * sysdeps/mach/hurd/powerpc: Remove directory.
47633         * sysdeps/mach/powerpc: Likewise.
47635 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47637         * scripts/check-local-headers.sh: Ignore c++ headers.
47639 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47641         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
47642         __libc_cleanup_region_start argument.
47644 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
47646         [BZ #14784]
47647         [BZ #14785]
47648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
47649         x * y using scaling, not as x * y + z.
47650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47652         * math/libm-test.inc (fma_test): Add more tests.
47653         (fma_test_towardzero): Likewise.
47654         (fma_test_downward): Likewise.
47655         (fma_test_upward): Likewise.
47657 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
47659         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
47661 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47663         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
47664         New variable.
47666 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
47668         * rt/tst-shm.c (worker): Correct checking for mmap failure.
47670 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47673         Fix sort order.
47674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47675         Likewise.
47677 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47680         Fix the order of the list for glibc 2.17.
47681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47682         Likewise.
47684 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
47686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47688 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
47690         [BZ #14610]
47691         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
47692         for low part of x being zero before using __atanl (y).
47693         * math/libm-test.inc (atan2_test): Add another test.
47695         * manual/install.texi (Configuring and compiling): Document
47696         general use of test-wrapper and test-wrapper-env.
47697         * INSTALL: Regenerated.
47699         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
47700         (__fma): Do not extract and scale down low bits on after-rounding
47701         systems when result rounded to normal precision would have normal
47702         exponent.
47703         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
47704         (__fmal): Do not extract and scale down low bits on after-rounding
47705         systems when result rounded to normal precision would have normal
47706         exponent.
47707         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
47708         (__fmal): Do not extract and scale down low bits on after-rounding
47709         systems when result rounded to normal precision would have normal
47710         exponent.
47711         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
47712         macro.
47713         (fma_test): Add more tests.
47714         (fma_test_towardzero): Likewise.
47715         (fma_test_downward): Likewise.
47716         (fma_test_upward): Likewise.
47718 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
47720         * sysdeps/i386/tininess.h: Renamed to ...
47721         * sysdeps/x86/tininess.h: This.
47722         * sysdeps/x86_64/tininess.h: Removed.
47724 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47726         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
47727         input.  Use $(build-program-cmd).
47728         ($(objpfx)tst-array1-static.out): Likewise.
47729         ($(objpfx)tst-array2.out): Likewise.
47730         ($(objpfx)tst-array3.out): Likewise.
47731         ($(objpfx)tst-array4.out): Likewise.
47732         ($(objpfx)tst-array5.out): Likewise.
47733         ($(objpfx)tst-array5-static.out): Likewise.
47735 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
47737         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
47738         if defined.
47740         * nss/nsswitch.h (nss_interface_function): Provide new
47741         macro for use with NSS functions.
47742         * grp/initgroups.c: Use new macro.
47743         * nss/getXXbyYY.c: Likewise.
47744         * nss/getXXbyYY_r.c: Likewise.
47745         * nss/getXXent.c: Likewise.
47746         * nss/getXXent_r.c: Likewise.
47747         * sysdeps/posix/getaddrinfo.c: Likewise.
47749 2012-10-30  Andreas Jaeger  <aj@suse.de>
47751         * po/ru.po: Update Russion translation from translation project.
47753 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
47755         [BZ #14152]
47756         [BZ #14783]
47757         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
47758         result and shift together with sticky bit instead of replicating
47759         round-to-nearest rounding.
47760         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47761         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47762         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
47763         missing underflow exceptions.
47764         (fma_test_towardzero): Add more tests.
47765         (fma_test_downward): Likewise.
47766         (fma_test_upward): Likewise.
47768         [BZ #14047]
47769         * sysdeps/generic/tininess.h: New file.
47770         * sysdeps/i386/tininess.h: Likewise.
47771         * sysdeps/sh/tininess.h: Likewise.
47772         * sysdeps/x86_64/tininess.h: Likewise.
47773         * stdlib/tst-strtod-underflow.c: Likewise.
47774         * stdlib/tst-tininess.c: Likewise.
47775         * stdlib/strtod_l.c: Include <tininess.h>.
47776         (round_and_return): Do not set errno for exact underflow cases.
47777         Force an underflow exception when setting errno for underflow.
47778         Determine underflow based on rounding to normal precision if
47779         TININESS_AFTER_ROUNDING.
47780         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
47781         ERANGE for exact underflow cases.
47782         * stdlib/Makefile (tests): Add tst-tininess and
47783         tst-strtod-underflow.
47784         ($(objpfx)tst-tininess): Use $(link-libm).
47785         ($(objpfx)tst-strtod-underflow): Likewise.
47787 2012-10-30  Andreas Jaeger  <aj@suse.de>
47789         [BZ#14767]
47790         * elf/Makefile (tests): Remove conditional for have-initfini-array
47791         since this is now always required and the variable does not exist
47792         anymore.
47793         (tests-static): Likewise.
47794         (modules-names): Likewise.
47796         * po/eo.po: Add Esperanto translation from translation project.
47798         * elf/tst-array1.c (fini_array): Make writeable so that it can be
47799         merged with constructor/destructor.
47800         (init_array): Likewise.
47801         * elf/tst-array2dep.c (fini_array): Likewise.
47802         (init_array): Likewise.
47804 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
47806         * manual/message.texi: Delete @cartouche tags.
47808 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
47810         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
47811         EOPNOTSUPP.
47812         * sysdeps/mach/hurd/fsync.c: Likewise.
47814         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
47815         [_POSIX_REALTIME_SIGNALS]: Change condition to
47816         [_POSIX_REALTIME_SIGNALS > 0].
47818 2012-10-27  Andreas Jaeger  <aj@suse.de>
47820         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
47821         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
47822         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
47823         [__WORDSIZE != 64]: Likewise.
47825 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
47827         *  iconvdata/tst-table.sh: Remove ${SHELL}.
47828         *  iconvdata/tst-tables.sh: Likewise.
47830 2012-10-25  David S. Miller  <davem@davemloft.net>
47832         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47833         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
47834         of strtoull.
47836         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
47837         ifunc-impl-list.c
47838         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47839         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
47840         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
47841         file.
47843 2012-10-25  Roland McGrath  <roland@hack.frob.com>
47845         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47846         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
47847         __getdirentries.
47849 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
47850             Jim Blandy  <jimb@codesourcery.com>
47852         * scripts/cross-test-ssh.sh: New file.
47853         * manual/install.texi (Configuring and compiling): Document use of
47854         cross-test-ssh.sh.
47855         * INSTALL: Regenerated.
47857 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
47859         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
47860         EOPNOTSUPP.
47862 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
47864         * Makeconfig (run-program-prefix): Fix comment.
47866 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
47867             Jim Blandy  <jimb@codesourcery.com>
47869         * Makeconfig (test-wrapper): New variable,
47870         (test-wrapper-env): Likewise.
47871         [$(cross-compiling) = yes && $(test-wrapper) != ""]
47872         (run-built-tests): Define to yes.
47873         (run-program-prefix): Use $(test-wrapper).
47874         (built-program-cmd): Likewise.
47875         * Rules (make-test-out): Use $(test-wrapper-env) and
47876         $(host-built-program-cmd).
47877         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
47878         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
47879         tst-pathopt.sh.
47880         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
47881         $(test-wrapper-env) to tst-rtld-load-self.sh.
47882         ($(objpfx)order2.out): Use $(test-wrapper).
47883         ($(objpfx)tst-initorder.out): Likewise.
47884         ($(objpfx)tst-initorder2.out): Likewise.
47885         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
47886         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
47887         (test_wrapper_env): New variable.  Use it to run ld.so.
47888         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
47889         Use it to run ld.so.
47890         (test_wrapper_env): Likewise.
47891         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
47892         $(test-wrapper) to run-iconv-test.sh.
47893         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
47894         (ICONV): Use $test_wrapper.
47895         * posix/Makefile ($(objpfx)globtest.out): Pass
47896         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
47897         globtest.sh, not $(run-program-prefix).
47898         * posix/globtest.sh (run_via_rtld_prefix): New variable.
47899         (test_wrapper): Likewise.
47900         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
47901         set together with run_via_rtld_prefix.
47902         (run_program_prefix): Define in terms of test_wrapper and
47903         run_via_rtld_prefix.
47905 2012-10-24  Roland McGrath  <roland@hack.frob.com>
47907         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
47908         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
47909         Targets removed.
47911         [BZ #14743]
47912         * include/time.h: Remove librt_hidden_proto (clock_gettime).
47913         Declare __clock_getres, __clock_gettime, __clock_settime,
47914         __clock_nanosleep, and __clock_getcpuclockid.
47915         * rt/clock_gettime.c: Define __clock_gettime as an alias.
47916         Remove librt_hidden_def (clock_gettime).
47917         * sysdeps/unix/clock_gettime.c: Likewise.
47918         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
47919         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47920         * rt/clock_getres.c: Define __clock_getres as an alias.
47921         * sysdeps/posix/clock_getres.c: Likewise.
47922         * rt/clock_settime.c: Define __clock_settime as an alias.
47923         * sysdeps/unix/clock_settime.c: Likewise.
47924         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
47925         * sysdeps/unix/clock_nanosleep.c: Likewise.
47926         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47927         * rt/clock-compat.c: New file.
47928         * rt/Makefile (librt-routines): Add clock-compat and move
47929         $(clock-routines) to ...
47930         (routines): ... here, new variable.
47931         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
47932         Don't add get_clockfreq here.
47933         * rt/Versions (libc: GLIBC_2.17): New version set.
47934         Add clock_* symbols here.
47935         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
47936         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
47937         (GLIBC_2.17): Add clock_* symbols.
47938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47940         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47942         Likewise.
47943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47944         Likewise.
47945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47949         * NEWS: Mention the move.
47951         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47952         Use __open, __read, __close rather than their public counterparts.
47953         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47954         (__get_clockfreq_via_cpuinfo): Likewise.
47955         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
47956         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
47958         * config.h.in (HAVE_IFUNC): New #undef.
47959         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
47960         was successful.
47961         * configure: Regenerated.
47963 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
47965         * configure.in: Move READELF check to start of file.
47966         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
47967         libc_cv_asm_gnu_indirect_function in the process.
47968         * configure: Regenerated.
47970 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
47972         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
47973         send the output to /dev/null.
47974         (libc_cv_cc_with_libunwind): Likewise.
47975         (libc_cv_as_noexecstack): Likewise.
47976         * configure: Regenerate.
47978 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
47980         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
47982         * posix/globtest.sh (TMPDIR): Do not set.
47983         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
47984         (testout): Likewise.
47986 2012-10-24  Andreas Jaeger  <aj@suse.de>
47988         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
47989         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
47990         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
47991         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
47992         posix_fadvise64, posix_fallocate64.
47994         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
47995         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
47996         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
47997         Likewise.
47998         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
47999         Likewise.
48000         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48002         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48003         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48004         <bits/fcntl-linux.h>.
48005         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48008         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48009         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48010         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48011         [__WORDSIZE != 64]: Likewise.
48013 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48015         * Makeconfig (run-built-tests): New variable.
48016         * Rules [$(cross-compiling) = yes]: Change condition to
48017         [$(run-built-tests) = no].
48018         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48019         to [$(run-built-tests) = yes].
48020         * elf/Makefile [$(cross-compiling) = no]: Likewise
48021         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48022         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48023         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48024         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48025         * io/Makefile [$(cross-compiling) = no]: Likewise.
48026         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48027         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48028         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48029         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48030         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48031         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48032         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48033         * string/Makefile [$(cross-compiling) = no]: Likewise.
48035         * posix/Makefile ($(objpfx)globtest.out): Pass
48036         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48037         $(rtld-installed-name).
48038         * posix/globtest.sh (elf_objpfx): Remove variable.
48039         (rtld_installed_name): Likewise.
48040         (library_path): Likewise.
48041         (run_program_prefix): New variable.  Use for running globtest
48042         binary.
48044 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48045             Joseph Myers  <joseph@codesourcery.com>
48047         * Makeconfig (host-built-program-cmd): New variable.
48048         * elf/Makefile (tst-stackguard1-ARGS): Use
48049         $(host-built-program-cmd).
48050         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48051         (tst-spawn-ARGS): Likewise.
48052         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48054 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48055             Jim Blandy  <jimb@codesourcery.com>
48057         * Makeconfig (run-via-rtld-prefix): New variable.
48058         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48059         (built-program-cmd): Likewise.
48061 2012-10-22  Andreas Jaeger  <aj@suse.de>
48063         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48064         __O_RSYNC if it exists, otherwise to O_SYNC.
48066 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48067             Joseph Myers  <joseph@codesourcery.com>
48069         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48070         /dev/null.
48071         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48072         from /dev/null
48073         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48074         /dev/null.
48076 2012-10-22  Andreas Jaeger  <aj@suse.de>
48078         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48079         Define always.
48080         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48083         bits/fcntl-linux.h.
48085         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48086         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48088         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48089         to __O_LARGEFILE.
48090         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48091         to __O_LARGEFILE.
48093 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48094             Joseph Myers  <joseph@codesourcery.com>
48096         * config.make.in (NM): New variable.
48098 2012-10-21  Andreas Jaeger  <aj@suse.de>
48100         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48101         definitions and declarations that are provided by
48102         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48104 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48106         [BZ #14683]
48107         * elf/Makefile (tests-static): Add tst-leaks1-static.
48108         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48109         ($(objpfx)tst-leaks1-static): New rule.
48110         ($(objpfx)tst-leaks1-static-mem): Likewise.
48111         (tst-leaks1-static-ENV): New macro.
48112         * elf/dl-open.c (dl_open_worker): Check the main application
48113         only if SHARED is defined.
48114         * elf/tst-leaks1-static.c: New file.
48116 2012-10-20  Andreas Jaeger  <aj@suse.de>
48118         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48119         generic values for Linux.
48120         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48121         and declarations that are provided by <bits/fcntl-linux.h> and
48122         include <bits/fcntl-linux.h>.
48123         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48126 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48128         * io/fcntl.h: Move include of <bits/types.h> to the top and
48129         include it unconditionally.
48131 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48133         * wcsmbs/Makefile (tests-ifunc): New variable.
48134         (tests): Add $(tests-ifunc).
48135         * wcsmbs/test-wcschr-ifunc.c: New file.
48136         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48137         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48138         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48139         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48140         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48142         * string/Makefile (tests-ifunc): New variable.
48143         (tests): Add $(tests-ifunc).
48144         * string/test-memccpy.c (TEST_NAME): New macro.
48145         * string/test-memchr.c (TEST_NAME): Likewise.
48146         * string/test-memcmp.c (TEST_NAME): Likewise.
48147         * string/test-memcpy.c (TEST_NAME): Likewise.
48148         * string/test-memmem.c (TEST_NAME): Likewise.
48149         * string/test-memmove.c (TEST_NAME): Likewise.
48150         * string/test-memset.c (TEST_NAME): Likewise.
48151         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48152         * string/test-stpcpy.c (TEST_NAME): Likewise.
48153         * string/test-stpncpy.c (TEST_NAME): Likewise.
48154         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48155         * string/test-strcasestr.c (TEST_NAME): Likewise.
48156         * string/test-strcat.c (TEST_NAME): Likewise.
48157         * string/test-strchr.c (TEST_NAME): Likewise.
48158         * string/test-strcmp.c(TEST_NAME): Likewise.
48159         * string/test-strcpy.c (TEST_NAME): Likewise.
48160         * string/test-strcspn.c (TEST_NAME): Likewise.
48161         * string/test-strlen.c (TEST_NAME): Likewise.
48162         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48163         * string/test-strncmp.c (TEST_NAME): Likewise.
48164         * string/test-strncpy.c (TEST_NAME): Likewise.
48165         * string/test-strnlen.c (TEST_NAME): Likewise.
48166         * string/test-strpbrk.c (TEST_NAME): Likewise.
48167         * string/test-strrchr.c (TEST_NAME): Likewise.
48168         * string/test-strspn.c (TEST_NAME): Likewise.
48169         * string/test-strstr.c (TEST_NAME): Likewise.
48170         * string/test-bcopy-ifunc.c: New file.
48171         * string/test-bzero-ifunc.c: Likewise.
48172         * string/test-memccpy-ifunc.c: Likewise.
48173         * string/test-memchr-ifunc.c: Likewise.
48174         * string/test-memcmp-ifunc.c: Likewise.
48175         * string/test-memcpy-ifunc.c: Likewise.
48176         * string/test-memmem-ifunc.c: Likewise.
48177         * string/test-memmove-ifunc.c: Likewise.
48178         * string/test-mempcpy-ifunc.c: Likewise.
48179         * string/test-memset-ifunc.c: Likewise.
48180         * string/test-rawmemchr-ifunc.c: Likewise.
48181         * string/test-stpcpy-ifunc.c: Likewise.
48182         * string/test-stpncpy-ifunc.c: Likewise.
48183         * string/test-strcasecmp-ifunc.c: Likewise.
48184         * string/test-strcasestr-ifunc.c: Likewise.
48185         * string/test-strcat-ifunc.c: Likewise.
48186         * string/test-strchr-ifunc.c: Likewise.
48187         * string/test-strchrnul-ifunc.c: Likewise.
48188         * string/test-strcmp-ifunc.c: Likewise.
48189         * string/test-strcpy-ifunc.c: Likewise.
48190         * string/test-strcspn-ifunc.c: Likewise.
48191         * string/test-strlen-ifunc.c: Likewise.
48192         * string/test-strncasecmp-ifunc.c: Likewise.
48193         * string/test-strncat-ifunc.c: Likewise.
48194         * string/test-strncmp-ifunc.c: Likewise.
48195         * string/test-strncpy-ifunc.c: Likewise.
48196         * string/test-strnlen-ifunc.c: Likewise.
48197         * string/test-strpbrk-ifunc.c: Likewise.
48198         * string/test-strrchr-ifunc.c: Likewise.
48199         * string/test-strspn-ifunc.c: Likewise.
48200         * string/test-strstr-ifunc.c: Likewise.
48202         * debug/Makefile (tests-ifunc): New variable.
48203         (tests): Add $(tests-ifunc).
48204         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
48205         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
48206         * debug/test-stpcpy_chk-ifunc.c: New file.
48207         * debug/test-strcpy_chk-ifunc.c: Likewise.
48209 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48211         [BZ #13601]
48212         * elf/dl-load.c (open_verify): Retry read if the entire ELF
48213         header is not read in.
48215 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
48217         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
48218         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
48219         directly.  Pass built executable to script as
48220         $(built-program-cmd).
48221         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
48222         $testprogram without using LD_LIBRARY_PATH and $ldso.
48224         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
48225         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
48226         $(rtld-installed-name).
48227         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
48228         (rtld_installed_name): Likewise.
48229         (library_path): Likewise.
48230         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
48231         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
48232         $(run-program-prefix) to tst-tables.sh.
48233         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
48234         it to run tst-table-from and tst-table-to.
48235         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
48236         Pass it to tst-table.sh.
48237         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
48238         $(run-program-prefix) to tst-gettext.sh.
48239         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
48240         tst-translit.sh.
48241         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
48242         tst-gettext2.sh.
48243         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
48244         to run tst-gettext.
48245         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
48246         to run tst-gettext2.
48247         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
48248         to run tst-translit.
48249         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
48250         $(run-program-prefix) to tst-mtrace.sh.
48251         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
48252         to run tst-mtrace.
48253         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
48254         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
48255         $(rtld-installed-name).
48256         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
48257         (rtld_installed_name): Likewise.
48258         (run_program_prefix): New variable.  Use it to run wordexp-test.
48260         * Makeconfig (ARCH): Remove all definitions.
48261         (machine): Likewise.
48262         [ARCH]: Remove conditional code.
48263         [!objdir]: Give error.
48264         [!objdir] (objpfx): Remove.
48265         [!objdir] (common-objpfx): Likewise.
48266         [!objdir] (common-objdir): Likewise.
48267         * configure.in (config_makefile): Remove.  Hardcode Makefile in
48268         AC_CONFIG_FILES call.
48269         * configure: Regenerated.
48271         [BZ #13888]
48272         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
48273         or TMPDIR.
48274         (testout): Likewise.
48276         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
48277         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
48278         $(rtld-installed-name).
48279         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
48280         (rtld_installed_name): Likwise.
48281         (runit): Remove function.
48282         (run_getconf): New variable,  Use it for running getconf binary.
48284 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
48286         [BZ #14716]
48287         * string/test-memmem.c (check_result): New function.
48288         (do_one_test): Use it.
48289         (check1): New function.
48290         (test_main): Use it.
48292 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
48294         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
48296 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
48298         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
48299         (_G_LSEEK64): Likewise.
48300         (_G_MMAP64): Likewise.
48301         (_G_FSTAT64): Likewise.
48302         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
48303         (_G_LSEEK64): Likewise.
48304         (_G_MMAP64): Likewise.
48305         (_G_FSTAT64): Likewise.
48306         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
48307         unconditional.  Call __mmap64 directly.
48308         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
48309         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
48310         __lseek64 directly.
48311         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
48312         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
48313         __mmap64 directly.
48314         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
48315         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48316         __lseek64 directly.
48317         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
48318         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
48319         __lseek64 directly.
48320         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
48321         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
48322         __lseek64 directly.
48323         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
48324         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
48325         __fxstat64 directly.
48326         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
48327         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
48328         unconditional.
48329         (freopen64) [!_G_OPEN64]: Remove conditional code.
48330         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
48331         unconditional.
48332         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
48333         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
48334         unconditional.
48335         (ftello64) [!_G_LSEEK64]: Remove conditional code.
48336         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
48337         unconditional.
48338         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48339         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
48340         unconditional.
48341         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
48342         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
48343         unconditional.
48344         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48345         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
48346         unconditional.
48347         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
48348         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
48349         unconditional.
48350         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
48352 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48354         [BZ #12140]
48355         * manual/memory.texi (Malloc Tunable Parameters): Add note
48356         about free list pointers overwriting some perturb bytes.
48357         Wording suggested by Roland McGrath.
48359 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
48361         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
48362         (lgamma_test): Likewise.
48363         (tgamma_test): Likewise.
48365 2012-10-16  Florian Weimer  <fweimer@redhat.com>
48367         [BZ #14700]
48368         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
48369         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
48371 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
48373         * NEWS: Mention BZ #14716.
48374         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
48375         when removing AVAILABLE1_USES_J macro.
48377 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
48379         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
48380         (__bswap_64): __uint64_t for unsigned 64-bit int.
48382 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
48384         * include/string.h (memmem): Declare libc hidden alias.
48385         * string/memmem.c (memmem): Define libc hidden alias.
48386         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
48387         __read, __close instead of open, read, close.
48389 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
48391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
48392         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
48393         global and hidden.
48394         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
48395         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
48396         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
48397         Likewise.
48398         (__rawmemchr_sse2): Likewise.
48399         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
48400         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
48401         (__strchr_sse2): Likewise.
48402         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
48403         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
48404         (__strcasecmp_sse2): Likewise.
48405         (__strncasecmp_sse2): Likewise.
48406         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
48407         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
48408         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
48409         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
48410         (__strrchr_sse2): Likewise.
48411         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
48412         ifunc-impl-list.c.
48413         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
48414         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
48415         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
48416         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48417         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48418         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
48419         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48420         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48421         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
48422         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
48423         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
48424         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
48425         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
48426         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
48427         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
48428         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48429         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
48430         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
48431         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
48432         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
48433         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
48434         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
48435         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48436         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48437         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
48438         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48439         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
48440         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48441         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
48442         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
48444         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
48445         global and hidden.
48446         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
48447         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
48448         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
48449         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
48450         Likewise.
48451         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
48452         Likewise.
48453         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
48454         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
48455         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
48456         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
48457         ifunc-impl-list.c.
48458         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48459         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48460         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48461         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48462         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48463         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48464         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48465         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48466         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48467         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48468         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48469         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48470         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48471         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
48472         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
48473         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48474         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
48475         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
48476         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48477         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48478         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48479         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48480         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48481         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48482         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48483         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
48484         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
48485         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
48486         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
48487         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48488         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
48489         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48490         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48491         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
48492         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48493         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48494         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48495         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48496         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48497         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48498         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
48500         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
48501         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
48502         * include/ifunc-impl-list.h: New file.
48503         * misc/ifunc-impl-list.c: Likewise.
48504         * misc/Makefile (routines): Add ifunc-impl-list.
48505         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
48506         * string/test-string.h: Include <ifunc-impl-list.h>.
48507         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
48508         TEST_NAME]: New variables.
48509         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
48510         are defined.
48511         (test_init): Call __libc_ifunc_impl_list to initialize
48512         func_list if TEST_IFUNC and TEST_NAME are defined.
48514         * string/Makefile (strop-tests): Add bcopy and bzero.
48515         * string/test-bcopy.c: New file.
48516         * string/test-bzero.c: Likewise.
48517         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
48518         defined.
48519         * string/test-memset.c: Support bzero test if TEST_BZERO is
48520         defined.
48521         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
48522         __libc_memmove.
48523         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
48524         __libc_memset.
48525         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
48526         of memset.
48528 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
48530         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
48531         * configure: Regenerated.
48533         * Makeconfig (+link-static-before-libc): Don't include
48534         $(link-static-libc).
48536         * libio/libio.h (_IO_pos_t): Remove.
48538 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48540         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
48541         McGrath.
48543 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48545         * crypt/crypt-entry.c: Include fips-private.h.
48546         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
48547         * crypt/md5c-test.c (main): Tolerate disabled MD5.
48548         * sysdeps/unix/sysv/linux/fips-private.h: New file.
48549         * sysdeps/generic/fips-private.h: New file, dummy fallback.
48551 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
48553         * crypt/crypt-private.h: Include stdbool.h.
48554         (_ufc_setup_salt_r): Return bool.
48555         * crypt/crypt-entry.c: Include errno.h.
48556         (__crypt_r): Return NULL with EINVAL for bad salt.
48557         * crypt/crypt_util.c (bad_for_salt): New.
48558         (_ufc_setup_salt_r): Check that salt is long enough and within
48559         the specified alphabet.
48560         * crypt/badsalttest.c: New file.
48561         * crypt/Makefile (tests): Add it.
48562         ($(objpfx)badsalttest): New.
48564 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
48566         * NEWS: Add entry for BZ #14602.
48568 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48570         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
48571         type-generic.
48572         * math/libm-test.inc: Update comment listing what functions and
48573         macros are tested.
48574         (isgreater_test): New function.
48575         (isgreaterequal_test): Likewise.
48576         (isless_test): Likewise.
48577         (islessequal_test): Likewise.
48578         (islessgreater_test): Likewise.
48579         (isunordered_test): Likewise.
48580         (main): Call the new functions.
48582 2012-10-09  Roland McGrath  <roland@hack.frob.com>
48584         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
48585         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
48586         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
48587         * sysdeps/i386/configure: Regenerated.
48588         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
48589         * sysdeps/mach/configure: Regenerated.
48590         * sysdeps/mach/hurd/configure: Regenerated.
48591         * sysdeps/powerpc/configure: Regenerated.
48592         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48593         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48594         * sysdeps/s390/s390-32/configure: Regenerated.
48595         * sysdeps/s390/s390-64/configure: Regenerated.
48596         * sysdeps/sh/configure: Regenerated.
48597         * sysdeps/sparc/configure: Regenerated.
48598         * sysdeps/unix/sysv/linux/configure: Regenerated.
48599         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48600         * sysdeps/x86_64/configure: Regenerated.
48602         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
48603         defined.  Don't check if MAP is NULL.
48605 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
48607         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
48608         (_G_stat64): Likewise.
48609         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
48610         (_G_stat64): Likewise.
48611         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
48612         instead of struct _G_stat64.
48613         * libio/fileops.c (mmap_remap_check): Likewise.
48614         (decide_maybe_mmap): Likewise.
48615         (_IO_new_file_seekoff): Likewise.
48616         (_IO_file_stat): Likewise.
48617         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
48618         _G_off64_t.
48619         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
48620         instead of struct _G_stat64.
48621         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48623 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
48625         [BZ #14602]
48626         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48627         Replace with ...
48628         (CHECK_EOL): New macro.
48629         (two_way_short_needle): Check beginning of haystack for EOL.  Use
48630         CHECK_EOL.
48631         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48632         Replace with CHECK_EOL.
48633         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
48634         Replace with CHECK_EOL.
48636 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
48638         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
48639         type-generic.
48640         * math/libm-test.inc: Update comment listing what functions and
48641         macros are tested.
48642         (finite_test): New function.
48643         (isinf_test): Likewise.
48644         (isnan_test): Likewise.
48645         (fpclassify_test): Test subnormal input.
48646         (isfinite_test): Likewise.
48647         (isnormal_test): Likewise.
48648         (main): Call the new functions.
48650 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
48652         [BZ #14660]
48653         * Makerules (%.dynsym): Force C locale when running
48654         $(OBJDUMP) --dynamic-syms.
48656 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
48658         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
48659         <stdint.h>.
48661 2012-10-06  David S. Miller  <davem@davemloft.net>
48663         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
48664         upper 32-bits of the length value in %o2 since we use branch-on-register
48665         tests which consider the entire 64-bit register.
48667 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
48669         * string/test-strstr.c (check2): Add a test for page boundary.
48671 2012-10-05  David S. Miller  <davem@davemloft.net>
48673         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
48674         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
48675         file.
48676         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48677         sysdep_routines.
48678         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48679         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
48680         and bzero when HWCAP_SPARC_CRYPTO is present.
48682 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
48684         [BZ #14602]
48685         * string/test-strstr.c (check2): New function.
48686         (test_main): Call check2.
48688         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
48689         and bug-strchr1.
48690         * string/bug-strcasestr1.c (do_test): Moved to ...
48691         * string/test-strcasestr.c (check1): Here.  New function.
48692         (do_one_test): Break out result checking code into ...
48693         (check_result): This.  New function.
48694         (do_one_test): Call check_result.
48695         (test_main): Call check1.
48696         * string/bug-strchr1.c (do_test): Moved to ...
48697         * string/test-strchr.c (check1): Here.  New function.
48698         (do_one_test): Break out result checking code into ...
48699         (check_result): This.  New function.
48700         (do_one_test): Call check_result.
48701         (test_main): Call check1.
48702         * string/bug-strstr1.c (main): Moved to ...
48703         * string/test-strstr.c (check1): Here.  New function.
48704         (do_one_test): Break out result checking code into ...
48705         (check_result): This.  New function.
48706         (do_one_test): Call check_result.
48707         (test_main): Call check1.
48708         * string/bug-strcasestr1.c: Removed.
48709         * string/bug-strchr1.c: Likewise.
48710         * string/bug-strstr1.c: Likewise.
48712         * elf/Makefile (dl-routines): Add hwcaps.
48713         * elf/dl-support.c (_dl_important_hwcaps): Removed.
48714         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
48715         (_dl_important_hwcaps): Moved to ...
48716         * elf/dl-hwcaps.c: Here.  New file.
48717         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
48719         [BZ #14557]
48720         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
48721         if IS_IN_rtld isn't defined.
48723         * elf/dl-support.c (_dl_sysinfo_map): New.
48724         Include "get-dynamic-info.h" and "setup-vdso.h".
48725         (_dl_non_dynamic_init): Call setup_vdso.
48726         * elf/dynamic-link.h: Don't include <assert.h>.
48727         (elf_get_dynamic_info): Moved to ...
48728         * elf/get-dynamic-info.h: Here.  New file.
48729         * elf/dynamic-link.h: Include "get-dynamic-info.h".
48730         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
48731         * elf/setup-vdso.h: Here.  New file.
48732         * elf/rtld.c: Include "setup-vdso.h".
48733         (dl_main): Call setup_vdso.
48735 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
48737         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
48738         creal in comment listing functions tested.  List finite, isinf,
48739         isnan, isless, islessequal, isgreater, isgreaterequal,
48740         islessgreater, isunordered, lgamma_r and pow10 as functions and
48741         macros not tested.  Mention which functions not tested are aliases
48742         for other functions.  Fix typo.  Note that signs of NaNs are not
48743         tested.
48745         * scripts/config.guess: Update from config.git.
48746         * scripts/config.sub: Likewise.
48748 2012-10-04  Roland McGrath  <roland@hack.frob.com>
48750         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
48751         * misc/madvise.c (madvise): Renamed to __madvise.
48752         Make madvise a weak alias.
48753         * include/sys/mman.h: Declare __madvise.
48754         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
48755         * sysdeps/unix/syscalls.list
48756         (madvise): Make __madvise the strong name, and madvise a weak alias.
48757         * sysdeps/unix/sysv/linux/syscalls.list
48758         (madvise, mmap): Remove redundant entries.
48759         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
48760         * malloc/malloc.c (mtrim): Likewise.
48761         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
48763 2012-10-03  Roland McGrath  <roland@hack.frob.com>
48765         * sysdeps/mach/hurd/dl-cache.c: File removed.
48766         * config.h.in (USE_LDCONFIG): New #undef.
48767         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
48768         * configure: Regenerated.
48769         * elf/Makefile (dl-routines): Add dl-cache only under
48770         [$(use-ldconfig) = yes].
48771         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
48772         cache on [USE_LDCONFIG].
48773         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
48774         [USE_LDCONFIG].
48775         * elf/rtld.c (dl_main): Likewise.
48777 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
48779         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
48780         _SC_LEVEL4_CACHE_LINESIZE.
48782 2012-10-03  Roland McGrath  <roland@hack.frob.com>
48784         * sysdeps/unix/bsd/confstr.h: File removed.
48786 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
48788         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
48789         sys/sdt-config.h.
48791 2012-10-02  Roland McGrath  <roland@hack.frob.com>
48793         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
48794         Make 'mapoff' field ElfW(Off) rather than off_t.
48796 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
48798         * nscd/Makefile: Remove nscd-cflags and all its users.
48799         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
48800         (CFLAGS-nonlib): Add compiler flags for nscd modules.
48802         [BZ #10631]
48803         * malloc.c (malloc_printerr): Clarify error message.
48805 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
48807         [BZ #14648]
48808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48809         Set bit_FMA_Usable if FMA is supported.
48810         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
48811         macro.
48812         (bit_FMA4_Usable): Updated.
48813         (index_FMA_Usable): New macro.
48814         (CPUID_FMA): Likewise
48815         (HAS_FMA): Defined with bit_FMA_Usable.
48817 2012-10-01  Roland McGrath  <roland@hack.frob.com>
48819         * bits/types.h (__swblk_t): Type removed.
48820         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
48821         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
48822         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48823         (__SWBLK_T_TYPE): Likewise.
48824         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48825         (__SWBLK_T_TYPE): Likewise.
48826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48827         (__SWBLK_T_TYPE): Likewise.
48828         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48829         (__SWBLK_T_TYPE): Likewise.
48831 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
48832             Honza Horak <hhorak@redhat.com>
48834         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
48835         (xdr_mapname): Use YPMAXMAP as maxsize.
48836         (xdr_peername): Use YPMAXPEER as maxsize.
48837         (xdr_keydat): Use YPAXRECORD as maxsize.
48838         (xdr_valdat): Use YPMAXRECORD as maxsize.
48840 2012-10-01  Roland McGrath  <roland@hack.frob.com>
48842         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
48844         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
48845         * csu/init-first.c: ... here.
48846         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
48847         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
48848         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
48849         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
48850         * sysdeps/i386/init-first.c: File removed.
48851         * sysdeps/sh/init-first.c: File removed.
48853 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
48855         [BZ #14645]
48856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
48857         if x * y might underflow to zero and z is zero.
48858         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48859         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48860         * math/libm-test.inc (min_subnorm_value): New variable.
48861         (fma_test): Add more tests.
48862         (fma_test_towardzero): Likewise.
48863         (fma_test_downward): Likewise
48864         (fma_test_upward): Likewise.
48865         (initialize): Set min_subnorm_value.
48867 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
48869         [BZ #14638]
48870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
48871         0 + 0.
48872         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
48873         mode for addition resulting in exact zero.
48874         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
48875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
48876         exact 0 + 0.
48877         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48879         * math/libm-test.inc (fma_test): Add more tests.
48880         (fma_test_towardzero): New function.
48881         (fma_test_downward): Likewise.
48882         (fma_test_upward): Likewise.
48883         (main): Call the new functions.
48885 2012-09-28  David S. Miller  <davem@davemloft.net>
48887         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
48889 2012-09-28  Roland McGrath  <roland@hack.frob.com>
48891         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
48892         instead of SIGALRM.
48894         * sysdeps/gnu/_G_config.h: Moved to ...
48895         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
48896         * sysdeps/mach/hurd/_G_config.h: Moved to ...
48897         * sysdeps/generic/_G_config.h: ... here.
48899         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
48901         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
48903         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
48904         Conditionalize target on [libnss_test1.so-version].
48906         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
48908         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
48909         (elfobjdir): Move out of conditionals.
48911         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
48912         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
48913         (__nss_lookup_function): Conditionalize label remove_from_tree on
48914         [!DO_STATIC_NSS || SHARED], matching its only use.
48916 2012-09-28  David S. Miller  <davem@davemloft.net>
48918         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
48919         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
48920         file.
48921         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
48922         sysdep_routines.
48923         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
48924         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
48925         when HWCAP_SPARC_CRYPTO is present.
48927 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
48929         * io/tst-mknodat.c: Create a FIFO instead of a socket.
48931 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
48933         [BZ #6530]
48934         * stdio-common/vfprintf.c (process_string_arg): Revert
48935         2000-07-22 change.
48937 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
48939         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
48940         for testcase.
48941         * stdio-common/tst-sprintf.c: Include <locale.h>
48942         (main): Test sprintf's handling of incomplete multibyte
48943         characters.
48945 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
48947         * elf/dl-runtime.c (VERSYMIDX): Removed.
48948         * elf/dl-version.c (VERSYMIDX): Likewise.
48949         * elf/do-rel.h (VERSYMIDX): Likewise.
48950         (VALIDX): Likewise.
48951         * elf/dynamic-link.h (VERSYMIDX): Likewise.
48952         * elf/rtld.c (VALIDX): Likewise.
48953         (ADDRIDX): Likewise.
48954         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
48955         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
48956         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
48957         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
48958         (VALIDX): Likewise.
48959         (ADDRIDX): Likewise.
48961 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
48963         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
48965 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
48967         [BZ #11438]
48968         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
48969         to global scope.
48970         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
48971         addresses are in the same scope as 192.0.2/24.
48972         * posix/gai.conf: Document new scope table defaults.
48974 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48976         [BZ #5298]
48977         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
48978         for ftell.  Compute offsets from write pointers instead.
48979         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
48981 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48983         [BZ #14543]
48984         * libio/Makefile (tests): New test case tst-fseek.
48985         * libio/tst-fseek.c: New test case to verify that fseek/ftell
48986         combination works in wide mode.
48987         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
48988         state when the external buffer state changes.
48990 2012-09-27  David S. Miller  <davem@davemloft.net>
48992         [BZ #14376]
48993         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
48994         pass reloc->r_addend in as the 'high' argument to
48995         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
48997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48999 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49001         * rt/tst-aio2.c: Include <pthread.h>.
49002         * rt/tst-aio3.c: Likewise.
49004 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49006         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49008 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49010         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49011         contents on [SHARED].
49013 2012-09-26  Marek Polacek  <polacek@redhat.com>
49015         [BZ #14530]
49016         [BZ #13741]
49017         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49018         for C++ and GCC <4.3 as well as for non GCC compilers.
49020 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49024 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49026         * Makefile.in (all, install): Declare with .PHONY.
49027         Reported by Michael Hope <michael.hope@linaro.org>.
49029 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49031         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49032         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49033         system header.
49034         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49035         Likewise.
49036         (sydep_routines): Add the new and the internal functions.
49037         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49038         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49040         (GLIBC_2.17): Add the new function.
49041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49042         (GLIBC_2.17): Likewise.
49043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49044         (GLIBC_2.17): Likewise.
49045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49046         (GLIBC_2.17): Likewise.
49047         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49049 2012-09-25  Alan Modra  <amodra@gmail.com>
49051         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49052         Add release barrier before setting once_control to say
49053         initialisation is done.  Add hints on lwarx.  Use macro in
49054         place of isync.
49055         (clear_once_control): Add release barrier.
49057 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49059         [BZ #13629]
49060         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49061         specially.
49062         * math/s_clog10.c (__clog10): Likewise.
49063         * math/s_clog10f.c (__clog10f): Likewise.
49064         * math/s_clog10l.c (__clog10l): Likewise.
49065         * math/s_clogf.c (__clogf): Likewise.
49066         * math/s_clogl.c (__clogl): Likewise.
49067         * math/Makefile (libm-calls): Add x2y2m1.
49068         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49069         (__x2y2m1): Likewise.
49070         (__x2y2m1l): Likewise.
49071         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49072         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49073         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49074         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49075         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49076         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49077         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49078         * sysdeps/i386/fpu/libm-test-ulps: Update.
49079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49081         [BZ #14621]
49082         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49083         int as type of variable DEPTH.
49084         (glob): Use size_t instead of int as type of variables NEWCOUNT
49085         and OLD_PATHC.
49087 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49089         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49090         Add s_sincosf-sse2.
49091         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49092         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49093         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49094         macros for using routine as __sincosf_ia32.
49095         Use macro for function declaration and weak_alias.
49096         * sysdeps/i386/fpu/libm-test-ulps: Update.
49098         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49101         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49102         subnormal argument.
49103         * math/s_cexpf.c (__cexpf): Likewise.
49104         * math/s_csinf.c (__csinf): Likewise.
49105         * math/s_csinhf.c (__csinhf): Likewise.
49106         * math/s_ctanf.c (__ctanf): Likewise.
49107         * math/s_ctanhf.c (__ctanhf): Likewise.
49108         * math/s_ccosh.c (__ccoshf): Likewise.
49109         * math/s_cexp.c (__cexpl): Likewise.
49110         * math/s_csin.c (__csin): Likewise.
49111         * math/s_csinh.c (__csinh): Likewise.
49112         * math/s_ctan.c (__ctan): Likewise.
49113         * math/s_ctanh.c (ctanh): Likewise.
49114         * math/s_ccoshl.c (__ccoshl): Likewise.
49115         * math/s_cexpl.c (__cexpl): Likewise.
49116         * math/s_csinl.c (__csinl): Likewise.
49117         * math/s_csinhl.c (__csinhl): Likewise.
49118         * math/s_ctanl.c (__ctanl): Likewise.
49119         * math/s_ctanhl.c (__ctanhl): Likewise.
49121 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49123         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49124         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49125         (_IO_off_t): Define to __off_t, not _G_off_t.
49126         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49127         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49128         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49129         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49130         type of __dummy and __dummy2 fields.
49131         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49132         (_G_ssize_t): Likewise.
49133         (_G_off_t): Likewise.
49134         (_G_pid_t): Likewise.
49135         (_G_uid_t): Likewise.
49136         (_G_wchar_t): Likewise.
49137         (_G_wint_t): Likewise.
49138         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49139         (_G_ssize_t): Likewise.
49140         (_G_off_t): Likewise.
49141         (_G_pid_t): Likewise.
49142         (_G_uid_t): Likewise.
49143         (_G_wchar_t): Likewise.
49144         (_G_wint_t): Likewise.
49145         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49146         (_G_ssize_t): Likewise.
49147         (_G_off_t): Likewise.
49148         (_G_pid_t): Likewise.
49149         (_G_uid_t): Likewise.
49150         (_G_wchar_t): Likewise.
49151         (_G_wint_t): Likewise.
49153 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49155         * malloc/arena.c: Include malloc-sysdep.h.
49156         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49157         is sufficient to shrink the heap or an unmap is needed.
49158         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49159         new function check_may_shrink_heap.
49160         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49161         new function check_may_shrink_heap.
49163 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49165         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49166         comments.
49168 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49170         * catgets/test-gencat.sh: Add "set -e".
49171         * elf/tst-pathopt.sh: Likewise.
49172         * grp/tst_fgetgrent.sh: Likewise.
49173         * iconvdata/run-iconv-test.sh: Likewise.
49174         * intl/tst-gettext.sh: Likewise.
49175         * intl/tst-gettext2.sh: Likewise.
49176         * intl/tst-gettext4.sh: Likewise.
49177         * intl/tst-gettext6.sh: Likewise.
49178         * intl/tst-translit.sh: Likewise.
49179         * io/ftwtest-sh: Likewise.
49180         * libio/test-freopen.sh: Likewise.
49181         * malloc/tst-mtrace.sh: Likewise.
49182         * posix/globtest.sh: Likewise.
49183         * posix/tst-getconf.sh: Likewise.
49184         * posix/wordexp-tst.sh: Likewise.
49185         * stdio-common/tst-printf.sh: Likewise.
49186         * stdio-common/tst-unbputc.sh: Likewise.
49187         * stdlib/tst-fmtmsg.sh: Likewise.
49188         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49189         * catgets/Makefile: Do not specify -e option when running
49190         testsuite shell scripts.
49191         * elf/Makefile: Likewise.
49192         * grp/Makefile: Likewise.
49193         * iconvdata/Makefile: Likewise.
49194         * intl/Makefile: Likewise.
49195         * io/Makefile: Likewise.
49196         * libio/Makefile: Likewise.
49197         * malloc/Makefile: Likewise.
49198         * posix/Makefile: Likewise.
49199         * stdio-common/Makefile: Likewise.
49200         * stdlib/Makefile: Likewise.
49201         * sysdeps/x86_64/Makefile: Likewise.
49203         * io/ftwtest-sh: Add copyright header.
49204         * posix/globtest.sh: Likewise.
49205         * posix/tst-getconf.sh: Likewise.
49206         * posix/wordexp-tst.sh: Likewise.
49207         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
49209 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
49211         [BZ #13679]
49212         * Makeconfig (+link): Defined as $(+link-static) if
49213         $(build-shared) isn't yes.
49214         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
49215         isn't yes.
49216         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
49218         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
49220         [BZ #14562]
49221         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
49222         new chunk size with MALLOC_ALIGN_MASK.
49224 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
49226         [BZ #5044]
49227         * stdio-common/printf_fphex.c: Include <stdbool.h> and
49228         <rounding-mode.h>.
49229         (__printf_fphex): Determine rounding using get_rounding_mode and
49230         round_away.
49231         * stdio-common/tst-printf-round.c (struct hex_test): New
49232         structure.
49233         (hex_tests): New variable.
49234         (test_hex_in_one_mode): New function.
49235         (do_test): Also run tests for hex float output.
49237 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
49239         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49240         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49241         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
49242         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
49243         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
49244         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
49245         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49246         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
49248 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
49250         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
49251         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
49252         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
49253         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
49255 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
49257         [BZ #14579]
49258         * elf/rtld.c (dl_main): Limit the check for self loading to normal
49259         mode only.
49260         * elf/tst-rtld-load-self.sh: New test.
49261         * elf/Makefile: Run it.
49263 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
49265         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
49266         (tst-writev-ENV): Remove.
49267         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
49269 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
49271         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
49273 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
49275         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
49276         unconditional.
49277         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
49278         Likewise.
49279         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
49280         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
49281         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
49282         Likewise.
49284 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
49286         [BZ #14587]
49287         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
49288         * config.make.in (have-cpp-asm-debuginfo): Removed.
49289         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
49290         * configure: Regenerated.
49292 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
49294         [BZ #5044]
49295         * stdio-common/printf_fp.c: Include <stdbool.h> and
49296         <rounding-mode.h>.
49297         (___printf_fp): Determine rounding using get_rounding_mode and
49298         round_away.
49299         * stdio-common/tst-printf-round.c: New file.
49300         * stdio-common/Makefile (tests): Add tst-printf-round.
49301         (link-libm): New variable.
49302         ($(objpfx)tst-printf-round): Depend in $(link-libm).
49304 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
49306         [BZ #14576]
49307         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
49308         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
49309         Likewise.
49310         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
49311         Likewise.
49313 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
49315         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
49316         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49317         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49318         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
49320 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
49322         [BZ #14518]
49323         * include/rounding-mode.h: New file.
49324         * sysdeps/generic/get-rounding-mode.h: Likewise.
49325         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
49326         * stdlib/strtod_l.c: Include <rounding-mode.h>.
49327         (MAX_VALUE): New macro.
49328         (MIN_VALUE): Likewise.
49329         (overflow_value): New function.
49330         (underflow_value): Likewise.
49331         (round_and_return): Use overflow_value and underflow_value to
49332         determine return values in overflow and underflow cases.  Use
49333         round_away to determine rounding depending on rounding mode.
49334         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
49335         determine return values in overflow and underflow cases.
49336         * stdlib/tst-strtod-round.c: Include <fenv.h>.
49337         (struct test_results): New structure.
49338         (struct test): Use struct test_results to store expected results
49339         for all rounding modes.
49340         (TEST): Include expected results for all rounding modes.
49341         (test_in_one_mode): New function.
49342         (do_test): Use test_in_one_mode to compute and check results.
49343         Check results for all rounding modes.
49344         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
49345         $(link-libm).
49347 2012-12-09  Allan McRae  <allan@archlinux.org>
49349         * sysdeps/i386/fpu/libm-test-ulps: Update
49351 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
49353         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
49354         (_G_int32_t): Likewise.
49355         (_G_uint16_t): Likewise.
49356         (_G_uint32_t): Likewise.
49357         (_G_HAVE_BOOL): Likewise.
49358         (_G_HAVE_ATEXIT): Likewise.
49359         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49360         (_G_HAVE_IO_FILE_OPEN): Likewise.
49361         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
49362         (_G_int32_t): Likewise.
49363         (_G_uint16_t): Likewise.
49364         (_G_uint32_t): Likewise.
49365         (_G_HAVE_BOOL): Likewise.
49366         (_G_HAVE_ATEXIT): Likewise.
49367         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49368         (_G_HAVE_IO_FILE_OPEN): Likewise.
49369         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
49370         (_G_int32_t): Likewise.
49371         (_G_uint16_t): Likewise.
49372         (_G_uint32_t): Likewise.
49373         (_G_HAVE_BOOL): Likewise.
49374         (_G_HAVE_ATEXIT): Likewise.
49375         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
49376         (_G_HAVE_IO_FILE_OPEN): Likewise.
49378 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
49380         * csu/libc-tls.c: Update copyright years.
49382 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
49384         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
49385         [!_G_USING_THUNKS]: Remove conditional code.
49386         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
49387         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
49389         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
49390         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
49391         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49392         (_G_VTABLE_LABEL_PREFIX): Likewise.
49393         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49394         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49395         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49396         (_G_VTABLE_LABEL_PREFIX): Likewise.
49397         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49398         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
49399         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
49400         (_G_VTABLE_LABEL_PREFIX): Likewise.
49401         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
49403 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
49405         * libio/Makefile: Include ../Makeconfig before tests.
49406         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
49407         only if $(build-shared) is yes.
49409         * iconv/gconv_db.c: Update copyright years.
49411 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49413         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
49414         unwind info if defined PIC. Fix special cases description.
49415         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
49417         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
49418         DP_HI_MASK entry.
49419         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
49421 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
49423         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
49425         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
49426         is NULL.
49428         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
49429         (LDLIBS-tst-chk4): This.
49430         (LDFLAGS-tst-chk5): Renamed to ...
49431         (LDLIBS-tst-chk5): This.
49432         (LDFLAGS-tst-chk6): Renamed to ...
49433         (LDLIBS-tst-chk6): This.
49434         (LDFLAGS-tst-lfschk4): Renamed to ...
49435         (LDLIBS-tst-lfschk4): This.
49436         (LDFLAGS-tst-lfschk5): Renamed to ...
49437         (LDLIBS-tst-lfschk5): This.
49438         (LDFLAGS-tst-lfschk6): Renamed to ...
49439         (LDLIBS-tst-lfschk6): This.
49441         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
49442         on $(common-objpfx)soversions.mk.
49444 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
49446         [BZ #10014]
49447         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
49448         example host name.
49450 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49452         * malloc/arena.c (arena_get_retry): New function that gets
49453         another arena for the caller to try its request on.
49454         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
49455         current arena cannot fulfill the request.
49456         (__libc_memalign): Likewise.
49457         (__libc_memalign): Likewise.
49458         (__libc_pvalloc): Likewise.
49459         (__libc_calloc): Likewise.
49461 2012-09-05  John Tobey  <john.tobey@gmail.com>
49463         [BZ #13542]
49464         * manual/arith.texi (Operations on Complex): Fix description
49465         of carg branch cut.
49467 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49469         [BZ #10014]
49470         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
49471         host name.
49473         [BZ #10038]
49474         * manual/memory.texi (Memory): Make order of menu items match
49475         order of sections.
49477 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49479         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
49480         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
49481         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
49483 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49485         * csu/libc-tls.c (static_dtv): Renamed to ...
49486         (_dl_static_dtv): This.  Make it global.
49487         (_dl_initial_dtv): Removed.
49488         (__libc_setup_tls): Updated.
49489         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
49490         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
49491         DL_INITIAL_DTV.
49493 2012-09-06  Petr Machata  <pmachata@redhat.com>
49495         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
49496         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
49497         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
49498         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
49500 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49502         [BZ #14545]
49503         * csu/libc-tls.c (_dl_initial_dtv): New variable.
49504         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
49505         freeing dtv[-1].
49507 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
49509         [BZ #14544]
49510         * Makeconfig (link-static-before-libc): Replace $(+prector)
49511         with $(+prectorT).
49512         (link-static-after-libc): Replace $(+postctor) with
49513         $(+postctorT).
49514         (link-bounded): Replace $(+prector)/$(+postctor) with
49515         $(+prectorT)/$(+postctorT).
49516         (+prectorT): New macro.
49517         (+postctorT): Likewise.
49519 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
49521         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
49522         (round_str): Handle values above the maximum for IBM long double
49523         as inexact.
49524         * stdlib/tst-strtod-round.c (tests): Regenerated.
49526 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49528         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
49529         assembler flag.
49530         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
49531         zarch_nohighgprs around the zarch optimized routines.
49532         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
49533         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
49534         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
49535         for zarch.
49537 2012-09-05  David S. Miller  <davem@davemloft.net>
49539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49541         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
49542         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
49543         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
49544         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49545         entries.
49547 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49549         * malloc/arena.c: Fold copyright years.
49550         * malloc/mcheck.c, malloc/memusage.c: Likewise.
49552 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49554         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
49556 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49558         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
49560 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49562         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
49563         change internal state upon failure.
49565 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
49567         * malloc/mcheck.c (mcheck_check_all): Fix typo.
49568         * malloc/memusage.c (mmap): Likewise.
49569         (mmap64, mremap): Likewise.  Adjust name in comment.
49571 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49573         * libio/fileops.c: Fix typos in comments.
49574         * libio/oldfileops.c: Likewise.
49575         * libio/wfileops.c: Likewise.
49577 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49579         [BZ #1349]
49580         * malloc/Makefile (tests): Add tst-malloc-usable test case.
49581         (tst-malloc-usable-ENV): Set environment for test case.
49582         * malloc/hooks.c (malloc_check_get_size): New function to get
49583         requested size.
49584         * malloc/malloc.c (musable): Use malloc_check_get_size.
49585         * malloc/tst-malloc-usable.c: New test case.
49587 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49589         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
49591 2012-09-05  Allan McRae  <allan@archlinux.org>
49593         [BZ #13966]
49594         * configure.in (CXX_SYSINCLUDES): Use compiler output to
49595         determine header location.
49596         * configure: Regenerated.
49598 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49600         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
49601         float format.
49602         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
49603         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
49604         format.
49605         (test): Regenerate.
49607 2012-09-04  David S. Miller  <davem@davemloft.net>
49609         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
49610         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
49611         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
49613 2012-09-04  Florian Weimer  <fweimer@redhat.com>
49615         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
49616         failures.
49618         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
49620 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
49622         [BZ #9914]
49623         * libio/iogetdelim.c: Include <limits.h>.
49624         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
49625         + len + 1 would overflow.
49627 2012-09-03  Andreas Jaeger  <aj@suse.de>
49629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49630         * sysdeps/i386/fpu/libm-test-ulps: Update.
49632 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49634         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49635         Add s_sinf-sse2, s_conf-sse2.
49637         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
49638         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
49639         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
49640         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
49642         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
49643         for using routine as __sinf_ia32.
49644         Use macro for function declaration and weak_alias.
49645         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
49646         for using routine as __cosf_ia32.
49647         Use macro for function declaration and weak_alias.
49649         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
49650         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
49652         * sysdeps/x86_64/fpu/s_sinf.S: New file.
49653         * sysdeps/x86_64/fpu/s_cosf.S: New file.
49654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49656         * math/libm-test.inc (cos_test): Add more test cases.
49657         (sin_test): Likewise.
49658         (sincos_test): Likewise.
49660 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49662         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
49663         (IFUNC_RESOLVE): Make pointers to the specialized implementations
49664         hidden.
49665         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49667 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
49669         [BZ #14538]
49670         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
49671         first element of the GOT.
49672         (elf_machine_load_address): Return the difference between
49673         the runtime address of _DYNAMIC and elf_machine_dynamic ().
49675 2012-09-01  Allan McRae  <allan@archlinux.org>
49677         [BZ #13412]
49678         * configure.in (AWK): Require gawk version 3.0 or later.
49679         * configure: Regenerated.
49681 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
49683         * sysdeps/unix/sysv/linux/kernel-features.h
49684         (__ASSUME_POSIX_CPU_TIMERS): Remove.
49685         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49686         [__NR_clock_getres]: Make code unconditional.
49687         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
49688         (clock_getcpuclockid): Remove code left unreachable by removal of
49689         conditionals.
49690         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
49691         code unconditional.
49692         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49693         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49694         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
49695         Make code unconditional.
49696         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
49697         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49698         * sysdeps/unix/sysv/linux/clock_settime.c
49699         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
49700         conditional code.
49701         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
49702         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
49704 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
49706         [BZ #14476]
49707         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
49708         scripts/test-installation.pl.
49710         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
49711         and $ld_so_version if it is set.
49713 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49715         [BZ #14516]
49716         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
49717         failure if reading from procfs failed.
49718         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
49720 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49722         * sysdeps/unix/sysv/linux/kernel-features.h
49723         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
49724         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49725         Remove conditional code.
49726         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49727         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
49728         Remove conditional code.
49729         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49730         * sysdeps/unix/sysv/linux/i386/fxstat.c
49731         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49733         * sysdeps/unix/sysv/linux/i386/fxstatat.c
49734         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49736         * sysdeps/unix/sysv/linux/i386/lxstat.c
49737         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
49738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49739         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
49740         Remove conditional code.
49741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49742         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
49743         Remove conditional code.
49744         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49745         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
49746         <kernel-features.h>.
49747         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
49748         Remove.
49749         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
49750         Remove conditional code.
49751         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
49752         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
49753         Remove conditional.
49755 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
49757         [BZ #5400]
49758         * NEWS: Add fixed bug number.
49760 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
49762         [BZ #14519]
49763         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
49764         underflowing exponent in case of negative sign.
49765         * stdlib/tst-strtod-round-data: Add more tests.
49766         * stdlib/tst-strtod-round.c (tests): Regenerated.
49768         [BZ #3479]
49769         * stdlib/strtod_l.c (NDIG): Remove.
49770         (HEXNDIG): Likewise.
49771         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
49772         smallest representable value.
49773         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
49774         lie within an exact representation of 1/2 ulp of the result.
49775         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
49776         unconditionally.
49777         (TENS_P9_IDX): Define unconditionally.
49778         (TENS_P9_SIZE): Likewise.
49779         (TENS_P10_IDX): Likewise.
49780         (TENS_P10_SIZE): Likewise.
49781         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
49782         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
49783         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
49784         entries for 10^2^13 and 10^2^14.
49785         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
49786         (TENS_P13_IDX): Define.
49787         (TENS_P13_SIZE): Likewise.
49788         (TENS_P14_IDX): Likewise.
49789         (TENS_P14_SIZE): Likewise.
49790         (_fpioconst_pow10): Change array size to
49791         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
49792         unconditional.
49793         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
49794         1024]: Add entries for 10^2^13 and 10^2^14.
49795         [LAST_POW10 > _LAST_POW10]: Remove #error.
49796         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
49797         (_fpioconst_pow10): Change array size to
49798         FPIOCONST_POW10_ARRAY_SIZE.
49799         * stdlib/gen-fpioconst.c: New file.
49800         * stdlib/gen-tst-strtod-round.c: Likewise.
49801         * stdlib/tst-strtod-round-data: Likewise.
49802         * stdlib/tst-strtod-round.c: Likewise.
49803         * stdlib/Makefile (tests): Add tst-strtod-round.
49805         [BZ #14459]
49806         * stdlib/strtod_l.c: Include <stdint.h>.
49807         (NDEBUG): Do not define.
49808         (round_and_return): Change EXPONENT parameter to type intmax_t.
49809         Rearrange calculations to avoid internal overflow possibilities.
49810         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
49811         Rearrange calculations to avoid internal overflow possibilities.
49812         Assert that number fits inside MPNSIZE limbs.
49813         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
49814         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
49815         calculations and add assertions to avoid internal overflow
49816         possibilities.  Add casts to avoid signed/unsigned operations.
49817         * stdlib/tst-strtod-overflow.c: New file.
49818         * stdlib/Makefile (tests): Add tst-strtod-overflow.
49820 2012-08-25  Marek Polacek  <polacek@redhat.com>
49822         * time/time.h: Fix some typos in comments.
49824 2012-08-23  Roland McGrath  <roland@hack.frob.com>
49826         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
49827         * posix/tst-rfc3484-2.c: Likewise.
49828         * posix/tst-rfc3484-3.c: Likewise.
49830 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
49832         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
49833         (EF_ARM_ABI_FLOAT_HARD): Likewise.
49835 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
49837         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
49838         #include of fxstatat64.c.
49840 2012-08-22  Roland McGrath  <roland@hack.frob.com>
49842         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
49843         * shadow/getspent_r.c: Likewise.
49844         * shadow/getspnam.c: Likewise.
49845         * shadow/getspnam_r.c: Likewise.
49846         * gshadow/getsgent.c: Likewise.
49847         * gshadow/getsgent_r.c: Likewise.
49848         * gshadow/getsgnam.c: Likewise.
49849         * gshadow/getsgnam_r.c: Likewise.
49850         * inet/getnetbyad.c: Likewise.
49851         * inet/getnetbyad_r.c: Likewise.
49852         * inet/getnetbynm.c: Likewise.
49853         * inet/getnetbynm_r.c: Likewise.
49854         * inet/getnetent.c: Likewise.
49855         * inet/getnetent_r.c: Likewise.
49856         * inet/getproto.c: Likewise.
49857         * inet/getproto_r.c: Likewise.
49858         * inet/getprtent.c: Likewise.
49859         * inet/getprtent_r.c: Likewise.
49860         * inet/getprtname.c: Likewise.
49861         * inet/getprtname_r.c: Likewise.
49862         * inet/getrpcbyname.c: Likewise.
49863         * inet/getrpcbyname_r.c: Likewise.
49864         * inet/getrpcbynumber.c: Likewise.
49865         * inet/getrpcbynumber_r.c: Likewise.
49866         * inet/getrpcent.c: Likewise.
49867         * inet/getrpcent_r.c: Likewise.
49868         * inet/getaliasent.c: Likewise.
49869         * inet/getaliasent_r.c: Likewise.
49870         * inet/getaliasname.c: Likewise.
49871         * inet/getaliasname_r.c: Likewise.
49872         * nscd/getgrgid_r.c: Likewise.
49873         * nscd/getgrnam_r.c: Likewise.
49874         * nscd/gethstbyad_r.c: Likewise.
49875         * nscd/gethstbynm3_r.c: Likewise.
49876         * nscd/getpwnam_r.c: Likewise.
49877         * nscd/getpwuid_r.c: Likewise.
49878         * nscd/getsrvbynm_r.c: Likewise.
49879         * nscd/getsrvbypt_r.c: Likewise.
49880         * nscd/gai.c: Likewise.
49882         * configure.in (build_nscd): New substituted variable, set
49883         by --disable-build-nscd and defaults to $use_nscd.
49884         * configure: Regenerated.
49885         * config.make.in (build-nscd): New substituted variable.
49886         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
49887         Change conditional to require [$(build-nscd) = yes] as well.
49888         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
49890         [BZ# 13696]
49891         * configure.in (use_nscd): New substituted variable, set by
49892         --disable-nscd.  If enabled, define USE_NSCD.
49893         * configure: Regenerated.
49894         * config.h.in: Add USE_NSCD.
49895         * config.make.in (use-nscd): New substituted variable.
49896         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
49897         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
49898         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
49899         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
49900         (CFLAGS-getgrnam_r.c): Likewise.
49901         (CFLAGS-initgroups.c): Likewise.
49902         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
49903         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
49904         Variables removed.
49905         * inet/getnetgrent_r.c
49906         (nscd_setnetgrent): New function, broken out of ...
49907         (setnetgrent): ... here.  Call it.
49908         (innetgr): Conditionalize nscd bits on [USE_NSCD].
49909         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
49910         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
49911         * nscd/Makefile (routines, aux): Move definitions after include of
49912         Makeconfig.  Conditionalize on [$(use-nscd) != no].
49913         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
49914         Conditionalize on [USE_NSCD].
49915         (is_nscd, nscd_init_cb): Likewise.
49916         (nss_load_library): Conditionalize init callback on [USE_NSCD].
49917         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
49918         * nss/nss_db/db-init.c: Likewise.
49919         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
49920         [USE_NSCD].
49921         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
49922         (make_request): Use it.
49923         (cache_valid_p): New function.
49924         (__check_pf): Use it.
49925         * NEWS: Add item for --disable-nscd.
49927 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
49929         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
49930         to support sed >= 4.2.1-20-ga9bf076.
49931         * configure: Regenerated.
49933 2012-08-22  Roland McGrath  <roland@hack.frob.com>
49935         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
49936         Conditionalize whole body on [IREL].
49938 2012-08-22  Jeff Law <law@redhat.com>
49940         [BZ #14505]
49941         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
49942         if the family is PF_UNSPEC.
49944 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
49946         * Makerules (lib-version): Rename from V.
49947         (install-lib-nosubdir): Change V to lib-version.
49949 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
49951         [BZ #14252]
49952         * powerpc32/power6/wcschr.c: New file.
49953         * powerpc32/power6/wcscpy.c: New file.
49954         * powerpc32/power6/wcsrchr.c: New file.
49955         * powerpc64/power6/wcschr.c: New file.
49956         * powerpc64/power6/wcscpy.c: New file.
49957         * powerpc64/power6/wcsrchr.c: New file.
49959 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
49961         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
49962         (two_way_short_needle): Use it.
49963         * string/strstr.c (AVAILABLE1_USES_J): Define.
49964         * string/strcasestr.c: Likewise.
49966         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
49967         array references.
49968         * string/strcasestr.c (TOLOWER): Make side-effect safe.
49970         [BZ #11607]
49971         * NEWS: Add an entry.
49972         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
49973         define their defaults.
49974         (two_way_short_needle): Detect end-of-string on-the-fly.
49975         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
49976         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
49977         * string/bug-strcasestr1.c: New test.
49978         * string/Makefile: Run it.
49980 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
49982         [BZ #11607]
49983         * string/str-two-way.h (two_way_short_needle): Optimize matching of
49984         the first character.
49986 2012-08-21  Roland McGrath  <roland@hack.frob.com>
49988         * csu/elf-init.c (__libc_csu_irel): Function removed.
49989         * csu/libc-start.c (apply_irel): New function.
49990         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
49992 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
49994         * sysdeps/unix/sysv/linux/kernel-features.h
49995         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
49996         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49997         <kernel-features.h>.
49998         [__NR_fadvise64_64]: Make code unconditional.
49999         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50000         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50001         !__NR_fadvise64_64)]: Likewise.
50002         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50003         !__NR_fadvise64_64))]: Likewise.
50004         [__NR_fadvise64]: Make code unconditional.
50005         [!__NR_fadvise64]: Remove conditional code.
50006         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50007         <kernel-features.h>.
50008         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50009         unconditional.
50010         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50011         conditional code.
50012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50013         not include <kernel-features.h>.
50014         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50015         unconditional.
50016         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50017         conditional code.
50018         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
50019         include <kernel-features.h>.
50020         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50021         unconditional.
50022         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50023         conditional code.
50025 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50027         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50028         slight instruction rearrangements per scrollpipe analysis.
50029         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50031 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50033         * manual/syslog.texi (syslog; vsyslog, closelog):
50034         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50035         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50037         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50038         DSOCAPS to match condition on defining it.
50040 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50042         * sysdeps/unix/sysv/linux/kernel-features.h
50043         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50045         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50046         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50048         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50049         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50051         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50052         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50054         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50055         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50057         * sysdeps/unix/sysv/linux/kernel-features.h
50058         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50059         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50060         unconditional.
50061         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50062         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50063         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50064         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50065         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50066         Make code unconditional.
50067         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50068         (__mmap64) [!__NR_mmap2]: Likewise.
50069         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50070         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50071         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50072         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50073         [__NR_mmap2]: Make code unconditional.
50074         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50075         (__mmap64) [!__NR_mmap2]: Likewise.
50077 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50079         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50081 2012-08-18  Andreas Jaeger  <aj@suse.de>
50083         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50085 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50087         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50088         * include/unistd.h (__have_sock_cloexec): Likewise.
50089         (__have_pipe2): Likewise.
50090         (__have_dup3): Likewise.
50092 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50094         [BZ #9685]
50095         * include/unistd.h (__have_pipe2): Change define into an extern int.
50096         (__have_dup3): Likewise.
50097         * socket/have_sock_cloexec.c: Include fcntl.h.
50098         (__have_pipe2): New variable.
50099         (__have_dup3): Likewise.
50101 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50103         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50105 2012-08-17  Marek Polacek  <polacek@redhat.com>
50107         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50108         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50110 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50112         * configure.in: Add AC_SUBST for sysheaders.
50113         * configure: Regenerated.
50114         * config.make.in (sysheaders): New substituted variable.
50116         * sysdeps/unix/mkfifo.c: Moved ...
50117         * sysdeps/posix/mkfifo.c: ... here.
50118         * sysdeps/unix/mkfifoat.c: Moved ...
50119         * sysdeps/posix/mkfifoat.c: ... here.
50121         * sysdeps/unix/utime.c: Moved ...
50122         * sysdeps/posix/utime.c: ... here.
50124         * sysdeps/unix/time.c: Moved ...
50125         * sysdeps/posix/time.c: ... here.
50126         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50127         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50129         * sysdeps/unix/nice.c: Moved ...
50130         * sysdeps/posix/nice.c: ... here.
50132         * sysdeps/unix/alarm.c: Moved ...
50133         * sysdeps/posix/alarm.c: ... here.
50135         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50137 2012-08-17  Jeff Law <law@redhat.com>
50139         * intl/Makefile (codeset_mo): New variable.
50140         ($(codeset_mo)): New target.
50141         (tst-codeset.out): Depend on that.  Remove explicit rule.
50142         (tst-gettext3.out, tst-gettext5.out): Likewise.
50143         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50144         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50145         * intl/tst-codeset.sh: Remove.
50146         * intl/tst-gettext3.sh: Likewise.
50147         * intl/tst-gettext5.sh: Likewise.
50149 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50151         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50152         * sysdeps/unix/syscalls.list: ... here.
50154         * sysdeps/posix/getaddrinfo.c
50155         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50156         (gaiconf_init, gaiconf_reload): Use them.
50157         [!_STATBUF_ST_NSEC]
50158         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50159         Define using time_t rather than struct timespec.
50161         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50162         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50163         Macros removed.
50164         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50165         [!NO_THREADS].
50166         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50167         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50168         Likewise.
50170         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50171         __libc_cleanup_push argument.
50173         * bits/param.h: New file.
50174         * misc/sys/param.h: New file.
50175         * include/sys/param.h: New file.
50176         * misc/Makefile (headers): Add bits/param.h.
50177         * sysdeps/generic/sys/param.h: File removed.
50178         * sysdeps/unix/sysv/linux/bits/param.h: New file.
50179         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
50180         * sysdeps/mach/hurd/bits/param.h: New file.
50181         * sysdeps/mach/hurd/sys/param.h: File removed.
50183         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
50184         last change.
50186         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
50187         [_IO_MTSAFE_IO].
50188         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
50189         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
50190         New macros.
50192         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
50193         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
50194         rather than -D_IO_MTSAFE_IO conditionally.
50195         * stdio-common/Makefile (CPPFLAGS): Likewise.
50196         * wcsmbs/Makefile (CPPFLAGS): Likewise.
50197         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
50198         Use $(libio-mtsafe).
50199         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
50200         of -D_IO_MTSAFE_IO.
50201         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
50202         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
50203         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
50204         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
50205         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
50206         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
50207         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
50208         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
50209         (CFLAGS-fread_u_chk.c): Likewise.
50210         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
50211         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
50212         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
50213         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
50214         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
50215         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
50216         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
50217         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
50218         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
50220         * libio/Makefile: Test [$(libc-reentrant) = yes]
50221         instead of [$(filter %REENTRANT, $(defines)) nonempty].
50223         * Makeconfig
50224         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
50225         * sysdeps/pthread/configure: File removed.
50226         * sysdeps/pthread/Makeconfig: New file.
50227         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
50228         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
50230 2012-08-16  Gary Benson  <gbenson@redhat.com>
50232         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
50233         unmapping the first object in a namespace.
50235 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50237         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
50238         (__internal_setnetgrent): ... this.  Add internal_function to
50239         definition.  Add libc_hidden_def.
50240         (setnetgrent): Update caller.
50241         (internal_endnetgrent): Renamed to ...
50242         (__internal_endnetgrent): ... this.  Add internal_function to
50243         definition.  Add libc_hidden_def.
50244         (endnetgrent): Update caller.
50245         (internal_getnetgrent_r): Renamed to ...
50246         (__internal_getnetgrent_r): ... this.  Add internal_function to
50247         definition.  Add libc_hidden_def.
50248         (__getnetgrent_r): Update caller.
50249         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
50251 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50253         * stdlib/longlong.h: Update from GCC.
50255 2012-08-16  Roland McGrath  <roland@hack.frob.com>
50257         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
50258         on _QL, which is set by umul_ppmm but never used.
50259         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
50260         variables, which are set by GMP macros but never used.
50261         * stdio-common/_itowa.c (_itowa): Likewise.
50262         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
50263         * stdlib/mod_1.c (mpn_mod_1): Likewise.
50265 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
50267         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
50268         struct La_sh_regs is not constant.
50269         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
50270         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
50271         and struct La_sparc64_regs are not constant.
50273 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
50275         * sysdeps/unix/sysv/linux/kernel-features.h
50276         (__ASSUME_POSIX_TIMERS): Remove.
50277         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50278         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50279         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
50280         Make code unconditional.
50281         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50282         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
50283         Make code unconditional.
50284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50285         * sysdeps/unix/sysv/linux/clock_nanosleep.c
50286         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
50287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50288         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
50289         Make code unconditional.
50290         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
50291         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
50292         (__libc_missing_posix_timers): Remove.
50294 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50296         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
50297         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
50299         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
50301         * elf/dl-sym.c: Include <stdlib.h>.
50303         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
50304         constants, which avoids warnings in 32-bit builds.
50306         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
50307         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
50309         * misc/lseek.c: File moved to ...
50310         * io/lseek.c: ... here.
50312         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
50314         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
50315         shifting LEN more than 31 bits at once.
50317 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50319         [BZ #14195]
50320         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
50321         segmentation fault for a case of two empty input strings.
50322         * string/test-strncasecmp.c (check1): Renamed to...
50323         (bz12205): ...this.
50324         (bz14195): Add new testcase for two empty input strings and N > 0.
50325         (test_main): Call new testcase, adapt for renamed function.
50327 2012-08-15  Andreas Jaeger  <aj@suse.de>
50329         [BZ #14090]
50330         * crypt/md5test2.c: New test, based on test supplied by Serge
50331         Belyshev <belyshev@depni.sinp.msu.ru>.
50332         * crypt/Makefile (xtests): Add md5test-giant..
50333         * crypt/Makefile ($(objpfx)md5test-giant): Add.
50335 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
50337         [BZ #14090]
50338         * crypt/md5.c (md5_process_block): Don't assume the buffer
50339         length is less than 2**32.
50340         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
50341         length is less than 2**64.
50343 2012-08-15  Roland McGrath  <roland@hack.frob.com>
50345         * string/str-two-way.h: Include <sys/param.h>.
50346         (MAX): Macro removed.
50348         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
50349         Move #define and #undef of memmove to just before and after
50350         including <string.h>.
50352         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
50353         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
50354         and after including <string.h>.  Move declarations of
50355         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
50356         to before #include "string/memmove.c".
50358         * include/dirent.h: Declare __getdirentries.
50360         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
50361         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
50363 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
50365         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
50366         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
50367         * sysdeps/i386/configure: Regenerated.
50368         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
50369         STABS_CURRENT_FILE, and STABS_FUN.
50370         (END): Remove call to STABS_FUN_END.
50371         (STABS_CURRENT_FILE1): Delete.
50372         (STABS_CURRENT_FILE): Likewise.
50373         (STABS_FUN): Likewise.
50374         (STABS_FUN_END): Likewise.
50375         (STABS_FUN2): Likewise.
50376         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
50377         * sysdeps/x86_64/configure: Regenerated.
50379 2012-08-14  Roland McGrath  <roland@hack.frob.com>
50381         * elf/dl-open.c: Include <atomic.h>.
50382         * elf/dl-lookup.c: Likewise.
50384 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
50386         * sysdeps/unix/sysv/linux/kernel-features.h
50387         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
50388         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
50389         unconditionally.
50390         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
50391         unconditionally.
50392         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
50393         condition on __ASSUME_CLONE_THREAD_FLAGS.
50395 2012-08-14  Andreas Jaeger  <aj@suse.de>
50397         * sysdeps/i386/fpu/libm-test-ulps: Update.
50399 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
50401         * include/atomic.h (atomic_exchange_and_add): Split into ...
50402         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
50403         New atomic macros.
50405 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
50407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50409 2012-08-13  Jeff Law <law@redhat.com>
50411         * manual/stdio.texi (snprintf): Clarify handling of the trailing
50412         null byte in the output string.
50414 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
50416         * sysdeps/unix/sysv/linux/kernel-features.h
50417         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
50418         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
50419         (__ASSUME_ARG_MAX_STACK_BASED): Define.
50420         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50421         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
50422         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
50423         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
50425 2012-08-09  Jeff Law <law@redhat.com>
50427         [BZ #13939]
50428         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
50429         When avoid_arena is set, don't retry in the that arena.  Pick the
50430         next one, whatever it might be.
50431         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
50432         (arena_lock): Pass in new parameter to arena_get2.
50433         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
50434         arena_get2.
50435         (__libc_malloc): Unify retrying after main arena failure with
50436         __libc_memalign version.
50437         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
50439 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
50441         [BZ #14166]
50442         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
50443         to __redirect_strstr.
50444         (__strstr_sse42): Use typeof __redirect_strstr.
50445         (__strstr_ia32): Likewise.
50446         (__libc_strstr): New prototype.
50447         (strstr): Renamed to ...
50448         (__libc_strstr): This.
50449         (strstr): New strong alias of __libc_strstr.
50450         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50451         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
50452         __redirect_time.
50453         Include <time.h>.
50454         (__libc_time): New prototype.
50455         (time_ifunc): Replace time with __libc_time.
50456         (time): New strong alias and hidden definition of __libc_time.
50457         (__GI_time): Remove strong alias.
50458         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
50459         Include <stddef.h>.
50460         (memmove): Redefined to __redirect_memmove.
50461         (__memmove_sse2): Use typeof __redirect_memmove.
50462         (__memmove_ssse3): Likewise.
50463         (__memmove_ssse3_back): Likewise.
50464         (__libc_memmove): New prototype.
50465         (memmove): Renamed to ...
50466         (__libc_memmove): This.
50467         (memmove): New strong alias of __libc_memmove.
50469 2012-08-08  Mark Salter  <msalter@redhat.com>
50471         * elf/elf.h
50472         (R_MN10300_TLS_GD): Define.
50473         (R_MN10300_TLS_LD): Likewise.
50474         (R_MN10300_TLS_LDO): Likewise.
50475         (R_MN10300_TLS_GOTIE): Likewise.
50476         (R_MN10300_TLS_IE): Likewise.
50477         (R_MN10300_TLS_LE): Likewise.
50478         (R_MN10300_TLS_DTPMOD): Likewise.
50479         (R_MN10300_TLS_DTPOFF): Likewise.
50480         (R_MN10300_TLS_TPOFF): Likewise.
50481         (R_MN10300_SYM_DIFF): Likewise.
50482         (R_MN10300_ALIGN): Likewise.
50483         (R_MN10300_NUM): Update.
50485 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
50487         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
50488         Remove.
50490 2012-08-08  Roland McGrath  <roland@hack.frob.com>
50492         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
50494         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
50495         sysdeps/unix -> sysdeps/posix move.
50496         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50498 2012-08-07      Allan McRae     <allan@archlinux.org>
50500         [BZ #14303]
50501         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
50502         (SUNOS_CPP): Likewise.
50503         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
50504         not found.
50505         (open_input): Call CPP using execvp.
50507 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50509         * sysdeps/unix/sysv/linux/kernel-features.h
50510         (__ASSUME_PROT_GROWSUPDOWN): Remove.
50511         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50512         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50513         (__ASSUME_WAITID_SYSCALL): Likewise.
50514         * sysdeps/unix/sysv/linux/dl-execstack.c
50515         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
50516         code unconditional.
50517         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
50518         conditional code.
50519         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
50520         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
50521         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
50522         code.
50523         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
50524         unconditional.
50525         [__ASSUME_WAITID_SYSCALL]: Likewise.
50526         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
50528 2012-08-07  Roland McGrath  <roland@hack.frob.com>
50530         * sysdeps/unix/closedir.c: Renamed to ...
50531         * sysdeps/posix/closedir.c: ... here.
50532         * sysdeps/unix/dirfd.c: Renamed to ...
50533         * sysdeps/posix/dirfd.c: ... here.
50534         * sysdeps/unix/dirstream.h: Renamed to ...
50535         * sysdeps/posix/dirstream.h: ... here.
50536         * sysdeps/unix/fdopendir.c: Renamed to ...
50537         * sysdeps/posix/fdopendir.c: ... here.
50538         * sysdeps/unix/opendir.c: Renamed to ...
50539         * sysdeps/posix/opendir.c: ... here.
50540         * sysdeps/unix/readdir.c: Renamed to ...
50541         * sysdeps/posix/readdir.c: ... here.
50542         * sysdeps/unix/readdir_r.c: Renamed to ...
50543         * sysdeps/posix/readdir_r.c: ... here.
50544         * sysdeps/unix/rewinddir.c: Renamed to ...
50545         * sysdeps/posix/rewinddir.c: ... here.
50546         * sysdeps/unix/seekdir.c: Renamed to ...
50547         * sysdeps/posix/seekdir.c: ... here.
50548         * sysdeps/unix/telldir.c: Renamed to ...
50549         * sysdeps/posix/telldir.c: ... here.
50550         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
50551         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
50552         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
50553         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
50555         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
50556         * bits/fcntl.h: ... here.
50558         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
50559         not 0.
50560         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
50561         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
50562         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
50563         (struct flock): Move l_start, l_len to the beginning.
50564         Use __pid_t for l_pid.
50565         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
50566         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
50567         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
50568         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
50569         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
50570         [__USE_LARGEFILE64] (struct flock64): New type.
50571         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
50573         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
50574         * bits/dirent.h: ... here.
50576         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
50577         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
50579 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
50581         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50582         Change from 2.6.0 to 2.6.16.
50583         * sysdeps/unix/sysv/linux/configure: Regenerated.
50584         * sysdeps/unix/sysv/linux/kernel-features.h
50585         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
50586         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
50587         version.
50588         (__ASSUME_UTIMES): Likewise.
50589         (__ASSUME_CLONE_STOPPED): Remove.
50590         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
50591         architectures, not kernel version.
50592         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
50593         (__ASSUME_NO_CLONE_DETACHED): Likewise.
50594         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
50595         (__ASSUME_WAITID_SYSCALL): Likewise.
50596         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
50597         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
50598         * README: State 2.6.16 as minimum Linux kernel version.  Do not
50599         refer to older versions.
50601 2012-08-06  Roland McGrath  <roland@hack.frob.com>
50603         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
50604         Define alphasort64 as an alias.
50605         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
50606         Define versionsort64 as an alias.
50607         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
50608         Define scandir64 as an alias.
50609         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
50610         Define scandirat64 as an alias.
50611         * dirent/alphasort64.c (alphasort64):
50612         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
50613         * dirent/versionsort64.c: Likewise.
50614         * dirent/scandir64.c: Likewise.
50615         * dirent/scandirat64.c: Likewise.
50616         * sysdeps/wordsize-64/alphasort.c: File removed.
50617         * sysdeps/wordsize-64/alphasort64.c: File removed.
50618         * sysdeps/wordsize-64/scandir.c: File removed.
50619         * sysdeps/wordsize-64/scandir64.c: File removed.
50620         * sysdeps/wordsize-64/scandirat.c: File removed.
50621         * sysdeps/wordsize-64/scandirat64.c: File removed.
50622         * sysdeps/wordsize-64/versionsort.c: File removed.
50623         * sysdeps/wordsize-64/versionsort64.c: File removed.
50624         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
50625         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
50626         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
50627         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
50628         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
50629         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
50630         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
50631         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
50633         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
50634         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50635         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
50636         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50637         [defined __arch64__ || defined __sparcv9]
50638         (__INO_T_MATCHES_INO64_T): New macro.
50639         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50640         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
50641         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
50642         * sysdeps/unix/sysv/linux/bits/dirent.h
50643         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
50644         (_DIRENT_MATCHES_DIRENT64): New macro.
50646         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
50647         Define lockf64 as an alias.
50648         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
50649         Define fseeko64 as an alias.
50650         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
50651         Define ftello64 as an alias.
50652         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
50653         Define _IO_fgetpos64 and fgetpos64 as aliases.
50654         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
50655         Define _IO_fsetpos64 and fsetpos64 as aliases.
50656         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
50657         Conditionalize body on this.
50658         * libio/fseeko64.c: Likewise.
50659         * libio/ftello64.c: Likewise.
50660         * libio/iofgetpos64.c: Likewise.
50661         * libio/iofsetpos64.c: Likewise.
50662         * sysdeps/wordsize-64/lockf.c: File removed.
50663         * sysdeps/wordsize-64/lockf64.c: File removed.
50664         * sysdeps/wordsize-64/fseeko.c: File removed.
50665         * sysdeps/wordsize-64/fseeko64.c: File removed.
50666         * sysdeps/wordsize-64/ftello.c: File removed.
50667         * sysdeps/wordsize-64/ftello64.c: File removed.
50668         * sysdeps/wordsize-64/iofgetpos.c: File removed.
50669         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
50670         * sysdeps/wordsize-64/iofsetpos.c: File removed.
50671         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
50672         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
50673         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
50674         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
50675         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
50676         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
50677         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
50678         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
50679         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
50680         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
50681         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
50683         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50684         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
50685         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
50686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50687         [defined __arch64__ || defined __sparcv9]
50688         (__OFF_T_MATCHES_OFF64_T): New macro.
50689         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50690         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
50691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50692         (__OFF_T_MATCHES_OFF64_T): New macro.
50694 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50696         * stdlib/secure-getenv.c (__secure_getenv): Replace
50697         GLIBC_2_16 with GLIBC_2_17.
50699 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
50701         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
50702         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50704 2012-08-03  David S. Miller  <davem@davemloft.net>
50706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50708 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50710         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
50711         Remove.
50712         (__ASSUME_CORRECT_SI_PID): Likewise.
50713         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
50714         (__ASSUME_TMPFS_NAME): Likewise.
50715         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
50716         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
50717         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
50718         (HAVE_AUX_SECURE): Make definition unconditional.
50719         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
50720         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
50722 2012-08-03  Roland McGrath  <roland@hack.frob.com>
50724         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
50725         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
50726         * sysdeps/mach/hurd/eloop-threshold.h: New file.
50727         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50728         __eloop_threshold instead of SYMLOOP_MAX.
50730         * sysdeps/generic/eloop-threshold.h: New file.
50731         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
50732         of MAXSYMLINKS.
50733         * elf/chroot_canon.c (chroot_canon): Likewise.
50735 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
50737         [BZ #13717]
50738         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50739         Change to 2.6.0 everywhere.
50740         * sysdeps/unix/sysv/linux/configure: Regenerated.
50741         * sysdeps/unix/sysv/linux/kernel-features.h
50742         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
50743         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
50744         kernel versions.
50745         (__ASSUME_POSIX_TIMERS): Define unconditionally.
50746         (__ASSUME_FUTEX_REQUEUE): Remove.
50747         (__ASSUME_STATFS64): Define unconditionally.
50748         (__ASSUME_AT_SECURE): Likewise.
50749         (__ASSUME_CORRECT_SI_PID): Likewise.
50750         (__ASSUME_TGKILL): Define without depending on kernel version for
50751         i386.
50752         (__ASSUME_UTIMES): Likewise.
50753         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
50754         kernel version.
50755         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
50756         (__ASSUME_TMPFS_NAME): Likewise.
50757         * README: Update reference to Linux kernel versions.
50759 2012-08-02  Marek Polacek  <polacek@redhat.com>
50761         [BZ# 14150]
50762         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
50763         libc_cv_asm_type_prefix with %.
50764         * configure: Regenerated.
50765         * include/libc-symbols.h: Remove comment about
50766         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50767         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
50768         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
50769         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
50770         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
50771         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
50772         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
50773         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
50774         * elf/tst-unique2mod1.c: Likewise.
50775         * elf/tst-unique1mod2.c: Likewise.
50776         * elf/tst-unique1mod1.c: Likewise.
50777         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
50778         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
50779         Replace ASM_TYPE_DIRECTIVE with .type.
50780         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50781         * sysdeps/i386/sysdep.h: Likewise.
50782         * sysdeps/x86_64/sysdep.h: Likewise.
50783         * sysdeps/sh/sysdep.h: Likewise.
50784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50785         Do not define ASM_TYPE_DIRECTIVE.
50786         * sysdeps/powerpc/sysdep.h: Likewise.
50787         * sysdeps/powerpc/powerpc32/sysdep.h:
50788         Replace ASM_TYPE_DIRECTIVE with .type.
50789         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
50790         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50791         * sysdeps/i386/fpu/e_powf.S: Likewise.
50792         * sysdeps/i386/fpu/e_expl.S: Likewise.
50793         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50794         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50795         * sysdeps/i386/fpu/e_pow.S: Likewise.
50796         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50797         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50798         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50799         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50800         * sysdeps/i386/fpu/e_log2.S: Likewise.
50801         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50802         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50803         * sysdeps/i386/fpu/e_powl.S: Likewise.
50804         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50805         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50806         * sysdeps/i386/fpu/e_logl.S: Likewise.
50807         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50808         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50809         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50810         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50811         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50812         * sysdeps/i386/fpu/e_log.S: Likewise.
50813         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50814         * sysdeps/i386/fpu/e_logf.S: Likewise.
50815         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50816         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50817         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50818         * sysdeps/i386/fpu/e_log10.S: Likewise.
50819         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50820         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50821         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50822         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50823         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50824         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
50825         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50826         * sysdeps/i386/i686/strtok.S: Likewise.
50827         * sysdeps/i386/i386-mcount.S: Likewise.
50828         * sysdeps/i386/strtok.S: Likewise.
50829         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
50830         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50831         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50832         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50833         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50834         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50835         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50836         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50837         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50838         * sysdeps/x86_64/_mcount.S: Likewise.
50839         * sysdeps/x86_64/strtok.S: Likewise.
50840         * sysdeps/sh/_mcount.S: Likewise.
50842 2012-08-01  Roland McGrath  <roland@hack.frob.com>
50844         * libio/iofopen.c: Include <fcntl.h>.
50845         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
50846         (_IO_fopen64, fopen64): Define as aliases.
50847         * libio/iofopen64.c: Include <fcntl.h>.
50848         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
50849         Conditionalize body on this.
50850         * sysdeps/wordsize-64/iofopen.c: File removed.
50851         * sysdeps/wordsize-64/iofopen64.c: File removed.
50853 2012-08-01  Marek Polacek  <polacek@redhat.com>
50855         * libc/Makeconfig: Use elf in place of binfmt-subdir.
50856         Use dlfcn directly instead of a variable.
50857         (binfmt-subdir): Do not define.
50858         (dlfcn): Likewise.
50860 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
50862         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
50863         Remove all definitions.
50864         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
50865         <kernel-features.h>.
50866         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50867         (miss_F_GETOWN_EX): Remove all definitions.
50868         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
50869         macro definition.
50870         [!__ASSUME_FCNTL64]: Remove conditional code.
50871         [__ASSUME_FCNTL64]: Make code unconditional.
50872         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
50873         <kernel-features.h>.
50874         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
50875         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
50876         (lockf64) [__NR_fcntl64]: Make code unconditional.
50877         (lockf64) [__ASSUME_FCNTL64]: Likewise.
50879         * sysdeps/unix/sysv/linux/kernel-features.h
50880         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
50881         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
50882         Make code unconditional.
50883         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50884         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
50886         [__NR_vfork]: Make code unconditional.
50887         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50888         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
50890         [__NR_vfork]: Make code unconditional.
50891         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
50892         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
50894 2012-08-01  Roland McGrath  <roland@hack.frob.com>
50896         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
50897         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
50899         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50900         Define mkstemp64 as an alias.
50901         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50902         Define mkstemps64 as an alias.
50903         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50904         Define mkostemp64 as an alias.
50905         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
50906         Define mkostemps64 as an alias.
50907         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
50908         Conditionalize body on this.
50909         * misc/mkostemp64.c: Likewise.
50910         * misc/mkostemps64.c: Likewise.
50911         * misc/mkstemps64.c: Likewise.
50912         * sysdeps/wordsize-64/mkstemp64.c: File removed.
50913         * sysdeps/wordsize-64/mkostemp64.c: File removed.
50914         * sysdeps/wordsize-64/mkostemp.c: File removed.
50915         * sysdeps/wordsize-64/mkstemp.c: File removed.
50916         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
50917         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
50918         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
50919         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
50921         [BZ #14138]
50922         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
50923         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
50924         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
50925         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
50927         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
50928         compat_symbol macros from <shlib-compat.h> rather than the underlying
50929         default_symbol_version and symbol_version macros, so that DEFAULT
50930         lines in shlib-versions are respected.
50931         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
50933 2012-08-01  Florian Weimer  <fweimer@redhat.com>
50935         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
50936         Declare with warn_unused_result.
50937         (setgid, setregid, setegid, setresgid): Likewise.
50938         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
50939         Likewise.
50940         * WUR-REPORT: Remove set*id functions.
50942 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
50944         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
50946 2012-07-31  Roland McGrath  <roland@hack.frob.com>
50948         [BZ #10191]
50949         * include/sys/socket.h (__libc_accept, __libc_accept4):
50950         Add attribute_hidden.
50951         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
50953         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
50954         use of PTR_MANGLE.
50955         * inet/getnetgrent_r.c (setup): Likewise.
50957         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
50959 2012-07-31  David S. Miller  <davem@davemloft.net>
50961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50963 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
50965         [BZ #13629]
50966         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
50967         value between 1.0 and 2.0 and smaller part has absolute value less
50968         than 1.0.
50969         * math/s_clog10.c (__clog10): Likewise.
50970         * math/s_clog10f.c (__clog10f): Likewise.
50971         * math/s_clog10l.c (__clog10l): Likewise.
50972         * math/s_clogf.c (__clogf): Likewise.
50973         * math/s_clogl.c (__clogl): Likewise.
50974         * math/libm-test.inc (clog_test): Add more tests.
50975         (clog10_test): Likewise.
50976         * sysdeps/i386/fpu/libm-test-ulps: Update.
50977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50979 2012-07-31  Florian Weimer  <fweimer@redhat.com>
50981         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
50982         Exit with zero in case no suitable GID is found, and write a
50983         message to standard error.
50985 2012-07-30  Roland McGrath  <roland@hack.frob.com>
50987         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
50988         rather than to 1.
50989         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
50990         (MAXPATHLEN): Removed.
50991         (NOGROUP, NODEV): New macros.
50992         (setbit, clrbit, isset, isclr): New macros.
50993         (howmany, roundup, powerof2): New macros.
50994         (DEV_BSIZE): New macro.
50996         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
50997         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
50999         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51000         definition on [!__NO_LONG_DOUBLE_MATH].
51002         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51003         PTR_MANGLE and PTR_DEMANGLE.
51005         * socket/accept4.c (accept4): Rename to __libc_accept4.
51006         Define accept4 as a weak alias.
51008         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51009         on [_DIRENT_HAVE_D_TYPE].
51010         * io/ftw.c (ftw_dir): Likewise.
51012         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51014         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51016         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51017         Use the BSD numbers rather than the arbitrary ones we had.
51018         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51019         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51020         (SIGXCPU, SIGXFSZ): New macros.
51021         (_NSIG): Now 32.
51023         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51024         initializer on [_LIBC_REENTRANT].
51026         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51027         definitions inside [_POSIX_MAPPED_FILES].
51029         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51031         * dirent/opendir.c: Include <fcntl.h>.
51033         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51034         (__libc_getspecific): Likewise.
51035         (__libc_key_create): Likewise.
51037         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51038         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51039         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51040         (tmpfile64): Define as alias.
51041         * sysdeps/wordsize-64/tmpfile.c: File removed.
51042         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51043         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51044         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51046         * stdio-common/vfscanf.c: Include <stdbool.h>.
51047         * nss/makedb.c: Likewise.
51048         * stdio-common/_i18n_number.h: Likewise.
51049         * argp/argp-help.c: Likewise.
51050         * posix/wordexp.c: Likewise.
51051         * sysdeps/posix/spawni.c: Likewise.
51052         * nss/nss_files/files-initgroups.c: Likewise.
51053         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51054         * nss/nss_files/files-initgroups.c: Likewise.
51055         * nss/nss_db/db-netgrp.c: Likewise.
51056         * nss/nss_db/db-initgroups.c: Likewise.
51057         * io/fchmodat.c: Include <sys/stat.h>.
51059         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51060         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51062         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51063         [HAVE_MMAP].
51065         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51066         Add multiple inclusion protection.
51068 2012-07-27  David S. Miller  <davem@davemloft.net>
51070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51072 2012-07-27  Gary Benson  <gbenson@redhat.com>
51074         [BZ #14298]
51075         * elf/rtld.c: Include <stap-probe.h>.
51076         (dl_main): Added static probes "init_start" and "init_complete".
51077         * elf/dl-load.c: Include <stap-probe.h>.
51078         (lose): Take new parameter "nsid".
51079         Added static probe "map_failed".
51080         (_dl_map_object_from_fd): Pass namespace id to lose.
51081         Added static probe "map_start".
51082         (open_verify): Pass namespace id to lose.
51083         * elf/dl-open.c: Include <stap-probe.h>.
51084         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51085         and "reloc_complete".
51086         * elf/dl-close.c: Include <stap-probe.h>.
51087         (_dl_close_worker): Added static probes "unmap_start" and
51088         "unmap_complete".
51089         * elf/rtld-debugger-interface.txt: New file documenting the above.
51091 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51093         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51094         rather than a string variable.
51095         * sunrpc/rpc_main.c (h_output): Likewise.
51096         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51098 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51100         * inet/check_native.c: New file.
51102 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51104         [BZ #13629]
51105         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51106         if larger part has absolute value 1.0.
51107         * math/s_clog10.c (__clog10): Likewise.
51108         * math/s_clog10f.c (__clog10f): Likewise.
51109         * math/s_clog10l.c (__clog10l): Likewise.
51110         * math/s_clogf.c (__clogf): Likewise.
51111         * math/s_clogl.c (__clogl): Likewise.
51112         * math/libm-test.inc (clog_test): Add more tests.
51113         (clog10_test): Likewise.
51114         * sysdeps/i386/fpu/libm-test-ulps: Update.
51115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51117         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51118         (pltexit): Likewise.
51119         (La_regs): Likewise.
51120         (La_retval): Likewise.
51121         (int_retval): Likewise.
51122         Update #error for removed macros to refer only to definitions in
51123         tst-audit.h.
51124         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51125         macro.
51126         (pltexit): Likewise.
51127         (La_regs): Likewise.
51128         (La_retval): Likewise.
51129         (int_retval): Likewise.
51130         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
51131         macro.
51132         (pltexit): Likewise.
51133         (La_regs): Likewise.
51134         (La_retval): Likewise.
51135         (int_retval): Likewise.
51136         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
51137         macro.
51138         (pltexit): Likewise.
51139         (La_regs): Likewise.
51140         (La_retval): Likewise.
51141         (int_retval): Likewise.
51142         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
51143         macro.
51144         (pltexit): Likewise.
51145         (La_regs): Likewise.
51146         (La_retval): Likewise.
51147         (int_retval): Likewise.
51148         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
51149         macro.
51150         (pltexit): Likewise.
51151         (La_regs): Likewise.
51152         (La_retval): Likewise.
51153         (int_retval): Likewise.
51154         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
51155         macro.
51156         (pltexit): Likewise.
51157         (La_regs): Likewise.
51158         (La_retval): Likewise.
51159         (int_retval): Likewise.
51160         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51161         macro definitions in tst-audit.h.
51162         * sysdeps/i386/tst-audit.h: New file.
51163         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51164         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51165         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51166         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51167         * sysdeps/sh/tst-audit.h: Likewise.
51168         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51169         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51170         * sysdeps/x86_64/tst-audit.h: Likewise.
51172 2012-07-26  Andreas Jaeger  <aj@suse.de>
51174         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51175         ptrace.
51177         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
51178         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
51179         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
51180         PTRACE_O_MASK.
51181         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
51182         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
51183         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
51185         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
51186         value.
51188         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
51189         _sigsys.
51190         (si_call_addr, si_syscall, si_arch): Define new macro.
51191         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
51192         _sigsys.
51193         (si_call_addr, si_syscall, si_arch): Define new marcro.
51194         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
51195         _sigsys.
51196         (si_call_addr, si_syscall, si_arch): Define new macro.
51197         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
51198         _sigsys.
51199         (si_call_addr, si_syscall, si_arch): Define new macro.
51201 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51203         [BZ #13717]
51204         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51205         Change to 2.4.21 where previously 2.4.1.
51206         * sysdeps/unix/sysv/linux/configure: Regenerated.
51207         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
51208         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
51209         Linux kernel version.
51210         (__ASSUME_STD_AUXV): Remove.
51211         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
51212         kernel version.
51213         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
51214         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
51215         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
51216         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
51217         (__ASSUME_NETLINK_SUPPORT): Likewise.
51218         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
51219         (__no_netlink_support): Remove conditional definition.
51220         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
51221         Remove.
51222         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51223         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
51224         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
51225         (if_nameindex_ioctl): Remove.
51226         (if_nameindex_netlink): Do not handle __no_netlink_support.
51227         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51228         code.
51229         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
51230         Remove conditional code.
51231         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
51232         code.
51233         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
51234         unconditional.
51235         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
51236         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
51237         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
51238         Remove.
51239         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
51240         [!__ASSUME_STD_AUXV]: Remove conditional code.
51241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
51242         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
51243         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
51244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
51245         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
51246         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51247         code.
51248         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51250         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
51251         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51252         conditional code.
51253         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
51254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51255         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
51256         code.
51257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51258         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
51259         conditional code.
51260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
51261         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51262         code unconditional.
51263         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51264         conditional code.
51265         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51266         unconditional.
51267         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51268         conditional code.
51269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51270         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51271         unconditional.
51272         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51273         conditional code.
51274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
51275         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51276         code unconditional.
51277         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51278         conditional code.
51279         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51280         unconditional.
51281         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51282         conditional code.
51283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
51284         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
51285         code unconditional.
51286         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51287         conditional code.
51288         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
51289         unconditional.
51290         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
51291         conditional code.
51293 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
51295         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
51296         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
51297         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51298         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
51299         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
51300         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
51301         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
51302         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
51303         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
51304         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
51305         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
51306         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
51307         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
51308         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
51309         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
51310         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
51311         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
51312         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
51313         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
51314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
51315         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
51316         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
51317         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51319 2012-07-25  Florian Weimer  <fweimer@redhat.com>
51321         * Versions.def: Add GLIBC_2.17.
51322         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
51323         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
51324         Introduce __libc_secure_getenv.
51325         * stdlib/Versions (2.17): Add secure_getenv
51326         (GLIBC_PRIVATE): Add __libc_secure_getenv.
51327         * stdlib/secure-getenv.c: Rename __secure_getenv to
51328         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
51329         symbol __secure_getenv for GLIBC_2.0.
51330         * stdlib/tst-secure-getenv.c: New.
51331         * stdlib/Makefile (tests): Add testcase.
51332         * manual/startup.texi (Environment Access): Document
51333         secure_getenv.
51334         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
51335         __libc_secure_getenv.
51336         * inet/ruserpass.c (ruserpass): Likewise.
51337         * malloc/mtrace.c (mtrace): Likewise.
51338         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
51339         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
51340         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
51341         * sysdeps/posix/tempname.c: Likewise.  Evaluate
51342         HAVE_SECURE_GETENV.
51343         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
51344         __secure_getenv to __libc_secure_getenv.
51345         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
51346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51347         Likewise.
51348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51349         Likewise.
51350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51352         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51358 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
51360         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
51361         (struct La_i86_retval): Likewise.
51362         (struct La_x86_64_regs): Likewise.
51363         (struct La_x86_64_retval): Likewise.
51364         (struct La_x32_regs): Likewise.
51365         (struct La_x32_retval): Likewise.
51366         (struct La_ppc32_regs): Likewise.
51367         (struct La_ppc32_retval): Likewise.
51368         (struct La_ppc64_regs): Likewise.
51369         (struct La_ppc64_retval): Likewise.
51370         (struct La_sh_regs): Likewise.
51371         (struct La_sh_retval): Likewise.
51372         (struct La_s390_32_regs): Likewise.
51373         (struct La_s390_32_retval): Likewise.
51374         (struct La_s390_64_regs): Likewise.
51375         (struct La_s390_64_retval): Likewise.
51376         (struct La_sparc32_regs): Likewise.
51377         (struct La_sparc32_retval): Likewise.
51378         (struct La_sparc64_regs): Likewise.
51379         (struct La_sparc64_retval): Likewise.
51380         (struct audit_ifaces): Remove architecture-specific pltenter and
51381         pltexit members.
51382         * sysdeps/i386/ldsodefs.h: New file.
51383         * sysdeps/powerpc/ldsodefs.h: Likewise.
51384         * sysdeps/s390/ldsodefs.h: Likewise.
51385         * sysdeps/sh/ldsodefs.h: Likewise.
51386         * sysdeps/sparc/ldsodefs.h: Likewise.
51387         * sysdeps/x86_64/ldsodefs.h: Likewise.
51389 2012-07-25  Marek Polacek  <polacek@redhat.com>
51391         [BZ #6808]
51392         * math/libm-test.inc (yn_test): Add another test.
51393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
51394         to ERANGE when the result is +-Inf.
51395         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
51396         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
51397         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
51398         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
51400 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
51402         * conform/data/time.h-data (NULL): Use macro-constant.  Require
51403         equal to 0.
51404         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
51405         clock_t.
51406         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
51408 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
51410         * configure.in <sysdeps resolving>: Correct printing
51411         Implies_before.
51412         * configure: Regenerate.
51414 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
51416         * math/w_ilogb.c: Include <limits.h>.
51417         * math/w_ilogbl.c: Likewise.
51419 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51421         * manual/lang.texi (__va_copy): Document primarily as ISO C99
51422         va_copy.  Document allowing for unavailable va_copy only as
51423         pre-C99 compatibility.
51424         * manual/string.texi (Copying and Concatenation): Use va_copy
51425         instead of __va_copy in concat example.
51427 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
51429         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
51430         (__sendto): Use create_address_port.  Initialize APORT and deallocate
51431         it if not null.
51433         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
51434         with O_NOLINK passed to __file_name_lookup.
51436         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
51437         with O_NOLINK passed to __file_name_lookup.
51439         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
51440         negative N or less than NGIDS.
51442         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
51443         type to string_t.  Set ERANGE as errno and return it if NAME is not big
51444         enough.  Use memcpy instead of strncpy.
51446 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
51448         * elf/Makefile (check-data): Remove.
51449         (localplt.data): New vpath directive.
51450         ($(objpfx)check-localplt.out): Use localplt.data from vpath
51451         instead of $(check-data).
51452         * scripts/data/localplt-generic.data: Move to ...
51453         * sysdeps/generic/localplt.data: ... here.
51454         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
51455         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
51456         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
51457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
51458         ... here.
51459         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
51460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
51461         ... here.
51462         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
51463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
51464         ... here.
51465         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
51466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
51467         ... here.
51468         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
51469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
51470         ... here.
51471         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
51472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
51473         ... here.
51475 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51477         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
51478         PPC32 and PPC64 files.
51479         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
51480         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
51482 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51484         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
51485         __makecontext_ret to ...
51486         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
51487         ... here and call exit if uc_link is NULL.  New file.
51488         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
51489         __makecontext_ret.S.
51490         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
51491         __makecontext_ret to ...
51492         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
51493         ... here and call exit if uc_link is NULL.  New file.
51494         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
51495         __makecontext_ret.S.
51497 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51499         * elf/elf.h (R_390_IRELATIVE): New definition.
51500         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
51501         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
51502         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
51503         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51504         (elf_machine_lazy_rel): Likewise.
51505         * sysdeps/s390/dl-irel.h: New file.
51506         * sysdeps/s390/s390-64/memcpy.S: New asm code.
51507         * sysdeps/s390/s390-64/memset.S: New asm code.
51508         * sysdeps/s390/s390-64/memcmp.S: New asm code.
51509         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
51510         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
51511         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
51512         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
51513         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
51514         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
51515         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
51516         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
51517         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
51518         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
51519         * sysdeps/s390/s390-32/memcpy.S: New asm code.
51520         * sysdeps/s390/s390-32/memset.S: New asm code.
51521         * sysdeps/s390/s390-32/memcmp.S: New asm code.
51523 2012-07-17  Marek Polacek  <polacek@redhat.com>
51525         [BZ #14349]
51526         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
51527         * sysdeps/s390/s390-64/configure.in: Likewise.
51528         * sysdeps/sparc/configure.in: Likewise.
51529         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
51530         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
51531         * sysdeps/i386/configure.in: Likewise.
51532         * sysdeps/x86_64/configure.in: Likewise.
51533         * sysdeps/sh/configure.in: Likewise.
51534         * sysdeps/s390/s390-32/configure: Regenerated.
51535         * sysdeps/s390/s390-64/configure: Likewise.
51536         * sysdeps/x86_64/configure: Likewise.
51537         * sysdeps/sh/configure: Likewise.
51538         * sysdeps/powerpc/powerpc64/configure: Likewise.
51539         * sysdeps/powerpc/powerpc32/configure: Likewise.
51540         * sysdeps/sparc/configure: Likwise.
51541         * sysdeps/i386/configure: Likewise.
51543         * elf/dl-open.c: Comment fixes.
51545 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
51547         * Makefile [CXX] (check-data): Remove.
51548         [CXX] (c++-types.data): New vpath directive.
51549         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
51550         vpath.  Do not allow for C++ type data being missing.
51551         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
51552         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
51553         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
51554         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
51555         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
51556         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
51557         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
51558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
51559         ... here.
51560         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
51561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
51562         ... here.
51563         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
51564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
51565         ... here.
51566         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
51567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
51568         ... here.
51569         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
51570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
51571         ... here.
51572         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
51573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
51574         ... here.
51575         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
51576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
51577         ... here.
51578         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
51579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
51581         * elf/tls-macros.h (TLS_LE): Move architecture-specific
51582         definitions to architecture-specific files.
51583         (TLS_IE): Likewise.
51584         (TLS_LD): Likewise.
51585         (TLS_GD): Likewise.
51586         * sysdeps/i386/tls-macros.h: New file.
51587         * sysdeps/powerpc/tls-macros.h: Likewise.
51588         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
51589         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
51590         * sysdeps/sh/tls-macros.h: Likewise.
51591         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
51592         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
51593         * sysdeps/x86_64/tls-macros.h: Likewise.
51595 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51597         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
51598         zero value for regular exit case.
51600         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
51601         (__start_context): Preserve zero value for regular exit case.
51603 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
51604             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51606         * manual/setjmp.texi (setcontext): Clarify normal process
51607         termination when uc_link is the null pointer.
51608         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
51609         exit call.
51611 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
51613         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
51614         preprocessor.  Test for each exception mask separately.
51616 2012-07-16  Andreas Jaeger  <aj@suse.de>
51618         * po/ru.po: Update from translation team.
51620 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
51622         * conform/data/string.h-data (NULL): Use macro-constant.  Require
51623         equal to 0.
51624         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51625         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51626         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
51627         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
51628         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51630 2012-07-13  Andreas Jaeger  <aj@suse.de>
51632         * po/fr.po: Update from translation team.
51634 2012-07-12  Marek Polacek  <polacek@redhat.com>
51636         [BZ #14173]
51637         * math/libm-test.inc (yn_test): Add test for BZ #14173.
51638         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
51639         loop condition.
51641 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
51643         [BZ #13717]
51644         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51645         Change to 2.4.1 where previously 2.4.0.
51646         * sysdeps/unix/sysv/linux/configure: Regenerated.
51647         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
51648         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
51649         version.
51650         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
51651         (__ASSUME_AT_CLKTCK): Remove.
51652         (__ASSUME_AT_PAGESIZE): Likewise.
51653         (__ASSUME_AT_XID): Likewise.
51654         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
51655         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
51656         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
51657         unconditionally.
51658         (HAVE_AUX_PAGESIZE): Likewise.
51659         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
51660         [__ASSUME_AT_CLKTCK]: Make code unconditional.
51661         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
51663 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
51665         [BZ #14307]
51666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
51667         the temporary buffer used to invoke __gethostbyname2_r,
51668         __gethostbyaddr_r and gethostbyname4_r to make room for struct
51669         host_data / struct gaih_addrtuple.
51670         * resolv/nss_dns/dns-host.c (global scope): Move definition of
51671         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
51672         header file nss/nsswitch.h.
51673         * nss/nsswitch.h (global scope): Add definition of implementation
51674         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
51675         resolv/nss_dns/dns-host.c).
51677 2012-07-11  Andreas Jaeger  <aj@suse.de>
51679         * po/fr.po: Update from translation team.
51681         * po/sv.po: Update from translation team
51682         * po/fr.po: Another update from translation team.
51684 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51686         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
51687         for subnormals or multiply small sinh result by itself.
51688         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51691 2012-07-11  David S. Miller  <davem@davemloft.net>
51693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51695 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
51697         [BZ #14347]
51698         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
51699         (INTERNAL_MARK): Shift it here.
51701 2012-07-10  Marek Polacek  <polacek@redhat.com>
51703         [BZ #14151]
51704         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
51705         libc_cv_asm_global_directive with .globl.
51706         * configure: Regenerated.
51707         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
51708         with .globl.
51709         * sysdeps/i386/configure: Regenerated.
51710         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
51711         with .globl.
51712         * sysdeps/x86_64/configure: Regenerated.
51713         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
51714         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
51715         * elf/tst-unique2mod2.c: Likewise.
51716         * elf/tst-unique2mod1.c: Likewise.
51717         * elf/tst-unique1mod2.c: Likewise.
51718         * elf/tst-unique1mod1.c: Likewise.
51719         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51720         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51721         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51722         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51723         * sysdeps/mach/sysdep.h: Likewise.
51724         * sysdeps/i386/sysdep.h: Likewise.
51725         * sysdeps/i386/i386-mcount.S: Likewise.
51726         * sysdeps/x86_64/_mcount.S: Likewise.
51727         * sysdeps/x86_64/sysdep.h: Likewise.
51728         * sysdeps/sh/_mcount.S: Likewise.
51729         * sysdeps/sh/sysdep.h: Likewise.
51730         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
51731         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
51732         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
51733         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51734         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
51735         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
51736         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
51737         * locale/localeinfo.h: Likewise.
51738         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
51739         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
51741 2012-07-09  Roland McGrath  <roland@hack.frob.com>
51743         [BZ #14336]
51744         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
51745         system".
51746         * manual/message.texi (The Uniforum approach): Likewise.
51747         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
51748         (glibc iconv Implementation): Likewise.
51750 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
51752         [BZ #14337]
51753         * math/s_clog.c (__clog): Avoid scaling a value down where that
51754         could result in underflow.
51755         * math/s_clog10.c (__clog10): Likewise.
51756         * math/s_clog10f.c (__clog10f): Likewise.
51757         * math/s_clog10l.c (__clog10l): Likewise.
51758         * math/s_clogf.c (__clogf): Likewise.
51759         * math/s_clogl.c (__clogl): Likewise.
51760         * math/libm-test.inc (clog_test): Add more tests.
51761         (clog10_test): Likewise.
51762         * sysdeps/i386/fpu/libm-test-ulps: Update.
51763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51765 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
51767         [BZ #14283]
51768         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
51769         by 7 not 8 to examine high bit of fractional part.
51771         [BZ #14042]
51772         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
51773         for call to __mcount_internal.
51774         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
51775         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
51776         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
51778 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
51780         [BZ #14154]
51781         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
51782         approximation for values within 0x1p-13f of an odd multiple of
51783         pi/4.
51784         * math/libm-test.inc (tan_test): Do not allow spurious underflow
51785         exception.  Add more tests.
51786         * sysdeps/i386/fpu/libm-test-ulps: Update.
51788         [BZ #6778]
51789         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
51790         inputs and return -1 for them.  Do not check for +Inf in case not
51791         reachable for +Inf.
51792         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51793         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
51794         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51795         and return -1 for them.  Do not check for +Inf in case not
51796         reachable for +Inf.
51797         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
51798         define.
51799         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51800         and return -1 for them.  Do not check for +Inf in case not
51801         reachable for +Inf.
51802         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
51803         spurious underflow.
51804         * sysdeps/i386/fpu/libm-test-ulps: Update.
51805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51807 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
51809         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
51811 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
51813         [BZ #14157]
51814         [BZ #14331]
51815         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
51816         could result in spurious underflow.  Scale down values above
51817         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
51818         * math/s_csqrtf.c (__csqrtf): Likewise.
51819         * math/s_csqrtl.c (__csqrtl): Likewise.
51820         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
51821         spurious underflow.
51822         * sysdeps/i386/fpu/libm-test-ulps: Update.
51823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51825 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
51827         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
51828         xopen-msg.sed.
51829         * catgets/xopen-msg.awk: New file.
51830         * catgets/xopen-msg.sed: Removed.
51832         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
51833         po2text.sed.
51834         * intl/po2test.awk: New file.
51835         * intl/po2test.sed: Removed.
51837 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
51839         [BZ #14328]
51840         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
51841         or multiply small sinh result by itself.
51842         * math/s_ctanf.c (__ctanf): Likewise.
51843         * math/s_ctanh.c (__ctanh): Likewise.
51844         * math/s_ctanhf.c (__ctanhf): Likewise.
51845         * math/s_ctanhl.c (__ctanhl): Likewise.
51846         * math/s_ctanl.c (__ctanl): Likewise.
51847         * math/libm-test.inc (ctan_test_tonearest): New function.
51848         (ctan_test_towardzero): Likewise.
51849         (ctan_test_downward): Likewise.
51850         (ctan_test_upward): Likewise.
51851         (ctanh_test_tonearest): Likewise.
51852         (ctanh_test_towardzero): Likewise.
51853         (ctanh_test_downward): Likewise.
51854         (ctanh_test_upward): Likewise.
51855         (main): Call these new functions.
51856         * sysdeps/i386/fpu/libm-test-ulps: Update.
51857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51859 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
51861         * .gitignore: Delete /ports entry.
51863 2012-07-03  Andreas Jaeger  <aj@suse.de>
51865         * po/bg.po: Update from translation team.
51866         * po/cs.po: Likewise.
51867         * po/de.po: Likewise.
51868         * po/hr.po: Likewise.
51869         * po/nl.pl: Likewise.
51870         * po/pl.po: Likewise.
51871         * po/vi.po: Likewise.
51873 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
51875         * Makeconfig [!+link] (+link-before-libc): New variable.
51876         [!+link] (+link-after-libc): Likewise.
51877         [!+link] (+link-tests): Likewise.
51878         [!+link] (+link): Define in terms of $(+link-before-libc) and
51879         $(+link-after-libc).
51880         [!+link-static] (+link-static-before-libc): New variable.
51881         [!+link-static] (+link-static-after-libc): Likewise.
51882         [!+link-static] (+link-static-tests): Likewise.
51883         [!+link-static] (+link-static): Define in terms of
51884         $(+link-static-before-libc) and $(+link-static-after-libc).
51885         [build-shared] (link-libc-before-gnulib): New variable.
51886         [build-shared] (link-libc-tests): Likewise.
51887         [build-shared] (link-libc): Define in terms of
51888         $(link-libc-before-gnulib).
51889         [!build-shared] (link-libc-tests): New variable.
51890         (link-libc-static-tests): New variable.
51891         [!gnulib] (gnulib-arch): New variable.
51892         [!gnulib] (gnulib-tests): Likewise.
51893         [!gnulib] (static-gnulib-arch): Likewise.
51894         [!gnulib] (static-gnulib-tests): Likewise.
51895         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
51896         Define with "=" instead of ":=".
51897         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
51898         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
51899         * Rules (binaries-all-notests): New variable.
51900         (binaries-all-tests): Likewise.
51901         (binaries-static-notests): Likewise.
51902         (binaries-static-tests): Likewise.
51903         (binaries-all): Define using $(binaries-all-notests) and
51904         $(binaries-all-tests).
51905         (binaries-static): Define using $(binaries-static-notests) and
51906         $(binaries-static-tests).
51907         (binaries-shared-tests): New variable.
51908         (binaries-shared-notests): Likewise.
51909         (binaries-shared): Remove variable.
51910         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
51911         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
51912         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
51913         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
51914         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
51915         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
51916         * elf/Makefile (sln-modules): New variable.
51917         (extra-objs): Add $(sln-modules:=.o).
51918         (ldconfig-modules): Add static-stubs.
51919         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
51920         * elf/static-stubs.c: New file.
51922         [BZ #14283]
51923         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
51924         by 7 not 8 to examine high bit of fractional part.  Use volatile
51925         variables when splitting into final array of floats if
51926         __FLT_EVAL_METHOD__ != 0.
51927         * math/libm-test.inc (cos_test): Add another test.
51928         (sin_test): Likewise.
51929         * sysdeps/i386/fpu/libm-test-ulps: Update.
51931         [BZ #14273]
51932         * math/libm-test.inc (cosh_test): Add more tests.
51934         * version.h (RELEASE): Set to "development".
51935         (VERSION): Set to "2.16.90".
51937 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
51939         * NEWS: Update copyright. Remove last-updated date.
51940         Mention math library bug fixes and timezone data changes.
51941         * README: Mention GNU/Hurd, x32, and HPPA support status.
51943 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
51945         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
51947 2012-06-27  Andreas Jaeger  <aj@suse.de>
51949         * manual/contrib.texi (Contributors): Add Samuel Thibault.
51951 2012-06-25  Andreas Jaeger  <aj@suse.de>
51953         * sysdeps/s390/fpu/libm-test-ulps: Update.
51955 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
51956             Thomas Schwinge  <thomas@codesourcery.com>
51958         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
51959         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
51960         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
51961         fanotify_mark.
51963 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
51965         * sysdeps/mach/start.c: Remove file.
51966         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
51967         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
51968         * sysdeps/sh/init-first.c: Likewise.
51970         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
51971         registers for frame unwinding purposes, add CFI directives.
51972         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
51973         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
51974         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
51975         Likewise.
51977         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
51978         __fortify_fail returning.
51979         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
51981         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
51982         sysdeps/sh/____longjmp_chk.S.
51983         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
51984         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
51985         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
51986         (gen-as-const-headers): Append sigaltstack-offsets.sym.
51988         * sysdeps/sh/abort-instr.h: New file.
51989         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
51990         process in case exit returns.
51992         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
51993         initialize the GOT register before use.
51995         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
51996         calculation of ARGC > 4.
51998         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
51999         meaningful names to some local labels.
52001 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52002             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52004         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52005         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52006         (__arch_compare_and_exchange_val_16_acq): Likewise.
52007         (__arch_compare_and_exchange_val_32_acq): Likewise.
52008         (atomic_exchange_and_add): Fix gUSA sequence.
52009         (atomic_add): Likewise.
52010         (atomic_add_negative): Likewise.
52011         (atomic_add_zero): Likewise.
52012         (atomic_bit_test_set): Likewise.
52014 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52016         [BZ #13579]
52017         * include/link.h (struct link_map): Add l_free_initfini.
52018         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52019         l_initfini.
52020         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52021         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52022         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52023         set.
52025 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52027         * configure.in: Use AC_LANG_SOURCE.
52028         * configure: Regenerate.
52030 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52032         * configure.in (libc_cv_localstatedir): New substituted variable.
52033         * configure: Regenerated.
52034         * config.make.in (localstatedir): New variable, substituted from
52035         libc_cv_localstatedir.
52036         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52037         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52038         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52039         * sysdeps/gnu/configure: Regenerated.
52041 2012-06-21  Jeff Law  <law@redhat.com>
52043         [BZ #14277]
52044         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52045         free.  Simplify list management for _LIBC case.
52047 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52049         [BZ #14273]
52050         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52051         Clear sign bit of 64-bit integer value before comparing against
52052         overflow value.
52054         * sysdeps/mach/configure: Regenerated.
52056 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52058         [BZ #14278]
52059         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52061 2012-06-21  Jeff Law  <law@redhat.com>
52063         [BZ #13882]
52064         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52065         uint16_t for elements in the "seen" array to avoid char overflows.
52066         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52067         * elf/dl-open.c (dl_open_worker): Likewise.
52069 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52071         * scripts/list-sources.sh: Scan PORTS for translations.
52072         * po/libc.pot: Regenerated.
52074 2012-06-21  Andreas Jaeger  <aj@suse.de>
52076         [BZ #12194]
52077         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52078         warning.
52079         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52080         * bits/byteswap-16.h (__bswap_16): Likewise.
52081         * bits/byteswap.h (__bswap_constant_16): Likewise.
52083 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52085         [BZ #14117]
52086         * sysdeps/i386/fpu_control.h: Removed.
52087         * sysdeps/x86_64/fpu_control.h: Moved to ...
52088         * sysdeps/x86/fpu_control.h: Here.
52090         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52091         (_FPU_SETCW): Likewise.
52093 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52095         [BZ #14117]
52096         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52097         * sysdeps/x86/fpu/bits/mathinline.h: This.
52098         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52100         [BZ #14050]
52101         [BZ #14117]
52102         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52103         functions if __x86_64__ is defined.
52105 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52107         * string/endian.h: Add !__ASSEMBLER__ condition for including
52108         conversion interfaces.
52110 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52112         [BZ #14241]
52113         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52114         of ABS(x) in calculating zero to negative powers other than odd
52115         integers.
52116         * math/libm-test.inc (pow_test): Add more tests.
52118 2012-06-15  Andreas Jaeger  <aj@suse.de>
52120         * manual/contrib.texi (Contributors): Update entry of Liubov
52121         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52122         Machado Filho.
52124 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52126         * string/string.h: Add __wur to GNU version of strerror_r.
52128 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52130         [BZ #14229]
52131         * string/Makefile (tests): Add tst-strtok_r.
52132         * string/tst-strtok_r.c: New file.
52133         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52134         RAX_LP/RDX_LP on SAVE_PTR.
52136 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52138         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52140 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52142         * libm_test.inc (csqrt_test): Allow more spurious underflow
52143         exceptions.
52144         (j0_test): Likewise.
52145         (j1_test): Likewise.
52146         (y0_test): Likewise.
52147         (y1_test): Likewise.
52149 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52151         * po/Makefile (libc.pot): Use UTF-8 charset.
52153 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52155         [BZ #14210]
52156         Suppress sign-conversion warning from FD_SET.
52157         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52158         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52159         not unsigned long int.
52160         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52162 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52164         [BZ #14050]
52165         [BZ #14117]
52166         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52167         __extern_always_inline instead of __extern_inline.
52168         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52169         (__signbit): Likewise.
52170         (__signbitl): Support C++ namespace.
52171         (lrintf): New inline function.
52172         (lrint): Likewise.
52173         (llrintf): Likewise.
52174         (llrint): Likewise.
52175         (fmaxf): Likewise.
52176         (fmax): Likewise.
52177         (fminf): Likewise.
52178         (fmin): Likewise.
52179         (rint): Likewise.
52180         (rintf): Likewise.
52181         (ceil): Likewise.
52182         (ceilf): Likewise.
52183         (floor): Likewise.
52184         (floorf): Likewise.
52185         (nearbyint): Likewise.
52186         (nearbyintf): Likewise.
52188 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
52190         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
52191         non-default versions.
52193 2012-06-11  Roland McGrath  <roland@hack.frob.com>
52195         [BZ #14218]
52196         * manual/argp.texi (Argp): Reword argp_parse description slightly.
52198 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
52200         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
52201         (FE_UPWARD, FE_DOWNWARD): Don't define.
52202         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
52203         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52205         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
52206         reading it.
52207         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52208         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52210 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52212         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52213         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
52214         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
52215         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
52217 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
52219         [BZ #14117]
52220         * sysdeps/i386/fpu/bits/fenv.h: Removed.
52221         * sysdeps/i386/fpu/Implies: New file.
52222         * sysdeps/x86_64/fpu/Implies: Likewise.
52223         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
52224         * sysdeps/x86/fpu/bits/fenv.h: This.
52226         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
52227         __SSE_MATH__.
52229 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52231         [BZ #14134]
52232         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
52233         character 0xffff that matches the last element of the
52234         conversion table.
52236 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52238         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
52239         fmodl commit.
52241 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52243         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
52244         values higher than 25.6283.
52246 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52248         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
52249         subnormal exponent extraction and add some __builtin_expect.
52250         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
52251         Fix for subnormal mantissa calculation.
52253 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
52255         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
52256         cpu2 is -1 and errno is not ENOSYS.
52258 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
52260         [BZ #14117]
52261         * sysdeps/i386/i486/bits/string.h: Renamed to ...
52262         * sysdeps/x86/bits/string.h: This.
52263         * sysdeps/x86_64/bits/string.h: Removed.
52265         * sysdeps/i386/i486/bits/string.h: Define inline functions only
52266         if not compiling for x86-64, but compiling for >= i486.
52268         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
52269         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
52271         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
52272         New macro from Linux kernel 3.4.0.
52273         (FP_XSTATE_MAGIC2): Likewise.
52274         (FP_XSTATE_MAGIC2_SIZE): Likewise.
52275         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
52276         (struct _fpx_sw_bytes): New struct.
52277         (struct _xsave_hdr): Likewise.
52278         (struct _ymmh_state): Likewise.
52279         (struct _xstate): Likewise.
52281         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
52282         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
52283         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
52284         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
52285         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
52286         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
52288         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
52289         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
52290         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
52291         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
52292         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
52293         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
52295 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52297         [BZ #13743]
52298         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
52299         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
52300         (sysdep_headers): Include sys/platform/ppc.h.
52301         * sysdeps/powerpc/test-gettimebase.c: Test for
52302         __ppc_get_timebase() to catch future ISA opcode/insn changes.
52303         * manual/Makefile (appendices): Include platform.texi.
52304         * manual/contrib.texi (Contributors): Update @node pointers.
52305         * manual/maint.texi (Maintenance): Likewise.
52306         (Platform): New node.
52307         * manual/platform.texi: New file.  Document the new features.
52309 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52310             Jakub Jelinek  <jakub@redhat.com>
52312         [BZ #14188]
52313         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
52314         where __builtin_expect is unavailable.
52316 2012-06-03  David S. Miller  <davem@davemloft.net>
52318         * stdlib/longlong.h: Updated from GCC.
52320 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
52322         [BZ #14042]
52323         * sysdeps/powerpc/powerpc32/mcount.c: New file.
52324         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
52325         __mcount_internal.
52326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52327         (GLIBC_2.16): Likewise.
52329 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52331         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
52333 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
52336         (default-abi): New variable.
52337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
52338         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
52339         variable.
52340         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
52341         Likewise.
52342         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
52343         Likewise.
52344         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
52345         Likewise.
52347         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
52348         definition.  Document in comment.
52350 2012-06-01  David S. Miller  <davem@davemloft.net>
52352         * stdlib/longlong.h: Updated from GCC.
52354 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52356         [BZ #14117]
52357         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
52358         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
52359         sys/debugreg.h sys/io.h here.
52360         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
52361         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
52362         sys/io.h.
52363         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
52364         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
52365         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
52366         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
52367         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
52368         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
52370         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
52371         Define only if __x86_64__ is defined.
52373 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
52375         [BZ #14048]
52376         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
52377         Use int64_t for variable i.
52378         * math/libm-test.inc (fmod_test): Add more tests.
52380         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
52381         z computation is not scheduled after fetestexcept.
52382         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
52383         Use math_force_eval instead of asm to ensure calculation scheduled
52384         before exception test.
52385         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
52386         Ensure a1 + u.d computation is not scheduled after fetestexcept.
52388 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
52390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
52391         computation is not scheduled after fetestexcept.
52393 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
52395         [BZ #14117]
52396         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
52397         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
52399 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52401         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
52402         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52404 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52406         [BZ #14117]
52407         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
52408         <bits/wordsize.h>.
52409         (__WCHAR_MIN): Support __WORDSIZE == 64.
52410         (__WCHAR_MAX): Likewise.
52412         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
52413         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
52415         [BZ #14183]
52416         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
52417         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
52419         [BZ #14117]
52420         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
52421         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
52423         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
52424         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
52426         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
52427         Defined to 1 if __x86_64__ isn't defined.
52428         (_STAT_VER_LINUX_OLD): New.
52429         (st_atime): Remove duplicate.
52430         (st_mtime): Likewise.
52431         (st_ctime): Likewise.
52433 2012-05-31  David S. Miller  <davem@davemloft.net>
52435         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
52436         entries.
52438 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
52440         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
52441         gen-libm-test.pl.
52443         [BZ #14132]
52444         * elf/dl-reloc.c: Include <_itoa.h>.
52445         (_dl_reloc_bad_type): Remove use of INTUSE.
52446         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
52447         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
52448         * stdio-common/psiginfo.c (psiginfo): Likewise.
52449         * stdio-common/psignal.c (psignal): Likewise.
52450         * string/strsignal.c (strsignal): Likewise.
52451         * include/signal.h (_sys_siglist): Declare hidden proto.
52452         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
52453         INTVARDEF with libc_hidden_data_def.
52454         * stdio-common/itoa-udigits.c: Likewise.
52455         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
52456         (_itoa_lower_digits_internal): Remove declaration.
52457         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
52458         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
52459         (_sys_sigabbrev_internal): Remove aliases.
52460         (_sys_siglist): Define hidden alias.
52462 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
52464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52465         bits/sysctl.h.
52467 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
52469         [BZ #14117]
52470         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
52471         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
52473         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
52474         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
52475         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
52476         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
52477         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
52478         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
52480         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
52481         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
52482         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
52484         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
52485         with __addr.
52486         (insw): Likewise.
52487         (insl): Likewise.
52488         (outsb): Likewise.
52489         (outsw): Likewise.
52490         (outsl): Likewise.
52492         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
52493         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
52494         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
52496         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
52497         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
52498         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
52499         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
52500         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
52501         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
52503         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
52504         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
52506         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
52507         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
52509         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
52510         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
52511         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
52513         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
52514         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
52515         to ...
52516         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
52518         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
52519         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
52520         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
52522         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
52523         for x86-64.
52524         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
52526 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
52528         * math/math.h (M_El): Use two more decimal places.
52529         (M_LOG2El): Likewise.
52530         (M_LOG10El): Likewise.
52531         (M_LN2l): Likewise.
52532         (M_LN10l): Likewise.
52533         (M_PIl): Likewise.
52534         (M_PI_2l): Likewise.
52535         (M_PI_4l): Likewise.
52536         (M_1_PIl): Likewise.
52537         (M_2_PIl): Likewise.
52538         (M_2_SQRTPIl): Likewise.
52539         (M_SQRT2l): Likewise.
52540         (M_SQRT1_2l): Likewise.
52542 2012-05-31  David S. Miller  <davem@davemloft.net>
52544         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
52545         values between float registers.
52546         * sysdeps/sparc/sparc64/memset.S: Likewise.
52547         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52549 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
52551         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
52552         -D_FORTIFY_SOURCE=1.
52553         (CPPFLAGS-tst-longjmp_chk.c): Define.
52554         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
52555         (CPPFLAGS-tst-longjmp_chk2.c): Define.
52556         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
52557         CFLAGS-tst-wchar-h.c.
52559 2012-05-31  Marek Polacek  <polacek@redhat.com>
52561         [BZ #14132]
52562         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
52563         __endmntent_internal): Remove declaration.
52564         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
52565         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
52566         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
52568 2012-05-30  David S. Miller  <davem@davemloft.net>
52570         * sysdeps/sparc/sparc32/soft-fp/q_util.c
52571         (___Q_simulate_exceptions): Use real FP ops rather than writing
52572         into the %fsr.
52573         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
52574         Likewise.
52576 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52578         [BZ #14117]
52579         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
52580         * sysdeps/x86/bits/xtitypes.h: This.
52582         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
52583         * sysdeps/x86/bits/wordsize.h: This.
52585         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
52586         * sysdeps/x86/bits/huge_vall.h: This.
52588         * sysdeps/i386/bits/select.h: Removed.
52589         * sysdeps/x86_64/bits/select.h: Renamed to ...
52590         * sysdeps/x86/bits/select.h: This.
52592         * sysdeps/i386/bits/setjmp.h: Removed.
52593         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
52594         * sysdeps/x86/bits/setjmp.h: This.
52596         * sysdeps/i386/bits/mathdef.h: Removed.
52597         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
52598         * sysdeps/x86/bits/mathdef.h: This.
52600 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
52602         [BZ #14132]
52603         * include/sys/socket.h (__connect_internal)
52604         (__libc_sa_len_internal): Remove declaration.
52605         (__connect, __libc_sa_len): Declare hidden_proto.
52606         (SA_LEN): Remove use of INTUSE.
52607         * socket/connect.c: Add libc_hidden_def.
52608         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
52609         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
52610         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
52611         alias.
52612         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
52613         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
52614         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
52615         of adding _internal alias.
52617 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52619         [BZ #14117]
52620         * sysdeps/i386/bits/link.h: Removed.
52621         * sysdeps/i386/bits/linkmap.h: Likewise.
52622         * sysdeps/x86_64/bits/link.h: Renamed to ...
52623         * sysdeps/x86/bits/link.h: This.
52624         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
52625         * sysdeps/x86/bits/linkmap.h: This.
52627         * sysdeps/i386/bits/endian.h: Removed.
52628         * sysdeps/x86_64/bits/endian.h: Renamed to ...
52629         * sysdeps/x86/bits/endian.h: This.
52631         * sysdeps/i386/bits/byteswap.h: Removed.
52632         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52633         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
52634         * sysdeps/x86/bits/byteswap.h: This.
52635         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
52636         * sysdeps/x86/bits/byteswap-16.h: This.
52637         * sysdeps/i386/Implies: Add x86.
52638         * sysdeps/x86_64/Implies: Likewise.
52640 2012-05-30  David S. Miller  <davem@davemloft.net>
52642         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
52643         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
52644         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
52645         (FP_TRAPPING_EXCEPTIONS): Define.
52646         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
52647         (FP_TRAPPING_EXCEPTIONS): Define.
52648         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
52649         subnormals only when inexact has been signalled or underflow
52650         exceptions are enabled.
52651         (_FP_PACK_CANONICAL): Likewise.
52653 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52655         [BZ #14183]
52656         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
52657         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
52659 2012-05-30  Richard Henderson  <rth@twiddle.net>
52661         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
52662         with #ifndef NOT_IN_libc.
52664         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
52665         marked to avoid plt entry.
52667 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
52669         [BZ #14112]
52670         * Makeconfig (default-abi): New macro.
52671         (abi-includes): Likewise.
52672         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
52673         $(abi-$(default-abi)-lib-soname) for soname if defined.
52674         ($(common-objpfx)gnu/lib-names.stmp): Generate from
52675         abi-variants.
52676         * Makefile (installed-stubs): Likewise.
52677         * include/stubs-biarch.h: Removed.
52678         * scripts/lib-names.awk: Only handle one library at a time.
52679         * scripts/soversions.awk: Remove WORDSIZE support.
52680         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
52681         entries.
52682         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
52683         Removed.
52684         (syscall-list-default-condition): Likewise.
52685         (syscall-list-default-condition): Likewise.
52686         (syscall-list-includes): Likewise.
52687         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
52688         syscall-list-* with abi-*.  Handle undefined abi-variants.
52689         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
52690         * sysdeps/unix/sysv/linux/i386/Implies: New file.
52691         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
52692         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
52693         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
52694         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
52695         Removed.
52696         (syscall-list-32-options): Likewise.
52697         (syscall-list-32-condition): Likewise.
52698         (syscall-list-64-options): Likewise.
52699         (syscall-list-64-condition): Likewise.
52700         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
52701         macro.
52702         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
52703         Renamed to ...
52704         (abi-*): This.
52705         (abi-64-ld-soname): New macro.
52706         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
52707         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
52708         Renamed to ...
52709         (abi-*): This.
52710         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
52711         * sysdeps/x86_64/x32/shlib-versions: Likewise.
52713 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
52715         * sysdeps/unix/sysv/linux/kernel-features.h
52716         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
52717         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
52718         include <kernel-features.h>.
52719         [!__NR_ftruncate64]: Remove conditional code.
52720         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52721         [__NR_ftruncate64]: Make code unconditional.
52722         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52723         * sysdeps/unix/sysv/linux/truncate64.c: Do not
52724         include <kernel-features.h>.
52725         [!__NR_ftruncate64]: Remove conditional code.
52726         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52727         [__NR_ftruncate64]: Make code unconditional.
52728         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
52730         include <kernel-features.h>.
52731         [!__NR_ftruncate64]: Remove conditional code.
52732         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52733         [__NR_ftruncate64]: Make code unconditional.
52734         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52736         include <kernel-features.h>.
52737         [!__NR_ftruncate64]: Remove conditional code.
52738         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52739         [__NR_ftruncate64]: Make code unconditional.
52740         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
52742         * configure.in (libc_cv_fpie): Weaken to a compile test using
52743         LIBC_TRY_CC_OPTION.
52744         * configure: Regenerated.
52746 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
52749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
52750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
52751         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52752         Refreshed.
52753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
52754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
52755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
52756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
52757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
52758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52759         Refreshed.
52761 2012-05-27  David S. Miller  <davem@davemloft.net>
52763         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
52764         (___Q_zero): New.
52765         (__Q_simulate_exceptions): Return void.  Change to simulate
52766         exceptions by writing into the %fsr.
52767         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
52768         (__Qp_handle_exceptions): Likewise.
52769         (numbers): Delete.
52770         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
52771         __Qp_handle_exceptions.
52772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
52773         __Qp_handle_exceptions.
52774         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52775         as unused and give dummy FP_RND_NEAREST initializer.
52776         (FP_INHIBIT_RESULTS): Define.
52777         (___Q_simulate_exceptions): Update declaration.
52778         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
52779         formatting.
52780         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
52781         as unused and give dummy FP_RND_NEAREST initializer.
52782         (__Qp_handle_exceptions): Update declaration.
52783         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
52784         formatting.
52786 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
52788         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
52789         the temporary FPU control word.
52790         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52791         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
52792         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
52793         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
52794         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
52795         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
52796         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
52797         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
52798         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
52799         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
52800         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52802 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52804         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
52805         fields.
52807 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
52809         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
52810         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
52811         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
52812         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
52813         Likewise.
52814         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
52815         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
52816         Likewise.
52818 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
52820         * po/h.po: Update from translation team.
52822 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
52824         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
52826         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
52827         handling of denormals.
52828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
52829         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
52830         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
52831         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
52832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52833         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
52834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
52835         Likewise.
52837 2012-05-26  Marek Polacek  <polacek@redhat.com>
52839         [BZ #14152]
52840         * math/libm-test.inc (fma_test): Don't always expect underflow
52841         exception.
52843 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52845         [BZ #12416]
52846         * elf/tst-execstack.c: Include stackinfo.h.
52847         (do_test): Adjust test case to ensure that pthread_getattr_np
52848         behaviour remains the same after marking stack executable.
52850 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
52852         * sysdeps/unix/sysv/linux/kernel-features.h
52853         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
52854         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
52855         kernel-features.h.
52856         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52857         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52858         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
52859         kernel-features.h.
52860         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
52861         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
52863 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
52865         * configure.in: Define the default includes to being none.
52866         * configure: Regenerated.
52868 2012-05-25  Roland McGrath  <roland@hack.frob.com>
52870         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
52871         * sysdeps/x86_64/setjmp.S: Likewise.
52872         * sysdeps/i386/bsd-setjmp.S: Likewise.
52873         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52874         * sysdeps/i386/setjmp.S: Likewise.
52875         * sysdeps/i386/__longjmp.S: Likewise.
52876         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
52877         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
52879         * include/stap-probe.h: New file.
52880         * configure.in: Handle --enable-systemtap.
52881         * configure: Regenerated.
52882         * config.h.in (USE_STAP_PROBE): New #undef.
52883         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
52884         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
52885         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
52887 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
52889         [BZ #13717]
52890         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52891         to 2.4.0 where earlier.
52892         * sysdeps/unix/sysv/linux/configure: Regenerated.
52893         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52894         <kernel-features.h>.
52895         [__ASSUME_32BITUIDS]: Make code unconditional.
52896         [!__ASSUME_32BITUIDS]: Remove conditional code.
52897         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
52898         <kernel-features.h>.
52899         [__ASSUME_32BITUIDS]: Make code unconditional.
52900         [!__ASSUME_32BITUIDS]: Remove conditional code.
52901         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
52902         [__ASSUME_32BITUIDS]: Make code unconditional.
52903         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
52904         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
52905         <kernel-features.h>.
52906         [__ASSUME_32BITUIDS]: Make code unconditional.
52907         [!__ASSUME_32BITUIDS]: Remove conditional code.
52908         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
52909         <kernel-features.h>.
52910         [__ASSUME_32BITUIDS]: Make code unconditional.
52911         [!__ASSUME_32BITUIDS]: Remove conditional code.
52912         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
52913         <kernel-features.h>.
52914         [__ASSUME_32BITUIDS]: Make code unconditional.
52915         [!__ASSUME_32BITUIDS]: Remove conditional code.
52916         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
52917         <kernel-features.h>.
52918         [__ASSUME_32BITUIDS]: Make code unconditional.
52919         [!__ASSUME_32BITUIDS]: Remove conditional code.
52920         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52921         <kernel-features.h>.
52922         [__ASSUME_32BITUIDS]: Make code unconditional.
52923         [!__ASSUME_32BITUIDS]: Remove conditional code.
52924         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52925         <kernel-features.h>.
52926         [__ASSUME_32BITUIDS]: Make code unconditional.
52927         [!__ASSUME_32BITUIDS]: Remove conditional code.
52928         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
52929         <kernel-features.h>.
52930         [__ASSUME_32BITUIDS]: Make code unconditional.
52931         [!__ASSUME_32BITUIDS]: Remove conditional code.
52932         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52933         <kernel-features.h>.
52934         [__ASSUME_32BITUIDS]: Make code unconditional.
52935         [!__ASSUME_32BITUIDS]: Remove conditional code.
52936         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52937         <kernel-features.h>.
52938         [__ASSUME_32BITUIDS]: Make code unconditional.
52939         [!__ASSUME_32BITUIDS]: Remove conditional code.
52940         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
52941         <kernel-features.h>.
52942         [__ASSUME_32BITUIDS]: Make code unconditional.
52943         [!__ASSUME_32BITUIDS]: Remove conditional code.
52944         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
52945         <kernel-features.h>.
52946         [__NR_setresgid] (__setresgid): Do not declare.
52947         [__ASSUME_32BITUIDS]: Make code unconditional.
52948         [!__ASSUME_32BITUIDS]: Remove conditional code.
52949         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
52950         <kernel-features.h>.
52951         [__NR_setresuid] (__setresuid): Do not declare.
52952         [__ASSUME_32BITUIDS]: Make code unconditional.
52953         [!__ASSUME_32BITUIDS]: Remove conditional code.
52954         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
52955         <kernel-features.h>.
52956         [__ASSUME_32BITUIDS]: Make code unconditional.
52957         [!__ASSUME_32BITUIDS]: Remove conditional code.
52958         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
52959         <kernel-features.h>.
52960         [__ASSUME_32BITUIDS]: Make code unconditional.
52961         [!__ASSUME_32BITUIDS]: Remove conditional code.
52962         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
52963         <kernel-features.h>.
52964         [__ASSUME_32BITUIDS]: Make code unconditional.
52965         [!__ASSUME_32BITUIDS]: Remove conditional code.
52966         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
52967         <kernel-features.h>.
52968         [__ASSUME_32BITUIDS]: Make code unconditional.
52969         [!__ASSUME_32BITUIDS]: Remove conditional code.
52970         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
52971         <kernel-features.h>.
52972         [__ASSUME_32BITUIDS]: Make code unconditional.
52973         [!__ASSUME_32BITUIDS]: Remove conditional code.
52974         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
52975         <kernel-features.h>.
52976         [__ASSUME_32BITUIDS]: Make code unconditional.
52977         [!__ASSUME_32BITUIDS]: Remove conditional code.
52978         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
52979         <kernel-features.h>.
52980         [__ASSUME_32BITUIDS]: Make code unconditional.
52981         [!__ASSUME_32BITUIDS]: Remove conditional code.
52982         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
52983         <kernel-features.h>.
52984         [__ASSUME_32BITUIDS]: Make code unconditional.
52985         [!__ASSUME_32BITUIDS]: Remove conditional code.
52986         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
52987         <kernel-features.h>.
52988         [__ASSUME_32BITUIDS]: Make code unconditional.
52989         [!__ASSUME_32BITUIDS]: Remove conditional code.
52990         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52991         <kernel-features.h>.
52992         [__ASSUME_32BITUIDS]: Make code unconditional.
52993         [!__ASSUME_32BITUIDS]: Remove conditional code.
52994         * sysdeps/unix/sysv/linux/kernel-features.h
52995         (__ASSUME_SETRESUID_SYSCALL): Remove.
52996         (__ASSUME_SETRESGID_SYSCALL): Likewise.
52997         (__ASSUME_32BITUIDS): Likewise.
52998         (__ASSUME_LDT_WORKS): Likewise.
52999         (__ASSUME_O_DIRECTORY): Likewise.
53000         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53001         architecture but not kernel version.
53002         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53003         (__ASSUME_MMAP2_SYSCALL): Likewise.
53004         (__ASSUME_STAT64_SYSCALL): Likewise.
53005         (__ASSUME_IPC64): Likewise.
53006         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53007         <kernel-features.h>.
53008         [__ASSUME_32BITUIDS]: Make code unconditional.
53009         [!__ASSUME_32BITUIDS]: Remove conditional code.
53010         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53011         <kernel-features.h>.
53012         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53013         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53014         132096]: Remove conditional code.
53015         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53016         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53017         <kernel-features.h>.
53018         [__ASSUME_32BITUIDS]: Make code unconditional.
53019         [!__ASSUME_32BITUIDS]: Remove conditional code.
53020         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53021         <kernel-features.h>.
53022         [__ASSUME_32BITUIDS]: Make code unconditional.
53023         [!__ASSUME_32BITUIDS]: Remove conditional code.
53024         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53025         <kernel-features.h>.
53026         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53027         unconditional.
53028         (__setresgid): Do not declare.
53029         [__ASSUME_32BITUIDS]: Make code unconditional.
53030         [!__ASSUME_32BITUIDS]: Remove conditional code.
53031         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53032         <kernel-features.h>.
53033         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53034         unconditional.
53035         (__setresuid): Do not declare.
53036         [__ASSUME_32BITUIDS]: Make code unconditional.
53037         [!__ASSUME_32BITUIDS]: Remove conditional code.
53038         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53039         <kernel-features.h>.
53040         [__ASSUME_32BITUIDS]: Make code unconditional.
53041         [!__ASSUME_32BITUIDS]: Remove conditional code.
53042         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53043         <kernel-features.h>.
53044         [__ASSUME_32BITUIDS]: Make code unconditional.
53045         [!__ASSUME_32BITUIDS]: Remove conditional code.
53047 2012-05-25  Richard Henderson  <rth@twiddle.net>
53049         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53050         dl_hwcap to ifunc resolver.
53051         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53052         elf_ifunc_invoke.
53053         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53054         dl_hwcap to ifunc resolver.
53055         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53057 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53059         [BZ #14153]
53060         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53061         for |x| <= 2**-26, not 2**-57.
53062         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53063         exception.
53065 2012-05-24  Jeff Law  <law@redhat.com>
53067         * stdio-common/Makefile (tests): Add bug25.
53068         * stdio-common/bug25.c: New test.
53070 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53072         [BZ #13576]
53073         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53074         multiple of MALLOC_ALIGNMENT in size.
53075         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53077 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53079         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53080         Require >= 256.
53081         (FILENAME_MAX): Use macro-int-constant.
53082         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53083         (_IOFBF): Use macro-int-constant.
53084         (_IOLBF): Likewise.
53085         (_IONBF): Likewise.
53086         (SEEK_CUR): Likewise.
53087         (SEEK_END): Likewise.
53088         (SEEK_SET): Likewise.
53089         (TMP_MAX): Likewise.
53090         (EOF): Use macro-int-constant.  Require < 0.
53091         (NULL): Use macro-constant.  Require == 0.
53092         (stdin): Require type to be FILE *.
53093         (stdout): Likewise.
53094         (stderr): Likewise.
53095         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53096         macro-int-constant.
53097         (EXIT_SUCCESS): Likewise.
53098         (NULL): Use macro-constant.  Require == 0.
53099         (RAND_MAX): Use macro-int-constant.
53100         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53101         [C99-based standards] (strtof): Require function.
53102         [C99-based standards] (strtold): Likewise.
53103         [C99-based standards] (strtoll): Likewise.
53104         [C99-based standards] (strtoull): Likewise.
53105         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53106         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53107         [ISO || ISO99 || ISO11] (math.h): Likewise.
53108         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53109         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53110         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53112 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53114         [BZ #14132]
53115         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53116         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53117         * intl/dgettext.c (DCGETTEXT): Likewise.
53118         * intl/gettext.c (DCGETTEXT): Likewise.
53119         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53120         * posix/regex_internal.h (gettext): Likewise.
53121         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53122         Remove declaration.
53123         * include/argz.h (__argz_count_internal)
53124         (__argz_stringify_internal): Remove declaration.
53125         (__argz_count, __argz_stringify): Declare hidden proto.
53126         * intl/dcgettext.c: Remove use of INTDEF.
53127         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53128         * string/argz-stringify.c: Likewise.
53129         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53130         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53131         Declare hidden proto.
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/stdio.h (__asprintf_internal): Don't declare.
53136         (__asprintf): Don't define as macro.  Declare hidden proto.
53137         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53138         (__fsetlocking): Declare hidden proto.
53139         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53140         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53141         hidden proto.
53142         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53143         (_IO_setlinebuf): Remove use of INTUSE.
53144         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53145         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53146         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53147         Remove declaration.
53148         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53149         (_IO_do_flush): Remove use of INTUSE.
53150         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53151         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53152         (_IO_adjust_column, _IO_least_wmarker)
53153         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53154         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53155         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53156         (_IO_default_doallocate, _IO_wdefault_doallocate)
53157         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53158         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53159         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53160         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53161         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53162         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53163         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53164         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53165         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53166         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53167         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53168         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53169         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53170         proto.
53171         (_IO_flush_all_internal, _IO_adjust_column_internal)
53172         (_IO_default_uflow_internal, _IO_default_finish_internal)
53173         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53174         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53175         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
53176         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
53177         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
53178         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
53179         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
53180         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
53181         (_IO_file_close_internal, _IO_file_close_it_internal)
53182         (_IO_file_underflow_internal, _IO_file_overflow_internal)
53183         (_IO_file_init_internal, _IO_file_attach_internal)
53184         (_IO_file_fopen_internal, _IO_file_read_internal)
53185         (_IO_file_sync_internal, _IO_file_seek_internal)
53186         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
53187         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
53188         (_IO_str_underflow_internal, _IO_str_overflow_internal)
53189         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
53190         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
53191         (_IO_list_all_internal, _IO_link_in_internal)
53192         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
53193         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
53194         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
53195         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
53196         (_IO_do_write_internal, _IO_padn_internal)
53197         (_IO_getline_info_internal, _IO_getline_internal)
53198         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
53199         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
53200         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
53201         (_IO_vfscanf_internal, _IO_vfprintf_internal)
53202         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
53203         (_IO_init_internal, _IO_un_link_internal): Don't declare.
53204         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
53205         with libc_hidden_ver, remove use of INTUSE.
53206         * libio/genops.c: Likewise.
53207         * libio/freopen.c: Likewise.
53208         * libio/freopen64.c: Likewise.
53209         * libio/iofclose.c: Likewise.
53210         * libio/iofdopen.c: Likewise.
53211         * libio/iofflush.c: Likewise.
53212         * libio/iofflush_u.c: Likewise.
53213         * libio/iofgets.c: Likewise.
53214         * libio/iofgets_u.c: Likewise.
53215         * libio/iofopen.c: Likewise.
53216         * libio/iofopncook.c: Likewise.
53217         * libio/iofread.c: Likewise.
53218         * libio/iofread_u.c: Likewise.
53219         * libio/ioftell.c: Likewise.
53220         * libio/iofwrite.c: Likewise.
53221         * libio/iogetline.c: Likewise.
53222         * libio/iogets.c: Likewise.
53223         * libio/iogetwline.c: Likewise.
53224         * libio/iopadn.c: Likewise.
53225         * libio/iopopen.c: Likewise.
53226         * libio/ioseekoff.c: Likewise.
53227         * libio/ioseekpos.c: Likewise.
53228         * libio/iosetbuffer.c: Likewise.
53229         * libio/iosetvbuf.c: Likewise.
53230         * libio/ioungetc.c: Likewise.
53231         * libio/ioungetwc.c: Likewise.
53232         * libio/iovdprintf.c: Likewise.
53233         * libio/iovsprintf.c: Likewise.
53234         * libio/iovsscanf.c: Likewise.
53235         * libio/memstream.c: Likewise.
53236         * libio/obprintf.c: Likewise.
53237         * libio/oldfileops.c: Likewise.
53238         * libio/oldiofclose.c: Likewise.
53239         * libio/oldiofdopen.c: Likewise.
53240         * libio/oldiofopen.c: Likewise.
53241         * libio/oldiopopen.c: Likewise.
53242         * libio/oldstdfiles.c: Likewise.
53243         * libio/putc.c: Likewise.
53244         * libio/setbuf.c: Likewise.
53245         * libio/setlinebuf.c: Likewise.
53246         * libio/stdfiles.c: Likewise.
53247         * libio/strops.c: Likewise.
53248         * libio/vasprintf.c: Likewise.
53249         * libio/vscanf.c: Likewise.
53250         * libio/vsnprintf.c: Likewise.
53251         * libio/vswprintf.c: Likewise.
53252         * libio/wfiledoalloc.c: Likewise.
53253         * libio/wfileops.c: Likewise.
53254         * libio/wgenops.c: Likewise.
53255         * libio/wmemstream.c: Likewise.
53256         * libio/wstrops.c: Likewise.
53257         * libio/__fpurge.c: Likewise.
53258         * libio/__fsetlocking.c: Likewise.
53259         * assert/assert.c: Likewise.
53260         * debug/fgets_chk.c: Likewise.
53261         * debug/fgets_u_chk.c: Likewise.
53262         * debug/fread_chk.c: Likewise.
53263         * debug/fread_u_chk.c: Likewise.
53264         * debug/gets_chk.c: Likewise.
53265         * debug/obprintf_chk.c: Likewise.
53266         * debug/vasprintf_chk.c: Likewise.
53267         * debug/vdprintf_chk.c: Likewise.
53268         * debug/vsnprintf_chk.c: Likewise.
53269         * debug/vsprintf_chk.c: Likewise.
53270         * malloc/mtrace.c: Likewise.
53271         * misc/error.c: Likewise.
53272         * misc/syslog.c: Likewise.
53273         * stdio-common/asprintf.c: Likewise.
53274         * stdio-common/fxprintf.c: Likewise.
53275         * stdio-common/getw.c: Likewise.
53276         * stdio-common/isoc99_fscanf.c: Likewise.
53277         * stdio-common/isoc99_scanf.c: Likewise.
53278         * stdio-common/isoc99_vfscanf.c: Likewise.
53279         * stdio-common/isoc99_vscanf.c: Likewise.
53280         * stdio-common/isoc99_vsscanf.c: Likewise.
53281         * stdio-common/printf-prs.c: Likewise.
53282         * stdio-common/printf_fp.c: Likewise.
53283         * stdio-common/printf_fphex.c: Likewise.
53284         * stdio-common/printf_size.c: Likewise.
53285         * stdio-common/putw.c: Likewise.
53286         * stdio-common/scanf.c: Likewise.
53287         * stdio-common/sprintf.c: Likewise.
53288         * stdio-common/tmpfile.c: Likewise.
53289         * stdio-common/vfprintf.c: Likewise.
53290         * stdio-common/vfscanf.c: Likewise.
53291         * stdlib/strfmon_l.c: Likewise.
53292         * sunrpc/openchild.c: Likewise.
53293         * sunrpc/xdr_stdio.c: Likewise.
53294         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
53295         * sysdeps/mach/hurd/tmpfile.c: Likewise.
53297 2012-05-24  Roland McGrath  <roland@hack.frob.com>
53299         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53301         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
53302         in the third column, to generate for the shared library an IFUNC
53303         that uses _dl_vdso_vsym.
53304         * Makerules (COMPILE.c, compile-stdin.c): New variables.
53305         * Makeconfig (object-suffixes-noshared): New variable.
53307         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
53308         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
53309         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
53310         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
53312         [BZ #14132]
53313         * include/sys/time.h (__gettimeofday): Remove macro.
53314         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
53315         * time/gettimeofday.c (__gettimeofday): Remove #undef.
53316         Remove INTDEF.
53317         (__gettimeofday): Add libc_hidden_def.
53318         (gettimeofday): Add libc_hidden_weak.
53319         * sysdeps/mach/gettimeofday.c: Likewise.
53320         * sysdeps/posix/gettimeofday.c: Likewise.
53321         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
53322         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
53323         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
53324         (__gettimeofday_internal): Remove strong_alias.
53325         (__gettimeofday): Add libc_hidden_def.
53326         (gettimeofday): Add libc_hidden_weak.
53327         * sysdeps/unix/syscalls.list (gettimeofday):
53328         Remove __gettimeofday_internal alias.
53330 2012-05-24  Daniel Jacobowitz  <drow@false.org>
53331             H.J. Lu  <hongjiu.lu@intel.com>
53333         [BZ #12495]
53334         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
53335         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
53336         (largebin_index_32_big): New.
53337         (largebin_index): Use it for 16-byte alignment.
53338         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
53339         correction with front_misalign.
53341 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
53344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
53345         Likewise.
53346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
53347         Likewise.
53348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53349         Likewise.
53350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
53351         Likewise.
53352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
53353         Likewise.
53354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
53355         Likewise.
53356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
53357         Likewise.
53358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53359         Likewise.
53360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
53361         Likewise.
53362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
53363         Likewise.
53364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
53365         Likewise.
53366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
53367         Likewise.
53369         * scripts/data/c++-types-x32-linux-gnu.data: New file.
53370         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
53372 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53374         [BZ #10846]
53375         [BZ #14036]
53376         * math/libm-test.inc (exp_test): Add test from bug 14036.
53377         (pow_test): Add test from bug 10846.
53379         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
53380         and other flags.
53381         (special_function): Do not include flags in test name.
53382         (parse_args): Likewise.
53383         * sysdeps/i386/fpu/libm-test-ulps: Update.
53384         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53385         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53386         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53389         * math/gen-libm-test.pl (%beautify): Add entries for underflow
53390         exceptions.
53391         * math/libm-test.inc ("Philosophy"): Update comment about
53392         exception testing.
53393         (UNDERFLOW_EXCEPTION): New macro.
53394         (UNDERFLOW_EXCEPTION_OK): Likewise.
53395         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
53396         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
53397         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
53398         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
53399         (INVALID_EXCEPTION_OK): Update value.
53400         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53401         (OVERFLOW_EXCEPTION_OK): Likewise.
53402         (IGNORE_ZERO_INF_SIGN): Likewise.
53403         (test_exceptions): Handle underflow exceptions.
53404         (acos_test): Update for underflow exception expectations.
53405         (cexp_test): Likewise.
53406         (clog_test): Likewise.
53407         (clog10_test): Likewise.
53408         (csqrt_test): Likewise.
53409         (ctan_test): Likewise.
53410         (ctanh_test): Likewise.
53411         (exp_test): Likewise.
53412         (exp10_test): Likewise.
53413         (exp2_test): Likewise.
53414         (expm1_test): Likewise.
53415         (fma_test): Likewise.
53416         (j0_test): Likewise.
53417         (jn_test): Likewise.
53418         (nexttoward_test): Likewise.
53419         (pow_test): Likewise.
53420         (scalbn_test): Likewise.
53421         (scalbln_test): Likewise.
53422         (tan_test): Likewise.
53423         (y1_test): Likewise.
53424         * sysdeps/i386/fpu/libm-test-ulps: Update.
53425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53427 2012-05-23  David S. Miller  <davem@davemloft.net>
53429         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53430         (__libc_sigaction): Remove unused local variables.
53432 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53434         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
53436 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
53438         mktime: avoid signed integer overflow
53439         * time/mktime.c (__mktime_internal): Do not mishandle the case
53440         where diff == INT_MIN.
53442         mktime: simplify computation of average
53443         * time/mktime.c (ranged_convert): Use new time_t_avg function
53444         instead of rolling our own (probably-slower) code.
53446         mktime: do not assume signed right shift propagates sign bit
53447         * time/mktime.c (isdst_differ): New static function.
53448         (__mktime_internal): No need to normalize tm_isdst now.
53449         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
53450         tm_isdst values.
53452         mktime: merge another wrapv change from gnulib
53453         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
53454         from some compilers.
53456         mktime: remove incorrect attempt at unusual arithmetics
53457         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
53458         The code didn't really work on such machines anyway.
53459         (TYPE_MINIMUM): Assume two's complement.
53460         (twos_complement_arithmetic): Verify that long_int and time_t
53461         are two's complement (or unsigned, in the latter case).
53463         mktime: check signed shifts on long_int and time_t, too
53464         * time/mktime.c (SHR): Check that shifts work as desired
53465         on the types long_int and time_t too, as SHR is used on
53466         such types.
53468         mktime: do not assume 'long' is wide enough
53469         * time/mktime.c (verify): Move decl up.
53470         (long_int): New type.
53471         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
53472         to remove assumption in the code that 'long' is wide enough to
53473         store year values.  This assumption is not true on x32 and on
53474         some non-glibc platforms.
53476         mktime: merge wrapv change from gnulib
53477         * time/mktime.c (WRAPV): New macro.
53478         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
53479         (guess_time_tm, __mktime_internal): Do not assume that signed
53480         integer overflow wraps around; modern compilers generate code
53481         where this assumption is no longer valid.
53483 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53485         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53486         Replace "jmp L(pseudo_end)" with "ret".
53487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
53488         Likewise.
53490 2012-05-23  Andreas Jaeger  <aj@suse.de>
53492         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
53493         * sysdeps/unix/sysv/linux/poll.c: Remove file.
53495 2012-05-23  Andreas Jaeger  <aj@suse.de>
53496             Maximilian Attems  <max@stro.at>
53498         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
53499         New macros.
53501 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
53503         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
53504         code so that pseudo_end is just ret and the stack pointer is
53505         correct also for static library in error case.
53507 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
53509         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
53510         move to syscalls.list.
53511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
53512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
53513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
53514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
53516         * manual/install.texi (Running make install): Do not mention Linux
53517         kernel version for which pt_chown is not needed.
53518         (Linux): Do not mention problems with nscd with 2.0 kernels.
53519         * INSTALL: Regenerated.
53521 2012-05-23  Andreas Jaeger  <aj@suse.de>
53523         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
53524         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
53525         macro.
53526         * sysdeps/unix/sysv/linux/s390/bits/mman.h
53527         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53528         * sysdeps/unix/sysv/linux/sh/bits/mman.h
53529         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53530         * sysdeps/unix/sysv/linux/i386/bits/mman.h
53531         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53532         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
53533         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53534         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
53535         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
53536         * sysdeps/unix/sysv/linux/bits/in.h
53537         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
53539 2012-05-22  Roland McGrath  <roland@hack.frob.com>
53541         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
53542         (PREPARE_VERSION): Just use assert instead, it will be elided
53543         under [NDEBUG] anyway.
53545 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53547         * sysdeps/unix/sysv/linux/Makefile: Include
53548         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
53549         (sysdep_routines): Remove sysctl.
53550         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
53551         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
53552         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
53553         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
53554         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
53556 2012-05-22  Andreas Jaeger  <aj@suse.de>
53558         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
53559         that pseudo_end is just ret and the stack pointer is correct also
53560         for static library in error case.
53562 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
53564         [BZ #14122]
53565         * nss/nsswitch.c (defconfig_entries): New variable.
53566         (__nss_database_lookup): Don't leak defconfig entries.
53567         (nss_parse_service_list): Don't leak on error paths.
53568         (free_database_entries): New function.
53569         (free_defconfig): New function.
53570         (free_mem): Move common code to free_database_entries.
53572 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53574         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
53575         Add arch_prctl.
53576         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
53578         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
53579         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
53580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
53581         New macro.
53582         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
53583         (INTERNAL_SYSCALL_TYPES): Likewise.
53584         (LOAD_ARGS_TYPES_[1-6]): Likewise.
53585         (LOAD_REGS_TYPES_[1-6]): Likewise.
53586         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
53587         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
53589 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53591         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
53592         copysignl for GLIBC_2_0.
53593         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
53594         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
53595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
53596         logbl for GLIBC_2_0.
53597         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
53598         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
53600 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53602         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
53603         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
53605         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
53606         Use "neg %eax".
53608         * time/mktime.c: Update copyright years.
53610 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
53612         mktime: merge comment-quoting-style change from gnulib
53613         * time/mktime.c: Quote 'like this' in comments.
53614         The GNU coding standards suggest that we no longer quote `like this',
53615         as "`" and "'" are typically rendered asymmetrically nowadays.
53616         The typical gnulib style is to quote 'like this' when quoting
53617         code, and "like this" when quoting English.
53619         * time/mktime.c (compile-command): Add "-I.".
53621         mktime: merge mktime-internal.h change from gnulib
53622         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
53624         mktime: merge time_r change from gnulib
53625         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
53627         mktime: merge DEBUG change from gnulib
53628         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
53629         case system <time.h> has a #define.
53631         mktime: merge <sys/types.h> change from gnulib
53632         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
53633         since <time.t> is now guaranteed to define time_t.
53635         mktime: merge HAVE_CONFIG_H change from gnulib
53636         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
53638 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
53640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53641         Use "neg %eax".
53643         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
53644         __rlim_t cast.
53645         (struct rusage): Use anonymous union to pad each field to
53646         __syscall_slong_t.
53648 2012-05-21  David S. Miller  <davem@davemloft.net>
53650         * Makefules (o-iterator): Remove .s cases.
53651         (compile-command.s): Delete.
53652         (COMPILE.s): Delete.
53653         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
53655 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
53657         * configure.in (libc_cv_predef_stack_protector): Only consider
53658         "foobar" and "__stack_chk_fail" lines in libc_undefs.
53659         * configure: Regenerated.
53661 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
53664         New macro.  Use R*LP on int and pointer.
53665         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
53666         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
53667         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
53668         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
53670         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
53671         [__WORDSIZE_TIME64_COMPAT32] instead of
53672         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
53673         (struct utmp): Likewise.
53674         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
53675         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
53676         Renamed to ...
53677         (__WORDSIZE_TIME64_COMPAT32): This.
53678         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
53679         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
53680         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
53681         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
53682         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
53683         (__WORDSIZE_TIME64_COMPAT32): New macro.
53685 2012-05-21  Andreas Jaeger  <aj@suse.de>
53687         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
53688         only if [SHARED]. Add prototype for __wcschr_ia32.
53690 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53692         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
53693         of %rbp unmolested in the jmp_buf while mangling the low bits.
53694         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
53695         unmolested high bits of %rbp while demangling the low bits.
53696         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53698 2012-05-21  Andreas Jaeger  <aj@suse.de>
53700         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
53701         * sunrpc/svc_simple.c: Use it for registerrpc.
53702         * sunrpc/xcrypt.c: Use it for passwd2des.
53704         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
53706 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53708         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
53709         Don't define if [__SYSCALL_WORDSIZE != 32].
53710         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
53711         New macro.
53713 2012-05-21  Bruno Haible  <bruno@clisp.org>
53714             Andreas Jaeger  <aj@suse.de>
53716         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
53717         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
53718         inptr and inend for must_buffer_ch.
53719         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
53720         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
53721         * stdio-common/Makefile (tests): Remove bug15.
53722         (bug15-ENV): Remove macro.
53723         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
53724         anymore.
53726 2012-05-19  Andreas Jaeger  <aj@suse.de>
53727             Roland McGrath  <roland@hack.frob.com>
53729         * manual/contrib.texi: Completely rewritten. It contains now an
53730         alphabetical list of contributors and their contributions.
53732 2012-05-21  Richard Henderson  <rth@twiddle.net>
53734         * misc/getauxval.c (__getauxval): Use unsigned long int.
53735         * misc/sys/auxv.h: Include <sys/cdefs.h>.
53736         (getauxval): Use unsigned long int.
53738 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
53740         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
53742 2012-05-21  Roland McGrath  <roland@hack.frob.com>
53744         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
53745         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
53746         __alignof__ (long double).
53748 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53752 2012-05-20  Richard Henderson  <rth@twiddle.net>
53754         * misc/getauxval.c: New file.
53755         * misc/sys/auxv.h: New file.
53756         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
53757         (routines): Add getauxval.
53758         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
53759         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
53760         * elf/dl-sysdep.c (_dl_auxv): Remove.
53761         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
53762         * elf/dl-support.c (_dl_auxv): New variable.
53763         (_dl_aux_init): Initialize it.
53764         * manual/startup.texi (Auxiliary Vector): New node.
53765         * sysdeps/generic/bits/hwcap.h: New file.
53766         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
53767         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
53768         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
53769         * sysdeps/sparc/sysdep.h: ... here.  Include it.
53770         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
53771         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
53772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53773         Update.
53774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
53775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
53776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
53777         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
53778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
53780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
53781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
53783 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53787 2012-05-19  David S. Miller  <davem@davemloft.net>
53789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53791 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
53793         [BZ #14123]
53794         * math/s_ccosh.c: Include <float.h>
53795         (__ccosh): Avoid internal overflow calculating sinh and cosh
53796         values before multiplying by sin and cos values.
53797         * math/s_ccoshf.c: Likewise.
53798         * math/s_ccoshl.c: Likewise.
53799         * math/s_csin.c: Likewise.
53800         * math/s_csinf.c: Likewise.
53801         * math/s_csinl.c: Likewise.
53802         * math/s_csinh.c: Likewise.
53803         * math/s_csinhf.c: Likewise.
53804         * math/s_csinhl.c: Likewise.
53805         * math/libm-test.inc (ccos_test): Add more tests.
53806         (ccosh_test): Likewise.
53807         (csin_test): Likewise.
53808         (csinh_test): Likewise.
53809         * sysdeps/i386/fpu/libm-test-ulps: Update.
53810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53812 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
53814         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
53815         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
53817         * sysdeps/x86_64/x32/_itoa.h: Add comment.
53819 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
53821         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
53822         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
53823         * sysdeps/powerpc/soft-fp/Versions: Likewise.
53824         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
53825         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
53826         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
53827         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
53828         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
53829         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
53830         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
53831         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
53832         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
53833         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
53834         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
53835         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
53836         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
53837         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
53838         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
53839         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
53840         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
53841         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
53842         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
53843         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
53844         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
53845         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
53846         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
53847         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
53848         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
53849         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
53850         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
53851         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
53853 2012-05-18  Andreas Jaeger  <aj@suse.de>
53855         * csu/.gitignore: Delete.
53857 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53859         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
53860         (timex): Use __syscall_slong_t.
53862 2012-05-18  Andreas Jaeger  <aj@suse.de>
53863             Carlos O'Donell  <carlos_odonell@mentor.com>
53865         * manual/install.texi (Configuring and compiling): Update
53866         description about files modified in the source directory.
53867         * INSTALL: Regenerated.
53869 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53871         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
53872         value.  Use "or" to set return value to -1.
53873         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
53874         negate return value.
53876 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53878         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
53879         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
53880         failure if the compiler has Graphite support disabled.
53881         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
53882         Likewise.
53883         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
53884         (CFLAGS-memmove.c): Likewise.
53885         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
53886         Likewise.
53888 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
53890         * sysdeps/x86_64/x32/_itoa.h: New file.
53892         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
53893         getdents system call only if kernel and user dirents have the
53894         same d_ino and d_off.
53896         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53897         LLONG_MAX != LONG_MAX.
53898         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53899         (_fitoa_word): Likewise.
53901         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
53902         years.
53903         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
53904         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
53905         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
53907         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
53908         include <bits/wordsize.h>.  Check __x86_64__ instead of
53909         __WORDSIZE.
53910         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
53911         if __x86_64__ is defined.  Use anonymous union on fpstate.
53913         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
53914         anonymous union.
53916 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
53918         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
53919         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
53920         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
53921         Refer to _rtld_local_ro instead of _rtld_global_ro.
53922         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
53923         Likewise.
53924         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
53925         Likewise.
53926         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
53927         Likewise.
53928         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
53929         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
53930         of _rtld_global, and rtld_progname instead of _dl_argv[0].
53932         [BZ #10882]
53933         * sysdeps/powerpc/powerpc32/dl-machine.c
53934         (__elf_machine_runtime_setup) [PROF]: Don't reference
53935         _dl_prof_resolve.
53937 2012-05-18  Andreas Jaeger  <aj@suse.de>
53939         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
53940         function only available for GCCs before 3.4 since GCC 3.4
53941         introduced a builtin.
53942         (lrint): Likewise.
53943         (llrintf): Likewise.
53944         (llrint): Likewise.
53945         (fmaxf): Likewise.
53946         (fmax): Likewise.
53947         (fminf): Likewise.
53948         (fmin): Likewise.
53949         (rint): Likewise.
53950         (rintf): Likewise.
53951         (nearbyint): Likewise.
53952         (nearbyintf): Likewise.
53953         (ceil): Likewise.
53954         (ceilf): Likewise.
53955         (floor): Likewise.
53956         (floorf): Likewise.
53958 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53960         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
53961         on both fields and cast pointer to __syscall_ulong_t.
53963         * bits/types.h (__fsword_t): New type.
53964         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
53965         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
53966         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53967         (__FSWORD_T_TYPE): Likewise.
53968         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53969         (__FSWORD_T_TYPE): Likewise.
53970         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53971         (__FSWORD_T_TYPE): Likewise.
53972         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
53973         (__FSWORD_T_TYPE): Likewise.
53974         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
53975         __SWORD_TYPE with __fsword_t.
53976         (statfs64): Likewise.
53978 2012-05-17  David S. Miller  <davem@davemloft.net>
53980         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
53982 2012-05-17  Andreas Jaeger  <aj@suse.de>
53984         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
53985         warning.
53987 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53989         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
53991 2012-05-17  Andreas Jaeger  <aj@suse.de>
53993         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
53994         when it is used.
53996 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
53998         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54000 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54002         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54003         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54005 2012-05-17  Andreas Jaeger  <aj@suse.de>
54006             Carlos O'Donell  <carlos_odonell@mentor.com>
54008         [BZ #14059]
54009         * sysdeps/x86_64/multiarch/init-arch.h
54010         (bit_YMM_Usable): Rename to...
54011         (bit_AVX_Usable): ... this.
54012         (bit_FMA4_Usable): New macro.
54013         (bit_XMM_state): New macro.
54014         (bit_YMM_state): New macro.
54015         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54016         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54017         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54018         (CPUID_OSXSAVE): New macro.
54019         (CPUID_AVX): New macro.
54020         (CPUID_FMA4): New macro.
54021         (index_YMM_Usable): Rename to...
54022         (index_AVX_Usable): ... this.
54023         (HAS_AVX): Use HAS_ARCH_FEATURE.
54024         (HAS_FMA4): Likewise.
54025         (HAS_YMM_USABLE): Remove.
54026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54027         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54028         are present.
54029         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54030         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54031         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54032         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54033         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54035 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54037         * math/libm-test.c: Support platforms without multiple rounding modes.
54038         * math/bug-nextafter.c: Support platforms without FP exceptions.
54039         * math/bug-nexttoward.c: Likewise.
54040         * math/test-fenv.c: Likewise.
54041         * math/test-misc.c: Likewise.
54042         * stdlib/bug-getcontext.c: Likewise.
54044 2012-05-17  Andreas Jaeger  <aj@suse.de>
54046         * manual/examples/search.c (critter_cmp): Change signature to
54047         avoid warnings.
54048         * manual/string.texi (Collation Functions): Likewise.
54050 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54052         * bits/types.h: Fold copyright years.
54053         * bits/typesizes.h: Likewise.
54054         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54055         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54057         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54058         * time/time.h: Likewise.
54060 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54062         [BZ #208]
54063         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54064         in instead of returning them.  Return void.
54065         (__libc_mallinfo): Accumulate over all arenas.
54066         (__malloc_stats): Adjust for change in int_mallinfo interface.
54068 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54070         [BZ #10375]
54071         * configure.in (NM): Add AC_CHECK_TOOL for it.
54072         (libc_extra_cflags): New substituted variable.
54073         Check for -fstack-protector being used implicitly.
54074         * configure: Regenerated.
54075         * config.make.in (config-extra-cflags): New variable,
54076         gets @libc_extra_cflags@.
54077         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54079         [BZ #10375]
54080         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54081         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54082         * configure: Regenerated.
54083         * config.make.in (CPPUNDEFS): New substituted variable.
54084         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54085         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54086         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54088 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54090         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54091         (mq_attr): Use __syscall_slong_t.
54093 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54095         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54096         Check __x86_64__ instead of __WORDSIZE.
54097         (_STAT_VER_LINUX): Likewise.
54098         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54099         __syscall_ulong_t and __syscall_slong_t.
54100         (stat64): Likewise.
54102 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54104         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54106 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54108         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54110 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54112         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54113         __syscall_ulong_t.
54115         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54116         include <bits/wordsize.h>.  Check __x86_64__ instead of
54117         __WORDSIZE.
54118         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54119         defined.
54120         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54122         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54123         include <bits/wordsize.h>.  Check __x86_64__ instead of
54124         __WORDSIZE.
54125         (user_regs_struct): Use "__extension__ unsigned long long"
54126         instead of "unsigned long" if __x86_64__ is defined.
54127         (user): Likewise.  Pad after pointer field if __ILP32__ is
54128         defined.
54130 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54132         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54133         versions 5 to 9.
54134         * configure: Regenerated.
54135         * manual/install.texi (texinfo): Increase version requirement to
54136         4.5 or later.
54137         * INSTALL: Regenerated.
54139         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54141 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54143         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54145         * sysdeps/x86_64/x32/ffs.c: New file.
54147         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54148         __syscall_ulong_t.
54149         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54150         defined.  Use __syscall_ulong_t.
54151         (shminfo): Use __syscall_ulong_t.
54152         (shm_info): Likewise.
54154         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54155         __syscall_ulong_t.
54157         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54158         <bits/wordsize.h>.
54159         (msgqnum_t): Use __syscall_ulong_t.
54160         (msglen_t): Likewise.
54161         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54162         __syscall_ulong_t.
54164         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54165         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54167         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54169         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54170         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54172         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54173         __syscall_slong_t.
54175         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
54176         include <bits/wordsize.h>.  Check __x86_64__ instead of
54177         __WORDSIZE.
54179         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
54180         "unsigned long long int" if __x86_64__ is defined.
54181         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
54183         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
54184         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54185         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
54187         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
54188         <stdint.h>.
54189         (GET_PC): Cast to uintptr_t first.
54190         (GET_FRAME): Likewise.
54191         (GET_STACK): Likewise.
54193         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
54194         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
54195         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
54196         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
54197         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
54198         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
54199         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
54200         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
54201         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
54202         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
54203         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
54204         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
54205         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54206         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
54207         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
54208         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
54209         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
54210         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
54211         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
54212         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
54213         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
54214         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
54215         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
54216         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
54217         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
54218         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
54219         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
54220         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
54221         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
54223 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
54225         * Makerules (+depfiles): Also collect depfiles from .oS in
54226         $(extra-objs).
54227         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
54228         .oS, $(libnldbl-routines)).
54230         * Makerules (native-compile-mkdep-flags): Define.
54231         * sunrpc/Makefile (extra-objs): Add $(addprefix
54232         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
54233         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
54234         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
54235         calling $(make-target-directory).
54237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54239         * bits/types.h (__snseconds_t): Removed.
54240         * time/time.h (struct timespec): Replace __snseconds_t with
54241         __syscall_slong_t.
54242         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
54243         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
54244         Likewise.
54245         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54246         (__SNSECONDS_T_TYPE): Likewise.
54247         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54248         (__SNSECONDS_T_TYPE): Likewise.
54249         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54250         (__SNSECONDS_T_TYPE): Likewise.
54252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54254         * sysdeps/mach/hurd/bits/typesizes.h
54255         (__SYSCALL_SLONG_TYPE): New macro.
54256         (__SYSCALL_ULONG_TYPE): Likewise.
54258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54260         * bits/types.h (__syscall_slong_t): New type.
54261         (__syscall_ulong_t): Likewise.
54263         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
54264         (__SYSCALL_ULONG_TYPE): Likewise.
54265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54266         (__SYSCALL_SLONG_TYPE): Likewise.
54267         (__SYSCALL_ULONG_TYPE): Likewise.
54268         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54269         (__SYSCALL_SLONG_TYPE): Likewise.
54270         (__SYSCALL_ULONG_TYPE): Likewise.
54271         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54272         (__SYSCALL_SLONG_TYPE): Likewise.
54273         (__SYSCALL_ULONG_TYPE): Likewise.
54275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54277         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
54278         Add sigaltstack-offsets.sym.
54279         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
54280         <sigaltstack-offsets.h>.
54281         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
54282         longjmp_msg pointer.
54283         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
54284         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
54285         signal stack.
54286         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
54288 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54290         * elf/stackguard-macros.h: Remove file.
54291         * sysdeps/generic/stackguard-macros.h: New file.
54292         * sysdeps/i386/stackguard-macros.h: Likewise.
54293         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
54294         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
54295         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
54296         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
54297         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
54298         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
54299         * sysdeps/x86_64/stackguard-macros.h: Likewise.
54300         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
54301         <elf/stackguard-macros.h>.
54303         [BZ #14109]
54304         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
54305         __aligned__ in attribute.
54306         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
54307         (gregset_t): Likewise.
54309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54311         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
54312         * sysdeps/x86_64/64/Implies-after: Here.  New file.
54313         * sysdeps/x86_64/x32/Implies-after: New file.
54315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54317         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
54318         and access return value for _dl_profile_fixup.  Use R10_LP to
54319         load frame size.
54321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54323         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
54325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54327         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
54328         * sysdeps/x86_64/x32/sysdep.h: New file.
54330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54332         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
54333         * sysdeps/x86_64/setjmp.S: Likewise.
54335 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54337         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
54338         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
54339         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
54340         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
54341         remove unused global constant.
54343 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
54345         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
54346         include of <not-cancel.h>.
54348 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54350         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
54352 2012-05-15  Jeff Law  <law@redhat.com>
54353             Andreas Jaeger  <aj@suse.de>
54355         [BZ #13594]
54356         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
54357         out from...
54358         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
54359         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54360         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
54361         code changing __hst_map_handle.map.
54363 2012-05-15  Roland McGrath  <roland@hack.frob.com>
54365         * configure.in (sysnames): Look for Implies-before and Implies-after
54366         files.
54367         * configure: Regenerated.
54369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54371         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
54372         8-byte data alignment with LP_SIZE alignment.
54374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54376         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
54377         into R10_LP.
54379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54381         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
54383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54385         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
54386         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
54387         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
54388         Likewise.
54389         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54393         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
54394         (stackinfo_sub_sp): Likewise.
54396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54398         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
54399         RAX_LP.
54401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54403         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
54404         into R*_LP.
54406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54408         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
54409         sizes into R*_LP.
54411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54413         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
54415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54417         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
54418         into R11_LP and load __x86_64_shared_cache_size_half into
54419         R8_LP.
54421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
54423         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
54424         R8_LP.
54426 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
54429         logb for POWER7.
54430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
54431         logbf for POWER7.
54432         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
54433         logbl for POWER7.
54434         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
54435         powerpc32/power7/fpu/s_logb.c via #include.
54436         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
54437         powerpc32/power7/fpu/s_logbf.c via #include.
54438         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
54439         powerpc32/power7/fpu/s_logbl.c via #include.
54441 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
54443         * README.libm: Remove file.
54445 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54447         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
54448         count for x32.  Use R*_LP and omit operand-size suffix.
54450 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54452         * shlib-versions: Move x86_64-.*-linux.* entries to ...
54453         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
54454         * sysdeps/x86_64/x32/shlib-versions: New file.
54456 2012-05-14  Roland McGrath  <roland@hack.frob.com>
54458         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
54459         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
54460         Use _dl_fatal_printf instead.
54462 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54464         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
54465         set if not set by the user.  Do not allow for being unset.
54466         * sysdeps/unix/sysv/linux/configure: Regenerated.
54468 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54470         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
54471         the `q' suffix from lea and replace .quad with ASM_ADDR.
54473 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
54476         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
54477         instead of $17.
54478         (PTR_DEMANGLE): Likewise.
54480 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54482         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
54483         (LP_OP): Likewise.
54484         (ASM_ADDR): Likewise.
54485         (RAX_LP): Likewise.
54486         (RBP_LP): Likewise.
54487         (RBX_LP): Likewise.
54488         (RCX_LP): Likewise.
54489         (RDI_LP): Likewise.
54490         (RSI_LP): Likewise.
54491         (RSP_LP): Likewise.
54492         (R8_LP): Likewise.
54493         (R9_LP): Likewise.
54494         (R10_LP): Likewise.
54495         (R10_LP): Likewise.
54496         (R11_LP): Likewise.
54497         (R12_LP): Likewise.
54498         (R13_LP): Likewise.
54499         (R14_LP): Likewise.
54500         (R15_LP): Likewise.
54502 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54504         * sysdeps/x86_64/x32/dl-machine.h: New file.
54506 2012-05-14  Andreas Jaeger  <aj@suse.de>
54508         * manual/Makefile (subdir): Remove export of subdir.
54509         (all): Remove target.
54510         (.PHONY): Remove all from list.
54511         (mkinstalldirs): Remove.
54512         (.PHONY): Remove installdirs from list.
54513         ($(inst_infodir)/libc.info): Use make-target-directory.
54514         (installdirs): Remove.
54515         (subdir_%): Remove.
54516         (glibc-targets): Remove.
54517         (lib): Remove.
54518         (stubs): Remove.
54519         ($(objpfx)stubs ../po/manual.pot): Remove.
54520         ($(objpfx)stamp%): Remove.
54521         (make-target-directory): Remove.
54522         (subdir_install): Remove.
54523         (routines): Remove.
54524         (aux): Remove.
54525         (sources): Remove.
54526         (objects): Remove.
54527         (headers): Remove.
54529         [BZ #13750]
54530         * manual/.gitignore: Remove, it's not needed anymore.
54531         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
54532         all files in it.
54533         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
54534         directory.
54535         (texis): Renamed to $(objpfx)texis.
54536         (texis-path): New, contains path to generated files.
54537         (chapters.%): Use texis-path for complete path, add extra argument
54538         libc-texinfo.sh.
54539         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
54540         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
54541         (summary,texi, stamp-summary): Use complete path of
54542         files. Generate files in build dir.
54543         (dir-add.texi): Build in build dir.
54544         (libm-err.texi,stamp-libm-err): Likewise.
54545         (version.texi, stamp-version): Likewise.
54546         (.%c.texi): Likewise.
54547         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
54548         (mostlyclean): Remove target.
54549         (realclean): Remove target.
54550         (generated): Add new variable with contents from mostlyclean and
54551         realclean, remove entries duplicated in common-mostlyclean, add
54552         stamp-libm-err and stamp-version.
54553         (generated-dirs): Add libc directory.
54554         ($(inst_infodir)/libc.info): Install files from build dir.
54556         * manual/install.texi (Configuring and compiling): Adjust since
54557         the info files are not part of the tar ball anymore.
54559 2012-05-14  Andreas Jaeger  <aj@suse.de>
54561         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
54562         variable.
54564 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
54566         [BZ #13717]
54567         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54568         to 2.2.0 where earlier.
54569         * sysdeps/unix/sysv/linux/configure: Regenerated.
54570         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
54571         Remove conditional code.
54572         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
54573         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
54574         Remove conditional code.
54575         [!__NR_lchown]: Likewise.
54576         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54577         [__NR_lchown]: Likewise.
54578         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
54579         comment referencing __ASSUME_LCHOWN_SYSCALL.
54580         * sysdeps/unix/sysv/linux/i386/sigaction.c
54581         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54582         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54583         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
54584         Remove conditional code.
54585         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
54586         (__protocol_available): Remove #if 0 code.
54587         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
54588         conditional code.
54589         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
54590         * sysdeps/unix/sysv/linux/kernel-features.h
54591         (__ASSUME_GETCWD_SYSCALL): Don't define.
54592         (__ASSUME_REALTIME_SIGNALS): Likewise.
54593         (__ASSUME_PREAD_SYSCALL): Likewise.
54594         (__ASSUME_PWRITE_SYSCALL): Likewise.
54595         (__ASSUME_POLL_SYSCALL): Likewise.
54596         (__ASSUME_LCHOWN_SYSCALL): Likewise.
54597         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
54598         non-SPARC.
54599         (__ASSUME_SIOCGIFNAME): Don't define.
54600         (__ASSUME_MSG_NOSIGNAL): Likewise.
54601         (__ASSUME_SENDFILE): Define unconditionally.
54602         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
54603         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
54604         conditional code.
54605         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
54606         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
54607         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54608         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54609         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
54610         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
54611         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
54612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
54613         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54614         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
54616         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54617         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
54619         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54620         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
54622         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54623         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
54625         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54626         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
54628         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
54629         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
54631         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54632         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
54634         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54635         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54636         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
54637         Remove conditional code.
54638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54639         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54640         Remove conditional code.
54641         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54642         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
54643         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
54644         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54645         Remove conditional code.
54646         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54647         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
54648         Remove conditional code.
54649         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54650         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
54651         Remove conditional code.
54652         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54653         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
54654         Remove conditional code.
54655         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
54656         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
54657         Remove conditional code.
54658         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54659         * sysdeps/unix/sysv/linux/sh/pwrite64.c
54660         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
54661         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
54662         * sysdeps/unix/sysv/linux/sigaction.c
54663         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54664         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54665         * sysdeps/unix/sysv/linux/sigpending.c
54666         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54667         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54668         * sysdeps/unix/sysv/linux/sigprocmask.c
54669         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54670         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54671         * sysdeps/unix/sysv/linux/sigsuspend.c
54672         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
54673         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
54674         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54675         (__libc_missing_rt_sigs): Remove.
54676         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
54677         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
54678         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
54679         Remove conditional code.
54680         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
54681         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
54682         return 1.
54683         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
54684         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
54685         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
54686         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
54688 2012-05-14  Andreas Jaeger  <aj@suse.de>
54690         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
54691         it's not used in glibc.
54692         (__coshm1): Likewise.
54693         (__acosh1p): Likewise.
54694         (__sgn): Likewise.
54696         * manual/string.texi (Copying and Concatenation): Add missing
54697         variable in concat example.
54698         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
54700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54702         [BZ #14103]
54703         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
54704         __builtin_clzl with __builtin_clzll.
54706 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
54708         [BZ #14104]
54709         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
54710         libc_freeres_ptr.
54712 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54714         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
54715         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
54716         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
54717         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
54719 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
54721         * NEWS: Update ia64 info.
54723 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
54725         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
54726         used as bcopy.
54728 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
54730         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
54731         * sysdeps/unix/syscalls.list (dup3): Likewise.
54732         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
54733         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
54735 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54737         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
54738         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
54740 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
54742         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
54743         thread pointer.
54744         (TLS_IE): Use mov/add instead of movq/addq to load thread
54745         pointer.
54746         (TLS_GD_PREFIX): New.
54747         (TLS_GD): Use it.
54749 2012-05-11  David S. Miller  <davem@davemloft.net>
54751         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
54752         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
54753         (_FPU_SETCW): Likewise.
54755 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54757         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
54758         is 32-byte aligned.
54760 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
54762         [BZ #11837]
54763         * iconvdata/gb18030.c: Update tables.
54764         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
54765         characters specially.
54766         (BODY for TO_LOOP): Add encoding of missing ranges.
54768 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
54770         [BZ #13673]
54771         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
54772         * sysdeps/mach/hurd/dup3.c: Likewise.
54773         * sysdeps/mach/hurd/readlinkat.c: Likewise.
54774         * sysdeps/powerpc/memmove.c:: Likewise.
54776 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54778         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
54779         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
54781 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
54783         * elf/elf.h (R_X86_64_RELATIVE64): New.
54784         (R_X86_64_NUM): Updated.
54785         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54786         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
54787         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
54788         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
54789         tst-quad1pie tst-quad2pie
54790         (modules-names): Add tst-quadmod1 tst-quadmod2.
54791         ($(objpfx)tst-quad1): New dependency.
54792         ($(objpfx)tst-quad2): Likewise.
54793         ($(objpfx)tst-quad1pie): Likewise.
54794         ($(objpfx)tst-quad2pie): Likewise.
54795         * sysdeps/x86_64/tst-quad1.c: New file.
54796         * sysdeps/x86_64/tst-quad1pie.c: New file.
54797         * sysdeps/x86_64/tst-quad2.c: Likewise.
54798         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
54799         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
54800         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
54801         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
54802         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
54804 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54806         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
54807         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
54808         * streams/stropts.h (t_scalar_t): Define type.
54810         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
54811         (_PATH_PRESERVE): Set to "/var/lib".
54812         (_PATH_RWHODIR): Set to "/var/spool/rwho".
54814         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
54815         instead of int.
54817         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
54818         if __dir_mkfile succeeded.
54820         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
54821         checking for _hurd_dtablesize.  Unlock it right after having
54822         finished _hurd_dtable allocation.
54824 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54826         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
54827         * sysdeps/mach/hurd/configure: Regenerated.
54828         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
54829         special-casing to...
54830         * sysdeps/gnu/configure.in: ... this new file.
54831         * sysdeps/unix/sysv/linux/configure: Regenerated.
54832         * sysdeps/gnu/configure: New generated file.
54834         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
54835         for Linux: use nsec instead of usec, as well as:
54836         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
54837         members of type struct timespec.
54838         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
54839         New macros.
54840         (struct stat64): Likewise.
54841         (_STATBUF_ST_NSEC): New macro.
54842         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
54844         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54845         __strtoul_internal rather than strtoul.
54847 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54849         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
54850         and reject them.
54852 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54854         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
54855         which preserves existing values.
54856         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
54858 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54860         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
54861         TIMEOUT values.  Return EINVAL for NFDS values either negative or
54862         greater than FD_SETSIZE.
54864 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54866         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
54867         allocated, call __vm_protect to finish enabling the existing space, and
54868         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
54869         allocate the remainder.
54871 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54873         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
54874         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
54876 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54878         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
54879         sysdeps/mach/hurd/readlink.c.
54881         * posix/tst-sysconf.c (posix_options): Only use
54882         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
54883         _POSIX_SYNCHRONIZED_IO when they are defined
54884         * sysdeps/mach/hurd/bits/posix_opt.h:
54885         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
54886         (_XOPEN_REALTIME): Undefine macro.
54887         (_XOPEN_REALTIME_THREADS): Undefine macro.
54888         (_XOPEN_SHM): Undefine macro.
54889         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
54890         macro to -1.
54891         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
54892         macro to -1.
54893         (_POSIX_ASYNC_IO): Undefine macro.
54894         (_POSIX_PRIORITIZED_IO): Undefine macro.
54895         (_POSIX_SPIN_LOCKS): Define macro to -1.
54897         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
54898         SA_NODEFER, SA_RESETHAND.
54899         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
54900         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
54901         F_DUPFD_CLOEXEC.
54903 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54905         * elf/Makefile (pldd-modules): Define unconditionally.
54907 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54909         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
54911 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54913         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
54914         Return ENOENT when name is empty.
54915         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
54917 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54919         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
54921         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
54923 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54925         Fix mlock in all cases except non-readable pages.
54926         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
54927         instead of VM_PROT_ALL as parameter to __vm_wire function.
54929         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
54930         (__mkdir): When path is `/', just fail with EEXIST.
54931         * sysdeps/mach/hurd/mkdirat.c: Likewise.
54933 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54935         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
54936         <sys/uio.h> (for writev).
54937         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
54938         and <sys/param.h> (for MIN).
54940 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54942         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
54943         REQUESTED_TIME.  Properly set the remaining time and return EINTR
54944         if interrupted.
54946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54948         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
54949         Depend on against $(link-rpcuserlibs).
54951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54953         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
54954         (__libc_stack_end): Do not use attribute_relro.
54955         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
54956         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
54957         to libthread-provided value.
54958         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
54959         attribute_relro.
54961 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54963         [BZ #3748]
54964         * bits/libc-lock.h (__libc_once_get): New macro.
54965         * sysdeps/mach/bits/libc-lock.h: Likewise.
54966         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
54967         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
54968         instead of using implementation details.
54970         * libio/fileops.c: Unconditionally include <kernel-features.h>.
54971         * libio/freopen.c: Likewise.
54972         * libio/freopen64.c: Likewise.
54973         * misc/syslog.c: Likewise.
54974         * nscd/connections.c: Likewise.
54975         * nscd/netgroupcache.c: Likewise.
54976         * sysdeps/posix/getcwd.c: Likewise.
54978 2012-05-10  Roland McGrath  <roland@hack.frob.com>
54980         * math/w_ilogbf.c: Add #include <limits.h>.
54982 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54984         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
54985         path instead of returning without unlocking.
54987         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
54988         immediate-write ioctls.
54989         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
54991 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
54993         * sysdeps/mach/hurd/i386/init-first.c (init): Use
54994         __builtin_frame_address instead of making assumptions about the
54995         location of the return address relative to DATA.  Force early load of
54996         the return address.
54997         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
54998         __builtin_frame_address.
55000         dup3 for GNU Hurd.
55001         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55002         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55003         implement dup3 and do some further code clean-ups.
55004         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55005         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55007 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55009         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55011         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55012         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55013         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55014         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55015         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55016         d->port.lock.
55018         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55019         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55020         when handler == SIG_ERR, not when handler != SIG_ERR.
55022 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55024         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55025         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55026         definitions.
55028         accept4 for GNU Hurd.
55029         * include/sys/socket.h (__libc_accept4): New prototype.
55030         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55031         to implement __libc_accept4.
55032         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55033         __libc_accept4.
55034         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55036         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55037         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55038         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55039         signal-defines.sym.
55041 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55043         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55045 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55047         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55048         assertion on O_CLOEXEC flag.
55049         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55050         * hurd/intern-fd.c: Likewise.
55051         * hurd/port2fd.c: Likewise.
55053 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55055         [BZ #3906]
55056         * bits/in.h (IPV6_PKTINFO): Define new macro.
55057         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55059 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55061         [BZ #13954]
55062         [BZ #13955]
55063         [BZ #13956]
55064         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55065         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55066         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55067         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55068         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55069         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55070         * math/libm-test.inc (logb_test) : Additional logb tests.
55072 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55073             Andreas Jaeger  <aj@suse.de>
55075         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55076         * configure: Regenerated.
55077         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55078         * config.make.in (link-obsolete-rpc): New substituted variable.
55079         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55080         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55081         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55082         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55083         so that libc.a contains the symbols.
55084         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55085         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55086         * sunrpc/auth_none.c: Likewise.
55087         * sunrpc/auth_unix.c: Likewise.
55088         * sunrpc/authdes_prot.c: Likewise.
55089         * sunrpc/authuxprot.c: Likewise.
55090         * sunrpc/clnt_gen.c: Likewise.
55091         * sunrpc/clnt_perr.c: Likewise.
55092         * sunrpc/clnt_raw.c: Likewise.
55093         * sunrpc/clnt_simp.c: Likewise.
55094         * sunrpc/clnt_tcp.c: Likewise.
55095         * sunrpc/clnt_udp.c: Likewise.
55096         * sunrpc/clnt_unix.c: Likewise.
55097         * sunrpc/des_crypt.c: Likewise.
55098         * sunrpc/des_soft.c: Likewise.
55099         * sunrpc/get_myaddr.c: Likewise.
55100         * sunrpc/key_call.c: Likewise.
55101         * sunrpc/key_prot.c: Likewise.
55102         * sunrpc/netname.c: Likewise.
55103         * sunrpc/pm_getmaps.c: Likewise.
55104         * sunrpc/pm_getport.c: Likewise.
55105         * sunrpc/pmap_clnt.c: Likewise.
55106         * sunrpc/pmap_prot.c: Likewise.
55107         * sunrpc/pmap_prot2.c: Likewise.
55108         * sunrpc/pmap_rmt.c: Likewise.
55109         * sunrpc/publickey.c: Likewise.
55110         * sunrpc/rpc_cmsg.c: Likewise.
55111         * sunrpc/rpc_common.c: Likewise.
55112         * sunrpc/rpc_dtable.c: Likewise.
55113         * sunrpc/rpc_prot.c: Likewise.
55114         * sunrpc/rpc_thread.c: Likewise.
55115         * sunrpc/rtime.c: Likewise.
55116         * sunrpc/svc.c: Likewise.
55117         * sunrpc/svc_auth.c: Likewise.
55118         * sunrpc/svc_raw.c: Likewise.
55119         * sunrpc/svc_run.c: Likewise.
55120         * sunrpc/svc_tcp.c: Likewise.
55121         * sunrpc/svc_udp.c: Likewise.
55122         * sunrpc/svc_unix.c: Likewise.
55123         * sunrpc/svcauth_des.c: Likewise.
55124         * sunrpc/xcrypt.c: Likewise.
55125         * sunrpc/xdr.c: Likewise.
55126         * sunrpc/xdr_array.c: Likewise.
55127         * sunrpc/xdr_float.c: Likewise.
55128         * sunrpc/xdr_intXX_t.c: Likewise.
55129         * sunrpc/xdr_mem.c: Likewise.
55130         * sunrpc/xdr_rec.c: Likewise.
55131         * sunrpc/xdr_ref.c: Likewise.
55132         * sunrpc/xdr_sizeof.c: Likewise.
55133         * sunrpc/xdr_stdio.c: Likewise.
55135 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55137         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55138         change.  Update copyright years.
55140 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55142         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55144 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55145             Joseph Myers  <joseph@codesourcery.com>
55146             Paul Pluzhnikov  <ppluzhnikov@google.com>
55148         [BZ #14012]
55149         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55150         requiring rpcgen.
55151         [cross-compiling] (extra-libs): Likewise.
55152         [cross-compiling] (extra-libs-others): Likewise.
55153         [cross-compiling] (librpcsvc-routines): Likewise.
55154         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55155         [cross-compiling] (omit-deps): Likewise.
55156         (sunrpc-CPPFLAGS): New variable.
55157         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55158         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55159         (cross-rpcgen-objs): New variable.
55160         (extra-objs): Append $(cross-rpcgen-objs).
55161         ($(cross-rpcgen-objs)): New rule.
55162         ($(objpfx)cross-rpcgen): Likewise.
55163         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55164         comment.
55165         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55166         ($(objpfx)x%.stmp): Likewise.
55167         * sunrpc/proto.h [IS_IN_build] (_): Define.
55168         [IS_IN_build] (_libc_intl_domainname): Likewise.
55170 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55172         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55173         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55174         and R_X86_64_TPOFF64.
55176 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55178         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
55179         sysdeps/unix/sysv/syscalls.list.
55180         (stime): Likewise.
55181         (utime): Likewise.
55182         * sysdeps/unix/sysv/syscalls.list: Remove file.
55184 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
55186         [BZ #3440]
55187         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
55188         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
55189         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
55190         (__LC_IDENTIFICATION): Make these macros useful in #if
55191         expressions, as required by C99.
55193 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
55195         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
55196         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
55197         after this.
55199 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
55201         * stdlib/longlong.h: Updated from GCC.
55203 2012-05-09  Andreas Jaeger  <aj@suse.de>
55205         * nscd/nscd.c (run_modes): Make named enum, reorder so that
55206         default is first entry.
55207         (run_mode): Set type.
55208         (main): Remove informal message about syslog.
55209         (options): Fix typo.
55211         [BZ #14053]
55212         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
55213         to asm.
55214         (lrint): Likewise.
55215         (llrintf): Likewise.
55216         (llrint): Likewise.
55217         (rint): Likewise.
55218         (rintf): Likewise.
55219         (nearbyint): Likewise.
55220         (nearbyintf): Likewise.
55222 2012-05-09  Andreas Jaeger  <aj@suse.de>
55223             Pedro Alves  <palves@redhat.com>
55225         * nscd/nscd.c (run_mode): Use enum.
55226         (main): Cleanup coding style issue.
55228 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
55229             Andreas Jaeger  <aj@suse.de>
55231         * nscd/nscd.c (go_background): Replaced with...
55232         (run_mode): ... this.
55233         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
55234         (options): Add -F --foreground.
55235         (main): Implement it.
55236         (parse_opt): Parse it.
55238 2012-05-09  Andreas Jaeger  <aj@suse.de>
55240         [BZ #14083]
55241         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
55242         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
55243         -Wconversion warning.
55244         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
55245         Likewise.
55247 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
55249         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
55250         == 0.
55251         (LC_ALL): Use macro-int-constant.
55252         (LC_COLLATE): Likewise.
55253         (LC_CTYPE): Likewise.
55254         (LC_MESSAGES): Likewise.
55255         (LC_MONETARY): Likewise.
55256         (LC_NUMERIC): Likewise.
55257         (LC_TIME): Likewise.
55258         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
55259         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55260         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55261         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
55262         Specify type.
55263         [C99-based standards] (float_t): Expect type.
55264         [C99-based standards] (double_t): Expect type.
55265         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
55266         type.
55267         [C99-based standards] (HUGE_VALL): Likewise.
55268         [C99-based standards] (INFINITY): Likewise.
55269         [C99-based standards] (NAN): Likewise.
55270         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
55271         [C99-based standards] (FP_NAN): Likewise.
55272         [C99-based standards] (FP_NORMAL): Likewise.
55273         [C99-based standards] (FP_SUBNORMAL): Likewise.
55274         [C99-based standards] (FP_ZERO): Likewise.
55275         [C99-based standards] (FP_FAST_FMA): Use
55276         optional-macro-int-constant.  Specify type.  Require == 1.
55277         [C99-based standards] (FP_FAST_FMAF): Likewise.
55278         [C99-based standards] (FP_FAST_FMAL): Likewise.
55279         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
55280         [C99-based standards] (FP_ILOGBNAN): Likewise.
55281         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
55282         Specify type.
55283         [C99-based standards] (MATH_ERREXCEPT): Likewise.
55284         [C99-based standards] (math_errhandling): Specify type.
55285         [ISO99 || ISO11] (signgam): Do not allow.
55286         [non-C99-based standards] (copysignf): Do not allow.
55287         [non-C99-based standards] (exp2f): Likewise.
55288         [non-C99-based standards] (log2f): Likewise.
55289         [non-C99-based standards] (modff): Allow.
55290         [non-C99-based standards] (erff): Do not allow.
55291         [non-C99-based standards] (erfcf): Likewise.
55292         [non-C99-based standards] (gammaf): Likewise.
55293         [non-C99-based standards] (hypotf): Likewise.
55294         [non-C99-based standards] (j0f): Likewise.
55295         [non-C99-based standards] (j1f): Likewise.
55296         [non-C99-based standards] (jnf): Likewise.
55297         [non-C99-based standards] (lgammaf): Likewise.
55298         [non-C99-based standards] (tgammaf): Likewise.
55299         [non-C99-based standards] (y0f): Likewise.
55300         [non-C99-based standards] (y1f): Likewise.
55301         [non-C99-based standards] (ynf): Likewise.
55302         [non-C99-based standards] (isnanf): Likewise.
55303         [non-C99-based standards] (acoshf): Likewise.
55304         [non-C99-based standards] (asinhf): Likewise.
55305         [non-C99-based standards] (atanhf): Likewise.
55306         [non-C99-based standards] (cbrtf): Likewise.
55307         [non-C99-based standards] (expm1f): Likewise.
55308         [non-C99-based standards] (ilogbf): Likewise.
55309         [non-C99-based standards] (log1pf): Likewise.
55310         [non-C99-based standards] (logbf): Likewise.
55311         [non-C99-based standards] (nextafterf): Likewise.
55312         [non-C99-based standards] (remainderf): Likewise.
55313         [non-C99-based standards] (rintf): Likewise.
55314         [non-C99-based standards] (scalbf): Likewise.
55315         [non-C99-based standards] (copysignl): Likewise.
55316         [non-C99-based standards] (exp2l): Likewise.
55317         [non-C99-based standards] (log2l): Likewise.
55318         [non-C99-based standards] (modfl): Allow.
55319         [non-C99-based standards] (erfl): Do not allow.
55320         [non-C99-based standards] (erfcl): Likewise.
55321         [non-C99-based standards] (gammal): Likewise.
55322         [non-C99-based standards] (hypotl): Likewise.
55323         [non-C99-based standards] (j0l): Likewise.
55324         [non-C99-based standards] (j1l): Likewise.
55325         [non-C99-based standards] (jnl): Likewise.
55326         [non-C99-based standards] (lgammal): Likewise.
55327         [non-C99-based standards] (tgammal): Likewise.
55328         [non-C99-based standards] (y0l): Likewise.
55329         [non-C99-based standards] (y1l): Likewise.
55330         [non-C99-based standards] (ynl): Likewise.
55331         [non-C99-based standards] (isnanl): Likewise.
55332         [non-C99-based standards] (acoshl): Likewise.
55333         [non-C99-based standards] (asinhl): Likewise.
55334         [non-C99-based standards] (atanhl): Likewise.
55335         [non-C99-based standards] (cbrtl): Likewise.
55336         [non-C99-based standards] (expm1l): Likewise.
55337         [non-C99-based standards] (ilogbl): Likewise.
55338         [non-C99-based standards] (log1pl): Likewise.
55339         [non-C99-based standards] (logbl): Likewise.
55340         [non-C99-based standards] (nextafterl): Likewise.
55341         [non-C99-based standards] (remainderl): Likewise.
55342         [non-C99-based standards] (rintl): Likewise.
55343         [non-C99-based standards] (scalbl): Likewise.
55344         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55345         [non-C99-based standards] (FP_*): Do not allow.
55346         [C99-based standards] (FP_*): Change to
55347         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
55348         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55349         allow.
55350         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
55351         (SIG_ERR): Likewise.
55352         [X/Open-based standards] (SIG_HOLD): Likewise.
55353         (SIG_IGN): Likewise.
55354         (SIGABRT): Use macro-int-constant.  Specify type.  Require
55355         positive value.
55356         (SIGFPE): Likewise.
55357         (SIGILL): Likewise.
55358         (SIGINT): Likewise.
55359         (SIGSEGV): Likewise.
55360         (SIGTER): Likewise.
55361         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
55362         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
55363         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
55364         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
55365         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
55366         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
55367         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
55368         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
55369         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
55370         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
55371         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
55372         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
55373         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
55374         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
55375         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
55376         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
55377         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
55378         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
55379         [X/Open-based standards] (SIGTRAP): Likewise.
55380         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
55381         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
55382         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
55383         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
55384         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55385         allow.
55387 2012-05-08  Ian Wienand  <ianw@vmware.com>
55389         [BZ #14080]
55390         * time/tzset.c (__tzset_parse_tz): Update default rules for
55391         daylight time changes in the Energy Policy Act of 2005.
55393 2012-05-09  Andreas Jaeger  <aj@suse.de>
55395         [BZ #13983]
55396         * elf/ldconfig.c (parse_conf): Change string to make clear that
55397         ldconfig only issued a warning if ld.so.conf does not exist.
55399 2012-05-08  David S. Miller  <davem@davemloft.net>
55401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
55402         movxtod instead of popping the value on the stack.
55404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55406 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
55408         * config.h.in: Add HAVE_ARM_PCS_VFP.
55410 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
55412         [BZ #13979]
55413         * include/features.h: Warn if user requests __FORTIFY_SOURCE
55414         checking but the checks are disabled for any reason.
55416 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
55418         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
55419         and ELF64_R_TYPE with ELFW(R_TYPE).
55421 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
55423         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
55424         (ulimit): Likewise.
55426         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
55427         (settimeofday): Likewise.
55429 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
55431         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
55432         a struct th_u2 inside the union, and move tu_block/tu_code into
55433         a new th_u3 union of tu_block/tu_code inside of that.  Move
55434         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
55435         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
55436         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
55437         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
55438         (th_stuff): Change to th_u1.tu_stuff.
55439         (th_data): Define.
55440         (th_msg): Change to th_u1.th_u2.tu_data.
55442 2012-05-07  David S. Miller  <davem@davemloft.net>
55444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55446         [BZ #14074]
55447         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
55448         (SETUP_PIC_REG): Use it.
55449         (SETUP_PIC_REG_LEAF): Use it.
55451 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
55453         [BZ #13885]
55454         [BZ #13923]
55455         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55456         USE_AS_EXPM1L.
55457         (EXPL_FINITE): Likewise.
55458         (FLDLOG): Likewise.
55459         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55460         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55461         e_expl.S.
55462         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55463         USE_AS_EXPM1L.
55464         (EXPL_FINITE): Likewise.
55465         (FLDLOG): Likewise.
55466         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
55467         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
55468         e_expl.S.
55469         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
55470         test of -max_value argument for long double.
55471         * sysdeps/i386/fpu/libm-test-ulps: Update.
55472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55474 2012-05-06  David S. Miller  <davem@davemloft.net>
55476         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
55477         quad soft-float symbols whose references which are compiler
55478         generated.
55479         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55481 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
55483         [BZ #13884]
55484         [BZ #13914]
55485         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55486         USE_AS_EXP10L.
55487         (EXPL_FINITE): Likewise.
55488         (FLDLOG): Likewise.
55489         (c0): Likewise.
55490         (c1): Likewise.
55491         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55492         Adjust comments for base varying.
55493         (__expl_finite): Change alias to EXPL_FINITE.
55494         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
55495         e_expl.S.
55496         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
55497         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
55498         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55499         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
55500         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
55501         USE_AS_EXP10L.
55502         (EXPL_FINITE): Likewise.
55503         (FLDLOG): Likewise.
55504         (c0): Likewise.
55505         (c1): Likewise.
55506         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
55507         Adjust comments for base varying.
55508         (__expl_finite): Change alias to EXPL_FINITE.
55509         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
55510         tests for bugs.
55511         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55513         [BZ #14064]
55514         * math/libm-test.inc (check_float_internal): Correct ulp
55515         calculation for subnormal expected results.
55517 2012-05-06  Andreas Jaeger  <aj@suse.de>
55519         * Makeconfig (+math-flags): New, set to -frounding-math.
55520         (+cflags): Add +math-flags so that all of glibc gets compiled with
55521         it.
55523         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
55525 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
55527         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
55528         Disable one test.
55530         [BZ #13787]
55531         [BZ #13922]
55532         [BZ #14036]
55533         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
55534         (__ieee754_expl): Allow for and saturate large arguments.
55535         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
55536         (u_threshold): Likewise.
55537         (__exp): Call __ieee754_exp before checking for overflow and
55538         underflow.
55539         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
55540         (u_threshold): Likewise.
55541         (__expf): Call __ieee754_expf before checking for overflow and
55542         underflow.
55543         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
55544         (u_threshold): Likewise.
55545         (__expl): Call __ieee754_expl before checking for overflow and
55546         underflow.
55547         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
55548         (__ieee754_expl): Allow for and saturate large arguments.
55549         * math/libm-test.inc (exp_test): Add another test.  Do not allow
55550         missing overflow exception on overflow.
55551         (expm1_test): Do not allow missing overflow exception on overflow.
55553         * sysdeps/i386/fpu/e_expl.c: Move to ...
55554         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
55555         rather than using inline asm.
55556         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
55557         * sysdeps/x86_64/fpu/e_expl.S: Copy from
55558         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
55560         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
55561         (nice): Likewise.
55562         (poll): Likewise.
55563         (signal): Likewise.
55564         (time): Likewise.
55565         (times): Likewise.
55567 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55569         * sysdeps/unix/syscalls.list (adjtime): Add entry from
55570         sysdeps/unix/common/syscalls.list.
55571         (fchmod): Likewise.
55572         (fchown): Likewise.
55573         (ftruncate): Likewise.
55574         (getrusage): Likewise.
55575         (gettimeofday): Likewise.
55576         (setpgid): Likewise.
55577         (setregid): Likewise.
55578         (setreuid): Likewise.
55579         (sigaction): Likewise.
55580         (truncate): Likewise.
55581         (vhangup): Likewise.
55582         * sysdeps/unix/common/syscalls.list: Remove file.
55583         * sysdeps/unix/bsd/Implies: Don't include unix/common.
55584         * sysdeps/unix/sysv/linux/Implies: Likewise.
55586 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
55588         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
55589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
55590         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
55591         Moved to ...
55592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
55593         Here.
55594         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
55595         to ...
55596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
55597         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
55598         to ...
55599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
55600         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
55601         to ...
55602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
55603         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
55604         to ...
55605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
55606         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
55607         to ...
55608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
55609         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
55610         to ...
55611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
55612         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
55613         to ...
55614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
55615         Here.
55616         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
55617         to ...
55618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
55619         Here.
55620         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
55621         to ...
55622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
55623         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
55624         Moved to ...
55625         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
55626         Here.
55627         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
55628         to ...
55629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
55631 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55633         * sysdeps/unix/common/bits/dirent.h: Remove file.
55634         * sysdeps/unix/common/bits/fcntl.h: Likewise.
55636         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
55637         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
55638         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
55639         * sysdeps/unix/bsd/isatty.c: Likewise.
55640         * sysdeps/unix/bsd/tcdrain.c: Likewise.
55641         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
55642         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
55644 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55646         [BZ #13563]
55647         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
55648         long double comparison inaccuracies.
55649         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55652 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
55654         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
55655         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
55657 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
55659         [BZ #14049]
55660         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
55661         nonzero digits before rounding a hex value.
55662         * stdlib/tst-strtod.c (tests): Add another test.
55664 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55666         * sysdeps/s390/fpu/libm-test-ulps: Update.
55668 2012-05-03  Andreas Jaeger  <aj@suse.de>
55670         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
55671         does not get optimized out.
55672         (malloc_opt_barrier): New.
55674 2012-05-03  Andreas Jaeger  <aj@suse.de>
55675             Roland McGrath  <roland@hack.frob.com>
55677         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
55678         intermediate file deletion.
55679         (generated): Add .symlist files.
55681 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
55683         [BZ #13775]
55684         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
55685         Redirect under this condition.
55686         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55687         [__USE_GNU] (__dprintf_chk): Not under this condition.
55688         [__USE_GNU] (__vdprintf_chk): Likewise.
55689         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
55690         under this condition.
55691         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
55692         [__USE_XOPEN2K8] (dprintf): Define under this condition.
55693         [__USE_XOPEN2K8] (vdprintf): Likewise.
55694         [__USE_GNU] (__dprintf_chk): Not under this condition.
55695         [__USE_GNU] (__vdprintf_chk): Likewise.
55696         [__USE_GNU] (dprintf): Likewise.
55697         [__USE_GNU] (vdprintf): Likewise.
55699 2012-05-03  Roland McGrath  <roland@hack.frob.com>
55701         * elf/Makefile (common-generated): Set this instead of generated for
55702         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
55703         $(all-built-dso)-derived lists.
55705 2012-05-03  Andreas Jaeger  <aj@suse.de>
55707         * sysdeps/i386/fpu/libm-test-ulps: Update.
55709         * FAQ: Removed.
55710         * FAQ.in: Likewise.
55711         * scripts/gen-FAQ.pl: Likewise.
55712         * manual/install.texi (Installation): Point to online location of
55713         FAQ.
55714         * Makefile (files-for-dist): Remove FAQ.
55715         (FAQ): Remove.
55717 2012-05-02  Allan McRae  <allan@archlinux.org>
55719         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
55720         (LDFLAGS-reldepmod5.so): Likewise.
55721         (LDFLAGS-reldep6mod1.so): Likewise.
55722         (LDFLAGS-reldep6mod4.so): Likewise.
55723         (LDFLAGS-reldep8mod3.so): Likewise.
55724         (LDFLAGS-unload4mod1.so): Likewise.
55725         (LDFLAGS-unload4mod2.so): Likewise.
55726         (LDFLAGS-tst-initorder): Likewise.
55727         (LDFLAGS-tst-initordera2.so): Likewise.
55728         (LDFLAGS-tst-initordera3.so): Likewise.
55729         (LDFLAGS-tst-initordera4.so): Likewise.
55730         (LDFLAGS-tst-initorderb2.so): Likewise.
55731         (LDFLAGS-noload): Likewise.
55732         (LDFLAGS-next): Likewise.
55733         (LDFLAGS-order2mod1.so): Likewise.
55734         (LDFLAGS-order2mod2.so): Likewise.
55735         (LDFLAGS-tst-initorder2): Likewise.
55736         (LDFLAGS-tst-initorder2a.so): Likewise.
55737         (LDFLAGS-tst-initorder2b.so): Likewise.
55738         (LDFLAGS-tst-initorder2c.so): Likewise.
55739         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
55741 2012-05-02  David S. Miller  <davem@davemloft.net>
55743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55745 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
55747         [BZ #14055]
55748         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
55750 2012-05-02  Andreas Jaeger  <aj@suse.de>
55752         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
55753         since we manipulate rounding mode.
55754         (CPPFLAGS-test-idouble.c): Likewise.
55755         (CPPFLAGS-test-ifloat.c): Likewise.
55756         (CFLAGS-test-ldouble.c): Likewise.
55757         (CFLAGS-test-double.c): Likewise.
55758         (CFLAGS-test-float.c): Likewise.
55759         (CFLAGS-test-misc.c): Likewise.
55760         (CFLAGS-test-test-fenv.c): Likewise.
55762 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55764         [BZ #2550]
55765         [BZ #2570]
55766         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
55767         comparisons to determine direction to adjust input.
55769 2012-05-01  Roland McGrath  <roland@hack.frob.com>
55771         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
55772         output to the target.
55774         * scripts/localplt.awk: New file.
55775         * elf/Makefile ($(objpfx)check-localplt): Target removed.
55776         (check-localplt-CFLAGS): Variable removed.
55777         ($(all-built-dso:=.jmprel)): New static pattern rule.
55778         (generated): Add those targets.
55779         (localplt-built-dso): New variable.
55780         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
55782         * elf/check-localplt.c: File removed.
55784         * scripts/check-execstack.awk: New file.
55785         * elf/Makefile ($(objpfx)check-execstack): Target removed.
55786         (check-execstack-CFLAGS): Variable removed.
55787         ($(objpfx)check-execstack.h): Target removed.
55788         ($(objpfx)execstack-default): New target.
55789         (generated): Add that instead of check-execstack.h.
55790         ($(all-built-dso:=.phdr)): New static pattern rule.
55791         (generated): Add those targets.
55792         * elf/check-execstack.c: File removed.
55794         * scripts/check-textrel.awk: New file.
55795         * elf/Makefile ($(objpfx)check-textrel): Target removed.
55796         (check-textrel-CFLAGS): Variable removed.
55797         (all-built-dso): Use := to define.o
55798         ($(all-built-dso:=.dyn)): New static pattern rule.
55799         (generated): Add those targets.
55800         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
55801         * config.make.in (READELF): New substituted variable.
55802         * elf/check-textrel.c: File removed.
55804 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
55806         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
55807         allow.
55808         * conform/data/ctype.h-data [C99-based standards] (isblank):
55809         Expect function.
55810         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
55811         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
55812         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55813         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
55814         Specify type.  Require positive value.
55815         (EILSEQ): Likewise.
55816         (ERANGE): Likewise.
55817         [ISO || POSIX] (EILSEQ): Do not expect.
55818         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
55819         Specify type.  Require positive value.
55820         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
55821         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
55822         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
55823         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
55824         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
55825         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
55826         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
55827         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
55828         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
55829         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
55830         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
55831         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
55832         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
55833         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
55834         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
55835         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
55836         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
55837         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
55838         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
55839         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
55840         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
55841         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
55842         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
55843         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
55844         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
55845         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
55846         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
55847         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
55848         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
55849         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
55850         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
55851         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
55852         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
55853         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
55854         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
55855         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
55856         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
55857         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
55858         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
55859         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
55860         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
55861         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
55862         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
55863         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
55864         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
55865         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
55866         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
55867         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
55868         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
55869         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
55870         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
55871         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
55872         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
55873         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
55874         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
55875         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
55876         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
55877         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
55878         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
55879         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
55880         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
55881         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
55882         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
55883         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
55884         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
55885         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
55886         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
55887         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
55888         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
55889         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
55890         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
55891         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
55892         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
55893         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
55894         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
55895         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
55896         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
55897         Require >= 2.
55898         (FLT_ROUNDS): Expect as macro, not constant.
55899         (FLT_MANT_DIG): Use macro-int-constant.
55900         (DBL_MANT_DIG): Likewise.
55901         (LDBL_MANT_DIG): Likewise.
55902         (FLT_DIG): Likewise.
55903         (DBL_DIG): Likewise.
55904         (LDBL_DIG): Likewise.
55905         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
55906         (DBL_MIN_EXP): Likewise.
55907         (LDBL_MIN_EXP): Likewise.
55908         (FLT_MAX_EXP): Use macro-int-constant.
55909         (DBL_MAX_EXP): Likewise.
55910         (LDBL_MAX_EXP): Likewise.
55911         (FLT_MAX_10_EXP): Likewise.
55912         (DBL_MAX_10_EXP): Likewise.
55913         (LDBL_MAX_10_EXP): Likewise.
55914         (FLT_MAX): Use macro-constant.
55915         (DBL_MAX): Likewise.
55916         (LDBL_MAX): Likewise.
55917         (FLT_EPSILON): Use macro-constant.  Give upper bound.
55918         (DBL_EPSILON): Likewise.
55919         (LDBL_EPSILON): Likewise.
55920         (FLT_MIN): Likewise.
55921         (DBL_MIN): Likewise.
55922         (LDBL_MIN): Likewise.
55923         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
55924         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
55925         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
55926         [ISO11] (FLT_HAS_SUBNORM): Likewise.
55927         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
55928         [ISO11] (DBL_DECIMAL_DIG): Likewise.
55929         [ISO11] (FLT_DECIMAL_DIG): Likewise.
55930         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
55931         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
55932         [ISO11] (FLT_TRUE_MIN): Likewise.
55933         [ISO11] (LDBL_TRUE_MIN): Likewise.
55934         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55935         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
55936         (SCHAR_MIN): Use macro-int-constant.  Specify type.
55937         (SCHAR_MAX): Likewise.
55938         (UCHAR_MAX): Likewise.
55939         (CHAR_MIN): Likewise.
55940         (CHAR_MAX): Likewise.
55941         (MB_LEN_MAX): Use macro-int-constant.
55942         (SHRT_MIN): Use macro-int-constant.  Specify type.
55943         (SHRT_MAX): Likewise.
55944         (USHRT_MAX): Likewise.
55945         (INT_MAX): Likewise.
55946         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
55947         bound negative.
55948         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55949         bound with "U".
55950         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55951         bound with "L".
55952         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
55953         bound negative.  Suffix upper bound with "L".
55954         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
55955         bound with "UL".
55956         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
55957         Specify type.
55958         [C99-based standards] (LLONG_MAX): Likewise.
55959         [C99-based standards] (ULLONG_MAX): Likewise.
55960         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
55961         == 0.
55962         [ISO11] (max_align_t): Require type.
55963         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55965         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
55966         from $CFLAGS, without defining away __attribute__ calls.
55967         (checknamespace): Use $CFLAGS_namespace.
55969         * conform/conformtest.pl (@keywords): Only include C99 keywords
55970         for standards based on C99 or C11.
55972         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
55973         Disable tests.
55974         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
55975         UNIX98]: Likewise.
55977         * conform/conformtest.pl: Handle "macro-int-constant" and test for
55978         usability of symbols in #if.
55980         * conform/conformtest.pl: If macro or constant types start
55981         "promoted:", expect the symbol to be of the following type
55982         promoted by the integer promotions.
55984         * conform/conformtest.pl: Parse all "constant" and "macro" lines
55985         in one place.  Also handle "macro-constant".
55987         * conform/conformtest.pl: Only accept expected macro values with
55988         "==".  Parse all "macro" lines in one place.
55989         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
55991         * conform/conformtest.pl: Handle braced types on "constant" lines
55992         instead of handling "typed-constant".
55993         * conform/data/signal.h-data: Use "constant" instead of
55994         "typed-constant".
55996         * conform/conformtest.pl: Handle "optional-" at start of lines in
55997         one place rather than duplicating several cases.  Handle each
55998         format of "macro" line with initial "optional-".
56000         * conform/conformtest.pl: Only accept expected constant or
56001         optional-constant values with "==".  Parse all "constant" lines in
56002         one place.  Parse all "optional-constant" lines in one place.
56003         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56004         * conform/data/fmtmsg.h-data: Likewise.
56005         * conform/data/netinet/in.h-data: Likewise.
56006         * conform/data/tar.h-data: Likewise.
56007         * conform/data/limits.h-data: Use "==" form on "constant" and
56008         "optional-constant" lines.
56010         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56011         Use -std=c99 for XOPEN2K.
56012         (@knownproblems): Remove.
56013         (newtoken): Don't check %isknown.
56015         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56016         Do not expect macro.
56017         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56018         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56019         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56020         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56021         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56022         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56023         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56024         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56025         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56026         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56027         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56028         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56029         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56030         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56031         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56032         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56033         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56034         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56035         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56036         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56037         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56038         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56039         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56040         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56041         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56042         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56043         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56044         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56045         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56046         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56047         [XPG3] (acosh): Likewise.
56048         [XPG3] (asinh): Likewise.
56049         [XPG3] (atanh): Likewise.
56050         [XPG3] (cbrt): Likewise.
56051         [XPG3] (expm1): Likewise.
56052         [XPG3] (ilogb): Likewise.
56053         [XPG3] (log1p): Likewise.
56054         [XPG3] (logb): Likewise.
56055         [XPG3] (nextafter): Likewise.
56056         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56057         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56058         [XPG3] (remainder): Likewise.
56059         [XPG3] (rint): Likewise.
56060         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56061         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56062         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56063         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56064         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56065         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56066         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56067         [UNIX98 || XOPEN2K] (scalb): Expect.
56068         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56069         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56070         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56071         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56072         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56073         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56074         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56075         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56076         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56077         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56078         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56079         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56080         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56081         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56082         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56083         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56084         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56085         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56086         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56087         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56088         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56089         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56090         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56091         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56092         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56093         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56094         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56095         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56096         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56097         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56098         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56099         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56100         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56101         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56102         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56103         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56104         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56105         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56106         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56107         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56108         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56109         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56110         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56111         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56112         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56113         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56114         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56115         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56116         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56117         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56118         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56119         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56120         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56121         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56122         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56123         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56124         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56125         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56126         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56127         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56128         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56129         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56130         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56131         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56132         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56133         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56134         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56135         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56136         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56137         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56138         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56139         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56140         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56141         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56142         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56143         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56144         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56145         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56146         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56147         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56148         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56149         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56150         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56151         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56152         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56153         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56154         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56155         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56156         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56157         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56158         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56159         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56160         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56161         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56162         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56163         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56164         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56165         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56166         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56167         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56168         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56169         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56170         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56171         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56172         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56173         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56174         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56175         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
56176         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
56177         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
56178         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
56179         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
56180         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
56181         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
56182         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
56183         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
56184         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
56185         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
56186         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
56187         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
56188         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
56189         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
56190         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
56191         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
56192         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
56193         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
56194         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
56195         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
56196         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
56197         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
56198         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
56199         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
56200         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
56201         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
56202         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
56203         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
56204         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
56206         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
56207         _XOPEN_SOURCE_EXTENDED for XPG4.
56209         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
56211         * Makeconfig (localtime): Remove variable.
56212         (inst_localtime-file): Likewise.
56214 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
56217         Update.
56218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56219         Update.
56220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
56221         Update.
56222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56223         Update.
56224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
56225         Update.
56226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
56227         Update.
56228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56229         Update.
56230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
56231         Update.
56232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56233         Update.
56235 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56237         [BZ #2550]
56238         [BZ #2570]
56239         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
56240         comparisons to determine direction to adjust input.
56241         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
56242         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
56243         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
56244         Likewise.
56245         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
56246         Likewise.
56247         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56248         Likewise.
56249         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
56250         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
56251         Likewise.
56252         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
56253         Likewise.
56254         * math/libm-test.inc (nexttoward_test): Add more tests.
56256 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
56258         [BZ #14040]
56259         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
56260         in version GLIBC_2.1, not GLIBC_2.0.
56261         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56262         Likewise.
56264 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
56266         [BZ #13942]
56267         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
56268         (1 - x) * (1 + x).
56269         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56270         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
56271         * math/libm-test.inc (acos_test): Add more tests.
56272         (asin_test): Likewise.
56273         * sysdeps/i386/fpu/libm-test-ulps: Update.
56274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56276         [BZ #14034]
56277         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
56278         of square root.
56279         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
56280         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
56281         * math/libm-test.inc (acos_test_tonearest): New function.
56282         (acos_test_towardzero): Likewise.
56283         (acos_test_downward): Likewise.
56284         (acos_test_upward): Likewise.
56285         (asin_test_tonearest): Likewise.
56286         (asin_test_towardzero): Likewise.
56287         (asin_test_downward): Likewise.
56288         (asin_test_upward): Likewise.
56289         (main): Call the new functions.
56290         * sysdeps/i386/fpu/libm-test-ulps: Update.
56291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56293         [BZ #13884]
56294         [BZ #13924]
56295         * math/e_exp10.c: Include <float.h>.
56296         (__ieee754_exp10): Handle underflow here rather than multiplying
56297         large negative argument by M_LN10.
56298         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
56299         of __ieee754_expf.
56300         * math/e_exp10l.c: Include <float.h>.
56301         (__ieee754_exp10l): Handle underflow here rather than multiplying
56302         large negative argument by M_LN10l.
56303         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
56304         spurious overflow exception on underflow.
56306 2012-04-29  Marek Polacek  <polacek@redhat.com>
56308         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
56309         (__fortify_function): New macro.
56310         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
56311         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
56312         __extern_always_inline.
56313         * libio/bits/stdio2.h: Likewise.
56314         * libio/bits/stdio.h: Likewise.
56315         * string/string.h: Likewise.
56316         * string/bits/string3.h: Likewise.
56317         * include/stdio.h: Likewise.
56318         * stdlib/bits/stdlib.h: Likewise.
56319         * stdlib/stdlib.h: Likewise.
56320         * rt/bits/mqueue2.h: Likewise.
56321         * rt/mqueue.h: Likewise.
56322         * posix/bits/unistd.h: Likewise.
56323         * posix/unistd.h: Likewise.
56324         * io/bits/poll2.h: Likewise.
56325         * io/bits/fcntl2.h: Likewise.
56326         * io/fcntl.h: Likewise.
56327         * io/sys/poll.h: Likewise.
56328         * misc/bits/syslog.h: Likewise.
56329         * misc/bits/syslog-ldbl.h: Likewise.
56330         * misc/sys/syslog.h: Likewise.
56331         * socket/bits/socket2.h: Likewise.
56332         * socket/sys/socket.h: Likewise.
56333         * debug/tst-chk1.c: Likewise.
56334         * wcsmbs/bits/wchar2.h: Likewise.
56335         * wcsmbs/bits/wchar-ldbl.h: Likewise.
56336         * wcsmbs/wchar.h: Likewise.
56338 2012-04-29  Andreas Jaeger  <aj@suse.de>
56340         * Makerules (tests): Remove enable-check-abi protection.
56341         (check-abi-warn): Remove.
56342         (check-abi-%): Remove check-abi-warn usage.
56344         * configure.in: Remove check-abi configure option.
56345         * configure: Regenerated.
56346         * config.make.in (enable-check-abi): Remove.
56348 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
56350         [BZ #14033]
56351         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
56352         double functions to double *_finite functions.
56354         [BZ #13941]
56355         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
56356         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
56357         LDBL_MIN_EXP.
56358         * stdio-common/Makefile (tests): Add tst-sprintf3.
56359         * stdio-common/tst-sprintf3.c: New file.
56361         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
56362         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
56364 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56366         * conform/conformtest.pl: Remove duplicate typed-constant
56367         handling.
56369 2012-04-28  David S. Miller  <davem@davemloft.net>
56371         * Makerules (%.abilist): Add vpath on sysdep_dirs.
56372         (check-abi-%): Remove AWK script prerequisite and explicit
56373         abilist directory.
56374         (check-abi): Rewrite to just diff the symlist with the abilist.
56375         (config-tls, config-abi-config): Delete, no longer used.
56376         (update-abi-%): Remove AWK script and explicit abilist directory.
56377         (update-abi): Rewrite to simply compare and conditionally copy the
56378         symlist and the sysdep abilist file.  Remove update-abi-config
56379         checks.
56380         * abilist/ld.abilist: Remove.
56381         * abilist/libBrokenLocale.abilist: Remove.
56382         * abilist/libanl.abilist: Remove.
56383         * abilist/libcrypt.abilist: Remove.
56384         * abilist/libdl.abilist: Remove.
56385         * abilist/librt.abilist: Remove.
56386         * abilist/libthread_db.abilist: Remove.
56387         * abilist/libutil.abilist: Remove.
56388         * scripts/extract-abilist.awk: Remove.
56389         * scripts/merge-abilist.awk: Remove.
56390         * sysdeps/generic/libcidn.abilist: New file.
56391         * sysdeps/generic/libnss_compat.abilist: New file.
56392         * sysdeps/generic/libnss_db.abilist: New file.
56393         * sysdeps/generic/libnss_dns.abilist: New file.
56394         * sysdeps/generic/libnss_files.abilist: New file.
56395         * sysdeps/generic/libnss_hesiod.abilist: New file.
56396         * sysdeps/generic/libnss_nis.abilist: New file.
56397         * sysdeps/generic/libnss_nisplus.abilist: New file.
56398         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
56399         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
56400         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
56401         file.
56402         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
56403         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
56404         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
56405         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
56406         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
56407         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
56408         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
56409         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
56410         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
56411         file.
56412         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
56413         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
56414         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
56415         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
56416         file.
56417         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
56418         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
56419         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
56420         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
56421         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
56422         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
56423         file.
56424         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
56425         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
56426         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
56427         file.
56428         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
56429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
56430         New file.
56431         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
56432         New file.
56433         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
56434         New file.
56435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
56436         New file.
56437         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
56438         New file.
56439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
56440         New file.
56441         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
56442         New file.
56443         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
56444         New file.
56445         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
56446         New file.
56447         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
56448         New file.
56449         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
56450         New file.
56451         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
56452         New file.
56453         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
56454         New file.
56455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
56456         file.
56457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
56458         New file.
56459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
56460         New file.
56461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
56462         file.
56463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
56464         New file.
56465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
56466         New file.
56467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
56468         file.
56469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
56470         New file.
56471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56472         New file.
56473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
56474         New file.
56475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
56476         New file.
56477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
56478         New file.
56479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
56480         New file.
56481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
56482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
56483         file.
56484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
56485         New file.
56486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
56487         file.
56488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
56489         file.
56490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
56491         file.
56492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
56493         file.
56494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
56495         file.
56496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56497         New file.
56498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
56499         file.
56500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
56501         file.
56502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
56503         New file.
56504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
56505         file.
56506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
56507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
56508         file.
56509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
56510         New file.
56511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
56512         file.
56513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
56514         file.
56515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
56516         file.
56517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
56518         file.
56519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
56520         file.
56521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56522         New file.
56523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
56524         file.
56525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
56526         file.
56527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
56528         New file.
56529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
56530         file.
56531         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56532         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
56533         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
56534         file.
56535         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
56536         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
56537         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
56538         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
56539         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
56540         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
56541         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
56542         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
56543         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
56544         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
56545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
56546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
56547         file.
56548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
56549         New file.
56550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
56551         file.
56552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
56553         file.
56554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
56555         file.
56556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
56557         file.
56558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
56559         file.
56560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56561         New file.
56562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
56563         New file.
56564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
56565         file.
56566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
56567         New file.
56568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
56569         file.
56570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
56571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
56572         file.
56573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
56574         New file.
56575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
56576         file.
56577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
56578         file.
56579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
56580         file.
56581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
56582         file.
56583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
56584         file.
56585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56586         New file.
56587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
56588         New file.
56589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
56590         file.
56591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
56592         New file.
56593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
56594         file.
56596 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
56598         * conform/conformtest.pl: Fix typo in handling typed-constant from
56599         allow-header.
56601 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56603         * README: Cut down references to pre-2.6 Linux kernels and
56604         Linuxthreads.  Update lists of configurations in libc and ports
56605         and sort alphabetically.  Say "or newer" with Linux kernel version
56606         requirements.
56608         * config.h.in [IS_IN_build]: Allow compiling without optimization.
56610 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56612         [BZ #887]
56613         * math/libm-test.inc (logb_test_downward): New test to expose
56614         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
56615         rounding mode.
56617 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
56619         [BZ #14027]
56620         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
56621         to be done.
56622         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
56623         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
56625 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
56627         * sysdeps/unix/i386/brk.S: Remove file.
56628         * sysdeps/unix/i386/dl-brk.S: Likewise.
56629         * sysdeps/unix/i386/pipe.S: Likewise.
56630         * sysdeps/unix/i386/sigreturn.S: Likewise.
56631         * sysdeps/unix/i386/syscall.S: Likewise.
56632         * sysdeps/unix/i386/vfork.S: Likewise.
56633         * sysdeps/unix/i386/wait.S: Likewise.
56635         * sysdeps/unix/common/tcsendbrk.c: Move to ...
56636         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
56638         * configure.in (arm*-none*): Do not allow without
56639         --enable-hacker-mode.
56640         (netbsd*): Remove case setting base_os.
56641         (386bsd*): Likewise.
56642         (freebsd*): Likewise.
56643         (bsdi*): Likewise.
56644         (osf*): Likewise.
56645         (sunos*): Likewise.
56646         (ultrix*): Likewise.
56647         (newsos*): Likewise.
56648         (dynix*): Likewise.
56649         (*bsd*): Likewise.
56650         (sysv*): Likewise.
56651         (isc*): Likewise.
56652         (esix*): Likewise.
56653         (sco*): Likewise.
56654         (minix*): Likewise.
56655         (irix4*): Likewise.
56656         (irix6*): Likewise.
56657         (solaris[2-9]*): Likewise.
56658         (none): Likewise.
56659         * configure: Regenerated.
56661 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56663         [BZ #11521]
56664         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
56665         overflow or cancellation in calculating denominator.
56666         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
56667         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
56668         down expression to avoid unexpected rounding in newer GCCs.
56669         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
56671 2012-04-26  David S. Miller  <davem@davemloft.net>
56673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
56674         long-double compat symbols.
56675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
56679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
56681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
56682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
56683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
56684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
56685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
56686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
56687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56689 2012-04-25  David S. Miller  <davem@davemloft.net>
56691         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
56692         HWCAP_* values only after the memory barriers have been defined.
56693         (atomic_full_barrier): Define.
56694         (atomic_read_barrier): Define.
56695         (atomic_write_barrier): Define.
56697 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56699         * shlib-versions: Add libgcc_s version information.
56700         * sysdeps/generic/libgcc_s.h: Remove.
56701         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
56702         libgcc_s.h.
56703         * sysdeps/gnu/unwind-resume.c: Likewise.
56704         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
56706 2012-04-25  David S. Miller  <davem@davemloft.net>
56708         * sysdeps/unix/sparc/brk.S: Delete.
56709         * sysdeps/unix/sparc/dl-brk.S: Delete.
56710         * sysdeps/unix/sparc/pipe.S: Delete.
56711         * sysdeps/unix/sparc/sysdep.S: Delete.
56712         * sysdeps/unix/sparc/sysdep.h: Delete.
56713         * sysdeps/unix/sparc/vfork.S: Delete.
56714         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
56715         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
56716         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
56717         (ret_ERRVAL, r0, r1, MOVE): Define.
56718         (JUMPTARGET): Remove.
56719         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
56720         sysdeps/unix/sparc/sysdep.h
56721         (ENTRY, END): Remove.
56722         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56724 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
56726         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
56727         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
56728         -DIS_IN_build.
56730         * timezone/README: Update upstream location and email address for
56731         tzcode and tzdata.
56732         * timezone/zdump.c: Update from tzcode 2012b.
56733         * timezone/zic.c: Likewise.
56735         * configure.in (libc_cv_as_needed): Remove test.
56736         * configure: Regenerated.
56737         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
56738         conditional definition.
56739         [$(have-as-needed) != yes] (no-as-needed): Likewise.
56740         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
56741         * config.make.in (have-as-needed): Remove variable.
56743 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56744             Paul Pluzhnikov  <ppluzhnikov@google.com>
56746         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
56747         strings correctly.
56749 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
56751         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
56752         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
56753         * sysdeps/sh/strlen.S: Likewise.
56755 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56757         * sysdeps/unix/fork.S: Remove file.
56758         * sysdeps/unix/i386/fork.S: Likewise.
56759         * sysdeps/unix/sparc/fork.S: Likewise.
56761         * sysdeps/unix/system.c: Remove file.
56762         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
56764         * sysdeps/unix/getegid.S: Remove file.
56765         * sysdeps/unix/geteuid.S: Likewise.
56767 2012-04-24  Roland McGrath  <roland@hack.frob.com>
56769         * scripts/check-localplt.awk: New file.
56770         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
56771         of diff.
56772         * scripts/data/localplt-generic.data: Add a comment.
56774         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
56775         NODE when __dir_mkfile failed.
56776         * sysdeps/mach/hurd/symlinkat.c: Likewise.
56777         Reported by Ludovic Courtès <ludo@gnu.org>.
56779 2012-04-24  Andreas Jaeger  <aj@suse.de>
56781         * Makerules (common-clean): Also remove gen-as-const-headers
56782         files.
56784 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56786         * Makerules (native-compile): Do not change working directory for
56787         build.  Use $(OUTPUT_OPTION) in command.
56788         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
56790 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56792         [BZ #13886]
56793         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
56794         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
56795         * math/libm-test.inc (floor_test): Add more tests.
56796         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
56798 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
56800         * sysdeps/unix/getdents.c: Remove file.
56801         * sysdeps/unix/sysv/getdents.c: Likewise.
56802         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
56804         * sysdeps/unix/syscalls.list (madvise): Add syscall from
56805         sysdeps/unix/mman/syscalls.list.
56806         (mmap): Likewise.
56807         (mprotect): Likewise.
56808         (msync): Likewise.
56809         (munmap): Likewise.
56810         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
56811         * sysdeps/unix/mman/syscalls.list: Remove.
56812         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
56814         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
56815         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
56816         * configure: Regenerated.
56817         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
56818         $(libgcc_s_suffix).
56819         * config.make.in (libgcc_s_suffix): Remove variable.
56821 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
56823         * sysdeps/unix/sysv/gethostname.c: Move to ...
56824         * sysdeps/posix/gethostname.c: ... here.
56826         * sysdeps/unix/execve.S: Remove file.
56828         * sysdeps/unix/_exit.S: Remove file.
56830 2012-04-23  Andreas Jaeger  <aj@suse.de>
56832         [BZ #13739]
56833         * manual/Makefile: Remove make dist support, there's no
56834         need for a stand-alone documentation tar ball.
56835         (TEXI2DVI): Define always, it's not in Makeconfig.
56836         (dist): Removed.
56837         (tar-it): Removed.
56838         (edition): Removed.
56839         (glibc-doc-$(edition).tar): Removed
56840         (%.Z): Removed.
56841         (%.gz): Removed.
56842         (%.uu): Removed.
56843         (ETAGS): Remove, it's in Makeconfig.
56844         (move-if-change): Remove, it's in Makeconfig.
56846 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
56848         [BZ #13970]
56849         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
56850         (strtod, strtof, strtold, strtol, strtoul, strtoq)
56851         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
56852         (strtod_l, strtof_l, strtold_l): Remove __wur.
56853         It is not necessarily an error to ignore strtol's return value.
56854         One can reliably look at the stored endptr to decide whether
56855         the number had valid syntax.
56857 2012-04-21  Andreas Jaeger  <aj@suse.de>
56859         [BZ #13739]
56860         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
56862 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
56864         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
56865         * sysdeps/unix/sysv/Versions: Remove file.
56867 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
56869         [BZ #13927]
56870         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56872 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
56874         [BZ #7064]
56875         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
56876         version from __vm86.
56878 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
56880         * sysdeps/unix/common/lxstat.c: Remove file.
56881         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
56883         * sysdeps/unix/sysv/Makefile: Remove file.
56885         * sysdeps/unix/sysv/direct.h: Remove file.
56887         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
56888         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
56889         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
56890         * sysdeps/unix/sysv/bits/signum.h: Likewise.
56891         * sysdeps/unix/sysv/bits/stat.h: Likewise.
56892         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
56893         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
56895         * sysdeps/unix/sysv/setrlimit.c: Remove file.
56897         * sysdeps/unix/xmknod.c: Remove file.
56898         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
56900         * sysdeps/unix/sysv/settimeofday.c: Remove file.
56902         * sysdeps/unix/sysv/i386/time.S: Remove file.
56904         * sysdeps/unix/fxstat.c: Remove file.
56905         * sysdeps/unix/xstat.c: Likewise.
56906         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
56908         * sysdeps/unix/sysv/sigaction.c: Remove file.
56910         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
56911         (sysdep_headers): Remove variable.
56912         [termio.h not in sysdep_headers] (generated): Likewise.
56913         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
56914         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
56915         * sysdeps/unix/sysv/tcdrain.c: Likewise.
56916         * sysdeps/unix/sysv/tcflow.c: Likewise.
56917         * sysdeps/unix/sysv/tcflush.c: Likewise.
56918         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
56919         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
56920         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
56921         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
56922         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
56924         * sysdeps/unix/siglist.c: Remove file.
56926         * sysdeps/unix/getppid.S: Remove file.
56928         * sysdeps/unix/mkdir.c: Remove file.
56929         * sysdeps/unix/rmdir.c: Likewise.
56931 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
56933         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
56934         ERR_MAX value.
56935         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
56936         errlist-compat value.
56938 2012-04-18  David S. Miller  <davem@davemloft.net>
56940         * sysdeps/generic/memcopy.h (reg_char): Delete.
56941         * debug/strcat_chk.c: Use char, not reg_char.
56942         * debug/strcpy_chk.c: Likewise.
56943         * debug/strncat_chk.c: Likewise.
56944         * debug/strncpy_chk.c: Likewise.
56945         * string/memchr.c: Likewise.
56946         * string/memrchr.c: Likewise.
56947         * string/rawmemchr.c: Likewise.
56948         * string/strcat.c: Likewise.
56949         * string/strchr.c: Likewise.
56950         * string/strchrnul.c: Likewise.
56951         * string/strcmp.c: Likewise.
56952         * string/strcpy.c: Likewise.
56953         * string/strncat.c: Likewise.
56954         * string/strncmp.c: Likewise.
56955         * string/strncpy.c: Likewise.
56957 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
56959         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
56960         __builtin_memcopy is called when src and dest ranges are known to not
56961         overlap.
56963 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
56965         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
56966         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
56967         fwd_align_merge macro call.
56968         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
56969         bwd_align_merge macro call.
56970         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56972 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
56974         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
56975         bwd_align_merge macros.
56976         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
56977         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
56978         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
56980 2012-04-18  David S. Miller  <davem@davemloft.net>
56982         * sysdeps/sparc/sparc64/memcopy.h: Delete.
56984 2012-04-18  Andreas Jaeger  <aj@suse.de>
56986         [BZ# 6794]
56987         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
56988         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
56989         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56991         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
56992         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
56993         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
56995         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
56996         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
56997         Adjust for changed ldbl-128 files.
56999         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57000         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57001         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57003 2012-04-17  David S. Miller  <davem@davemloft.net>
57005         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57007 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57009         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57010         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57011         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57012         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57013         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57014         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57016 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57018         [BZ #6794]
57019         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57020         * math/libm-test.inc: Add ilogb errno and exception tests.
57021         * math/w_ilogb.c: New file: ilogb wrapper.
57022         * math/w_ilogbf.c: New file: ilogbf wrapper.
57023         * math/w_ilogbl.c: New file: ilogbl wrapper.
57024         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57025         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57026         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57027         exception being thrown with 0.0 as argument.
57028         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57029         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57030         exception being thrown with 0.0 as argument.
57031         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57032         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57033         exception being thrown with 0.0 as argument.
57034         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57035         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57036         exception being thrown with 0.0 as argument.
57037         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57038         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57039         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57040         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57041         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57042         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57043         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57044         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57045         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57047 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57049         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57050         with altivec.
57052 2012-04-16  Marek Polacek  <polacek@redhat.com>
57054         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57056 2012-04-16  Marek Polacek  <polacek@redhat.com>
57058         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57059         operands of fdivp instruction.
57061 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57063         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57064         * elf/tst-auditmod3b.c: Likewise.
57065         * elf/tst-auditmod4b.c: Likewise.
57066         * elf/tst-auditmod5b.c: Likewise.
57067         * elf/tst-auditmod6b.c: Likewise.
57068         * elf/tst-auditmod6c.c: Likewise.
57069         * elf/tst-auditmod7b.c: Likewise.
57070         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57071         * sysdeps/x86_64/preconfigure.in: Likewise.
57072         * sysdeps/x86_64/preconfigure: Regenerated.
57074 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57076         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57077         __ILP32__.
57079 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57081         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57082         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57084 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57086         [BZ #13973]
57087         * locale/iso-639.def: Fix gl language name. Spotted by
57088         Yaron Shahrabani.
57090 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57092         [BZ #2074]
57093         * libio/libio.h (__io_write_fn): Update comment.
57095 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57097         [BZ #2074]
57098         * stdio.texi (Hook Functions): The user provided writer function
57099         is not allowed to return -1.
57101 2012-04-11  David S. Miller  <davem@davemloft.net>
57103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57105 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57107         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57108         Add a leading slash to rtkaio.
57110 2012-04-11  Jim Meyering  <meyering@redhat.com>
57112         [BZ #11959]
57113         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57114         It is not necessarily an error to ignore fwrite's return
57115         value.  One can reliably use ferror to test for errors after
57116         the fact.
57118 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57120         * bits/types.h (__snseconds_t): New type.
57121         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57123         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57124         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57125         (__SNSECONDS_T_TYPE): Likewise.
57126         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57127         (__SNSECONDS_T_TYPE): Likewise.
57128         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57129         (__SNSECONDS_T_TYPE): Likewise.
57131 2012-04-10  Andreas Jaeger  <aj@suse.de>
57133         [BZ #2636]
57134         * manual/time.texi (Processor Time): Return type of times is
57135         elapsed real time since an arbitrary point in the past.
57136         (CPU Time): Move CLK_TCK from here...
57137         (Processor Time): ...to here.  Correct description.
57138         * manual/conf.texi (Constants for Sysconf): Correct description of
57139         _SC_CLK_TCK.
57141 2012-04-10  David S. Miller  <davem@davemloft.net>
57143         [BZ #13967]
57144         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57145         where the is a gap between DT_REL(A) and DT_JMPREL.
57147 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57149         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57150         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57151         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57153 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57155         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57156         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57157         (dl_main): Handle --inhibit-cache.
57158         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57159         _dl_inhibit_cache.
57160         * elf/dl-load.c (_dl_map_object): Use it.
57161         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57163 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57165         [BZ #13872]
57166         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57167         (__ieee754_powl): Saturate large exponents rather than testing for
57168         overflow of y*log2(x).
57169         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57170         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57171         exceptions.
57173         [BZ #11521]
57174         * math/s_ctan.c: Include <float.h>.
57175         (__ctan): Avoid internal overflow or cancellation in calculating
57176         denominator.
57177         * math/s_ctanf.c: Likewise.
57178         * math/s_ctanl.c: Likewise.
57179         * math/s_ctanh.c: Likewise.
57180         * math/s_ctanhf.c: Likewise.
57181         * math/s_ctanhl.c: Likewise.
57182         * math/libm-test.inc (ctan_test): Add more tests.
57183         (ctanh_test): Likewise.
57184         * sysdeps/i386/fpu/libm-test-ulps: Update.
57185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57187 2012-04-09  Andreas Jaeger  <aj@suse.de>
57189         [BZ #6894]
57190         * manual/filesys.texi (Directory Entries): Mention that d_namlen
57191         is an optional BSD extension.
57193         [BZ #10254]
57194         * manual/stdio.texi (Opening Streams): Document additional fopen
57195         parameters.
57197 2012-04-09  Roland McGrath  <roland@hack.frob.com>
57199         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
57200         %eax without telling the compiler.
57202 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
57204         [BZ # 13963]
57205         * manual/install.texi: Use sourceware.org.
57207 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57209         [BZ #13873]
57210         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
57211         (__ieee754_pow): Generate overflow and underflow using huge*huge
57212         and tiny*tiny rather than just returning constant infinity or zero
57213         for large exponents.
57214         * math/libm-test.inc (pow_test): Require overflow exceptions for
57215         applicable cases of large exponents.
57217         [BZ #706]
57218         * sysdeps/i386/fpu/e_pow.S (p10): New object.
57219         (__ieee754_pow): Use iterative multiplication algorithm only for
57220         integer exponents with absolute value below 1024.  Check for odd
57221         integer exponents when using algorithm for real exponents.
57222         * math/libm-test.inc (pow_test): Add more tests.
57223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57225 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
57227         [BZ #13705]
57228         * math/libm-test.inc (exp_test): Do not allow overflow exception
57229         on underflow test.
57231 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
57233         [BZ #13705]
57234         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
57235         instead of __kernel_standard_f.
57237 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
57239         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
57240         * sysdeps/x86_64/memset_chk.S: Likewise.
57242 2012-04-08  Andreas Jaeger  <aj@suse.de>
57244         [BZ #10153]
57245         * manual/startup.texi (Environment Access): Describe return value
57246         for putenv and setenv.
57248         [BZ #6895]
57249         * manual/filesys.texi (Directory Entries): Add description for
57250         DT_LNK.
57252         [BZ #6890]
57253         * manual/filesys.texi (Directory Entries): Clarify that it's file
57254         system not operating system in the description of DT_UNKNOWN.
57256         [BZ #6578]
57257         * manual/syslog.texi (closelog): Fix reference, it's openlog.
57259 2012-04-08  Stephen Compall  <s11@member.fsf.org>
57261         [BZ #6649]
57262         * manual/llio.texi (Opening and Closing Files): Add cross
57263         reference to explain mode argument.
57265 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
57267         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
57268         * sysdeps/x86_64/memset_chk.S: Likewise.
57270 2012-04-07  David S. Miller  <davem@davemloft.net>
57272         * elf/elf.h (R_SPARC_WDISP10): Define.
57273         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
57274         R_SPARC_SIZE32.
57275         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
57276         R_SPARC_SIZE64 and R_SPARC_H34.
57278 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
57280         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
57281         conditions and remove no longer applicable assertion.
57283 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57285         * bits/byteswap.h: Include <features.h>.
57286         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57287         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57289 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
57291         * bits/byteswap.h (__bswap_16): Removed.
57292         Include <bits/byteswap-16.h> to get __bswap_16.
57293         * sysdeps/i386/bits/byteswap.h: Likewise.
57294         * sysdeps/s390/bits/byteswap.h: Likewise.
57295         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57296         * bits/byteswap-16.h: New file.
57297         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57298         * sysdeps/s390/bits/byteswap-16.h: Likewise.
57299         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
57300         * string/Makefile (headers): Add bits/byteswap-16.h.
57302 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
57304         [BZ #13895]
57305         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
57306         extra indirection.
57307         * nss/Makefile (tests-static, tests): Add tst-nss-static.
57308         * nss/tst-nss-static.c: New.
57310 2012-04-06  Robert Millan  <rmh@gnu.org>
57312         [BZ #6486]
57313         * manual/llio.texi (File Position Primitive): lseek
57314         refers to WHENCE when it really means OFFSET.
57316 2012-04-06  Andreas Jaeger  <aj@suse.de>
57318         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
57319         strncmp declarations.
57321         * abilist/libc.abilist: Add __poll and __ppoll.
57323 2012-04-05  David S. Miller  <davem@davemloft.net>
57325         * scripts/check-local-headers.sh: Accept a host triplet in the
57326         path matched by the exclude regexp.
57328         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
57329         definition.
57330         * sysdeps/powerpc/powerpc32/dl-machine.h
57331         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
57332         * sysdeps/s390/s390-32/dl-machine.h
57333         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57334         * sysdeps/sparc/sparc32/dl-machine.h
57335         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57336         * sysdeps/sparc/sparc64/dl-machine.h
57337         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
57339         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
57340         lazy binding.
57341         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
57342         undefined symbol errors.
57344         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
57345         DT_NEEDED entries.
57347 2012-04-05  Michael Matz  <matz@suse.de>
57349         [BZ #13592]
57350         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
57352 2012-04-05  Andreas Jaeger  <aj@suse.de>
57354         [BZ #13908]
57355         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
57356         comment.
57358 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57360         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
57361         which ROUND is no valid rounding mode.
57363 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57365         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
57366         read again.
57367         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
57369 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57371         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
57372         an exception using FPU order intentionally.
57374 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57376         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
57377         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
57378         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
57379         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
57381 2012-04-05  Simon Josefsson  <simon@josefsson.org>
57383         [BZ #12340]
57384         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
57385         EINVAL when BUFLEN is too smal.
57387 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57389         [BZ #13553]
57390         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
57391         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
57393 2012-04-03  Andreas Jaeger  <aj@suse.de>
57395         [BZ #13938]
57396         * manual/setjmp.texi (System V contexts): Fix sentence.
57398         [BZ #13926]
57399         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
57400         New macro for this case.
57401         [!__GNUC__] (__bswap_64): New inline function for this case.
57402         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57403         * bits/byteswap.h: Likewise.
57404         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
57405         ull, guard with __GLIBC_HAVE_LONG_LONG.
57407         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
57408         __GLIBC_HAVE_LONG_LONG.
57410         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
57411         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
57413 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57415         [BZ #13691]
57416         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
57417         inptr and inend, rather than using last_ch.
57419 2012-04-02  David S. Miller  <davem@davemloft.net>
57421         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
57422         * stdio-common/printf-parse.h (read_int): Change return type to
57423         'int', return -1 on INT_MAX overflow.
57424         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
57425         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
57426         overflows INT_MAX.  Check for overflow of in-format-string precision
57427         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
57428         SIZE_MAX not INT_MAX for integer overflow test.
57429         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
57430         skip the construct in the format string but do not record anything.
57431         * stdio-common/bug22.c: Adjust to test both width/prevision
57432         INT_MAX overflow as well as total length INT_MAX overflow.  Check
57433         explicitly for proper errno values.
57435 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57437         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
57438         CHAR_MAX.
57439         * string/test-strcmp.c [! WIDE]: Likewise.
57440         * time/tst-mktime2.c: Likewise for INT_MAX.
57441         * string/test-string.h: #include <sys/param.h> for MIN.
57443         * csu/init-first.c (__libc_init_first): Call __ctype_init.
57444         * sysdeps/i386/init-first.c (init): Likewise.
57445         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
57446         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
57447         * sysdeps/sh/init-first.c (init): Likewise.
57449 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
57451         * po/ru.po: Update from translation team.
57452         * po/vi.po: Likewise.
57454 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57456         * resolv/nss_dns/dns-host.c: Merge copyright years.
57458 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57460         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57461         Optimize memcpy with prefetch if
57462         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
57463         src, dst pointers have unequal 16 byte alignments.
57465 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57467         [BZ #13928]
57468         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
57469         from a CNAME entry and return the minimum ttl for the query.
57470         (gaih_getanswer_slice): Likewise.
57472 2012-03-30  Jeff Law  <law@redhat.com>
57474         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
57475         due to long keys.
57476         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
57477         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
57479         * resolv/nss_dns/dns-host.c: Update copyright year.
57481 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
57483         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
57484         requests to save a system call.  Fix check that all bytes are sent.
57486         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
57487         comments for sendmmsg.
57489 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57491         [BZ #13691]
57492         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
57493         with only 1 character between 0x0041 and 0x01b0.
57494         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
57495         * wcsmbs/tst-mbsnrtowcs.c: New file.
57497 2012-03-29  David S. Miller  <davem@davemloft.net>
57499         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
57500         small copies by hand.
57502 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57504         [BZ #13761]
57505         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
57506         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
57507         group memberships.
57509 2012-03-28  David S. Miller  <davem@davemloft.net>
57511         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
57512         that branches into memcpy.
57513         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57514         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
57515         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57516         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
57517         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
57518         bits.
57519         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
57520         implementation too.
57521         * sysdeps/sparc/mempcpy.S: New file.
57523         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
57524         the IFUNC routine in the libc case.
57525         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57527         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
57528         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
57529         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
57530         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
57531         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
57532         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
57533         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
57534         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
57536         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
57537         loop to 256 bytes instead of 64 bytes and fix test signedness.
57539         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
57540         * sysdeps/sparc/sparc32/Makefile: rather than here...
57541         * sysdeps/sparc/sparc64/Makefile: and here.
57543 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
57545         * malloc/mallocbug.c: Avoid warnings about unused variables.
57547 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57549         [BZ #13760]
57550         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
57551         in the right place. Discard and retry query if response is
57552         larger than input buffer size.
57554 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
57556         [BZ #369]
57557         [BZ #2678]
57558         [BZ #3866]
57559         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
57560         x for large integer exponent.
57561         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
57562         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
57563         sign of result as needed afterwards.
57564         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
57565         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
57566         result for underflowing pow the same as for overflow.
57567         (__kernel_standard_l): Handle powl overflow and underflow here
57568         rather than calling __kernel_standard.
57569         * math/libm-test.inc (pow_test): Add more tests.
57571         [BZ #3868]
57572         [BZ #13879]
57573         [BZ #13910]
57574         [BZ #13911]
57575         [BZ #13912]
57576         [BZ #13913]
57577         [BZ #13915]
57578         [BZ #13916]
57579         [BZ #13917]
57580         [BZ #13918]
57581         [BZ #13919]
57582         [BZ #13920]
57583         [BZ #13921]
57584         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
57585         * sysdeps/ieee754/k_standard.c: Include <float.h>.
57586         (__kernel_standard_l): New function.
57587         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
57588         __kernel_standard.
57589         * math/w_acosl.c (__acosl): Likewise.
57590         * math/w_asinl.c (__asinl): Likewise.
57591         * math/w_atan2l.c (__atan2l): Likewise.
57592         * math/w_atanhl.c (__atanhl): Likewise.
57593         * math/w_coshl.c (__coshl): Likewise.
57594         * math/w_exp10l.c (__exp10l): Likewise.
57595         * math/w_exp2l.c (__exp2l): Likewise.
57596         * math/w_fmodl.c (__fmodl): Likewise.
57597         * math/w_hypotl.c (__hypotl): Likewise.
57598         * math/w_j0l.c (__j0l, __y0l): Likewise.
57599         * math/w_j1l.c (__j1l, __y1l): Likewise.
57600         * math/w_jnl.c (__jnl, __ynl): Likewise.
57601         * math/w_lgammal.c (__lgammal): Likewise.
57602         * math/w_log10l.c (__log10l): Likewise.
57603         * math/w_log2l.c (__log2l): Likewise.
57604         * math/w_logl.c (__logl): Likewise.
57605         * math/w_powl.c (__powl): Likewise.
57606         * math/w_remainderl.c (__remainderl): Likewise.
57607         * math/w_scalbl.c (sysv_scalbl): Likewise.
57608         * math/w_sinhl.c (__sinhl): Likewise.
57609         * math/w_sqrtl.c (__sqrtl): Likewise.
57610         * math/w_tgammal.c (__tgammal): Likewise.
57611         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
57612         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
57613         * math/libm-test.inc (acos_test): Add more tests.
57614         (acosh_test): Likewise.
57615         (asin_test): Likewise.
57616         (atanh_test): Likewise.
57617         (exp_test): Likewise.
57618         (exp10_test): Likewise.
57619         (exp2_test): Likewise.
57620         (expm1_test): Likewise.
57621         (lgamma_test): Likewise.
57622         (log_test): Likewise.
57623         (log10_test): Likewise.
57624         (log1p_test): Likewise.
57625         (log2_test): Likewise.
57626         (pow_test): Do not allow some spurious overflow exceptions.
57627         (sqrt_test): Add more tests.
57628         (tgamma_test): Likewise.
57629         (y0_test): Likewise.
57630         (y1_test): Likewise.
57631         (yn_test): Likewise.
57633 2012-03-27  Anton Blanchard  <anton@samba.org>
57635         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
57636         MAP_HUGETLB.
57637         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57638         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57639         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57641 2012-03-27  David S. Miller  <davem@davemloft.net>
57643         * conform/Makefile: Run run-conformtest.sh using $(BASH).
57645         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
57646         have-as-vis3 check.
57648 2012-03-27  Andreas Jaeger  <aj@suse.de>
57650         * sysdeps/x86_64/elf/configure.in: Moved to ...
57651         * sysdeps/x86_64/configure.in: ... here.
57652         * sysdeps/x86_64/elf/start.S: Moved to ...
57653         * sysdeps/x86_64/start.S: ... here.
57654         * sysdeps/x86_64/elf/configure: Delete.
57656         * sysdeps/x86_64/configure.in: Merge contents from
57657         sysdeps/i386/configure.in (without i686 check).
57659         * sysdeps/i386/elf/Versions: Merge into ...
57660         * sysdeps/i386/Versions: ... this.
57661         * sysdeps/i386/elf/Versions: Delete file.
57662         * sysdeps/i386/elf/start.S: Moved to ...
57663         * sysdeps/i386/start.S: ...here.
57664         * sysdeps/i386/elf/configure.in: Merge into...
57665         * sysdeps/i386/configure.in: ...here.
57666         * sysdeps/i386/elf/configure.in: Delete file.
57667         * sysdeps/i386/elf/configure: Delete file.
57669         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
57670         * debug/backtracesyms.c: ... here.
57671         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
57672         * debug/backtracesymsfd.c: ... here.
57673         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
57674         * sysdeps/generic/ifunc-sel.h: ... here.
57676         * sysdeps/unix/i386/start.c: Delete file.
57677         * sysdeps/unix/sparc/start.c: Delete file.
57678         * sysdeps/unix/start.c: Delete file.
57680         * sysdeps/sh/elf/configure.in: Moved to ...
57681         * sysdeps/sh/configure.in: ... here.
57682         * sysdeps/sh/elf/start.S: Moved to ...
57683         * sysdeps/sh/start.S: ... here.
57684         * sysdeps/sh/elf/configure: Delete file.
57686         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
57687         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
57688         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
57689         * sysdeps/powerpc/powerpc64/entry.h: ... here.
57690         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
57691         * sysdeps/powerpc/powerpc64/start.S: here.
57692         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
57693         * sysdeps/powerpc/powerpc64/Makefile: ... this.
57694         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
57695         * sysdeps/powerpc/powerpc64/configure.in: ... this.
57696         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
57698         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
57699         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
57700         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
57701         * sysdeps/powerpc/powerpc32/start.S: ... here.
57702         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
57703         * sysdeps/powerpc/powerpc32/configure.in: ... this.
57704         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
57706         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
57707         * sysdeps/powerpc/ifunc-sel.h: ... here.
57708         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
57709         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
57711         * sysdeps/sparc/elf/configure.in: Moved to ...
57712         * sysdeps/sparc/configure.in: ... here.
57713         * sysdeps/sparc/elf/configure: Delete file.
57714         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
57715         * sysdeps/sparc/sparc32/start.S: ... here.
57716         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
57717         * sysdeps/sparc/sparc64/start.S: ... here.
57718         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
57719         * sysdeps/sparc/sparc32/Makefile: ... this.
57720         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
57721         * sysdeps/sparc/sparc64/Makefile: ... this.
57723         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
57724         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
57725         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
57726         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
57727         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
57728         * sysdeps/s390/s390-32/setjmp.S: ... here.
57729         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
57730         * sysdeps/s390/s390-32/configure.in: ... here.
57731         * sysdeps/s390/s390-32/elf/configure: Delete file.
57732         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
57733         * sysdeps/s390/s390-32/start.S: ... here.
57735         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
57736         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
57737         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
57738         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
57739         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
57740         * sysdeps/s390/s390-64/setjmp.S: ... here.
57741         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
57742         * sysdeps/s390/s390-64/configure.in: ... here
57743         * sysdeps/s390/s390-64/elf/configure: Delete file.
57744         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
57745         * sysdeps/s390/s390-64/start.S: ... here.
57746         * sysdeps/s390/s390-64/elf/configure: Delete.
57748         * configure.in: Remove support for elf directories in sysdeps.
57750         * configure: Regenerated.
57751         * sysdeps/i386/configure: Regenerated.
57752         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57753         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57754         * sysdeps/s390/s390-32/configure: Regenerated.
57755         * sysdeps/s390/s390-64/configure: Regenerated.
57756         * sysdeps/sh/configure: Regenerated.
57757         * sysdeps/sparc/configure: Regenerated.
57758         * sysdeps/x86_64/configure: Regenerated.
57760 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
57762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57764         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
57765         denormal result into account.
57767 2012-03-25  Roland McGrath  <roland@hack.frob.com>
57769         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
57770         Reported by Allan McRae <allan@archlinux.org>.
57772 2012-03-23  Jeff Law  <law@redhat.com>
57774         * nss/getnssent.c (__nss_getent): Fix typo.
57776 2012-03-23  David S. Miller  <davem@davemloft.net>
57778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57780 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
57782         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
57783         to pad to uint64_t for each field.
57784         (dl_tls_index): Replace unsigned long with uint64_t.
57786 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
57787         Paul Pluzhnikov  <ppluzhnikov@google.com>
57789         [BZ #6528]
57790         * grp/Makefile (otherlibs): Don't set it.
57791         * inet/Makefile (otherlibs): Likewise.
57792         * login/Makefile (otherlibs): Likewise.
57793         * nscd/Makefile (otherlibs): Likewise.
57794         * posix/Makefile (otherlibs): Likewise.
57795         * pwd/Makefile (otherlibs): Likewise.
57796         * rt/Makefile (otherlibs): Likewise.
57797         * sunrpc/Makefile (otherlibs): Likewise.
57798         * nss/Makefile (otherlibs): Likewise.
57799         Add libnss_files to routines and static-only-routines.
57800         ($(objpfx)getent): Remove rule.
57801         * resolv/Makefile: Add libnss_dns and libresolv to routines and
57802         static-only-routines.
57804 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
57806         [BZ #13892]
57807         * math/s_cexp.c: Include <float.h>.
57808         (__cexp): Handle exp result overflowing not necessarily
57809         overflowing both real and imaginary parts of result.
57810         * math/s_cexpf.c: Likewise.
57811         * math/s_cexpl.c: Likewise.
57812         * math/libm-test.inc (cexp_test): Add more tests.
57813         * sysdeps/i386/fpu/libm-test-ulps: Update.
57814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57816 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57818         * include/link.h (ELFW): New macro.
57819         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
57820         Replace ELF64_R_TYPE with ELFW(R_TYPE).
57822 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57824         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
57825         with uint64_t.
57827 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57829         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
57830         declaration.
57831         (struct La_x32_retval): Likewise.
57833 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
57835         * sysdeps/x86_64/preconfigure.in: New file.
57836         * sysdeps/x86_64/preconfigure: New generated file.
57838 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
57840         [BZ #13824]
57841         * math/e_exp2l.c: Include <float.h>.
57842         (__ieee754_exp2l): Handle overflow and underflow cases
57843         separately.  Only pass fractional part of argument to
57844         __ieee754_expl.
57845         * math/libm-test.inc (exp2_test): Add more tests.
57847         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
57848         negating x to take absolute value.
57849         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
57850         Likewise.
57851         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57852         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
57853         Likewise.
57854         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
57855         computing low part if x was negated.
57856         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57858 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57860         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
57861         la_x32_gnu_pltexit.
57862         (pltexit): Cast int_retval to ptrdiff_t.
57863         * elf/tst-auditmod3b.c: Likewise.
57864         * elf/tst-auditmod4b.c: Likewise.
57865         * elf/tst-auditmod5b.c: Likewise.
57866         * elf/tst-auditmod6b.c: Likewise.
57867         * elf/tst-auditmod6c.c: Likewise.
57868         * elf/tst-auditmod7b.c: Likewise.
57870         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
57871         and x32_gnu_pltexit.
57873         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
57874         __ELF_NATIVE_CLASS.
57875         (La_x32_regs): New macro.
57876         (La_x32_retval): Likewise.
57877         (la_x32_gnu_pltenter): New function prototype.
57878         (la_x32_gnu_pltexit): Likewise.
57880 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
57882         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
57883         exponent.
57885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57887         * configure.in (libc_cv_cc_nofma): Check for option to disable
57888         generation of FMA instructions.
57889         * configure: Regenerate.
57890         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
57891         * sysdeps/ieee754/dbl-64/Makefile: New file.
57892         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
57893         Remove brandred-fma4.
57894         (CFLAGS-brandred-fma4.c): Remove.
57895         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
57896         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
57897         define.
57898         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
57899         define.
57901 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57903         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57904         LLONG_MAX != LONG_MAX.
57905         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57906         (_fitoa_word): Likewise.
57907         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
57908         LLONG_MAX != LONG_MAX.
57909         * stdio-common/_itowa.h: Include <_itoa.h>.
57910         (_itowa_word): Use _ITOA_WORD_TYPE on value.
57911         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
57912         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
57913         only if not defined.
57914         (_ITOA_WORD_TYPE): Likewise.
57915         (_itoa_word): Use _ITOA_WORD_TYPE on value.
57916         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
57918 2012-03-21  David S. Miller  <davem@davemloft.net>
57920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57922 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
57924         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
57925         of x86_64 when setting libc_cv_slibdir, libdir and
57926         libc_cv_localedir.
57927         * sysdeps/unix/sysv/linux/configure: Regenerated.
57929 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57931         * manual/lang.texi (Old Varargs): Remove section.
57932         (How Variadic): Update menu.
57933         (va_start): Do not mention varargs.h.
57935 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57936             Joseph Myers  <joseph@codesourcery.com>
57938         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
57939         link test.
57940         * configure: Regenerated.
57942 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57944         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
57945         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
57946         conformtest.pl
57948 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57950         * NOTES: Remove.
57951         * Makefile (files-for-dist): Remove NOTES.
57952         (NOTES): Remove rule.
57953         * README: Don't refer to NOTES.
57954         * manual/creature.texi: Don't include macros.texi.
57955         * manual/intro.texi (creature.texi): Remove comment referring to
57956         NOTES.
57958         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
57959         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
57960         * configure: Regenerated.
57961         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
57962         LIBC_TRY_CC_OPTION.
57963         (libc_cv_as_i686): Likewise.
57964         (libc_cv_cc_avx): Likewise.
57965         (libc_cv_cc_sse2avx): Likewise.
57966         (libc_cv_cc_fma4): Likewise.
57967         (libc_cv_cc_novzeroupper): Likewise.
57968         * sysdeps/i386/configure: Regenerated.
57970         [BZ #13883]
57971         * sysdeps/i386/fpu/s_cexp.S: Remove.
57972         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57973         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57974         * math/libm-test.inc (cexp_test): Add more tests.
57975         * sysdeps/i386/fpu/libm-test-ulps: Update.
57976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57978 2012-03-21  Allan McRae  <allan@archlinux.org>
57980         * timezone/Makefile: Do not install iso3166.tab and zone.tab
57982 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
57984         [BZ #13871]
57985         * math/w_exp2.c: Do not include <float.h>.
57986         (o_threshold, u_threshold): Remove.
57987         (__exp2): Calculate result before checking finiteness and calling
57988         __kernel_standard.
57989         * math/w_exp2f.c: Likewise.
57990         * math/w_exp2l.c: Likewise.
57991         * math/libm-test.inc (exp2_test): Require overflow exception for
57992         1e6 input.
57994         [BZ #3866]
57995         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
57996         range of signed 64-bit integers before using fistpll.  Remove
57997         checks for whether integers fit in mantissa bits.
57998         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
57999         the range of signed 32-bit integers before using fistpl.  Remove
58000         checks for whether integers fit in mantissa bits.
58001         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58002         (__ieee754_powl): Test for y outside the range of signed 64-bit
58003         integers before using fistpll.  Reduce 64-bit values to 63-bit
58004         ones as needed.
58005         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58006         divide-by-zero is raised for zero to large negative powers.
58007         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
58008         (__ieee754_powl): Test for y outside the range of signed 64-bit
58009         integers before using fistpll.  Reduce 64-bit values to 63-bit
58010         ones as needed.
58011         * math/libm-test.inc (pow_test): Add more tests.
58013 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58015         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58016         <stdio-common/_itoa.h>.
58017         * debug/segfault.c: Likewise.
58018         * elf/dl-cache.c: Likewise.
58019         * elf/dl-minimal.c: Likewise.
58020         * elf/dl-misc.c: Likewise.
58021         * elf/dl-sysdep.c: Likewise.
58022         * elf/dl-version.c: Likewise.
58023         * elf/rtld.c: Likewise.
58024         * hurd/hurdsock.c: Likewise.
58025         * hurd/lookup-retry.c: Likewise.
58026         * malloc/malloc.c: Likewise.
58027         * malloc/mtrace.c: Likewise.
58028         * nscd/nscd_getgr_r.c: Likewise.
58029         * nscd/nscd_getpw_r.c: Likewise.
58030         * nscd/nscd_getserv_r.c: Likewise.
58031         * posix/getopt_init.c: Likewise.
58032         * posix/wordexp.c: Likewise.
58033         * stdio-common/_itoa.c: Likewise.
58034         * stdio-common/printf_fphex.c: Likewise.
58035         * stdio-common/vfprintf.c: Likewise.
58036         * string/_strerror.c: Likewise.
58037         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58038         * sysdeps/i386/i686/hp-timing.h: Likewise.
58039         * sysdeps/mach/_strerror.c: Likewise.
58040         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58041         * sysdeps/mach/hurd/sethostid.c: Likewise.
58042         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58043         * sysdeps/mach/xpg-strerror.c: Likewise.
58044         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58045         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58046         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58047         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58048         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58049         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58050         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58051         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58052         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58053         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58054         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58055         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58056         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58057         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58058         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58059         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58060         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58061         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58062         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58063         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58064         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58066         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58068         * stdio-common/_itoa.h: Moved to ...
58069         * sysdeps/generic/_itoa.h: Here.
58071         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58073         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58074         instead of "_itoa.h" and "_itowa.h".
58075         * stdio-common/vfprintf.: Likewise.
58077 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58079         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58080         <bits/wordsize.h>.
58081         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58082         (__signbit): Likwise.
58083         (llrintf): Likwise.
58084         (llrint): Likwise.
58086 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58088         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58089         __WORDSIZE != 64.
58091 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58093         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58094         OVERFLOW_EXCEPTION_OK.
58095         * math/libm-test.inc ("Philosophy"): Update comment about
58096         exception testing.
58097         (OVERFLOW_EXCEPTION): Define.
58098         (OVERFLOW_EXCEPTION_OK): Likewise.
58099         (INVALID_EXCEPTION_OK): Renumber.
58100         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58101         (IGNORE_ZERO_INF_SIGN): Likewise.
58102         (test_exceptions): Handle FE_OVERFLOW.
58103         (exp10_test): Expect overflow exceptions.
58104         (exp2_test): Likewise.
58105         (expm1_test): Likewise.
58106         (nextafter_test): Likewise.
58107         (pow_test): Likewise.
58108         (scalbn_test): Likewise.
58109         (scalbln_test): Likewise.
58111 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58113         * sysdeps/x86_64/bits/atomic.h
58114         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58115         64bit integer.
58116         (atomic_exchange_acq): Likewise.
58117         (__arch_exchange_and_add_body): Likewise.
58118         (__arch_add_body): Likewise.
58119         (atomic_add_negative): Likewise.
58120         (atomic_add_zero): Likewise.
58122 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58124         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58125         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58127 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58129         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58130         Check __x86_64__ instead of __WORDSIZE.
58132 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58134         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58136 2012-03-19  David S. Miller  <davem@davemloft.net>
58138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58140         * sysdeps/sparc/fpu/fenv_private.h: New file.
58141         * sysdeps/sparc/fpu/math_private.h: Use it.
58142         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58143         Remove.
58144         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58145         (libc_feholdexcept_setroundl): Remove.
58146         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58147         Remove.
58148         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58149         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58151 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58153         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58154         int64_t instead of long int.
58155         (INSERT_WORDS64): Likwise.
58157 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58159         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58160         _Unwind_GetCFA return to _Unwind_Ptr first.
58162 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58164         [BZ #13629]
58165         * math/s_clog.c: Include <float.h>.
58166         (__clog): Scale large or subnormal inputs.
58167         * math/s_clogf.c: Likewise.
58168         * math/s_clogl.c: Likewise.
58169         * math/s_clog10.c: Include <float.h>.
58170         (M_LOG10_2): Define.
58171         (__clog10): Scale large or subnormal inputs.
58172         * math/s_clog10f.c: Likewise.
58173         * math/s_clog10l.c: Likewise.
58174         * math/libm-test.inc (clog_test): Add more tests.
58175         (clog10_test): Likewise.
58176         * sysdeps/i386/fpu/libm-test-ulps: Update.
58177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58179         [BZ #11451]
58180         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
58181         x and y.
58182         * math/libm-test.inc (atan2_test): Add another test.
58184         * Makerules (common-objdir-compile): Remove.
58185         * sysdeps/unix/Makefile (config-generated): Do not add
58186         $(unix-generated) to variable.
58187         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
58188         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
58189         Remove rule.
58190         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
58191         Likewise.
58192         [generic bits/local_lim.h] (before-compile): Do not append to
58193         variable.
58194         [generic bits/local_lim.h] (common-generated): Likewise.
58195         [generic sys/param.h] (before-compile): Do not append to variable.
58196         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
58197         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
58198         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
58199         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
58200         include.
58201         [generic sys/param.h] (sys/param.h-includes): Remove variable.
58202         [generic sys/param.h] (sys/param.h-includes): Remove rule.
58203         [generic sys/param.h] ($(addprefix
58204         $(common-objpfx),$(sys/param.h-includes))): Likewise.
58205         [generic sys/param.h] (common-generated): Do not append to
58206         variable.
58207         [generic sys/param.h] (sysdep_headers): Likewise.
58208         [generic bits/errno.h] (before-compile): Do not append to
58209         variable.
58210         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
58211         rule.
58212         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
58213         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
58214         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
58215         [generic bits/errno.h] (common-generated): Do not append to
58216         variable.
58217         [generic bits/ioctls.h] (before-compile): Do not append to
58218         variable.
58219         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
58220         rule.
58221         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
58222         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
58223         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
58224         rule.
58225         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
58226         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
58227         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
58228         [generic bits/ioctls.h] (common-generated): Do not append to
58229         variable.
58230         [generic sys/syscall.h] (syscall.h): Remove variable.
58231         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
58232         rule.
58233         [generic sys/syscall.h] (before-compile): Do not append to
58234         variable.
58235         [generic sys/syscall.h] (common-generated): Likewise.
58236         * sysdeps/unix/errnos-tmpl.c: Remove file.
58237         * sysdeps/unix/errnos.awk: Likewise.
58238         * sysdeps/unix/ioctls-tmpl.c: Likewise.
58239         * sysdeps/unix/ioctls.awk: Likewise.
58240         * sysdeps/unix/mk-local_lim.c: Likewise.
58241         * sysdeps/unix/snarf-ioctls: Likewise.
58243 2012-03-19  Richard Henderson  <rth@twiddle.net>
58245         * sysdeps/i386/fpu/fenv_private.h: New file.
58246         * sysdeps/i386/fpu/math_private.h: Use it.
58247         (math_opt_barrier, math_force_eval): Remove.
58248         (libc_feholdexcept_setround_53bit): Remove.
58249         (libc_feupdateenv_53bit): Remove.
58250         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58251         (math_opt_barrier, math_force_eval): Remove.
58252         (libc_feholdexcept): Remove.
58253         (libc_feholdexcept_setround): Remove.
58254         (libc_fetestexcept, libc_fesetenv): Remove.
58255         (libc_feupdateenv_test): Remove.
58256         (libc_feupdateenv, libc_feholdsetround): Remove.
58257         (libc_feresetround): Remove.
58259         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
58260         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
58262         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
58263         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
58264         (libc_feupdateenv_testl): New.
58265         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
58266         (libc_feupdateenv_testf): New.
58267         (libc_feupdateenv): Use libc_feupdateenv_test.
58268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
58269         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
58271         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
58272         (libc_feholdsetroundf, libc_feholdsetroundl): New.
58273         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
58274         (libc_feresetround_noex): New.
58275         (libc_feresetround_noexf): New.
58276         (libc_feresetround_noexl): New.
58277         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
58278         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
58279         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
58280         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
58281         SET_RESTORE_ROUND.
58282         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58283         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
58284         (__cos): Likewise.
58285         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
58286         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
58287         SET_RESTORE_ROUND_NOEX.
58288         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
58289         SET_RESTORE_ROUND_NOEXF.
58290         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
58291         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
58292         (libc_feholdsetroundf): New.
58293         (libc_feresetround, libc_feresetroundf): New.
58295         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
58296         (libc_feholdexcept_setround_53bit): Convert from macro to function.
58297         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
58299         * sysdeps/generic/math_private.h: Include <fenv.h>.
58300         (default_libc_feholdexcept): New.
58301         (default_libc_feholdexcept_setround): New.
58302         (default_libc_fesetenv, default_libc_feupdateenv): New.
58303         (libc_feholdexcept): Only define if undefined.
58304         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
58305         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
58306         (libc_feholdexcept_setroundl): Likewise.
58307         (libc_feholdexcept_setround_53bit): Likewise.
58308         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
58309         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
58310         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
58311         (libc_feupdateenv_53bit): Likewise.
58312         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
58313         (libc_feholdexcept): Convert from macro to inline function.
58314         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
58315         (libc_fesetenv, libc_feupdateenv): Likewise.
58317         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
58318         not previously defined.
58319         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
58320         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
58321         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
58322         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
58323         * sysdeps/ieee754/flt-32/math_private.h: New file.
58324         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
58325         math_private.h below SET_FLOAT_WORD.
58326         (__isnan, __isinf_ns, __finite): Remove.
58327         (__isnanf, __isinf_nsf, __finitef): Remove.
58329 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
58331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58333 2012-03-17  David S. Miller  <davem@davemloft.net>
58335         [BZ #6471]
58336         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
58337         for 2.16.
58339 2012-03-16  David S. Miller  <davem@davemloft.net>
58341         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
58342         warnings.
58344         [BZ #6471]
58345         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
58346         properly.
58347         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
58348         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
58349         sysdep_routines when subdir is sysvipc.
58350         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
58351         __getshmlba helper.
58353         * sysdeps/sparc/fpu/libm-test/ulps: Update.
58355 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58357         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
58358         [__LP64__].
58360 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58362         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
58363         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
58364         (__lround): Renamed to ...
58365         (__llround): This.  Replace long int with long long int.
58366         Define lround functions as aliases of llround functions.
58367         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
58369 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58371         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
58372         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
58373         adresses to uintptr_t.  Replace "long int" and "unsigned long
58374         int" with "greg_t" on va_arg.
58376 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58378         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
58379         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
58381         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
58382         Move e_machine check before EI_CLASS check.  Handle x32
58383         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
58384         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
58385         SKIP_EM_IA_64 and include
58386         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
58388         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
58389         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
58390         (add_system_dir): New macro.
58392         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
58393         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
58395 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58397         [BZ #2551]
58398         [BZ #2552]
58399         [BZ #2553]
58400         [BZ #2554]
58401         [BZ #2562]
58402         [BZ #2563]
58403         [BZ #2565]
58404         [BZ #2566]
58405         [BZ #2576]
58406         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
58407         (y0): Likewise.
58408         * math/w_j0f.c (j0f): Likewise.
58409         (y0f): Likewise.
58410         * math/w_j0l.c (__j0l): Likewise.
58411         (__y0l): Likewise.
58412         * math/w_j1.c (j1): Likewise.
58413         (y1): Likewise.
58414         * math/w_j1f.c (j1f): Likewise.
58415         (y1f): Likewise.
58416         * math/w_j1l.c (__j1l): Likewise.
58417         (__y1l): Likewise.
58418         * math/w_jn.c (jn): Likewise.
58419         (yn): Likewise.
58420         * math/w_jnf.c (jnf): Likewise.
58421         (ynf): Likewise.
58422         * math/w_jnl.c (__jnl): Likewise.
58423         (__ynl): Likewise.
58424         * math/libm-test.inc (j0_test): Add more tests.
58425         (j1_test): Likewise.
58426         (jn_test): Likewise.  Add trailing semicolon to existing test.
58427         (y0_test): Likewise.
58428         (y1_test): Likewise.
58429         * sysdeps/i386/fpu/libm-test-ulps: Update.
58430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58432         [BZ #13851]
58433         [BZ #13854]
58434         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
58435         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
58436         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
58437         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
58438         (__tanl): Set errno for infinite argument.
58439         * sysdeps/i386/fpu/mptan.c: Remove.
58440         * sysdeps/i386/fpu/s_tan.S: Likewise.
58441         * sysdeps/i386/fpu/s_tanl.S: Likewise.
58442         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
58443         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
58444         * math/libm-test.inc (tan_test): Add more tests and enable more
58445         tests for double and long double.
58446         * sysdeps/i386/fpu/libm-test-ulps: Update.
58447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58449 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
58451         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
58452         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
58454 2012-03-16  Roland McGrath  <roland@hack.frob.com>
58456         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
58457         * configure.in: Use it for both main tree and add-ons.
58458         * configure: Regenerated.
58460 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
58462         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
58464 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
58466         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
58467         in comment.
58469         [BZ #13851]
58470         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
58471         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
58472         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
58473         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
58474         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
58475         infinite argument.
58476         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
58477         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
58478         != 0 for prec == 2.
58479         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
58480         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
58481         * sysdeps/i386/fpu/s_cosl.S: Likewise.
58482         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
58483         * sysdeps/i386/fpu/s_sinl.S: Likewise.
58484         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
58485         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
58486         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
58487         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
58488         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
58489         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
58490         * math/libm-test.inc (cos_test): Add more tests and enable more
58491         tests for long double.
58492         (sin_test): Likewise.
58493         (sincos_test): Likewise.
58494         * sysdeps/i386/fpu/libm-test-ulps: Update.
58495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58497 2012-03-16  David S. Miller  <davem@davemloft.net>
58499         * sysdeps/sparc/fpu/math_private.h: New file.
58501 2012-03-15  David S. Miller  <davem@davemloft.net>
58503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
58504         file.
58505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
58506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
58507         file.
58508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
58509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
58510         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
58511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
58512         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
58513         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
58514         sysdep routines.
58515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58517         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
58518         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
58520         * sysdeps/sparc/sparc-ifunc.h: New file.
58521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
58522         sparc-ifunc.h
58523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
58525         Likewise.
58526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
58527         Likewise.
58528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
58529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
58530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58532         Likewise.
58533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
58535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
58537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
58538         Likewise.
58539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
58540         Likewise.
58541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
58543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
58544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
58545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58547         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
58548         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
58549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
58552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
58553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
58554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
58555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
58556         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
58557         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
58558         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
58559         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
58560         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
58561         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
58562         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
58563         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
58564         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
58566 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58568         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
58569         scaling.
58570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58572 2012-03-15  Andreas Jaeger  <aj@suse.de>
58574         [BZ #13852]
58575         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
58576         ieee754/flt-32 implementation for sin, cos and sincos.
58577         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
58578         * sysdeps/i386/fpu/s_cosf.S: Likewise.
58579         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
58580         * sysdeps/i386/fpu/s_sinf.S: Likewise.
58581         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
58582         ieee754/flt-32 implementation for tan.
58584         * math/libm-test.inc (cos_test): Enable some large input tests for
58585         float as well
58586         (sin_test): Likewise.
58587         (sincos_test): Likewise.
58588         (tan_test): Add tests for large input.
58590         * sysdeps/i386/fpu/libm-test-ulps: Update.
58592 2012-03-15  Andreas Jaeger  <aj@suse.de>
58594         [BZ #13658]
58595         * math/libm-test.inc (cos_test): Add more test cases.
58596         (sin_test): Likewise.
58597         (sincos_test): Likewise.
58599 2012-03-15  Andreas Jaeger  <aj@suse.de>
58601         [BZ #13837]
58602         * math/libm-test.inc (cos_test): Add a test case for large input
58603         value.
58604         (sin_test): Likewise.
58605         (sincos_test): Likewise.
58607 2012-03-15  Andreas Jaeger  <aj@suse.de>
58608             Joseph Myers  <joseph@codesourcery.com>
58610         [BZ #13658]
58611         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
58612         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
58613         * sysdeps/i386/fpu/branred.c: Likewise.
58614         * sysdeps/i386/fpu/dosincos.c: Likewise.
58615         * sysdeps/i386/fpu/mpa.c: Likewise.
58616         * sysdeps/i386/fpu/s_cos.S: Likewise.
58617         * sysdeps/i386/fpu/s_sin.S: Likewise.
58618         * sysdeps/i386/fpu/s_sincos.S: Likewise.
58619         * sysdeps/i386/fpu/sincos32.c: Likewise.
58621         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
58622         Define.
58623         (libc_feupdateenv_53bit): Define.
58624         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
58625         Define.
58626         (libc_feupdateenv_53bit): Define.
58628         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
58629         53 bit (without extend i386 double precision).
58631         * math/libm-test.inc (sincos_test): Add tests for large input.
58632         (sin): Likewise.
58633         (cos): Likewise.
58635         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
58637 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
58639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58641 2012-03-15  David S. Miller  <davem@davemloft.net>
58643         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
58644         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
58645         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
58646         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
58647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
58648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
58649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
58650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
58651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
58652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
58653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
58654         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
58655         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
58656         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
58657         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
58658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
58659         file.
58660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
58661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
58662         file.
58663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
58664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
58665         file.
58666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
58667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
58668         file.
58669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
58670         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
58671         fmin/fmax sysdep routines.
58672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
58674 2012-03-14  David S. Miller  <davem@davemloft.net>
58676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
58677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
58678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
58679         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
58680         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
58681         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
58682         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
58683         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
58684         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
58685         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
58686         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
58687         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
58688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
58689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
58690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
58691         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
58692         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
58693         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
58694         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
58695         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
58696         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
58697         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
58698         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
58699         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
58700         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
58701         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
58702         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
58703         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
58704         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
58705         routines.
58706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
58707         file.
58708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
58709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
58710         file.
58711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
58712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
58713         file.
58714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
58715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
58716         file.
58717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
58718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
58719         file.
58720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
58721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
58722         file.
58723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
58724         file.
58725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
58726         file.
58727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
58728         file.
58729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
58730         New file.
58731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
58732         file.
58733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
58734         file.
58735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
58736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
58737         file.
58738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
58739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
58740         file.
58741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
58742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
58743         file.
58744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
58745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
58746         VIS3 routines.
58748         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58749         New file.
58751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58753         * sysdeps/sparc/configure.in: New file.
58754         * sysdeps/sparc/configure: Generate.
58755         * configure.in (libc_cv_sparc_as_vis3): Substitute.
58756         * configure: Regenerate.
58757         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
58758         * config.make.in (have-as-vis3): New.
58759         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
58760         available use -Av9d instead of -Av9a.
58761         * sysdeps/sparc/sparc64/Makefile: Likewise.
58762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
58763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
58764         New file.
58765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
58766         file.
58767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
58768         New file.
58769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
58770         file.
58771         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
58772         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
58773         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
58774         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
58775         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
58777         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
58778         fzeros/fnegs to load 0x80000000 into a float register instead of
58779         using the stack.
58780         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
58782 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
58784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58785         bits/syscall.h.
58786         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
58787         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
58788         ($(inst_includedir)/bits/syscall.h): Remove rule.
58789         ($(objpfx)bits/syscall.d): Include instead of
58790         $(objpfx)syscall-list.d.
58791         (generated): Change syscall-list.h and syscall-list.d to
58792         bits/syscall.h and bits/syscall.d.
58794 2012-03-14  Roland McGrath  <roland@hack.frob.com>
58796         [BZ #13846]
58797         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
58799 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
58801         [BZ #13841]
58802         * math/s_csqrt.c: Include <float.h>.
58803         (__csqrt): Scale large or subnormal inputs.
58804         * math/s_csqrtf.c: Likewise.
58805         * math/s_csqrtl.c: Likewise.
58806         * math/libm-test.inc (csqrt_test): Add more tests.
58807         * sysdeps/i386/fpu/libm-test-ulps: Update.
58808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58810         [BZ #13840]
58811         * math/libm-test.inc (hypot_test): Add more tests.
58813 2012-03-13  David S. Miller  <davem@davemloft.net>
58815         [BZ #13840]
58816         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
58817         double-precision for the calculation instead of scaling.
58819 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
58821         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
58822         manipulate bits before adding and subtracting TWO52[sx].
58823         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
58824         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
58825         Likewise.
58826         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
58828 2012-03-13  David S. Miller  <davem@davemloft.net>
58830         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
58831         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
58832         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
58833         rtld-global-offsets.h
58834         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58836         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
58837         large parameters.
58839         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
58841         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
58842         'err' in the ifdef scope in which it is actually used.
58844         * nss/nss_db/db-init.c: Include string.h
58846 2012-03-12  David S. Miller  <davem@davemloft.net>
58848         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58849         masking out of the most significant byte of random value used.
58850         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58851         Fix coding style in previous change.
58853         * sysdeps/unix/sysv/linux/kernel-features.h
58854         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
58855         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
58856         expression.
58857         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
58858         later.
58860 2012-03-11  David S. Miller  <davem@davemloft.net>
58862         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58863         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
58864         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
58865         for 'resultvar' otherwise things get truncated on 64-bit.
58867         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58868         Fix masking out of the most significant byte of random value used.
58870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58872 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
58874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58876 2012-03-09  David S. Miller  <davem@davemloft.net>
58878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
58879         variables with appropriate CPP guards.
58880         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
58881         from the frame pointer, not the stack pointer.  Correct layout
58882         comments.  Fix test on resulting framesize and the management of
58883         the outregs buffer for pltexit.  Preserve floating point return
58884         values across _dl_call_pltexit call.
58885         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
58886         framesize and the management of the outregs buffer for pltexit.
58887         Preserve floating point return values across _dl_call_pltexit
58888         call.
58889         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
58890         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
58891         (la_sparc64_gnu_pltexit): New functions.
58892         (print_exit): Fix format string for return register value.
58894 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
58896         * sunrpc/Makefile (others): Add rpcgen.
58897         ($(objpfx)rpcgen): Remove special build rule and dependency on
58898         libc.
58899         * sunrpc/rpcgen.c: New file.
58901 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
58903         [BZ #13673]
58904         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
58905         * stdio-common/bug-vfprintf-nargs.c: Likewise.
58906         * sysdeps/i386/crti.S: Likewise.
58907         * sysdeps/i386/crtn.S: Likewise.
58908         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
58909         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
58910         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
58911         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
58912         * sysdeps/sh/crti.S: Likewise.
58913         * sysdeps/sh/crtn.S: Likewise.
58914         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58916         [BZ #13673]
58917         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
58918         with URL.
58919         * locale/programs/locfile-kw.gperf: Likewise.
58920         * locale/programs/charmap-kw.h: Regenerated.
58921         * locale/programs/locfile-kw.h: Likewise.
58923         [BZ #13673]
58924         * intl/plural.y: Replace FSF snail mail address with URL.
58925         * intl/plural.c: Regenerated.
58927 2012-03-09  Richard Henderson  <rth@twiddle.net>
58929         * include/math_private.h: Remove file.
58930         * math/math_private.h: Move file ...
58931         * sysdeps/generic/math_private.h: ... here.
58933         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
58934         * sysdeps/powerpc/fpu/math_private.h: Likewise.
58935         * sysdeps/x86_64/fpu/math_private.h: Likewise.
58937         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
58938         and <math_private.h>.
58939         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
58940         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
58941         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
58942         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
58943         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
58944         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
58945         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58946         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58947         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58948         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58949         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58950         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58951         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58952         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58953         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58954         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58955         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58956         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58957         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58958         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58959         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58960         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58961         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58962         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58963         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58964         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58965         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58966         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58967         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58968         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58969         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58970         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58971         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58972         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58973         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58974         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58975         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58976         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58977         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58978         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58979         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
58980         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58981         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58982         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58983         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58984         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58985         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
58986         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58987         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58988         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58989         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58990         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
58991         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58992         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58993         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58994         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58995         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58996         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58997         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58998         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
58999         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59000         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59001         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59002         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59003         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59004         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59005         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59006         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59007         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59008         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59009         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59010         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59011         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59012         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59013         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59014         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59015         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59016         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59017         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59018         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59019         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59020         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59021         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59022         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59023         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59024         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59025         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59026         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59027         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59028         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59029         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59030         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59031         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59032         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59033         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59034         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59035         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59036         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59037         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59038         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59039         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59040         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59041         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59042         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59043         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59044         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59045         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59046         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59047         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59048         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59049         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59050         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59051         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59052         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59053         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59054         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59055         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59056         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59057         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59058         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59059         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59060         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59061         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59062         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59063         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59064         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59065         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59066         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59067         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59068         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59069         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59070         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59071         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59072         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59073         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59074         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59075         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59076         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59077         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59078         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59079         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59080         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59081         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59082         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59083         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59084         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59085         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59086         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59087         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59088         * sysdeps/ieee754/k_standard.c: Likewise.
59089         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59090         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59091         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59092         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59093         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59094         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59095         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59096         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59097         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59098         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59099         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59100         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59101         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59102         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59103         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59104         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59105         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59106         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59107         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59108         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59109         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59110         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59111         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59112         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59113         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59114         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59115         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59116         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59117         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59118         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59119         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59120         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59121         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59122         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59123         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59124         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59125         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59126         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59127         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59128         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59129         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59130         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59131         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59132         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59133         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59134         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59135         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59136         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59137         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59138         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59139         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59140         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59141         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59142         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59143         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59144         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59145         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59146         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59147         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59148         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59149         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59150         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59151         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59152         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59153         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59154         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59155         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59156         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59157         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59158         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59159         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59160         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59161         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59162         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59163         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59164         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59165         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59166         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59167         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59168         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59169         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59170         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59171         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59172         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59173         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59174         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59175         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59176         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
59177         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59178         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59179         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
59180         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59181         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
59182         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59183         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59184         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59185         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
59186         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
59187         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
59188         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
59189         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59190         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59191         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59192         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59193         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
59194         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59195         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59196         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
59197         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
59198         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59199         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59200         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59201         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59202         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59203         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59204         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59205         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59206         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59207         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59208         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59209         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59210         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59211         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59212         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59213         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59214         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
59215         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59216         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59217         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59218         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59219         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59220         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59221         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59222         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59223         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59224         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59225         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
59226         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59227         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59228         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
59229         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
59230         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59231         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
59232         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
59233         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59234         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59235         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59236         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59237         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59238         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
59239         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59240         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59241         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59242         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59243         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
59244         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
59245         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59246         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59247         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59248         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59249         * sysdeps/ieee754/s_lib_version.c: Likewise.
59250         * sysdeps/ieee754/s_matherr.c: Likewise.
59251         * sysdeps/ieee754/s_signgam.c: Likewise.
59252         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59253         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59254         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
59255         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
59256         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
59257         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59258         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
59259         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
59260         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
59261         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
59262         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59263         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
59264         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59265         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59266         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
59267         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59268         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59269         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59270         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59272         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59274 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59276         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
59277         * sunrpc/rpc_main.c: Likewise.
59278         * sunrpc/rpc_svcout.c: Likewise.
59280 2012-03-09  David S. Miller  <davem@davemloft.net>
59282         * include/math_private.h: New file.
59284 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
59286         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
59287         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
59288         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
59289         from <bits/socket_type.h>.
59290         (enum __socket_type): Don't define here.
59291         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
59292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59293         bits/socket_type.h.
59295         [BZ #13566]
59296         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
59297         checking __USE_GNU.
59299         * Makerules ($(inst_includedir)/%.h): New rule.
59300         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
59301         (install-others): Remove variable setting.
59302         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
59304 2012-03-08  Richard Henderson  <rth@twiddle.net>
59306         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
59307         from macro to inline function; merge with the
59308         !__LIBC_INTERNAL_MATH_INLINES version.
59309         (__ieee754_sqrtf): Likewise.
59311         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
59312         to inline function.
59313         (__rintf, __floor, __floorf): Likewise.
59315         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
59316         macro to inline function.
59317         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
59319         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
59320         not <math/math_private.h>.
59322 2012-03-08  David S. Miller  <davem@davemloft.net>
59324         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
59325         copyright year.
59326         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
59328 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
59330         * resolv/gai_misc.c (handle_requests): Fix struct timespec
59331         normalization.
59332         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
59333         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
59335 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
59337         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
59338         be defined individually, they must be defined as a block.  Define
59339         S for printing a string instead of hidint the different by using a
59340         macro for adding the 'l'.
59341         * stdio-common/tst-fphex-wide.c: Adjust.
59343 2012-03-07  Marek Polacek  <polacek@redhat.com>
59345         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
59347 2012-03-08  Marek Polacek  <polacek@redhat.com>
59349         [BZ #13806]
59350         * stdio-common/Makefile (tests): Add tst-fphex-wide.
59351         * stdio-common/tst-fphex.c: Define a few macros to make the
59352         test reusable.  Use them.
59353         * stdio-common/tst-fphex-wide.c: New file.
59355 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
59357         [BZ #6911]
59358         * manual/macros.texi (gnusystems): New macro.
59359         (nongnusystems): Likewise.
59360         (gnulinuxhurdsystems): Likewise.
59361         (gnuhurdsystems): Likewise..
59362         (gnulinuxsystems): Likewise.
59363         * manual/charset.texi: Use new macros or @theglibc{} to refer to
59364         variants of the GNU system, not "GNU system".
59365         * manual/conf.texi: Likewise.
59366         * manual/errno.texi: Likewise.  Update example of errno macro
59367         expansion.
59368         * manual/filesys.texi: Likewise.
59369         (getumask): Document as specific to GNU/Hurd.
59370         * manual/install.texi: Likewise.  Reword some references to
59371         GNU/Linux.
59372         * manual/intro.texi: Likewise.
59373         * manual/io.texi: Likewise.
59374         (File Name Portability): Detail which constraints are inapplicable
59375         to all GNU systems and which are only inapplicable to GNU/Hurd.
59376         * manual/job.texi: Likewise.
59377         * manual/llio.texi: Likewise.
59378         (O_NOCTTY): Document as present on GNU/Linux.
59379         * manual/maint.texi: Likewise.
59380         * manual/memory.texi: Likewise.
59381         * manual/pattern.texi: Likewise.
59382         * manual/pipe.texi: Likewise.
59383         * manual/process.texi: Likewise.
59384         * manual/resource.texi: Likewise.
59385         (RUSAGE_CHILDREN): Remove statement about specifying a particular
59386         child on GNU/Hurd.
59387         * manual/setjmp.texi: Likewise.
59388         * manual/signal.texi: Likewise.
59389         * manual/startup.texi: Likewise.
59390         * manual/stdio.texi: Likewise.
59391         * manual/terminal.texi: Likewise.
59392         (ONLCR): Document as POSIX.
59393         (OXTABS): Document availability on GNU/Linux as XTABS.
59394         (ONOEOT): Document availability separately from other bits.
59395         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
59396         * manual/time.texi: Likewise.
59397         * manual/users.texi: Likewise.
59398         * INSTALL: Regenerated.
59399         * sysdeps/gnu/errlist.c: Regenerated.
59401         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
59402         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
59403         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
59404         puts.
59405         * configure: Regenerated.
59407 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
59409         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
59410         default includes instead of AC_HEADER_CHECK.
59411         * sysdeps/i386/configure: Regenerated.
59413         [BZ #10716]
59414         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
59415         * math/s_cacoshf.c (__cacoshf): Likewise.
59416         * math/s_cacoshl.c (__cacoshl): Likewise.
59417         * math/s_casinh.c (__casinh): Set signs of result from argument.
59418         * math/s_casinhf.c (__casinhf): Likewise.
59419         * math/s_casinhl.c (__casinhl): Likewise.
59420         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
59421         (casinh_test): Add more tests.
59422         * sysdeps/i386/fpu/libm-test-ulps: Update.
59423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59425 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
59427         * po/zh_TW.po: Update from translation team.
59429         * login/Makefile (distribute): Remove variable.
59430         * catgets/Makefile: Likewise.
59431         * mach/Makefile: Likewise.
59432         * malloc/Makefile: Likewise.
59433         * misc/Makefile: Likewise.
59434         * iconv/Makefile: Likewise.
59435         * nscd/Makefile: Likewise.
59436         * hurd/Makefile: Likewise.
59437         * manual/Makefile: Likewise.
59438         * locale/Makefile: Likewise.
59439         * intl/Makefile: Likewise.
59440         * conform/Makefile: Likewise.
59441         * nss/Makefile: Likewise.
59442         * time/Makefile: Likewise.
59443         * soft-fp/Makefile: Likewise.
59444         * dirent/Makefile: Likewise.
59445         * gmon/Makefile: Likewise.
59446         * po/Makefile: Likewise.
59447         * rt/Makefile: Likewise.
59448         * socket/Makefile: Likewise.
59449         * math/Makefile: Likewise.
59450         * signal/Makefile: Likewise.
59451         * debug/Makefile: Likewise.
59452         * elf/Makefile: Likewise.
59453         * timezone/Makefile: Likewise.
59454         * stdlib/Makefile: Likewise.
59455         * iconvdata/Makefile: Likewise.
59456         * sunrpc/Makefile: Likewise.
59457         * io/Makefile: Likewise.
59458         * argp/Makefile: Likewise.
59459         * inet/Makefile: Likewise.
59460         * hesiod/Makefile: Likewise.
59461         * grp/Makefile: Likewise.
59462         * csu/Makefile: Likewise.
59463         * wctype/Makefile: Likewise.
59464         * crypt/Makefile: Likewise.
59465         * libio/Makefile: Likewise.
59466         * string/Makefile: Likewise.
59467         * nis/Makefile: Likewise.
59468         * resolv/Makefile: Likewise.
59469         * stdio-common/Makefile: Likewise.
59470         * wcsmbs/Makefile: Likewise.
59471         * dlfcn/Makefile: Likewise.
59472         * posix/Makefile: Likewise.
59474         [BZ #6959]
59475         * timezone/Makefile: Don't install timezone files, just the programs
59476         and scripts.
59478 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
59480         * nss/databases.def: Add missing gshadow entry.
59482         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
59484 2012-03-06  Marek Polacek  <polacek@redhat.com>
59486         [BZ #13726]
59487         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
59488         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59489         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
59490         * stdio-common/tst-long-dbl-fphex.c: New file.
59492 2012-03-06  David S. Miller  <davem@davemloft.net>
59494         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59495         (set_obp_int): New function.
59496         (get_obp_int): New function.
59497         (__get_clockfreq_via_dev_openprom): Likewise.
59498         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
59499         Avoid unused variable warnings on 'val' and use builtin_expect.
59500         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
59501         __builtin_expect.
59502         (INLINE_CLONE_SYSCALL): Likewise.
59504 2012-03-05  David S. Miller  <davem@davemloft.net>
59506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59508 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
59510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59512         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
59513         only for |x| >= 40.
59514         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59516 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
59518         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
59519         Replace gettimeofday with __vdso_gettimeofday.
59521         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59522         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
59523         __vdso_clock_gettime and __vdso_getcpu.
59525         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
59526         time with __vdso_time.
59528 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59530         * manual/lang.texi (size_t): Note types to which size_t may be
59531         equivalent with the GNU C Library, but do not describe when
59532         differences between them are significant.
59534 2012-03-05  Andreas Jaeger  <aj@suse.de>
59536         * sysdeps/i386/fpu/libm-test-ulps: Update.
59538 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
59540         [BZ #3976]
59541         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
59542         (__ieee754_pow): Save and restore rounding mode and use
59543         round-to-nearest for main computations.
59544         * math/libm-test.inc (pow_test_tonearest): New function.
59545         (pow_test_towardzero): Likewise.
59546         (pow_test_downward): Likewise.
59547         (pow_test_upward): Likewise.
59548         (main): Call the new functions.
59549         * sysdeps/i386/fpu/libm-test-ulps: Update.
59550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59552         [BZ #3976]
59553         * math/libm-test.inc (cosh_test_tonearest): New function.
59554         (cosh_test_towardzero): Likewise.
59555         (cosh_test_downward): Likewise.
59556         (cosh_test_upward): Likewise.
59557         (sinh_test_tonearest): Likewise.
59558         (sinh_test_towardzero): Likewise.
59559         (sinh_test_downward): Likewise.
59560         (sinh_test_upward): Likewise.
59561         (main): Call the new functions.
59562         * sysdeps/i386/fpu/libm-test-ulps: Update.
59563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59565 2012-03-05  Tom de Vries  <tom@codesourcery.com>
59567         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
59568         default stack guard is set in last bytes.
59569         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
59571 2012-03-05  Kees Cook  <keescook@chromium.org>
59573         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
59575         [BZ #13656]
59576         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
59577         possibly allocate from heap instead of stack.
59578         * stdio-common/bug-vfprintf-nargs.c: New file.
59579         * stdio-common/Makefile (tests): Add nargs overflow test.
59581 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
59583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59585 2012-03-03  Marek Polacek  <polacek@redhat.com>
59587         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
59588         * math/math_private.h: Likewise.
59589         * stdlib/tst-strtod.c: Likewise.
59590         * sysdeps/i386/i486/bits/atomic.h: Likewise.
59591         * sysdeps/x86_64/bits/atomic.h: Likewise.
59593 2012-03-02  David S. Miller  <davem@davemloft.net>
59595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
59596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
59597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
59598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
59599         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
59600         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
59601         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
59602         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
59604 2012-03-02  Roland McGrath  <roland@hack.frob.com>
59606         [BZ #13792]
59607         * manual/examples/README: New file, says the example source files
59608         can be used under GPL>=2.
59609         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
59610         line containing just "*/".
59611         * manual/examples/add.c: Add copyright header (GPL>=2).
59612         * manual/examples/argp-ex1.c: Likewise.
59613         * manual/examples/argp-ex2.c: Likewise.
59614         * manual/examples/argp-ex3.c: Likewise.
59615         * manual/examples/argp-ex4.c: Likewise.
59616         * manual/examples/atexit.c: Likewise.
59617         * manual/examples/db.c: Likewise.
59618         * manual/examples/dir.c: Likewise.
59619         * manual/examples/dir2.c: Likewise.
59620         * manual/examples/execinfo.c: Likewise.
59621         * manual/examples/filecli.c: Likewise.
59622         * manual/examples/filesrv.c: Likewise.
59623         * manual/examples/fmtmsgexpl.c: Likewise.
59624         * manual/examples/genpass.c: Likewise.
59625         * manual/examples/inetcli.c: Likewise.
59626         * manual/examples/inetsrv.c: Likewise.
59627         * manual/examples/isockad.c: Likewise.
59628         * manual/examples/longopt.c: Likewise.
59629         * manual/examples/memopen.c: Likewise.
59630         * manual/examples/memstrm.c: Likewise.
59631         * manual/examples/mkfsock.c: Likewise.
59632         * manual/examples/mkisock.c: Likewise.
59633         * manual/examples/mygetpass.c: Likewise.
59634         * manual/examples/pipe.c: Likewise.
59635         * manual/examples/popen.c: Likewise.
59636         * manual/examples/rprintf.c: Likewise.
59637         * manual/examples/search.c: Likewise.
59638         * manual/examples/select.c: Likewise.
59639         * manual/examples/setjmp.c: Likewise.
59640         * manual/examples/sigh1.c: Likewise.
59641         * manual/examples/sigusr.c: Likewise.
59642         * manual/examples/stpcpy.c: Likewise.
59643         * manual/examples/strdupa.c: Likewise.
59644         * manual/examples/strftim.c: Likewise.
59645         * manual/examples/strncat.c: Likewise.
59646         * manual/examples/subopt.c: Likewise.
59647         * manual/examples/swapcontext.c: Likewise.
59648         * manual/examples/termios.c: Likewise.
59649         * manual/examples/testopt.c: Likewise.
59650         * manual/examples/testpass.c: Likewise.
59651         * manual/examples/timeval_subtract.c: Likewise.
59653         [BZ #13792]
59654         * manual/time.texi (Elapsed Time): Move timeval_subtract example
59655         function to ...
59656         * manual/timeval_subtract.c.texi: ... here, new file.
59658 2012-03-02  David S. Miller  <davem@davemloft.net>
59660         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
59662 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
59664         [BZ #3976]
59665         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
59666         (__sin): Save and restore rounding mode and use round-to-nearest
59667         for all computations.
59668         (__cos): Save and restore rounding mode and use round-to-nearest
59669         for all computations.
59670         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
59671         <fenv.h>.
59672         (tan): Save and restore rounding mode and use round-to-nearest for
59673         all computations.
59674         * math/libm-test.inc (cos_test_tonearest): New function.
59675         (cos_test_towardzero): Likewise.
59676         (cos_test_downward): Likewise.
59677         (cos_test_upward): Likewise.
59678         (sin_test_tonearest): Likewise.
59679         (sin_test_towardzero): Likewise.
59680         (sin_test_downward): Likewise.
59681         (sin_test_upward): Likewise.
59682         (tan_test_tonearest): Likewise.
59683         (tan_test_towardzero): Likewise.
59684         (tan_test_downward): Likewise.
59685         (tan_test_upward): Likewise.
59686         (main): Call the new functions.
59687         * sysdeps/i386/fpu/libm-test-ulps: Update.
59688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59690         [BZ #10135]
59691         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
59692         small n, then large n, before computing and testing k+n.
59693         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
59694         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
59695         Likewise.
59696         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
59697         Likewise.
59698         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
59699         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
59700         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
59701         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
59702         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59703         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59704         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
59705         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
59706         * math/libm-test.inc (scalbn_test): Add more tests.
59707         (scalbln_test): Likewise.
59709         * manual/filesys.texi (mode_t): Describe constraints on size and
59710         signedness, not exact equivalence to a particular type.
59711         (ino_t): Likewise.
59712         (ino64_t): Likewise.
59713         (dev_t): Likewise.
59714         (nlink_t): Likewise.
59715         (blkcnt_t): Likewise.
59716         (blkcnt64_t): Likewise.
59717         * manual/llio.texi (off_t): Likewise.
59719         [BZ #3976]
59720         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
59721         (__ieee754_exp): Save and restore rounding mode and use
59722         round-to-nearest for all computations.
59723         * math/libm-test.inc (exp_test_tonearest): New function.
59724         (exp_test_towardzero): Likewise.
59725         (exp_test_downward): Likewise.
59726         (exp_test_upward): Likewise.
59727         (main): Call the new functions.
59728         * sysdeps/i386/fpu/libm-test-ulps: Update.
59729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59731 2012-03-01  Chris Demetriou  <cgd@google.com>
59733         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
59734         have predictable order.
59736 2012-03-01  David S. Miller  <davem@davemloft.net>
59738         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
59740         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
59741         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
59742         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
59743         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
59745         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
59746         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
59747         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
59748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
59749         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
59750         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
59751         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
59752         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
59753         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
59755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59757         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
59758         * sysdeps/sparc/fpu/libm-test-ulps: to here.
59759         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
59761         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
59762         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59763         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
59764         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
59765         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
59766         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
59767         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
59768         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59769         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
59770         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
59771         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
59772         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
59773         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59774         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
59775         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59776         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59777         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
59778         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
59779         * sysdeps/sparc/elf/configure: Regenerated.
59781 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
59783         * configure.in (AS, LD): Require binutils 2.20 or later.
59784         * configure: Regenerated.
59785         * manual/install.texi (Tools for Compilation): Give binutils 2.20
59786         as required minimum version.
59787         * INSTALL: Regenerated.
59789         [BZ #2541]
59790         [BZ #4108]
59791         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
59792         before squaring exponent.
59793         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
59794         bottom long double and 27 bits of top long double before squaring
59795         exponent.
59796         * math/libm-test.inc (erfc_test): Add more tests.
59797         * sysdeps/i386/fpu/libm-test-ulps: Update.
59798         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59801 2012-03-01  Kai Tietz  <ktietz@redhat.com>
59803         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
59804         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
59805         containing bit-fields.
59806         * soft-fp/extended.h (_FP_UNION_E): Likewise.
59807         * soft-fp/single.h (_FP_UNION_S): Likewise.
59808         * soft-fp/double.h (_FP_UNION_D): Likewise.
59810 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
59812         [BZ #13786]
59813         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
59814         not include ../strcmp.S.
59815         [USE_AS_STRNCASECMP_L]: Likewise.
59816         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
59817         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
59818         * sysdeps/i386/i686/multiarch/strncase_l-c.c
59819         (__strncasecmp_l_ia32): Define as alias to
59820         __strncasecmp_l_nonascii.
59822         [BZ #5794]
59823         * math/libm-test.inc (expm1_test): Add test for bug 5794.
59824         * sysdeps/i386/fpu/libm-test-ulps: Update.
59825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59827         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
59828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59830 2012-02-29  Jeff Law  <law@redhat.com>
59832         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
59833         out of bounds read.
59835 2012-02-29  Marek Polacek  <polacek@redhat.com>
59837         [BZ #13706]
59838         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
59839         * elf/Makefile: Add rules to run tst-unused-dep.out.
59841 2012-02-28  David S. Miller  <davem@davemloft.net>
59843         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
59844         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
59845         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
59846         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
59847         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
59848         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
59850 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
59852         * math/libm-test.inc (llround_test): Move one test from
59853         lround_test.  Use TEST_f_L in moved test.
59854         (lround_test): Move misplaced test to llround_test.  Add testcase
59855         from bug 2561.
59857 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
59859         * sysdeps/x86_64/fpu/e_expf.S: New file.
59860         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
59862 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
59864         [BZ #13637]
59865         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
59866         of remain_len that may cause incomplete multi-byte character and
59867         false match.
59868         * posix/bug-regex33.c: New file.
59869         * posix/Makefile (tests): Add bug-regex33.
59871 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
59873         * manual/macros.texi: New file.
59874         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
59875         * manual/libc.texinfo: Include macros.texi.
59876         * manual/creatute.texi: Likewise.
59877         * manual/install.texi: Likewise.
59878         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
59879         @glibcadj{} in references to the GNU C Library.
59880         * manual/charset.texi: Likewise.
59881         * manual/conf.texi: Likewise.
59882         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
59883         when not using those macros.
59884         * manual/creature.texi: Likewise.
59885         * manual/crypt.texi: Likewise.
59886         * manual/errno.texi: Likewise.
59887         * manual/filesys.texi: Likewise.
59888         * manual/header.texi: Likewise.
59889         * manual/install.texi: Likewise.
59890         * manual/intro.texi: Likewise.
59891         * manual/io.texi: Likewise.
59892         * manual/job.texi: Likewise.
59893         * manual/lang.texi: Likewise.
59894         * manual/libc.texiinfo: Likewise.
59895         * manual/llio.texi: Likewise.
59896         * manual/locale.texi: Likewise.
59897         * manual/maint.texi: Likewise.
59898         * manual/math.texi: Likewise.
59899         * manual/memory.texi: Likewise.
59900         * manual/message.texi: Likewise.
59901         * manual/nss.texi: Likewise.
59902         * manual/pattern.texi: Likewise.
59903         * manual/process.texi: Likewise.
59904         * manual/resource.texi: Likewise.
59905         * manual/search.texi: Likewise.
59906         * manual/setjmp.texi: Likewise.
59907         * manual/signal.texi: Likewise.
59908         * manual/socket.texi: Likewise.
59909         * manual/startup.texi: Likewise.
59910         * manual/stdio.texi: Likewise.
59911         * manual/string.texi: Likewise.
59912         * manual/sysinfo.texi: Likewise.
59913         * manual/syslog.texi: Likewise.
59914         * manual/terminal.texi: Likewise.
59915         * manual/time.texi: Likewise.
59916         * manual/users.texi: Likewise.
59917         * INSTALL: Regenerated.
59918         * NOTES: Regenerated.
59919         * sysdeps/gnu/errlist.c: Regenerated.
59921 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
59923         * include/dirent.h: Include <dirstream.h> before
59924         <dirent/dirent.h>.
59926 2012-02-28  David S. Miller  <davem@davemloft.net>
59928         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
59929         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
59930         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
59931         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
59933 2012-02-27  David S. Miller  <davem@davemloft.net>
59935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
59936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
59937         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
59938         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
59940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
59941         frame pointer instead of stack pointer relative arg slot.
59942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59943         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
59944         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59946 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
59948         [BZ #3992]
59949         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
59951 2012-02-27  David S. Miller  <davem@davemloft.net>
59953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
59954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
59955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
59957         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
59958         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
59959         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
59960         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
59962 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
59964         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
59965         later.  Allow versions 5-9.
59966         * configure: Regenerated.
59967         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
59968         required minimum version and 4.6 as recommended version.  Do not
59969         mention bugs in GCC 2.7 and 2.8.
59970         * INSTALL: Regenerated.
59972 2012-02-27  David S. Miller  <davem@davemloft.net>
59974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
59975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
59976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
59977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
59978         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
59979         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
59980         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
59981         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
59983         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
59984         manipulate bits before adding and subtracting TWO112[sx].
59985         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59987 2012-02-27  Roland McGrath  <roland@hack.frob.com>
59989         [BZ #13775]
59990         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
59991         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
59992         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
59993         being in POSIX, because they are in 1003.1-2008.
59995         * rt/tst-aio.c: Include <fcntl.h>.
59996         * rt/tst-aio7.c: Likewise.
59997         * rt/tst-aio64.c: Likewise.
59999         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60001 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60003         * manual/install.texi (--with-headers): Describe headers as
60004         interface headers, not private headers.
60005         (Specific advice for GNU/Linux systems): Describe use of headers
60006         from "make headers_install", not private headers from older
60007         kernels.
60008         * INSTALL: Regenerated.
60009         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60010         Change to 2.6.19.
60011         * sysdeps/unix/sysv/linux/configure: Regenerated.
60013         * manual/llio.texi (fclean): Remove documentation.
60015         * manual/Makefile (libc-texi-generated): New variable.  Include
60016         version.texi.
60017         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60018         $(libc-texi-generated), not duplicated list of files.
60019         (version.texi, stamp-version): New rules.
60020         (realclean): Remove $(libc-texi-generated), not individual files
60021         from that list.  Do not remove dir-add.texinfo.
60022         * manual/libc.texinfo: Comment out uses of edition numbers and
60023         references to printed manual.  Remove last-updated dates.
60024         (EDITION): Comment out.
60025         (ISBN): Likewise.
60026         (VERSION, UPDATED): Remove.
60027         (version.texi): Include.
60029 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60031         * sysdeps/posix/spawni.c: Include <signal.h>.
60032         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60033         * sysdeps/pthread/aio_fsync.c: Likewise.
60035 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60037         * conform/Makefile (tests): Run only when not cross-compiling and
60038         when fast-check is not defined.
60040         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60041         * conform/data/limits.h-data: Fixes for POSIX2008.
60042         * conform/run-conformtest.sh: Run all tests.
60043         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60044         headers.
60045         * include/bits/dlfcn.h: Likewise.
60046         * include/langinfo.h: Likewise.
60047         * include/monetary.h: Likewise.
60048         * include/sys/poll.h: Likewise.
60050         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60051         for __USE_GNU.
60052         * posix/spawn.h: Define __need_sigset_t.
60053         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60054         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60055         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60056         to get sigevent_t only.
60057         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60058         only for __USE_GNU.
60059         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60060         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60061         process_vm_writev only for __USE_GNU.
60062         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60064         * conform/Makefile: For now ignore errors from run-conformtest.
60065         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60066         POSIX to avoid namespace pollution.  Don't prepend headers.
60067         * conform/data/aio.h-data: Fixes for POSIX testing.
60068         * conform/data/fcntl.h-data: Likewise.
60069         * conform/data/glob.h-data: Likewise.
60070         * conform/data/grp.h-data: Likewise.
60071         * conform/data/pthread.h-data: Likewise.
60072         * conform/data/pwd.h-data: Likewise.
60073         * conform/data/signal.h-data: Likewise.
60074         * conform/data/spawn.h-data: Likewise.
60075         * conform/data/stdio.h-data: Likewise.
60076         * conform/data/stdlib.h-data: Likewise.
60077         * conform/data/stropts.h-data: Likewise.
60078         * conform/data/sys/mman.h-data: Likewise.
60079         * conform/data/sys/stat.h-data: Likewise.
60080         * conform/data/sys/types.h-data: Likewise.
60081         * conform/data/sys/wait.h-data: Likewise.
60082         * conform/data/time.h-data: Likewise.
60083         * conform/data/unistd.h-data: Likewise.
60084         * conform/data/utime.h-data: Likewise.
60086         * io/sys/stat.h: fchmod was always in POSIX.
60087         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60088         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60089         * rt/aio.h: Define __need_timespec before including <time.h>.
60090         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60091         struct.  Add forward declaration of pthread_attr_t and use it in
60092         sigevent.
60093         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60094         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60095         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60096         always remove CLK_TCK definition.
60098 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60100         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60102 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60104         * conform/run-conformtest.sh: New file.
60105         * conform/Makefile: Run run-conformtest for tests.
60106         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60107         support.
60109         * conform/data/uchar.h-data: New file.
60110         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60111         * conform/data/arpa/inet.h-data: Likewise.
60112         * conform/data/assert.h-data: Likewise.
60113         * conform/data/complex.h-data: Likewise.
60114         * conform/data/cpio.h-data: Likewise.
60115         * conform/data/ctype.h-data: Likewise.
60116         * conform/data/dirent.h-data: Likewise.
60117         * conform/data/dlfcn.h-data: Likewise.
60118         * conform/data/errno.h-data: Likewise.
60119         * conform/data/fcntl.h-data: Likewise.
60120         * conform/data/float.h-data: Likewise.
60121         * conform/data/fmtmsg.h-data: Likewise.
60122         * conform/data/fnmatch.h-data: Likewise.
60123         * conform/data/ftw.h-data: Likewise.
60124         * conform/data/glob.h-data: Likewise.
60125         * conform/data/grp.h-data: Likewise.
60126         * conform/data/iconv.h-data: Likewise.
60127         * conform/data/inttypes.h-data: Likewise.
60128         * conform/data/langinfo.h-data: Likewise.
60129         * conform/data/libgen.h-data: Likewise.
60130         * conform/data/limits.h-data: Likewise.
60131         * conform/data/locale.h-data: Likewise.
60132         * conform/data/math.h-data: Likewise.
60133         * conform/data/monetary.h-data: Likewise.
60134         * conform/data/mqueue.h-data: Likewise.
60135         * conform/data/ndbm.h-data: Likewise.
60136         * conform/data/net/if.h-data: Likewise.
60137         * conform/data/netdb.h-data: Likewise.
60138         * conform/data/netinet/in.h-data: Likewise.
60139         * conform/data/nl_types.h-data: Likewise.
60140         * conform/data/poll.h-data: Likewise.
60141         * conform/data/pthread.h-data: Likewise.
60142         * conform/data/pwd.h-data: Likewise.
60143         * conform/data/regex.h-data: Likewise.
60144         * conform/data/sched.h-data: Likewise.
60145         * conform/data/search.h-data: Likewise.
60146         * conform/data/semaphore.h-data: Likewise.
60147         * conform/data/setjmp.h-data: Likewise.
60148         * conform/data/signal.h-data: Likewise.
60149         * conform/data/spawn.h-data: Likewise.
60150         * conform/data/stdarg.h-data: Likewise.
60151         * conform/data/stdio.h-data: Likewise.
60152         * conform/data/stdlib.h-data: Likewise.
60153         * conform/data/string.h-data: Likewise.
60154         * conform/data/strings.h-data: Likewise.
60155         * conform/data/stropts.h-data: Likewise.
60156         * conform/data/sys/ipc.h-data: Likewise.
60157         * conform/data/sys/mman.h-data: Likewise.
60158         * conform/data/sys/msg.h-data: Likewise.
60159         * conform/data/sys/resource.h-data: Likewise.
60160         * conform/data/sys/select.h-data: Likewise.
60161         * conform/data/sys/sem.h-data: Likewise.
60162         * conform/data/sys/shm.h-data: Likewise.
60163         * conform/data/sys/socket.h-data: Likewise.
60164         * conform/data/sys/stat.h-data: Likewise.
60165         * conform/data/sys/statvfs.h-data: Likewise.
60166         * conform/data/sys/time.h-data: Likewise.
60167         * conform/data/sys/timeb.h-data: Likewise.
60168         * conform/data/sys/times.h-data: Likewise.
60169         * conform/data/sys/types.h-data: Likewise.
60170         * conform/data/sys/uio.h-data: Likewise.
60171         * conform/data/sys/un.h-data: Likewise.
60172         * conform/data/sys/utsname.h-data: Likewise.
60173         * conform/data/sys/wait.h-data: Likewise.
60174         * conform/data/syslog.h-data: Likewise.
60175         * conform/data/tar.h-data: Likewise.
60176         * conform/data/termios.h-data: Likewise.
60177         * conform/data/utime.h-data: Likewise.
60178         * conform/data/utmpx.h-data: Likewise.
60179         * conform/data/varargs.h-data: Likewise.
60180         * conform/data/wchar.h-data: Likewise.
60181         * conform/data/wctype.h-data: Likewise.
60182         * conform/data/wordexp.h-data: Likewise.
60184         * include/stropts.h: New file.
60185         * include/uchar.h: New file.
60186         * include/aio.h: Changes to allow conformtest.pl to use the headers.
60187         * include/assert.h: Likewise.
60188         * include/ctype.h: Likewise.
60189         * include/dirent.h: Likewise.
60190         * include/dlfcn.h: Likewise.
60191         * include/fcntl.h: Likewise.
60192         * include/fnmatch.h: Likewise.
60193         * include/glob.h: Likewise.
60194         * include/grp.h: Likewise.
60195         * include/libio.h: Likewise.
60196         * include/locale.h: Likewise.
60197         * include/math.h: Likewise.
60198         * include/net/if.h: Likewise.
60199         * include/netdb.h: Likewise.
60200         * include/netinet/in.h: Likewise.
60201         * include/pthread.h: Likewise.
60202         * include/pwd.h: Likewise.
60203         * include/regex.h: Likewise.
60204         * include/sched.h: Likewise.
60205         * include/search.h: Likewise.
60206         * include/setjmp.h: Likewise.
60207         * include/signal.h: Likewise.
60208         * include/stdio.h: Likewise.
60209         * include/stdlib.h: Likewise.
60210         * include/string.h: Likewise.
60211         * include/sys/cdefs.h: Likewise.
60212         * include/sys/mman.h: Likewise.
60213         * include/sys/msg.h: Likewise.
60214         * include/sys/resource.h: Likewise.
60215         * include/sys/select.h: Likewise.
60216         * include/sys/socket.h: Likewise.
60217         * include/sys/stat.h: Likewise.
60218         * include/sys/statvfs.h: Likewise.
60219         * include/sys/time.h: Likewise.
60220         * include/sys/times.h: Likewise.
60221         * include/sys/uio.h: Likewise.
60222         * include/sys/utsname.h: Likewise.
60223         * include/sys/wait.h: Likewise.
60224         * include/termios.h: Likewise.
60225         * include/time.h: Likewise.
60226         * include/ulimit.h: Likewise.
60227         * include/unistd.h: Likewise.
60228         * include/utime.h: Likewise.
60229         * include/wchar.h: Likewise.
60230         * include/wctype.h: Likewise.
60231         * include/wordexp.h: Likewise.
60233         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
60235         * time/time.h: TIME_UTC must be a macro.
60236         Make timespec_get available for ISO C11 only as well.
60238 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
60240         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
60241         Reported by Peng Haitao <penght@cn.fujitsu.com>.
60243 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60245         * configure.in: Use -o not -a in test for unsupported multi-arch.
60247 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60249         * manual/texinfo.tex: Update to version 2012-01-19.16.
60251 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
60253         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
60255 2012-02-24  Roland McGrath  <roland@hack.frob.com>
60257         [BZ #13738]
60258         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
60259         * manual/fdl-1.3.texi: New file.
60260         * manual/fdl-1.1.texi: File removed.
60262         [BZ #13738]
60263         * manual/libc.texinfo (FDL_VERSION): New @set.
60264         Use it for mention of FDL in cover text.
60265         (Documentation License): Use it in @include file name.
60267 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60268             Roland McGrath  <roland@hack.frob.com>
60270         [BZ #5461]
60271         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
60272         (not LONG_LONG_MAX and LONG_LONG_MIN.
60273         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
60274         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
60275         name.
60276         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
60278 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60280         [BZ #2547]
60281         [BZ #11365]
60282         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
60283         manipulate bits before adding and subtracting TWO23[sx].
60284         * math/libm-test.inc (nearbyint_test): Add more tests.
60286 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60288         [BZ #2548]
60289         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
60290         bits before adding and subtracting TWO23[sx].
60291         * math/libm-test.inc (rint_test): Add more tests.
60292         (rint_test_tonearest): Likewise.
60293         (rint_test_towardzero): Likewise.
60294         (rint_test_downward): Likewise.
60295         (rint_test_upward: Likewise.
60297 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60299         [BZ #10110]
60300         * include/stdc-predef.h: New file.  Extracted from features.h.
60301         * include/features.h: Include stdc-predef.h.
60302         * Makefile (headers): Add stdc-predef.h.
60303         * CONFORMANCE (Compiler limitations): Update.
60305 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
60307         * manual/libc.texinfo (VERSION, UPDATED): Revert.
60309 2012-02-21  David S. Miller  <davem@davemloft.net>
60311         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
60312         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60314 2012-02-20  David S. Miller  <davem@davemloft.net>
60316         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
60317         using a normal save/restore sequence, rather than allocating a
60318         dummy stack frame just to store a frame pointer and restore.
60319         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60321 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60323         * manual/install.texi: Fix stray word in line-wrapped comment.
60325 2012-02-20  David S. Miller  <davem@davemloft.net>
60327         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
60328         both binutils and gcc support GOTDATA.
60330         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
60331         "rd %pc" in the PIC register setup sequences.
60333         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
60334         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
60335         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60336         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
60337         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60338         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60339         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60340         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60341         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
60342         (SYSCALL_ERROR_HANDLER): Likewise.
60343         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60344         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60345         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
60346         (SYSCALL_ERROR_HANDLER): Likewise.
60348         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
60349         (HAVE_GCC_GOTDATA): New.
60350         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
60351         relocation support in both binutils and gcc.
60352         * sysdeps/sparc/elf/configure: Regenerate.
60354         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
60355         * sysdeps/sparc/sparc32/elf/configure: Delete.
60356         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
60357         * sysdeps/sparc/sparc64/elf/configure: Delete.
60358         * sysdeps/sparc/elf/configure.in: New file.
60359         * sysdeps/sparc/elf/configure: Generate.
60361         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
60362         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
60363         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60364         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
60365         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
60367 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60369         * manual/install.texi: Do not mention specific glibc version
60370         numbers.
60371         * manual/libc.texinfo (VERSION, UPDATED): Update.
60372         (@copying): Use @copyright{} and range of years.
60374 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
60376         [BZ #13695]
60377         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
60378         [crti.S not in sysdirs] (generated): Do not append.
60379         [crti.S not in sysdirs] (omit-deps): Likewise.
60380         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
60381         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
60382         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
60383         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
60384         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
60385         Likewise.
60386         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
60387         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
60388         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
60389         * csu/defs.awk: Remove file.
60390         * sysdeps/generic/initfini.c: Likewise.
60391         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
60392         variable.
60393         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
60394         Likewise.
60396 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60398         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
60399         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
60400         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
60401         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
60402         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60403         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
60404         <bits/epoll.h>.
60405         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
60406         (__EPOLL_PACKED): Define to empty if not defined by
60407         <bits/epoll.h>.
60408         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
60409         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60410         bits/epoll.h.
60412 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60414         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
60415         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
60416         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
60417         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
60418         <bits/timerfd.h>.
60419         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
60420         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60421         bits/timerfd.h.
60423 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
60425         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
60426         in C locale.
60427         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60428         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60429         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
60430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60432 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
60434         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60435         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
60437 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
60439         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
60440         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
60441         defined.
60442         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
60443         Likewise.
60444         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
60445         entry for 2.16.
60447 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
60449         * math/w_acos.c: Use non-signaling floating-point comparisons.
60450         * math/w_acosf.c: Likewise.
60451         * math/w_acosh.c: Likewise.
60452         * math/w_acoshf.c: Likewise.
60453         * math/w_acoshl.c: Likewise.
60454         * math/w_acosl.c: Likewise.
60455         * math/w_asin.c: Likewise.
60456         * math/w_asinf.c: Likewise.
60457         * math/w_asinl.c: Likewise.
60458         * math/w_atanh.c: Likewise.
60459         * math/w_atanhf.c: Likewise.
60460         * math/w_atanhl.c: Likewise.
60461         * math/w_exp2.c: Likewise.
60462         * math/w_exp2f.c: Likewise.
60463         * math/w_exp2l.c: Likewise.
60464         * math/w_j0.c: Likewise.
60465         * math/w_j0f.c: Likewise.
60466         * math/w_j0l.c: Likewise.
60467         * math/w_j1.c: Likewise.
60468         * math/w_j1f.c: Likewise.
60469         * math/w_j1l.c: Likewise.
60470         * math/w_jn.c: Likewise.
60471         * math/w_jnf.c: Likewise.
60472         * math/w_log.c: Likewise.
60473         * math/w_log10.c: Likewise.
60474         * math/w_log10f.c: Likewise.
60475         * math/w_log10l.c: Likewise.
60476         * math/w_log2.c: Likewise.
60477         * math/w_log2f.c: Likewise.
60478         * math/w_log2l.c: Likewise.
60479         * math/w_logf.c: Likewise.
60480         * math/w_logl.c: Likewise.
60481         * math/w_sqrt.c: Likewise.
60482         * math/w_sqrtf.c: Likewise.
60483         * math/w_sqrtl.c: Likewise.
60484         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60485         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
60486         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60487         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60488         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60490 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60492         [BZ #9739]
60493         * manual/string.texi (strnlen): Use correct parameter name in
60494         equivalent expression.
60496 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60498         [BZ #11174]
60499         * manual/users.texi (seteuid): Consistently use neweuid for
60500         argument name.
60502 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
60504         [BZ #13704]
60505         * manual/nss.texi (Services in the NSS configuration): Correct
60506         list of services in example configuration file.
60508 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
60510         [BZ #11322]
60511         * manual/arith.texi: Remove statements about negative zero
60512         behaving identically to zero.
60514 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60516         [BZ #5993]
60517         * manual/install.texi: Do not document upgrading from libc5.
60519 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
60521         [BZ #4596]
60522         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
60524 2012-02-18  David S. Miller  <davem@davemloft.net>
60526         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
60527         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
60528         %o7 across the call.
60529         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
60530         instead.
60531         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
60532         SETUP_PIC_REG_LEAF.
60533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60534         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
60535         * sysdeps/sparc/crtn.S: Likewise.
60537 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
60539         * aout/Makefile: Remove.
60541 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
60543         [BZ #13058]
60544         * manual/examples/argp-ex1.c (main): Format definition in GNU
60545         style.
60546         * manual/examples/argp-ex2.c (main): Likewise.
60547         * manual/examples/argp-ex3.c (main): Likewise.
60548         * manual/examples/argp-ex4.c (main): Likewise.
60549         * manual/examples/longopt.c (main): Use new-style prototype
60550         definition.
60551         * manual/examples/strncat.c (main): Specify return type and use
60552         (void) for arguments.
60553         * manual/examples/subopt.c (main): Use char **argv argument.
60555 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60557         [BZ #5077]
60558         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
60559         rounding modes.
60561 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
60563         [BZ #6907]
60564         * manual/string.texi (strchr): Change when strchrnul is
60565         recommended.
60567 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
60569         [BZ #174]
60570         * manual/locale.texi (setlocale): Document LOCPATH.
60572 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60574         [BZ #10210]
60575         * manual/process.texi (execle): Move @dots{} before last argument.
60577 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
60579         [BZ #12047]
60580         * manual/charset.texi (Generic Charset Conversion): Fix typo
60581         (LC_TYPE -> LC_CTYPE).
60583 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
60585         [BZ #5805]
60586         * manual/arith.texi (scalbn): Use @var{} on parameter names.
60587         (scalbnf): Likewise.
60588         (scalbnl): Likewise.
60589         (scalbln): Likewise.
60590         (scalblnf): Likewise.
60591         (scalblnl): Likewise.
60592         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
60593         (vwarnx): Likewise.
60594         (verr): Likewise.
60595         (verrx): Likewise.
60596         * manual/filesys.texi (telldir): Use braces around return type.
60597         * manual/llio.texi (mmap): Add space after comma.
60598         (mmap64): Likewise.
60599         * manual/math.texi (jn): Use @var{} on parameter names.
60600         (jnf): Likewise.
60601         (jnl): Likewise.
60602         (yn): Likewise.
60603         (ynf): Likewise.
60604         (ynl): Likewise.
60605         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
60606         line.
60607         * manual/resource.texi (ulimit): Use @dots{} instead of literal
60608         "...".
60609         (sched_get_priority_min): Remove semicolon on @deftypefun line.
60610         (sched_get_priority_max): Likewise.
60611         * manual/signal.texi (sigvec): Add space after comma.
60612         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
60613         names.
60614         (if_indextoname): Likewise.
60615         (if_freenameindex): Likewise.
60616         (sendto): Use ',' instead of '.' in prototype.
60617         * manual/startup.texi (syscall): Use @dots{} instead of literal
60618         "...".
60619         * manual/stdio.texi (__fpending): Separate initial words of
60620         paragraph from @deftypefun line.
60621         * manual/syslog.texi (syslog): Use @dots{} instead of literal
60622         "...".
60623         (vsyslog): Use @var{} on parameter names.
60624         * manual/terminal.texi (stty): Use @var{} on parameter names.
60625         * manual/users.texi (getutmp): Use @var{} on parameter names.
60626         (getutmpx): Likewise.
60628 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60630         [BZ #6884]
60631         * manual/stdio.texi (fopen): Fix typos in description of
60632         ",ccs=STRING".
60634 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
60636         [BZ #4026]
60637         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
60638         get clock_id definition.
60640 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
60642         [BZ #4822]
60643         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
60644         (madvise): Cast every argument to void on its own.
60646 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60648         [BZ #9902]
60649         * manual/startup.texi (Exit Status): Fix typo.
60651 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
60653         [BZ #10140]
60654         * manual/examples/argp-ex1.c: Include <stdlib.h>.
60655         * manual/examples/argp-ex2.c: Likewise.
60656         * manual/examples/argp-ex3.c: Likewise.
60658 2012-02-16  Richard Henderson  <rth@redhat.com>
60660         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
60661         * sysdeps/s390/s390-32/initfini.c: Remove.
60662         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
60663         * sysdeps/s390/s390-64/initfini.c: Remove.
60665 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60667         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
60668         compiler output for sysdeps/generic/initfini.c.
60669         * sysdeps/sh/elf/initfini.c: Remove file.
60671 2012-02-16  David S. Miller  <davem@davemloft.net>
60673         [BZ #11494]
60674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
60676         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
60677         * sysdeps/sparc/crti.S: New file.
60678         * sysdeps/sparc/crtn.S: New file.
60679         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
60680         * sysdeps/sparc/sparc64/Makefile: Likewise.
60682 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
60684         [BZ #3335]
60685         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
60687 2012-02-15  Roland McGrath  <roland@hack.frob.com>
60689         [BZ #4822]
60690         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
60692         * mach/devstream.c (cookie_io_functions_t): Macro removed.
60693         (write, read, close): Likewise.
60694         Patch by Aurelien Jarno <aurelien@aurel32.net>.
60696 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
60698         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
60699         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
60700         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
60701         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
60702         <bits/signalfd.h>.
60703         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
60704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60705         bits/signalfd.h.
60707 2012-02-14  Marek Polacek  <polacek@redhat.com>
60709         * sysdeps/x86_64/crti.S: New file.
60710         * sysdeps/x86_64/crtn.S: New file.
60711         * sysdeps/x86_64/elf/initfini.c: Remove file.
60713 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60715         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
60716         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
60717         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
60718         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
60719         <bits/inotify.h>.
60720         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
60721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60722         bits/inotify.h.
60724 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
60726         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
60727         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
60728         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
60729         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
60730         <bits/eventfd.h>.
60731         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
60732         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60733         bits/eventfd.h.
60735 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
60737         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
60738         __feraiseexcept instead of feraiseexcept.
60740         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
60741         nanosleep invocations.
60742         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
60743         strings, and add error checking for a nanosleep invocations.
60745 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
60747         Replace FSF snail mail address with URLs, as per GNU coding standards.
60748         Most of the snail mail addresses were wrong anyway, and omitting
60749         them makes the source code easier to maintain.  Almost all of the
60750         changes are to license notices and to locale LC_IDENTIFICATION
60751         addresses, except for this one:
60752         * manual/libc.texinfo: In "Published by", give the FSF's URL,
60753         not its snail mail address.
60755 2012-02-09  Richard Henderson  <rth@twiddle.net>
60757         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
60758         of kernel-features.h.
60760         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
60762 2012-02-08  Marek Polacek  <polacek@redhat.com>
60764         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
60765         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
60766         * sysdeps/gnu/_G_config.h: Likewise.
60767         * sysdeps/generic/_G_config.h: Likewise.
60769 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
60771         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
60772         tests.
60773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60775         * sysdeps/powerpc/powerpc32/crti.S: New file.
60776         * sysdeps/powerpc/powerpc32/crtn.S: New file.
60777         * sysdeps/powerpc/powerpc64/crti.S: New file.
60778         * sysdeps/powerpc/powerpc64/crtn.S: New file.
60780         * Makeconfig (have-initfini): Don't set.
60781         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
60782         * configure.in (nopic_initfini): Don't substitute.
60783         * config.h.in (HAVE_INITFINI): Don't #undef.
60784         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
60785         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
60787 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
60789         Support crti.S and crtn.S provided directly by architectures.
60790         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
60791         [crti.S in sysdirs] (omit-deps): Likewise.
60792         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
60793         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
60794         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
60795         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
60796         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
60797         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
60798         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
60799         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
60800         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
60801         compiler output for sysdeps/generic/initfini.c.
60802         * sysdeps/i386/elf/Makefile: Remove file.
60803         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
60805 2012-02-07  Marek Polacek  <polacek@redhat.com>
60807         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
60808         * sysdeps/gnu/_G_config.h: Likewise.
60809         * sysdeps/mach/hurd/_G_config.h: Likewise.
60811 2012-02-07  Marek Polacek  <polacek@redhat.com>
60813         * math/Makefile (tests): Add tst-CMPLX2.
60814         * math/tst-CMPLX2.c: New file.
60816 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
60818         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60820         * math/libm-test.inc (jn_test): Add missing L suffix.
60822 2012-02-06  Marek Polacek  <polacek@redhat.com>
60824         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
60825         * sysdeps/i386/fpu/e_powf.S: Likewise.
60826         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60827         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60828         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60829         * sysdeps/i386/fpu/e_pow.S: Likewise.
60830         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60831         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60832         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60833         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60834         * sysdeps/i386/fpu/e_log2.S: Likewise.
60835         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60836         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60837         * sysdeps/i386/fpu/e_powl.S: Likewise.
60838         * sysdeps/i386/fpu/s_log1p.S: Likewise.
60839         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60840         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60841         * sysdeps/i386/fpu/e_logl.S: Likewise.
60842         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60843         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
60844         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60845         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60846         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60847         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60848         * sysdeps/i386/fpu/e_log.S: Likewise.
60849         * sysdeps/i386/fpu/s_cexp.S: Likewise.
60850         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60851         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
60852         * sysdeps/i386/fpu/e_logf.S: Likewise.
60853         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60854         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60855         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
60856         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60857         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60858         * sysdeps/i386/fpu/e_log10.S: Likewise.
60859         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60860         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60861         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60862         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60863         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60864         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60865         * sysdeps/i386/asm-syntax.h: Likewise.
60866         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60867         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60868         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60869         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
60870         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
60871         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60872         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60873         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60874         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60875         * sysdeps/powerpc/sysdep.h: Likewise.
60876         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
60877         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60879 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
60881         [BZ #411]
60882         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
60884 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
60886         * sysdeps/i386/sysdep.h: Include <features.h>.
60887         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
60888         version.
60890 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
60892         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
60893         Define.
60894         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
60895         LOAD_PIC_REG_STR.
60897 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60899         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
60900         (SETUP_PIC_REG): Use GET_PC_THUNK.
60901         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
60902         macro.
60904 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60906         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
60907         for non-PIC compilation.
60908         (SETUP_PIC_REG): Add .p2align directive.
60909         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
60910         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
60911         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60912         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60913         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60914         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60915         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
60916         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60917         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60918         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60919         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60920         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60921         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60922         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60923         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60924         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60925         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60926         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60927         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60928         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60929         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60930         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60931         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60932         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60933         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60934         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60935         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60936         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60937         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60938         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60939         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60940         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60941         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60942         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60943         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60944         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60945         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60946         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60947         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60948         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60949         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60951 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
60953         * math/tst-CMPLX.c: Include <stdio.h>.
60955 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
60957         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
60958         float.
60959         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
60960         * sysdeps/sparc/bits/mathdef.h: Likewise.
60962 2012-01-31  Marek Polacek  <polacek@redhat.com>
60964         * libio/libio.h: Don't define _PARAMS.
60965         * locale/programs/config.h: Don't define PARAMS.
60966         * stdlib/strtol_l.c: Likewise.
60967         (__strtol_l): Remove PARAMS from the prototype.
60969 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
60971         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
60972         names.  Just use the correct names.  Remove unnecessary wrapper
60973         functions.
60974         * malloc/arena.c: Likewise.
60975         * malloc/hooks.c: Likewise.
60977         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
60978         ARENA_TEST says not to.  Simplify test for creation of a new arena.
60979         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
60981 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
60983         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
60984         into tail calls.
60985         (update_get_addr): New function.
60986         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
60987         GET_ADDR_MODULE parameter.
60989 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
60991         * crypt/cert.c: Remove __STDC__ conditionals.
60992         * crypt/crypt-entry.c: Likewise.
60993         * crypt/crypt_util.c: Likewise.
60994         * libio/filedoalloc.c: Likewise.
60995         * libio/fileops.c: Likewise.
60996         * libio/genops.c: Likewise.
60997         * libio/iofclose.c: Likewise.
60998         * libio/iofdopen.c: Likewise.
60999         * libio/iofopen.c: Likewise.
61000         * libio/iofopen64.c: Likewise.
61001         * libio/iogetdelim.c: Likewise.
61002         * libio/iopopen.c: Likewise.
61003         * libio/obprintf.c: Likewise.
61004         * libio/oldfileops.c: Likewise.
61005         * libio/oldiofclose.c: Likewise.
61006         * libio/oldiofdopen.c: Likewise.
61007         * libio/oldiofopen.c: Likewise.
61008         * libio/oldiopopen.c: Likewise.
61009         * libio/wfiledoalloc.c: Likewise.
61010         * libio/wgenops.c: Likewise.
61011         * locale/programs/xmalloc.c: Likewise.
61012         * misc/syslog.c: Likewise.
61013         * stdio-common/xbug.c: Likewise.
61014         * string/memchr.c: Likewise.
61015         * string/memcmp.c: Likewise.
61016         * string/memrchr.c: Likewise.
61017         * string/rawmemchr.c: Likewise.
61018         * sysdeps/posix/getcwd.c: Likewise.
61019         * time/strftime_l.c: Likewise.
61021 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61023         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61024         * config.make.in (config-cflags-sse2avx): Define.
61025         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61026         Fix typo.
61028 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61030         * scripts/config.guess: Update from upstream config git repository.
61031         * scripts/config.sub: Likewise.
61033 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61035         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61036         (EM_NUM): Update.
61037         (R_TILEPRO_*, R_TILEGX_*): New macros.
61039         * scripts/firstversions.awk: Fix bug in version range handling.
61041         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61043         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61045         * include/sys/epoll.h: New file.
61046         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61047         libc_hidden_def.
61049 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61051         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61052         Avoid unnecessary __WORDSIZE == 64 test.
61053         (fmaxf): Use VEX format if possible.
61054         (fmax): Likewise.
61055         (fminf): Likewise.
61056         (fmin): Likewise.
61058         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61059         * math/math_private.h: Remove libc_fegetround* and
61060         libc_fesetround*.
61061         * sysdeps/i386/configure.in: Check for -msse2avx.
61062         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61063         also if SSE2AVX is defined.
61064         Remove libc_fegetround* and libc_fesetround*.
61065         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61066         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61067         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61068         of HAS_YMM_USABLE.
61069         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61070         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61071         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61072         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61073         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61075         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61077 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61079         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61080         size is not set.
61081         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61083 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61085         [BZ #13618]
61086         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61087         relocation.
61088         * Makeconfig (libm): Define.
61089         * elf/Makefile: Add rules to build and run tst-relsort1.
61090         * elf/tst-relsort1.c: New file.
61091         * elf/tst-relsort1mod1.c: New file.
61092         * elf/tst-relsort1mod2.c: New file.
61094 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61096         * math/s_ldexp.c: Remove __STDC__ conditionals.
61097         * math/s_ldexpf.c: Likewise.
61098         * math/s_ldexpl.c: Likewise.
61099         * math/s_nextafter.c: Likewise.
61100         * math/s_nexttowardf.c: Likewise.
61101         * math/s_significand.c: Likewise.
61102         * math/s_significandf.c: Likewise.
61103         * math/s_significandl.c: Likewise.
61104         * math/w_jnl.c: Likewise.
61105         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61106         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61107         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61108         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61109         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61110         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61111         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61112         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61113         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61114         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61115         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61116         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61117         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61118         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61119         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61120         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61121         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61122         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61123         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61124         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61125         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61126         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61127         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61128         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61129         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61130         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61131         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61132         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61133         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61134         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61135         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61136         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61137         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61138         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61139         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61140         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61141         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61142         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61143         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61144         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61145         * sysdeps/ieee754/k_standard.c: Likewise.
61146         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61147         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61148         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61149         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61150         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61151         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61152         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61153         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61154         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61155         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61156         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61157         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61158         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61159         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61160         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61161         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61162         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61163         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61164         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61165         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61166         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61167         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61168         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61169         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61170         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61171         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61172         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61173         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61174         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61175         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61176         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61177         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
61178         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61179         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61180         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61181         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61182         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
61183         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61184         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61185         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
61186         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
61187         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61188         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
61189         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
61190         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61191         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61192         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
61193         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61194         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61195         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
61196         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
61197         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61198         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61199         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61200         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61201         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61202         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
61203         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61204         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61205         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61206         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61207         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61208         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61209         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61210         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61211         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61212         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61213         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61214         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61215         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61216         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61217         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61218         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61219         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61220         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61221         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61222         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61223         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61224         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61225         * sysdeps/ieee754/s_matherr.c: Likewise.
61226         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61227         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61228         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61229         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61231 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61233         * crypt/md5.h: Remove __STDC__ conditionals.
61234         * libio/libioP.h: Likewise.
61235         * locale/programs/config.h: Likewise.
61236         * sysdeps/generic/sysdep.h: Likewise.
61237         * sysdeps/i386/asm-syntax.h: Likewise.
61238         * sysdeps/s390/asm-syntax.h: Likewise.
61239         * sysdeps/unix/sysdep.h: Likewise.
61240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
61241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61243 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
61245         * libio/libio.h: Remove __STDC__ conditionals.
61246         * malloc/obstack.h: Likewise.
61247         * math/complex.h: Likewise.
61248         * math/math.h: Likewise.
61249         * sysdeps/generic/_G_config.h: Likewise.
61250         * sysdeps/gnu/_G_config.h: Likewise.
61251         * sysdeps/mach/hurd/_G_config.h: Likewise.
61252         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61253         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61254         * sysdeps/sparc/bits/mathdef.h: Likewise.
61256 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
61258         [BZ #13583]
61259         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
61260         Clean up HAS_* macros.
61261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
61262         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
61263         possible.
61264         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
61265         HAS_AVX.
61266         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61267         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61268         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61269         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61270         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61272 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
61274         * elf/tst-unique3.cc (gets): Remove declaration.
61275         * elf/tst-unique3lib.cc (gets): Likewise.
61276         * elf/tst-unique3lib2.cc (gets): Likewise.
61277         * elf/tst-unique4.cc (gets): Likewise.
61279 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
61281         * include/stdio.h: Add C++ protection.  Add gets declarations and
61282         definitions.
61283         * debug/tst-chk1.c: Don't declare gets here.
61284         * stdio-common/tst-gets.c: Likewise.
61286 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61288         * posix/glob: Remove directory.
61290 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
61292         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
61294 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
61296         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
61297         of the non-standard EPFNOSUPPORT.
61299 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61301         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
61302         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
61303         ANYWHERE set to 1 only on KERN_NO_SPACE error.
61305 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
61307         * wcsmbs/uchar.h: Test __STDC_VERSION__.
61309 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
61311         * nscd/aicache.c (addhstaiX): Do not cache negative results of
61312         transient errors.
61313         * nscd/grpcache.c (cache_addgr): Likewise.
61314         * nscd/hstcache.c (cache_addhst): Likewise.
61315         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61316         * nscd/pwdcache.c (cache_addpw): Likewise.
61317         * nscd/servicescache.c (cache_addserv): Likewise.
61319 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
61321         * malloc/malloc.c: Various cleanups.
61322         * malloc/hooks.c: Likewise.
61324         * stdlib/Makefile (tests): Add bug-fmtmsg1.
61325         * stdlib/bug-fmtmsg1.c: New file.
61327         * stdlib/fmtmsg.c (init): Add missing unlock.
61328         Patch by Peng Haitao <penght@cn.fujitsu.com>.
61330 2012-01-12  Marek Polacek  <polacek@redhat.com>
61332         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
61333         and _GNU_SOURCE.
61335 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61337         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
61338         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
61339         macro to ensure uniqueness of label name.
61340         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
61341         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
61343 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
61345         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
61347         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
61348         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61349         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61350         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
61352 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
61354         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
61356         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
61357         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61358         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61360         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
61362         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
61363         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61364         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61365         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
61367         * math/bits/math-finite.h: Add ldexp support.
61369 2012-01-10  Marek Polacek  <polacek@redhat.com>
61371         * locale/programs/localedef.h (show_archive_content): Add noreturn
61372         attribute.
61374 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
61376         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
61378 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61380         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
61382         * io/Makefile (headers): Add bits/poll2.h.
61384 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
61386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
61387         typo #include statement.
61389 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61391         * include/sys/cdefs.h: Define __attribute_alloc_size.
61392         * catgets/gencat.c: Add alloc_size attribute and apply consistently
61393         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
61394         * elf/pldd.c: Likewise.
61395         * iconv/iconv_charmap.c: Likewise.
61396         * iconv/iconvconfig.c: Likewise.
61397         * iconv/strtab.c: Likewise.
61398         * locale/programs/locale.c: Likewise.
61399         * locale/programs/localedef.h: Likewise.
61400         * locale/programs/simple-hash.c: Likewise.
61401         * nscd/nscd.h: Likewise.
61402         * nss/makedb.c: Likewise.
61403         * sysdeps/generic/ldconfig.h: Likewise.
61404         * locale/programs/localedef.c: Remove xmalloc prototype.
61405         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
61407 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61409         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
61410         appropriate.
61412 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
61414         * math/Makefile (tests): Add tst-CMPLX.
61415         * math/tst-CMPLX.c: New file.
61417         * math/complex.h (CMPLXL): Fix typo.
61419         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
61420         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
61421         GLIBC_2.16.
61422         * debug/tst-chk1.c: Add poll and ppoll tests.
61423         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
61424         * include/sys/poll.h: Add hidden proto for ppoll.
61425         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
61426         * sysdeps/mach/hurd/ppoll.c: Likewise.
61427         * io/ppoll.c: Likewise.
61428         * debug/poll_chk.c: New file.
61429         * debug/ppoll_chk.c: New file.
61430         * include/bits/poll2.h: New file.
61431         * io/bits/poll2.h: New file.
61433         [BZ #1350]
61434         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
61436         * configure.in: static is always set to yes.  Remove.
61437         * config.make.in: Don't set build-static.
61438         * Makeconfig: Remove use of build-static.
61439         * dlfcn/Makefile: Likewise.
61440         * elf/Makefile: Likewise.
61441         * math/Makefile: Likewise.
61442         * misc/Makefile: Likewise.
61443         * nptl/Makefile: Likewise.
61444         * sysdeps/mach/hurd/Makefile: Likewise.
61446         * configure.in: PWD_P is not used anymore.
61447         * config.make.in: Remove PWD_P entry.
61449         * configure.in: Remove last remnants of RANLIB.
61450         No need to check for signed size_t anymore.
61451         Don't set libc_commonpagesize and libc_relro_required here for Alpha
61452         and IA-64.
61453         Remove __builtin_expect test because we require at least gcc 3.4.
61454         * aclocal.m4: Likewise.
61456         * wcsmbs/mbrtoc16.c: Implement using towc function.
61457         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
61458         * wcsmbs/wcsmbsload.c: Likewise.
61459         * iconv/gconv_simple.c: Likewise.
61460         * iconv/gconv_int.h: Likewise.
61461         * iconv/gconv_builtin.h: Likewise.
61462         * iconv/iconv_prog.c: Remove CHAR16 handling.
61464         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
61466         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
61468         * configure.in: Remove --with-elf and --enable-bounded options.
61469         Dont set base_machine for ia64.  More non-ELF conditions removed.
61470         Remove testing and setting of leading underscore information.
61471         * config.make.in (build-bounded): Set to no.
61472         * config.h.in: Remove NO_UNDERSCORES entry.
61473         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
61474         them.
61475         * csu/start.c: Remove !NO_UNDERSCORE code.
61476         * locale/localeinfo.h: Likewise.
61477         * sysdeps/generic/machine-gmon.h: Likewise.
61478         * sysdeps/generic/sysdep.h: Likewise.
61479         * sysdeps/i386/sysdep.h: Likewise.
61480         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61481         * sysdeps/mach/sysdep.h: Likewise.
61482         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61483         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61484         * sysdeps/sh/sysdep.h: Likewise.
61485         * sysdeps/sparc/sparc32/alloca.S: Likewise.
61486         * sysdeps/unix/i386/sysdep.S: Likewise.
61487         * sysdeps/unix/sparc/start.c: Likewise.
61488         * sysdeps/unix/sparc/sysdep.S: Likewise.
61489         * sysdeps/unix/sparc/sysdep.h: Likewise.
61490         * sysdeps/unix/start.c: Likewise.
61491         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61492         * sysdeps/x86_64/sysdep.h: Likewise.
61494 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
61496         [BZ #13553]
61497         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
61498         for non-gcc.
61499         * argp/argp-fmtstream.h: Use const instead __const.
61500         * argp/argp.h: Likewise.
61501         * assert/assert.h: Likewise.
61502         * bits/fenv.h: Likewise.
61503         * bits/sched.h: Likewise.
61504         * bits/sigset.h: Likewise.
61505         * bits/sigthread.h: Likewise.
61506         * catgets/nl_types.h: Likewise.
61507         * conform/data/pthread.h-data: Likewise.
61508         * crypt/crypt-private.h: Likewise.
61509         * crypt/crypt.h: Likewise.
61510         * crypt/crypt_util.c: Likewise.
61511         * ctype/ctype.h: Likewise.
61512         * debug/execinfo.h: Likewise.
61513         * debug/mbsnrtowcs_chk.c: Likewise.
61514         * debug/mbsrtowcs_chk.c: Likewise.
61515         * debug/wcsnrtombs_chk.c: Likewise.
61516         * debug/wcsrtombs_chk.c: Likewise.
61517         * debug/wcstombs_chk.c: Likewise.
61518         * dirent/dirent.h: Likewise.
61519         * dlfcn/dlfcn.h: Likewise.
61520         * elf/neededtest4.c: Likewise.
61521         * grp/grp.h: Likewise.
61522         * gshadow/gshadow.h: Likewise.
61523         * iconv/gconv.h: Likewise.
61524         * iconv/gconv_int.h: Likewise.
61525         * iconv/gconv_simple.c: Likewise.
61526         * iconv/iconv.h: Likewise.
61527         * iconv/loop.c: Likewise.
61528         * iconv/skeleton.c: Likewise.
61529         * include/aio.h: Likewise.
61530         * include/aliases.h: Likewise.
61531         * include/argz.h: Likewise.
61532         * include/arpa/inet.h: Likewise.
61533         * include/assert.h: Likewise.
61534         * include/dirent.h: Likewise.
61535         * include/dlfcn.h: Likewise.
61536         * include/execinfo.h: Likewise.
61537         * include/fcntl.h: Likewise.
61538         * include/fenv.h: Likewise.
61539         * include/glob.h: Likewise.
61540         * include/grp.h: Likewise.
61541         * include/libintl.h: Likewise.
61542         * include/mntent.h: Likewise.
61543         * include/netdb.h: Likewise.
61544         * include/pwd.h: Likewise.
61545         * include/rpc/netdb.h: Likewise.
61546         * include/sched.h: Likewise.
61547         * include/search.h: Likewise.
61548         * include/shadow.h: Likewise.
61549         * include/signal.h: Likewise.
61550         * include/stdio.h: Likewise.
61551         * include/stdlib.h: Likewise.
61552         * include/string.h: Likewise.
61553         * include/sys/socket.h: Likewise.
61554         * include/sys/stat.h: Likewise.
61555         * include/sys/statfs.h: Likewise.
61556         * include/sys/statvfs.h: Likewise.
61557         * include/sys/syslog.h: Likewise.
61558         * include/sys/time.h: Likewise.
61559         * include/sys/uio.h: Likewise.
61560         * include/time.h: Likewise.
61561         * include/unistd.h: Likewise.
61562         * include/utmp.h: Likewise.
61563         * include/wchar.h: Likewise.
61564         * include/wctype.h: Likewise.
61565         * inet/aliases.h: Likewise.
61566         * inet/arpa/inet.h: Likewise.
61567         * inet/netinet/ether.h: Likewise.
61568         * inet/netinet/in.h: Likewise.
61569         * intl/libintl.h: Likewise.
61570         * io/bits/fcntl2.h: Likewise.
61571         * io/fcntl.h: Likewise.
61572         * io/ftw.h: Likewise.
61573         * io/sys/poll.h: Likewise.
61574         * io/sys/stat.h: Likewise.
61575         * io/sys/statfs.h: Likewise.
61576         * io/sys/statvfs.h: Likewise.
61577         * io/utime.h: Likewise.
61578         * libio/bits/stdio.h: Likewise.
61579         * libio/bits/stdio2.h: Likewise.
61580         * libio/libio.h: Likewise.
61581         * libio/libioP.h: Likewise.
61582         * libio/stdio.h: Likewise.
61583         * locale/lc-ctype.c: Likewise.
61584         * locale/locale.h: Likewise.
61585         * login/utmp.h: Likewise.
61586         * malloc/arena.c: Likewise.
61587         * malloc/malloc.c: Likewise.
61588         * malloc/malloc.h: Likewise.
61589         * malloc/mcheck.c: Likewise.
61590         * malloc/mtrace.c: Likewise.
61591         * math/bits/mathcalls.h: Likewise.
61592         * math/fenv.h: Likewise.
61593         * math/math_private.h: Likewise.
61594         * misc/bits/error.h: Likewise.
61595         * misc/bits/syslog.h: Likewise.
61596         * misc/err.h: Likewise.
61597         * misc/error.h: Likewise.
61598         * misc/fstab.h: Likewise.
61599         * misc/mntent.h: Likewise.
61600         * misc/regexp.h: Likewise.
61601         * misc/search.h: Likewise.
61602         * misc/sgtty.h: Likewise.
61603         * misc/sys/mman.h: Likewise.
61604         * misc/sys/syslog.h: Likewise.
61605         * misc/sys/uio.h: Likewise.
61606         * misc/sys/xattr.h: Likewise.
61607         * misc/ttyent.h: Likewise.
61608         * nis/rpcsvc/ypclnt.h: Likewise.
61609         * nss/nss.h: Likewise.
61610         * posix/bits/unistd.h: Likewise.
61611         * posix/fnmatch.h: Likewise.
61612         * posix/glob.h: Likewise.
61613         * posix/sched.h: Likewise.
61614         * posix/spawn.h: Likewise.
61615         * posix/sys/wait.h: Likewise.
61616         * posix/unistd.h: Likewise.
61617         * posix/wordexp.h: Likewise.
61618         * pwd/pwd.h: Likewise.
61619         * resolv/netdb.h: Likewise.
61620         * resource/sys/resource.h: Likewise.
61621         * rt/aio.h: Likewise.
61622         * rt/bits/mqueue2.h: Likewise.
61623         * rt/mqueue.h: Likewise.
61624         * shadow/shadow.h: Likewise.
61625         * signal/signal.h: Likewise.
61626         * socket/send.c: Likewise.
61627         * socket/sendto.c: Likewise.
61628         * socket/sys/socket.h: Likewise.
61629         * stdio-common/printf.h: Likewise.
61630         * stdlib/bits/stdlib.h: Likewise.
61631         * stdlib/fmtmsg.h: Likewise.
61632         * stdlib/monetary.h: Likewise.
61633         * stdlib/stdlib.h: Likewise.
61634         * stdlib/ucontext.h: Likewise.
61635         * streams/stropts.h: Likewise.
61636         * string/argz.h: Likewise.
61637         * string/bits/string2.h: Likewise.
61638         * string/string.h: Likewise.
61639         * string/strings.h: Likewise.
61640         * sunrpc/rpc/auth.h: Likewise.
61641         * sunrpc/rpc/auth_des.h: Likewise.
61642         * sunrpc/rpc/clnt.h: Likewise.
61643         * sunrpc/rpc/netdb.h: Likewise.
61644         * sunrpc/rpc/pmap_clnt.h: Likewise.
61645         * sunrpc/rpc/xdr.h: Likewise.
61646         * sysdeps/generic/inttypes.h: Likewise.
61647         * sysdeps/generic/net/if.h: Likewise.
61648         * sysdeps/generic/sys/swap.h: Likewise.
61649         * sysdeps/gnu/net/if.h: Likewise.
61650         * sysdeps/gnu/utmpx.h: Likewise.
61651         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
61652         * sysdeps/i386/i486/bits/string.h: Likewise.
61653         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
61654         * sysdeps/s390/bits/string.h: Likewise.
61655         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
61656         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
61657         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
61658         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
61659         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
61660         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
61661         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
61662         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
61663         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
61664         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
61665         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
61666         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61667         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
61668         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61669         * sysdeps/unix/sysv/linux/readv.c: Likewise.
61670         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
61671         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61673         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
61674         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
61675         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
61676         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
61677         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
61678         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
61679         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
61680         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
61681         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
61682         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61683         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
61684         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
61685         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
61686         * sysvipc/sys/ipc.h: Likewise.
61687         * sysvipc/sys/msg.h: Likewise.
61688         * sysvipc/sys/sem.h: Likewise.
61689         * sysvipc/sys/shm.h: Likewise.
61690         * termios/termios.h: Likewise.
61691         * time/sys/time.h: Likewise.
61692         * time/time.h: Likewise.
61693         * wcsmbs/bits/wchar2.h: Likewise.
61694         * wcsmbs/uchar.h: Likewise.
61695         * wcsmbs/wchar.h: Likewise.
61696         * wctype/wctype.h: Likewise.
61698         [BZ #13551]
61699         * Makeconfig: Remove all but ELF support including AIX support.
61700         * Makerules: Likewise.
61701         * config.h.in: Likewise.
61702         * config.make.in: Likewise.
61703         * configure: Likewise.
61704         * configure.in: Likewise.
61705         * csu/Makefile: Likewise.
61706         * csu/version.c: Likewise.
61707         * debug/Makefile: Likewise.
61708         * dlfcn/Makefile: Likewise.
61709         * elf/Makefile: Likewise.
61710         * extra-lib.mk: Likewise.
61711         * iconv/Makefile: Likewise.
61712         * include/libc-symbols.h: Likewise.
61713         * include/shlib-compat.h: Likewise.
61714         * resolv/Makefile: Likewise.
61715         * resolv/res_libc.c: Likewise.
61716         * rt/Makefile: Likewise.
61717         * sysdeps/i386/asm-syntax.h: Likewise.
61718         * sysdeps/i386/sysdep.h: Likewise.
61719         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
61720         * sysdeps/mach/sysdep.h: Likewise.
61721         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
61722         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
61723         * sysdeps/s390/asm-syntax.h: Likewise.
61724         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61725         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61726         * sysdeps/sh/sysdep.h: Likewise.
61727         * sysdeps/unix/sparc/sysdep.h: Likewise.
61728         * sysdeps/wordsize-32/divdi3.c: Likewise.
61729         * sysdeps/x86_64/sysdep.h: Likewise.
61731         * argp/Versions: Remove _argp_unlock_xxx.
61733         [BZ #13559]
61734         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
61735         * abilist/libBrokenLocale.abilist: Likewise.
61736         * abilist/libanl.abilist: Likewise.
61737         * abilist/libc.abilist: Likewise.
61738         * abilist/libcrypt.abilist: Likewise.
61739         * abilist/libdl.abilist: Likewise.
61740         * abilist/libm.abilist: Likewise.
61741         * abilist/libnsl.abilist: Likewise.
61742         * abilist/libpthread.abilist: Likewise.
61743         * abilist/libresolv.abilist: Likewise.
61744         * abilist/librt.abilist: Likewise.
61745         * abilist/libthread_db.abilist: Likewise.
61746         * abilist/libutil.abilist: Likewise.
61747         * abilist/libnss_db.abilist: New file.
61749         * scripts/abilist.awk: Add support for indirect functions.
61751         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
61753         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
61755         * shlib-versions: Remove entries for ports architectures.
61757         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
61758         files in ports.
61759         * elf/stackguard-macros.h: Remove support for IA-64.
61760         * elf/tst-auditmod1.c: Likewise.
61761         * sysdeps/generic/ldsodefs.h: Likewise.
61763         * sysdeps/unix/sysv/linux/configure.in: Ports should define
61764         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
61765         configure files.
61767         [BZ #13552]
61768         * configure.in: Remove --enable-omitfp support.
61769         * FAQ.in: Adjust.
61770         * config.make.in: Likewise.
61771         * Makeconfig: Likewise.
61772         * manual/install.texi: Likewise.
61774         In case anyone cares, the IA-64 architecture could move to ports.
61775         * sysdeps/ia64/*: Removed.
61776         * sysdeps/unix/sysv/linux/ia64/*: Removed.
61777         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
61779         [BZ #13555]
61780         * configure.in: Remove entries for unsupported architectures.
61782         [BZ #13533]
61783         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
61784         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
61785         routines.
61786         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
61787         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
61788         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
61789         fall back to using wcrtomb.
61790         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
61791         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
61792         renaming.
61793         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
61794         * wcsmbs/tst-c16c32-1.c: New file.
61796         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
61797         local variable.
61799         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
61801         * elf/tst-unique3.cc: Add explicit declaration of gets.
61802         * elf/tst-unique3lib.cc: Likewise.
61803         * elf/tst-unique3lib2.cc: Likewise.
61804         * elf/tst-unique4.cc: Likewise.
61806         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
61808 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
61810         [BZ #13566]
61811         * assert/assert.h (static_assert): Don't define for C++.
61812         * libio/stdio.h (gets): Do declare for C++ <= C++11.
61813         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
61815 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
61817         * iconv/loop.c (single loop): Fix assertion in storing of
61818         remaining bytes.
61820         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
61822 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
61824         * posix/getconf.c: Update copyright year.
61825         * nss/getent.c: Likewise.
61826         * nss/makedb.c: Likewise.
61827         * iconv/iconvconfig.c: Likewise.
61828         * iconv/iconv_prog.c: Likewise.
61829         * elf/ldconfig.c: Likewise.
61830         * elf/pldd.c: Likewise.
61831         * elf/sotruss.ksh: Likewise.
61832         * catgets/gencat.c: Likewise.
61833         * csu/version.c: Likewise.
61834         * elf/ldd.bash.in: Likewise.
61835         * elf/sprof.c (print_version): Likewise.
61836         * locale/programs/locale.c: Likewise.
61837         * locale/programs/localedef.c: Likewise.
61838         * login/programs/pt_chown.c: Likewise.
61839         * nscd/nscd.c (print_version): Likewise.
61840         * debug/xtrace.sh: Likewise.
61841         * malloc/memusage.sh: Likewise.
61842         * malloc/mtrace.pl: Likewise.
61843         * debug/catchsegv.sh: Likewise.
61845 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
61847         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
61848         pure attribute.
61850 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
61852         [BZ #13533]
61853         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
61854         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
61855         transformations.
61856         * iconv/gconv_int.h: Likewise.
61857         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
61858         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
61859         from libc for GLIBC_2.16.
61860         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
61861         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
61862         * wcsmbs/uchar.h: Really define mbstate_t.
61863         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
61864         * wcsmbs/c16rtomb.c: New file.
61865         * wcsmbs/mbrtoc16.c: New file.
61866         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
61867         for C/POSIX locale.
61868         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
61869         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
61871         * wcsmbs/wchar.h: Add missing __restrict.
61873 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
61875         [BZ #13532]
61876         * time/Makefile (routines): Add timespec_get.
61877         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
61878         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
61879         timespec for ISO C11.
61880         * time/timespec_get.c: New file.
61881         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
61882         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
61884         [BZ #13531]
61885         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
61886         * stdlib/stdlib.h: Declare aligned_alloc.
61887         * Versions.def: Add GLIBC_2.16 for libc.
61888         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
61890         [BZ 13527]
61891         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
61892         ISO C11.
61894         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
61895         code.
61897         [BZ #13528]
61898         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
61900         [BZ #13529]
61901         * assert/assert.h (static_assert): Define.
61903         * version.h: Update for 2.16 development version.
61905         [BZ #13526]
61906         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
61907         _ISOC11_SOURCE.
61909         * version.h (RELEASE): Bump for 2.15 release.
61910         * include/features.h (__GLIBC_MINOR__): Bump to 15.
61912         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
61913         Patch by Marek Polacek <mpolacek@redhat.com>.
61915         * bits/byteswap.h: Protect long long constants with __extension__.
61916         * sysdeps/i386/bits/byteswap.h: Likewise.
61917         * sysdeps/ia64/bits/byteswap.h: Likewise.
61918         * sysdeps/s390/bits/byteswap.h: Likewise.
61919         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61921 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61923         [BZ #13540]
61924         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
61925         destination buffer.
61926         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
61928 2011-12-23  Marek Polacek  <polacek@redhat.com>
61930         * elf/dl-addr.c (determine_info): Add inline keyword.
61931         * elf/tst-auditmod4b.c (check_avx): Likewise.
61932         * elf/tst-auditmod6b.c (check_avx): Likewise.
61933         * elf/tst-auditmod6c.c (check_avx): Likewise.
61934         * elf/tst-auditmod7b.c (check_avx): Likewise.
61936 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
61938         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
61939         !__SSE_MATH__.
61941 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61943         [BZ #13540]
61944         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
61945         processing for last bytes.
61947 2011-08-06  Bruno Haible  <bruno@clisp.org>
61949         [BZ #13061]
61950         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
61951         U+0385, not to U+1FEE.
61953         [BZ #13062]
61954         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
61955         entry for U+00A5 U+0301.
61957 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
61959         [BZ #13166]
61960         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
61961         buffer for the output is too small.
61963         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
61964         optimization.
61966         [BZ #13185]
61967         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
61968         SSE flags if possible.
61970 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61972         [BZ #13540]
61973         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
61974         processing for last bytes.
61976 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
61978         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
61979         (syscall-list-default-options, syscall-list-default-condition)
61980         (syscall-list-includes): Define.
61981         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
61982         list of ABIs and options and #if conditions for each ABI.  Do not
61983         handle common syscalls between ABIs specially.
61984         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
61985         Remove.
61986         (syscall-list-variants, syscall-list-32bit-options)
61987         (syscall-list-32bit-condition, syscall-list-64bit-options)
61988         (syscall-list-64bit-condition): Define.
61989         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
61990         (syscall-list-variants, syscall-list-32bit-options)
61991         (syscall-list-32bit-condition, syscall-list-64bit-options)
61992         (syscall-list-64bit-condition): Define.
61993         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
61994         Remove.
61995         (syscall-list-variants, syscall-list-32bit-options)
61996         (syscall-list-32bit-condition, syscall-list-64bit-options)
61997         (syscall-list-64bit-condition): Define.
61998         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
61999         Remove.
62000         (syscall-list-variants, syscall-list-32bit-options)
62001         (syscall-list-32bit-condition, syscall-list-64bit-options)
62002         (syscall-list-64bit-condition): Define.
62004 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62006         * locale/iso-639.def: Add brx entry.
62008         [BZ #13328]
62009         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62010         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62012         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62013         __feraiseexcept_renamed.
62015 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62017         [BZ #13538]
62018         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62019         EPOLLET with unsigned values.
62020         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62021         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62023         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62024         to large cancellation.
62025         * math/s_cacoshf.c: Likewise.
62026         * math/s_cacoshl.c: Likewise.
62028 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62030         [BZ #13305]
62031         [BZ #12786]
62032         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62033         * math/s_cacoshf.c: Likewise.
62034         * math/s_cacoshl.c: Likewise.
62036 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62038         [BZ #13439]
62039         * iconv/gconv.h: Define __GCONV_SWAP.
62040         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62041         * iconvdata/utf-16.c: Likewise.
62042         * iconvdata/utf-32.c: Likewise.
62044 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62046         [BZ #13524]
62047         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62048         numerator after shifting it by one limb.
62050 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62052         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62053         under [__USE_EXTERN_INLINES].
62055 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62057         [BZ #13446]
62058         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62060 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62062         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62063         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62064         optimized code.
62065         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62066         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62067         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62068         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62069         for strncasecmp/strncasecmp_l compilation.
62070         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62071         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62073 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62075         [BZ #13484]
62076         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62077         of __asm__.
62079 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62081         [BZ #13506]
62082         * time/tzfile.c (__tzfile_read): Check values from file header.
62084 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62086         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62087         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62088         * powerpc/powerpc32/dl-start.S: Likewise.
62089         * powerpc/powerpc32/elf/start.S: Likewise.
62090         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62091         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62092         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62093         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62094         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62095         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62096         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62097         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62098         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62099         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62100         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62101         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62102         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62103         * powerpc/powerpc32/memset.S: Likewise.
62104         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62105         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62106         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62107         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62108         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62109         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62110         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62111         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62112         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62113         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62114         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62115         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62116         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62118 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62120         * math/libm-test.inc: Added more nearbyint tests.
62121         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62122         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62123         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62124         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62126 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62128         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62129         FD_CLOEXEC.
62131 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62133         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62134         Add wcscpy-ssse3 wcscpy-c.
62135         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62136         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62137         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62138         * sysdeps/x86_64/wcschr.S: New file.
62139         * sysdeps/x86_64/wcsrchr.S: New file.
62140         * string/test-strcmp.c: Remove checking of wcscmp function for
62141         wrong alignments.
62142         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62143         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62144         wcsrchr-sse2 wcsrchr-c.
62145         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62146         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62147         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62148         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62149         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62150         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62151         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62152         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62153         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62154         * wcsmbc/wcschr.c (WCSCHR): New macro.
62156 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62158         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62159         * wcsmbs/test-wcsrchr.c: New file.
62160         * string/test-strrchr.c: Add wcsrchr support.
62161         (WIDE): New macro.
62162         * wcsmbs/test-wcscpy.c: New file.
62163         * string/test-strcpy.c: Add wcscpy support.
62164         (WIDE): New macro.
62166 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62168         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62169         the inner loop.
62171 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62173         [BZ #13472]
62174         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
62176 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
62178         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
62179         Minor optimizations.
62181         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
62182         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
62183         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
62185 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
62187         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
62188         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
62189         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
62190         for gcc to avoid warnings.
62191         * inet/Makefile (tests): Add tst-checks.
62192         * inet/tst-checks.c: New file.
62194         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
62195         warning.
62197         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
62198         __wmemcmp_sse2.
62200         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
62201         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
62203         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
62205 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
62207         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
62208         problem.
62210         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
62212 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
62214         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
62215         conditional on GCC version.
62216         (__arch_compare_and_exchange_val_8_acq)
62217         (__arch_compare_and_exchange_val_16_acq)
62218         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
62219         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
62220         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
62222 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
62224         * sysdeps/sh/backtrace.c: New file.
62226 2011-12-02  Andreas Schwab  <schwab@redhat.com>
62228         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
62229         parenthesis.
62231 2011-12-01  Andreas Schwab  <schwab@redhat.com>
62233         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
62234         falling back to utime.
62236 2011-11-30  Andreas Schwab  <schwab@redhat.com>
62238         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
62239         expectations for float.
62241 2011-11-29  Andreas Schwab  <schwab@redhat.com>
62243         * locale/weight.h (findidx): Add parameter len.
62244         * locale/weightwc.h (findidx): Likewise.
62245         * posix/fnmatch_loop.c (FCT): Adjust caller.
62246         * posix/regcomp.c (build_equiv_class): Likewise.
62247         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
62248         * posix/regexec.c (check_node_accept_bytes): Likewise.
62249         * string/strcoll_l.c (STRCOLL): Likewise.
62250         * string/strxfrm_l.c (STRXFRM): Likewise.
62252 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
62254         * Makefile.in: Remove CVSOPT handling.
62255         * configure.in: Remove use of AC_REVISION.
62256         * iconvdata/Makefile (distribute): No need to filter out CVS.
62257         * scripts/list-sources.sh: Remove CVS, subversion and monotone
62258         handling.
62260 2011-11-16  Andreas Schwab  <schwab@redhat.com>
62262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
62263         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
62264         [USE_AS_STRNCASECMP_L]: Likewise.
62265         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
62266         NO_TLS_DIRECT_SEG_REFS.
62267         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
62268         Fix argument offsets for non-PIC.
62269         [USE_AS_STRNCASECMP_L]: Likewise.
62270         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
62271         NO_TLS_DIRECT_SEG_REFS.
62273 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62275         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
62276         O_CLOEXEC.
62277         * locale/loadlocale.c (_nl_load_locale): Likewise.
62279 2011-11-15  Andreas Schwab  <schwab@redhat.com>
62281         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
62282         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
62283         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
62284         (SYSCALL_GETTIME): Set errno on error.
62286         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
62287         count references to noai6ai_cached.
62289 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
62291         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
62293         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
62294         FD_CLOEXEC for /proc/self/maps.
62296         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
62297         FD_CLOEXEC for /proc/meminfo.
62299         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
62300         gai.conf.
62302         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
62303         FD_CLOEXEC for given file.
62305         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
62307         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
62308         FD_CLOEXEC for /etc/hosts.
62309         (_gethtent): Likewise.
62311         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
62313         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
62314         cancellation and set FD_CLOEXEC for /etc/netgroup.
62316         * nss/nss_files/files-key.c (search): Don't allow cancellation when
62317         reading /etc/publickey.
62319         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
62320         allow cancellation when reading /etc/group.
62322         * nss/nss_files/files-alias.c (internal_setent): Don't allow
62323         cancellation.
62324         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
62326         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
62327         when using data file.
62329         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
62331         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
62332         (write_nis_obj): Use "c" and "e" in fopen.
62334         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
62336         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
62338         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
62340         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
62342         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
62343         locale.alias.
62345         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
62347         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
62349         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
62351         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
62352         file parsing and set FD_CLOEXEC.
62354 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62356         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
62358 2011-11-14  Andreas Schwab  <schwab@redhat.com>
62360         * malloc/arena.c (arena_get2): Don't call reused_arena when
62361         _int_new_arena failed.
62363 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
62365         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
62366         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
62367         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
62368         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62369         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62370         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
62371         to compile strcasecmp and strncasecmp.
62372         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
62373         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
62375         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
62377 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
62379         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
62380         locale-defines.sym to gen-as-const-headers.
62381         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
62382         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
62383         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
62384         to compile strcasecmp and strncasecmp.
62385         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
62386         strcasecmp_l and strncasecmp_l.
62387         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
62388         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
62389         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
62390         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
62391         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
62392         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
62393         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
62394         * sysdeps/i386/i686/multiarch/strncase.S: New file.
62395         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
62396         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
62397         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
62399 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
62401         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
62402         result of SYSDEP_GETTIME_CPU to retval.
62403         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
62404         parameter list to macro.  Remove trailing semicolon.  Adjust users.
62406         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
62407         variable.
62409         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
62410         mantissa words.
62411         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
62413         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
62414         from unused variable.
62416         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
62417         DWARF definitions.
62418         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
62419         for assembling.
62421         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
62422         over namespaces.
62424         * sunrpc/rpc_prot.c (rejected): Fix case value.
62426         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
62427         unsigned long long int to avoid warnings in shift.
62429         * posix/regex_internal.c (re_string_reconstruct): Actually use result
62430         of use of trans.
62431         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
62432         variable tmp.
62434         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
62435         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
62436         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
62438         * nis/nis_table.c (nis_list): Use variable of correct type for
62439         result of __follow_path call.
62441 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62443         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
62444         of math functions ceil, trunc, floor, round, and sqrt, when
62445         avaliable on the platform.
62446         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
62447         name clash.
62448         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62449         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62450         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62452 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
62454         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
62455         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
62457 2011-11-11  Roland McGrath  <roland@hack.frob.com>
62459         * include/unistd.h: Fix __readlink return type.
62460         Reported by Chris Metcalf <cmetcalf@tilera.com>.
62462 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
62464         * stdlib/ucontext.h: Undo last change for makecontext.
62466 2011-11-11  Andreas Schwab  <schwab@redhat.com>
62468         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
62470         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
62471         * setjmp/setjmp.h: Mark functions as non-leaf.
62472         * setjmp/bits/setjmp2.h: Likewise.
62473         * stdlib/ucontext.h: Likewise.
62475 2011-11-10  Andreas Schwab  <schwab@redhat.com>
62477         * malloc/arena.c (_int_new_arena): Don't increment narenas.
62478         (reused_arena): Don't check arena limit.
62479         (arena_get2): Atomically check arena limit.
62481 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
62483         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
62484         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
62486         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
62487         instructions.
62489 2011-11-07  Andreas Schwab  <schwab@redhat.com>
62491         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
62492         handler when locking.
62494         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62495         Fix size of allocated buffer.
62497 2011-11-04  Andreas Schwab  <schwab@redhat.com>
62499         [BZ #10103]
62500         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
62501         declarations for long double functions.
62502         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
62504         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
62506 2011-11-03  Andreas Schwab  <schwab@redhat.com>
62508         * nscd/nscd.c (main): Don't start AVC thread until credentials are
62509         installed.
62511         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
62512         is disabled.
62514 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62516         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
62518 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62520         * include/alloca.h (stackinfo_alloca_round): Define.
62521         (extend_alloca): Use it.
62522         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
62523         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
62524         here.
62526         * scripts/check-local-headers.sh: Ignore libaudit.h.
62528         * nscd/Makefile (extra-objs): Make recursively expanded.
62530 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
62532         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
62533         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62535         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
62536         * posix/tst-rfc3484-2.c: Likewise.
62537         * posix/tst-rfc3484-3.c: Likewise.
62539         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62540         process_vm_writev.
62541         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
62542         process_vm_writev.
62543         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
62544         process_vm_writev from libc using GLIBC_2.15 version.
62546         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
62548 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
62550         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
62551         stack usage.
62553 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
62555         [BZ #13367]
62556         * nss/getent.c (initgroups_keys): Show error message in case no group
62557         names are given.
62559         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
62560         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
62561         __bump_nl_timestamp.
62562         * nscd/connections (nscd_init): When host database is served open
62563         netlink socket and request notification about configuration changes.
62564         (main_loop_poll): Track netlink file descriptor and bump timestamp
62565         in case data becomes available.
62566         (main_loop_epoll): Likewise.
62567         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
62568         (database_pers_head): Add extra_data fileds.
62569         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
62570         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
62571         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
62572         Adjust caller.
62573         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
62574         in6ai data, call __free_in6ai.
62575         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
62576         Add -DHAVE_NETLINK.
62577         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
62578         interface information.  Reuse previous data if netlink timestamp
62579         is not changed.
62580         (__bump_nl_timestamp): New function.
62581         (__free_in6ai): New function.
62583 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
62585         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
62586         close_not_cancel_no_status here.
62587         (__check_pf): Reorganize code a bit to not call close twice if OOM.
62589 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62591         [BZ #13276]
62592         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
62593         return value.
62595         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
62596         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
62597         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
62599 2011-07-03  Andreas Jaeger  <aj@suse.de>
62601         [BZ #10709]
62602         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
62603         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
62604         * math/libm-test.inc (sin_test): Add test case.
62606 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
62608         [BZ #13337]
62609         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
62610         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62612         * elf/chroot_canon.c (chroot_canon): Cleanups.
62614         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
62616         [BZ #13335]
62617         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
62618         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
62620         * string/test-strchr.c: Make usable for strchrnul testing.
62621         * string/test-strchrnul.c: New file.
62622         * string/Makefile (strop-tests): Add strchrnul.
62624         * po/it.po: Update from translation team.
62625         * po/es.po: Likewise.
62627 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
62629         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
62630         the three constants needed as parameters.  Drop the others.
62631         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
62632         __m128i_strloadu_tolower.
62633         Create and initialize variable zero and use it in all the places
62634         where _mm_setzero_si128 was used.
62636         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
62637         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
62638         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
62639         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
62640         anymore.
62641         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
62642         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
62643         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
62644         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
62645         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
62646         __mpranred, __mptan.
62647         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
62648         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
62649         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
62650         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
62651         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
62652         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
62653         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
62654         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
62655         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
62657 2011-10-28  Andreas Schwab  <schwab@redhat.com>
62659         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
62660         redefine if SHARED.
62661         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
62663         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
62664         wide char related routines to wcsmbs subdir.
62666 2011-10-27  Andreas Schwab  <schwab@redhat.com>
62668         [BZ #13344]
62669         * misc/sys/cdefs.h (__THROWNL): Define.
62670         * posix/unistd.h: Use __THREADNL instead of __THREAD
62671         for memory synchronization functions.
62673 2011-10-26  Roland McGrath  <roland@hack.frob.com>
62675         [BZ #13349]
62676         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
62677         doesn't exist.
62678         * manual/stdio.texi (Obstack Streams): Node removed.
62680 2011-10-26  Andreas Schwab  <schwab@redhat.com>
62682         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
62683         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62684         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62686         * math/math_private.h (math_force_eval): Allow non-addressable
62687         arguments.
62688         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
62690 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62692         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
62693         file is not needed.
62695         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
62696         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
62697         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62698         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62699         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62700         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62701         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62702         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
62703         Add AVX variants.
62704         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
62705         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
62706         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
62707         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
62708         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
62709         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
62710         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
62711         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
62712         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
62713         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
62714         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
62715         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
62716         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
62717         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
62718         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
62719         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
62720         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
62721         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
62722         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
62724         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
62725         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
62727         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
62728         place.  Use VEX encoding when compiling for AVX.
62730 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62732         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
62733         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62735         * string/test-strchr.c (do_test): Don't generate NUL bytes.
62737 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62739         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
62740         useless if() expression.
62741         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62742         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62743         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62744         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62745         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62746         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62747         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62748         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62749         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62750         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62751         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62752         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62753         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62754         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62755         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62756         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62757         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62758         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62759         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62761         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
62763 2011-10-25  Andreas Schwab  <schwab@redhat.com>
62765         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
62766         condition.
62767         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62769 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
62771         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
62772         .text section.  Avoid duplicate constants.
62773         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62774         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62775         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62776         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62777         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62778         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62779         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62780         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62781         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62782         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
62783         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62784         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62785         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62786         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62787         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62788         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62789         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62790         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62791         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62792         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62793         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62794         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62795         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62796         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
62797         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
62798         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
62799         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
62800         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
62801         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
62802         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
62803         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
62804         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
62805         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62806         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
62807         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
62808         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
62809         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
62810         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
62811         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
62812         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
62813         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
62814         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
62815         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
62816         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
62817         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
62819 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
62821         * sysdeps/x86_64/dla.h: Move to ...
62822         * sysdeps/x86_64/fpu/dla.h: ...here.
62823         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
62824         situations.  Use __builtin_fma only for gcc 4.6 and up.
62826         * config.make.in: Add have-mfma4 entry.
62827         * configure.in: Substitute libc_cv_cc_fma4.
62828         * math/Makefile (dbl-only-routines): Add sincostab.
62829         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
62830         Use __sincostab not sincos.
62831         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
62832         name is a macro.
62833         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62834         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62835         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62836         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
62837         using __copysign.
62838         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
62839         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
62840         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
62841         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
62842         and __inv.
62843         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
62844         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
62845         __copysign.
62846         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
62847         define aliases when function name is a macro.
62848         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
62849         sysdeps/ieee754/dbl-64/sincos.tbl.
62850         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
62851         fma4-enabled routines.
62852         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
62853         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
62854         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
62855         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
62856         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
62857         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
62858         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
62859         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
62860         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
62861         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
62862         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
62863         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
62864         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
62865         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
62866         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
62867         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
62868         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
62869         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
62870         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
62871         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
62872         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
62873         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
62874         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
62875         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
62876         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
62877         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
62878         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
62879         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
62880         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
62881         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
62883         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
62884         rename.
62885         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62890         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62891         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62892         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62894 2011-10-24  Andreas Schwab  <schwab@redhat.com>
62896         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
62898 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62900         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
62902         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
62903         prediction.
62904         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
62906         * string/strnlen.c: Don't define STRNLEN, reverse logic.
62907         Remove unused variable magic_bits.
62908         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
62910         * string/strnlen.c: Define and use STRNLEN macro.
62911         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
62912         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
62913         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
62914         * wcsmbs/wcslen.c: Define and use WCSLEN.
62915         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
62916         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
62917         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
62918         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
62919         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
62920         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
62921         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
62923 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62926         strnlen-sse2-no-bsf.
62927         Rename strlen-no-bsf to strlen-sse2-no-bsf.
62928         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
62929         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
62930         Add strnlen support.
62931         (USE_AS_STRNLEN): New macro.
62932         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
62933         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
62934         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
62935         * sysdeps/x86_64/wcslen.S: New file.
62937 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
62939         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62940         XMM-moves are used for copying on small sizes.
62942 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62944         * wcsmbs/Makefile (strop-tests): Add wcschr.
62945         * wcsmbs/test-wcschr.c: New file.
62946         * string/test-strchr.c: Update.
62947         Add wcschr support.
62948         (WIDE): New macro.
62950 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62952         * wcsmbs/Makefile (strop-tests): Add wcslen.
62953         * wcsmbs/test-wcslen.c: New file.
62954         * string/test-strlen.c: Update.
62955         Add wcslen support.
62956         (WIDE): New macro.
62958 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62960         * po/it.po: Update from translation team.
62962 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62964         * sysdeps/x86_64/wcscmp.S: Update.
62965         Fix wrong comparison semantics.
62966         wcscmp shall use signed comparison not unsigned.
62967         Don't use substraction to avoid overflow bug.
62968         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
62969         * wcsmbc/wcscmp.c: Likewise.
62970         * string/test-strcmp.c: Likewise.
62971         Add new tests to check cases with negative values.
62973 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
62975         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
62976         * sysdeps/x86_64/dla.h: ...here.  New file.
62977         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
62978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62979         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62980         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62981         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62982         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62983         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62984         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62985         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62987 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
62989         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
62990         __ynl_finite aliases.
62992 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
62994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62996         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
62997         define DLA_FMA.
62998         [DLA_FMA] (EMULV): Use DLA_FMA.
62999         [DLA_FMA] (MUL12): Use EMULV.
63000         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63001         that are not needed.
63002         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63006         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63007         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63008         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63010 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63012         * math/s_nan.c: Undef __nan.
63013         * math/s_nanf.c: Undef __nanf.
63014         * math/s_nanl.c: Undef __nanl.
63015         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63016         "math_private.h".
63018 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63020         * math/s_catan.c: Add branch predictions.
63021         * math/s_catanf.c: Likewise.
63022         * math/s_catanh.c: Likewise.
63023         * math/s_catanhf.c: Likewise.
63024         * math/s_catanhl.c: Likewise.
63025         * math/s_catanl.c: Likewise.
63026         * math/s_cexp.c: Likewise.
63027         * math/s_cexpf.c: Likewise.
63028         * math/s_cexpl.c: Likewise.
63029         * math/s_clog.c: Likewise.
63030         * math/s_clog10.c: Likewise.
63031         * math/s_clog10f.c: Likewise.
63032         * math/s_clog10l.c: Likewise.
63033         * math/s_clogf.c: Likewise.
63034         * math/s_clogl.c: Likewise.
63035         * math/s_csqrt.c: Likewise.
63036         * math/s_csqrtf.c: Likewise.
63037         * math/s_csqrtl.c: Likewise.
63038         * math/s_ctanf.c: Likewise.
63039         * math/s_ctanh.c: Likewise.
63040         * math/s_ctanhf.c: Likewise.
63041         * math/s_ctanhl.c: Likewise.
63042         * math/s_ctanl.c: Likewise.
63044         * math/math_private.h: Define __nan, __nanf, __nanl.
63045         * math/s_cacosh.c: Include <math_private.h>.
63046         * math/s_cacoshl.c: Likewise.
63047         * math/s_casinh.c: Likewise.
63048         * math/s_casinhf.c: Likewise.
63049         * math/s_casinhl.c: Likewise.
63050         * math/s_ccos.c: Rely entire on ccosh.
63051         * math/s_ccosf.c: Rely entire on ccoshf.
63052         * math/s_ccosl.c: Rely entirely on ccoshl.
63053         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63054         Remove tests for FE_INVALID.
63055         * math/s_ccoshf.c: Likewise.
63056         * math/s_ccoshl.c: Likewise.
63057         * math/s_csin.c: Likewise.
63058         * math/s_csinf.c: Likewise.
63059         * math/s_csinh.c Likewise.
63060         * math/s_csinhf.c: Likewise.
63061         * math/s_csinhl.c: Likewise.
63062         * math/s_csinl.c: Likewise.
63063         * math/s_ctan.c: Likewise.
63064         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63065         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63066         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63068 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63071         compilation problems.
63073         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63074         __builtin_expect.
63076 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63078         * sysdeps/i386/configure.in: Test for -mfma4 option.
63079         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63080         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63081         COMMON_CPUID_INDEX_80000001.
63082         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63083         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63084         use it if FMA3 is not supported.
63085         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63087         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63088         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63090 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63092         [BZ #12892]
63093         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63094         it would create a cycle with a link time dependency.
63096 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63098         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63099         instruction.
63100         * string/Makefile (strop-tests): Add rawmemchr.
63101         * string/test-rawmemchr.c: New file.
63103         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63104         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63105         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63106         when compiling str{,n}casecmp and when AVX is available.  Hook up
63107         new optimized code in initializers.
63109 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63111         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63112         __feraiseexcept instead of feraiseexcept.
63114 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63116         * math/math_private.h: Define defaults for libc_fetestexcept and
63117         libc_feupdateenv.
63118         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63119         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63120         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63121         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63122         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63123         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63124         libc_fetestexcept and libc_feupdateenv.
63126         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63127         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63128         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63129         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63130         libc_feholdexcept_setround.
63132         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63133         Add s_nearbyint-c and s_nearbyintf-c.
63134         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63135         nearbyintf inlines.
63136         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63137         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63138         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63139         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63141         * math/math_private.h: Define defaults for libc_fegetround,
63142         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63143         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63144         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63145         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63146         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63147         standard functions.
63148         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63149         Remove comments and hacks for old compiler versions.
63150         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63151         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63152         libc_feholdexceptl.
63154 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63156         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63157         (__feraiseexcept_renamed): Add __NTH.
63158         (feraiseexcept): Add __NTH.  Rename local variables to fix
63159         namespace violations.
63161 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63163         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63165         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63167         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63168         recently added interfaces.
63169         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63171         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63172         about macro parameter expansion.
63174         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63175         __NO_MATH_INLINES is defined.  Cleanups.
63177         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
63178         and __floorf is target has SSE4.1.
63179         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
63180         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
63181         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
63182         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
63184         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
63185         name.
63186         (floorf): Likewise.
63188         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
63190 2011-10-17  Andreas Schwab  <schwab@redhat.com>
63192         * misc/sys/cdefs.h: Fix last change.
63194         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
63195         database lookup.
63197 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
63199         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
63201         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
63202         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63203         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63204         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63205         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63206         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63207         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63208         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63209         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63210         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
63211         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
63212         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
63213         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
63214         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
63215         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
63216         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
63217         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
63218         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
63219         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
63220         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
63221         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
63222         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
63224         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
63225         ceil, ceilf, floor, floorf.
63227         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
63228         Perform IRELATIVE relocations last.
63230         * elf/do-rel.h: Add another parameter nrelative, replacing the
63231         local variable with the same name.  Change name of the function
63232         to end in Rel or Rela (uppercase).
63233         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
63234         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
63235         elf_dynamic_do_##reloc function.
63237 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63239         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
63240         is sufficient, at least on modern CPUs.
63242         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
63244         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
63245         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
63247         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
63248         __expl_finite.
63249         * math/bits/math-finite.h: Add entries for exp.
63250         * math/e_expl.c: Add __*_finite alias.
63251         * sysdeps/i386/fpu/e_exp.S: Likewise.
63252         * sysdeps/i386/fpu/e_expf.S: Likewise.
63253         * sysdeps/i386/fpu/e_expl.c: Likewise.
63254         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63255         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63256         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63257         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63258         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
63259         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63260         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63262         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
63263         is sufficient, at least on modern CPUs.
63265         * ctype/ctype-info.c (__ctype_init): Define.
63266         * include/ctype.h (__ctype_init): Declare.
63267         (__ctype_b_loc): The variable is always initialized.
63268         (__ctype_toupper_loc): Likewise.
63269         (__ctype_tolower_loc): Likewise.
63270         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
63271         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
63273 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
63275         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
63277         * configure.in: Also look in $cxxmachine/include for C++ system
63278         headers.
63280 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63282         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
63283         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
63284         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
63285         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
63286         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
63287         (USE_AS_WMEMCMP): New macro.
63288         Fixing indents.
63289         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
63290         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
63291         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
63292         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
63293         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63294         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
63295         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
63296         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
63297         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
63298         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
63299         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
63300         (USE_AS_WMEMCMP): New macro.
63301         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
63302         * sysdeps/string/test-memcmp.c: Update.
63303         Fix simple_wmemcmp.
63304         Add new tests.
63305         * wcsmbs/wmemcmp.c: Update.
63306         (WMEMCMP): New macro.
63307         Fix overflow bug.
63309 2011-10-12  Andreas Jaeger  <aj@suse.de>
63311         [BZ #13268]
63312         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
63314 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
63316         * libio/iofwide.c (do_length): Avoid warning.
63318         * ctype/ctype.h (__isctype_f): Add missing __THROW.
63320 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
63322         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
63324         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
63325         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
63326         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
63327         * sysdeps/i386/i686/fpu/e_log.S: New file.
63328         * sysdeps/i386/i686/fpu/e_logf.S: New file.
63329         * sysdeps/i386/i686/fpu/e_logl.S: New file.
63331         * ctype/ctype.h: Add support for inlined isXXX functions when
63332         compiling C++ code.
63334 2011-10-14  Andreas Schwab  <schwab@redhat.com>
63336         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63338         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
63340 2011-10-13  Roland McGrath  <roland@hack.frob.com>
63342         [BZ #13291]
63343         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
63345 2011-10-13  Andreas Schwab  <schwab@redhat.com>
63347         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
63348         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
63349         feraiseexcept.
63351         * sysdeps/x86_64/memrchr.S: Check for zero size.
63353         * string/stratcliff.c: Add memrchr tests.
63355 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63357         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63358         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
63359         rawmemchr-sse2 rawmemchr-sse2-bsf.
63360         * sysdeps/i386/i686/multiarch/memchr.S: New file.
63361         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
63362         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
63363         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
63364         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
63365         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
63366         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
63367         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
63368         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
63369         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
63370         * string/memrchr.c (MEMRCHR): New macro.
63372 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
63374         Add integration with gcc's -ffinite-math-only and optimize wrapper
63375         functions in libm.
63376         * Versions.def: Define GLIBC_2.15 version for libm.
63377         * math/Makefile (headers): Add bits/math-finite.h.
63378         * math/bits/math-finite.h: New file.
63379         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
63380         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
63381         * math/e_acoshl.c: Add __*_finite alias.
63382         * math/e_acosl.c: Likewise.
63383         * math/e_asinl.c: Likewise.
63384         * math/e_atan2l.c: Likewise.
63385         * math/e_atanhl.c: Likewise.
63386         * math/e_coshl.c: Likewise.
63387         * math/e_exp10.c: Likewise.
63388         * math/e_exp10f.c: Likewise.
63389         * math/e_exp10l.c: Likewise.
63390         * math/e_exp2l.c: Likewise.
63391         * math/e_fmodl.c: Likewise.
63392         * math/e_gammal_r.c: Likewise.
63393         * math/e_hypotl.c: Likewise.
63394         * math/e_j0l.c: Likewise.
63395         * math/e_j1l.c: Likewise.
63396         * math/e_jnl.c: Likewise.
63397         * math/e_lgammal_r.c: Likewise.
63398         * math/e_log10l.c: Likewise.
63399         * math/e_log2l.c: Likewise.
63400         * math/e_logl.c: Likewise.
63401         * math/e_powl.c: Likewise.
63402         * math/e_sinhl.c: Likewise.
63403         * math/e_sqrtl.c: Likewise.
63404         * math/e_scalb.c: Completely rewritten and optimized.
63405         * math/e_scalbf.c: Likewise.
63406         * math/e_scalbl.c: Likewise.
63407         * math/w_acos.c: Likewise.
63408         * math/w_acosf.c: Likewise.
63409         * math/w_acosl.c: Likewise.
63410         * math/w_acosh.c: Likewise.
63411         * math/w_acoshf.c: Likewise.
63412         * math/w_acoshl.c: Likewise.
63413         * math/w_asin.c: Likewise.
63414         * math/w_asinf.c: Likewise.
63415         * math/w_asinl.c: Likewise.
63416         * math/w_atan2.c: Likewise.
63417         * math/w_atan2f.c: Likewise.
63418         * math/w_atan2l.c: Likewise.
63419         * math/w_atanh.c: Likewise.
63420         * math/w_atanhf.c: Likewise.
63421         * math/w_atanhl.c: Likewise.
63422         * math/w_exp10.c: Likewise.
63423         * math/w_exp10f.c: Likewise.
63424         * math/w_exp10l.c: Likewise.
63425         * math/w_fmod.c: Likewise.
63426         * math/w_fmodf.c: Likewise.
63427         * math/w_fmodl.c: Likewise.
63428         * math/w_j0.c: Likewise.
63429         * math/w_j0f.c: Likewise.
63430         * math/w_j0l.c: Likewise.
63431         * math/w_j1.c: Likewise.
63432         * math/w_j1f.c: Likewise.
63433         * math/w_j1l.c: Likewise.
63434         * math/w_jn.c: Likewise.
63435         * math/w_jnf.c: Likewise.
63436         * math/w_log.c: Likewise.
63437         * math/w_logf.c: Likewise.
63438         * math/w_logl.c: Likewise.
63439         * math/w_log10.c: Likewise.
63440         * math/w_log10f.c: Likewise.
63441         * math/w_log10l.c: Likewise.
63442         * math/w_log2.c: Likewise.
63443         * math/w_log2f.c: Likewise.
63444         * math/w_log2l.c: Likewise.
63445         * math/w_pow.c: Likewise.
63446         * math/w_powf.c: Likewise.
63447         * math/w_powl.c: Likewise.
63448         * math/w_remainder.c: Likewise.
63449         * math/w_remainderf.c: Likewise.
63450         * math/w_remainderl.c: Likewise.
63451         * math/w_scalb.c: Likewise.
63452         * math/w_scalbf.c: Likewise.
63453         * math/w_scalbl.c: Likewise.
63454         * math/w_sqrt.c: Likewise.
63455         * math/w_sqrtf.c: Likewise.
63456         * math/w_sqrtl.c: Likewise.
63457         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
63458         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
63459         used.
63460         * math/math_private.h: Declare __kernel_standard_f.
63461         * math/w_cosh.c: Remove cruft and optimize a bit.
63462         * math/w_coshf.c: Likewise.
63463         * math/w_coshl.c: Likewise.
63464         * math/w_exp2.c: Likewise.
63465         * math/w_exp2f.c: Likewise.
63466         * math/w_exp2l.c: Likewise.
63467         * math/w_hypot.c: Likewise.
63468         * math/w_hypotf.c: Likewise.
63469         * math/w_hypotl.c: Likewise.
63470         * math/w_lgamma.c: Likewise.
63471         * math/w_lgamma_r.c: Likewise.
63472         * math/w_lgammaf.c: Likewise.
63473         * math/w_lgammaf_r.c: Likewise.
63474         * math/w_lgammal.c: Likewise.
63475         * math/w_lgammal_r.c: Likewise.
63476         * math/w_sinh.c: Likewise.
63477         * math/w_sinhf.c: Likewise.
63478         * math/w_sinhl.c: Likewise.
63479         * math/w_tgamma.c: Likewise.
63480         * math/w_tgammaf.c: Likewise.
63481         * math/w_tgammal.c: Likewise.
63482         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63483         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63484         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
63485         Minor optimizations.  Pretty printing.  Remove cruft.
63486         * sysdeps/i386/fpu/e_acosf.S: Likewise.
63487         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63488         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63489         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63490         * sysdeps/i386/fpu/e_acosl.c: Likewise.
63491         * sysdeps/i386/fpu/e_asin.S: Likewise.
63492         * sysdeps/i386/fpu/e_asinf.S: Likewise.
63493         * sysdeps/i386/fpu/e_atan2.S: Likewise.
63494         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
63495         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
63496         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63497         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63498         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63499         * sysdeps/i386/fpu/e_exp10.S: Likewise.
63500         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
63501         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
63502         * sysdeps/i386/fpu/e_exp2.S: Likewise.
63503         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
63504         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
63505         * sysdeps/i386/fpu/e_fmod.S: Likewise.
63506         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
63507         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
63508         * sysdeps/i386/fpu/e_hypot.S: Likewise.
63509         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
63510         * sysdeps/i386/fpu/e_log.S: Likewise.
63511         * sysdeps/i386/fpu/e_log10.S: Likewise.
63512         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63513         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63514         * sysdeps/i386/fpu/e_log2.S: Likewise.
63515         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63516         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63517         * sysdeps/i386/fpu/e_logf.S: Likewise.
63518         * sysdeps/i386/fpu/e_logl.S: Likewise.
63519         * sysdeps/i386/fpu/e_pow.S: Likewise.
63520         * sysdeps/i386/fpu/e_powf.S: Likewise.
63521         * sysdeps/i386/fpu/e_powl.S: Likewise.
63522         * sysdeps/i386/fpu/e_remainder.S: Likewise.
63523         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
63524         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
63525         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63526         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63527         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63528         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
63529         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
63530         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
63531         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63532         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63533         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63534         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63535         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63536         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63537         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
63538         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63539         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63540         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63541         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63542         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63543         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63544         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63545         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63546         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63547         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63548         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63549         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63550         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63551         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63552         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63553         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63554         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63555         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63556         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63557         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63558         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63559         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
63560         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63561         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63562         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63563         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63564         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63565         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63566         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63567         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63568         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63569         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63570         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63571         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63572         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63573         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63574         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63575         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63576         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63577         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63578         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63579         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63580         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
63581         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63582         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63583         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63584         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63586         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63587         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63588         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63589         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63590         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63591         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63592         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63593         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63594         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63595         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63596         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63597         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63598         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63599         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
63600         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63601         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63602         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63603         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63604         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63605         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63606         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63607         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
63608         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63609         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63610         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63611         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63612         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63613         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
63614         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63615         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63616         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63617         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63618         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63619         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63620         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63621         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63622         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63623         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63624         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63625         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63626         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63627         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63628         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
63629         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
63630         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
63631         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
63632         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
63633         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
63634         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
63635         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63636         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63637         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63638         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63639         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
63640         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63641         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
63642         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
63643         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
63644         (__isnanf): Likewise.
63645         (__isinf_ns): Likewise.
63646         (__isinf_nsf): Likewise.
63647         (__finite): Likewise.
63648         (__finitef): Likewise.
63649         (__ieee754_sqrt): Define as macro.
63650         (__ieee754_sqrtf): Define as macro.
63651         (__ieee754_sqrtl): Define as macro.
63652         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
63653         inlined copy.
63654         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
63655         __FINITE_MATH_ONLY__ consistent.
63656         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
63658 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
63660         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
63661         of rawmemchr.
63663         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
63665 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
63667         * po/ja.po: Update from translation team.
63669 2011-10-08  Roland McGrath  <roland@hack.frob.com>
63671         * locale/programs/locarchive.c (prepare_address_space): New function.
63672         (create_archive, enlarge_archive, open_archive): Use it.
63674         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
63675         inside [SHARED], where it is used.
63677         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
63679         * nss/getent.c (netgroup_keys): Remove unused variable.
63680         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63682 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
63684         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
63685         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
63686         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
63687         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
63688         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
63689         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
63690         * math/Makefile (libm-calls): Add s_isinf_ns.
63691         * math/divtc3.c: Use __isinf_nsl instead of isinf.
63692         * math/multc3.c: Likewise.
63693         * math/s_casin.c: Likewise.
63694         * math/s_casinf.c: Likewise.
63695         * math/s_casinl.c: Likewise.
63696         * math/s_ccos.c: Likewise.
63697         * math/s_ccosf.c: Likewise.
63698         * math/s_ccosl.c: Likewise.
63699         * math/s_ctan.c: Likewise.
63700         * math/s_ctanf.c: Likewise.
63701         * math/s_ctanh.c: Likewise.
63702         * math/s_ctanhf.c: Likewise.
63703         * math/s_ctanhl.c: Likewise.
63704         * math/s_ctanl.c: Likewise.
63705         * math/w_fmod.c: Likewise.
63706         * math/w_fmodf.c: Likewise.
63707         * math/w_fmodl.c: Likewise.
63708         * math/w_remainder.c: Likewise.
63709         * math/w_remainderf.c: Likewise.
63710         * math/w_remainderl.c: Likewise.
63711         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
63712         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
63713         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
63714         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
63715         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
63716         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
63717         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
63718         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
63720         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
63721         of the number.
63722         * stdio-common/printf_fphex.c: Likewise.
63723         * stdio-common/printf_size.c: Likewise.
63725         * math/e_exp10.c: Include math_private.h using <...> not "...".
63726         * math/e_exp10f.c: Likewise.
63727         * math/e_exp10l.c: Likewise.
63728         * math/e_exp2l.c: Likewise.
63729         * math/e_j0l.c: Likewise.
63730         * math/e_j1l.c: Likewise.
63731         * math/e_jnl.c: Likewise.
63732         * math/e_lgammal_r.c: Likewise.
63733         * math/e_rem_pio2l.c: Likewise.
63734         * math/e_scalb.c: Likewise.
63735         * math/e_scalbf.c: Likewise.
63736         * math/e_scalbl.c: Likewise.
63737         * math/k_cosl.c: Likewise.
63738         * math/k_sinl.c: Likewise.
63739         * math/k_tanl.c: Likewise.
63740         * math/s_cacoshf.c: Likewise.
63741         * math/s_catan.c: Likewise.
63742         * math/s_catanf.c: Likewise.
63743         * math/s_catanh.c: Likewise.
63744         * math/s_catanhf.c: Likewise.
63745         * math/s_catanhl.c: Likewise.
63746         * math/s_catanl.c: Likewise.
63747         * math/s_ccosh.c: Likewise.
63748         * math/s_ccoshf.c: Likewise.
63749         * math/s_ccoshl.c: Likewise.
63750         * math/s_cexp.c: Likewise.
63751         * math/s_cexpf.c: Likewise.
63752         * math/s_cexpl.c: Likewise.
63753         * math/s_clog.c: Likewise.
63754         * math/s_clog10.c: Likewise.
63755         * math/s_clog10f.c: Likewise.
63756         * math/s_clog10l.c: Likewise.
63757         * math/s_clogf.c: Likewise.
63758         * math/s_clogl.c: Likewise.
63759         * math/s_csin.c: Likewise.
63760         * math/s_csinf.c: Likewise.
63761         * math/s_csinh.c: Likewise.
63762         * math/s_csinhf.c: Likewise.
63763         * math/s_csinhl.c: Likewise.
63764         * math/s_csinl.c: Likewise.
63765         * math/s_csqrt.c: Likewise.
63766         * math/s_csqrtf.c: Likewise.
63767         * math/s_csqrtl.c: Likewise.
63768         * math/s_ctan.c: Likewise.
63769         * math/s_ctanf.c: Likewise.
63770         * math/s_ctanh.c: Likewise.
63771         * math/s_ctanhf.c: Likewise.
63772         * math/s_ctanhl.c: Likewise.
63773         * math/s_ctanl.c: Likewise.
63774         * math/s_ldexp.c: Likewise.
63775         * math/s_ldexpf.c: Likewise.
63776         * math/s_ldexpl.c: Likewise.
63777         * math/s_significand.c: Likewise.
63778         * math/s_significandf.c: Likewise.
63779         * math/s_significandl.c: Likewise.
63780         * math/w_acos.c: Likewise.
63781         * math/w_acosf.c: Likewise.
63782         * math/w_acosh.c: Likewise.
63783         * math/w_acoshf.c: Likewise.
63784         * math/w_acoshl.c: Likewise.
63785         * math/w_acosl.c: Likewise.
63786         * math/w_asin.c: Likewise.
63787         * math/w_asinf.c: Likewise.
63788         * math/w_asinl.c: Likewise.
63789         * math/w_atan2.c: Likewise.
63790         * math/w_atan2f.c: Likewise.
63791         * math/w_atan2l.c: Likewise.
63792         * math/w_atanh.c: Likewise.
63793         * math/w_atanhf.c: Likewise.
63794         * math/w_atanhl.c: Likewise.
63795         * math/w_cosh.c: Likewise.
63796         * math/w_coshf.c: Likewise.
63797         * math/w_coshl.c: Likewise.
63798         * math/w_dremf.c: Likewise.
63799         * math/w_exp10.c: Likewise.
63800         * math/w_exp10f.c: Likewise.
63801         * math/w_exp10l.c: Likewise.
63802         * math/w_exp2.c: Likewise.
63803         * math/w_exp2f.c: Likewise.
63804         * math/w_fmod.c: Likewise.
63805         * math/w_fmodf.c: Likewise.
63806         * math/w_fmodl.c: Likewise.
63807         * math/w_hypot.c: Likewise.
63808         * math/w_hypotf.c: Likewise.
63809         * math/w_hypotl.c: Likewise.
63810         * math/w_j0.c: Likewise.
63811         * math/w_j0f.c: Likewise.
63812         * math/w_j0l.c: Likewise.
63813         * math/w_j1.c: Likewise.
63814         * math/w_j1f.c: Likewise.
63815         * math/w_j1l.c: Likewise.
63816         * math/w_jn.c: Likewise.
63817         * math/w_jnf.c: Likewise.
63818         * math/w_jnl.c: Likewise.
63819         * math/w_lgamma.c: Likewise.
63820         * math/w_lgamma_r.c: Likewise.
63821         * math/w_lgammaf.c: Likewise.
63822         * math/w_lgammaf_r.c: Likewise.
63823         * math/w_lgammal.c: Likewise.
63824         * math/w_lgammal_r.c: Likewise.
63825         * math/w_log.c: Likewise.
63826         * math/w_log10.c: Likewise.
63827         * math/w_log10f.c: Likewise.
63828         * math/w_log10l.c: Likewise.
63829         * math/w_log2.c: Likewise.
63830         * math/w_log2f.c: Likewise.
63831         * math/w_log2l.c: Likewise.
63832         * math/w_logf.c: Likewise.
63833         * math/w_logl.c: Likewise.
63834         * math/w_pow.c: Likewise.
63835         * math/w_powf.c: Likewise.
63836         * math/w_powl.c: Likewise.
63837         * math/w_remainder.c: Likewise.
63838         * math/w_remainderf.c: Likewise.
63839         * math/w_remainderl.c: Likewise.
63840         * math/w_scalb.c: Likewise.
63841         * math/w_scalbf.c: Likewise.
63842         * math/w_scalbl.c: Likewise.
63843         * math/w_sinh.c: Likewise.
63844         * math/w_sinhf.c: Likewise.
63845         * math/w_sinhl.c: Likewise.
63846         * math/w_sqrt.c: Likewise.
63847         * math/w_sqrtf.c: Likewise.
63848         * math/w_sqrtl.c: Likewise.
63849         * math/w_tgamma.c: Likewise.
63850         * math/w_tgammaf.c: Likewise.
63851         * math/w_tgammal.c: Likewise.
63853         * po/ja.po: Update from translation team.
63855 2011-09-29  Andreas Jaeger  <aj@suse.de>
63857         [BZ #13179]
63858         * sunrpc/netname.c (netname2host): Fix logic.
63860         [BZ #6779]
63861         [BZ #6783]
63862         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
63863         correctly.
63864         * math/w_remainder.c (__remainder): Likewise.
63865         * math/w_remainderf.c (__remainderf): Likewise.
63866         * math/libm-test.inc (remainder_test): Add test cases.
63868 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63870         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
63871         sdiv_qrnnd.
63873 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
63875         * string/test-memcmp.c: Avoid unncessary #defines.
63876         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63878 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63880         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
63881         Use new sse2 version for core i3 - i7 as it's faster
63882         than sse42 version.
63883         (bit_Prefer_PMINUB_for_stringop): New.
63884         * sysdeps/x86_64/rawmemchr.S: Update.
63885         Replace with faster SSE2 version.
63886         * sysdeps/x86_64/memrchr.S: New file.
63887         * sysdeps/x86_64/memchr.S: Update.
63888         Replace with faster SSE2 version.
63890 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
63892         * elf/dl-load.c (lose): Add cast to avoid warning.
63894 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
63896         * po/ca.po: Update from translation team.
63898         * inet/getnetgrent_r.c: Hook up nscd.
63899         * nscd/Makefile (routines): Add nscd_netgroup.
63900         (nscd-modules): Add netgroupcache.
63901         (CFLAGS-netgroupcache.c): Define.
63902         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
63903         (cache_search): Add const to second parameter.
63904         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
63905         INNETGR.
63906         (dbs): Add netgrdb entry.
63907         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
63908         (verify_persistent_db): Handle netgrdb.
63909         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
63910         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
63911         GETFDNETGR.
63912         (netgroup_response_header): Define.
63913         (innetgroup_response_header): Define.
63914         (datahead): Add netgroup_response_header and innetgroup_response_header
63915         elements.
63916         * nscd/nscd.conf: Add entries for netgroup cache.
63917         * nscd/nscd.h (dbtype): Add netgrdb.
63918         (_PATH_NSCD_NETGROUP_DB): Define.
63919         (netgroup_iov_disabled): Declare.
63920         (xmalloc, xcalloc, xrealloc): Move declarations here.
63921         (cache_search): Adjust prototype.
63922         Add netgroup-related prototypes.
63923         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
63924         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
63925         (__nscd_innetgr): Declare.
63926         * nscd/selinux.c (perms): Use access_vector_t as element type and
63927         add netgroup-related initializers.
63928         * nscd/netgroupcache.c: New file.
63929         * nscd/nscd_netgroup.c: New file.
63930         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
63931         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
63932         For four parameters use innetgr.
63933         * nss/nss_files/files-init.c: Add definition and callback for netgr.
63934         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
63935         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
63936         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
63938         * nscd/connections.c (register_traced_file): Don't register file
63939         for disabled databases.
63941 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
63943         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
63945         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
63946         from tree and freeing node.
63948 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
63950         * nss/nsswitch.c (__nss_database_lookup): Handle
63951         nss_parse_service_list out of memory case.
63953 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
63955         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
63956         out of memory case.
63958 2011-10-04  Andreas Schwab  <schwab@redhat.com>
63960         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
63961         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
63962         pass it down.
63963         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
63964         elf_machine_rela, elf_machine_lazy_rel.
63965         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
63966         (ELF_DYNAMIC_DO_REL): Likewise.
63967         (ELF_DYNAMIC_DO_RELA): Likewise.
63968         (ELF_DYNAMIC_RELOCATE): Likewise.
63969         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
63970         to ELF_DYNAMIC_DO_REL.
63971         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
63972         (dl_main): In trace mode always set __RTLD_NOIFUNC.
63973         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
63974         elf_machine_rela.
63975         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
63976         skip_ifunc, don't call ifunc function if non-zero.
63977         (elf_machine_rela): Likewise.
63978         (elf_machine_lazy_rel): Likewise.
63979         (elf_machine_lazy_rela): Likewise.
63980         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
63981         (elf_machine_lazy_rel): Likewise.
63982         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
63983         Likewise.
63984         (elf_machine_lazy_rel): Likewise.
63985         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63986         Likewise.
63987         (elf_machine_lazy_rel): Likewise.
63988         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
63989         (elf_machine_lazy_rel): Likewise.
63990         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
63991         (elf_machine_lazy_rel): Likewise.
63992         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63993         (elf_machine_lazy_rel): Likewise.
63994         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
63995         (elf_machine_lazy_rel): Likewise.
63996         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
63997         (elf_machine_lazy_rel): Likewise.
63998         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63999         (elf_machine_lazy_rel): Likewise.
64001 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64003         * nss/nss_files/files-init.c (_nss_files_init): Use static
64004         initialization for all the *_traced_file variables.
64006 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64008         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64010 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64012         [BZ #13226]
64013         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64015 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64017         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64018         Reread the line before reparsing it.
64020 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64022         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64024 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64025             Maxim Kuvyrkov  <maxim@codesourcery.com>
64026             Joseph Myers  <joseph@codesourcery.com>
64028         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64029         if needed for __stack_chk_guard.
64031 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64033         * sysdeps/posix/spawni.c (script_execute): Always define it.
64034         It will be optimized away if unused.
64035         (maybe_script_execute): New function.
64036         (__spawni): Call it.
64038         * Makerules: Don't include tls.make.
64039         (config-tls): Always set to thread.
64040         * tls.make.c: File removed.
64042 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64044         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64045         * config.make.in (CPPFLAGS-config): New substituted variable.
64047 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64049         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64051         [BZ #13192]
64052         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64053         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64055 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64057         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64058         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64059         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64060         (CALL_FAIL): Likewise.
64061         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64062         (CALL_FAIL): Macro removed.
64063         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64065 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64067         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64068         for __FINITE_MATH_ONLY__ == 1.
64070 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64072         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64073         __ieee754_sqrt instead of sqrt.
64074         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64075         __ieee754_sqrtf instead of sqrtf.
64076         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64077         __floorf instead of floorf.
64078         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64079         __floorf, __truncf instead of floorf, truncf.
64081 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64083         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64085         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64086         __extern_always_inline.
64087         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64088         32-bit.
64090 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64092         * elf/rtld.c (dl_main): Also relocate in dependency order when
64093         doing symbol dependency testing.
64095 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64097         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64098         Always define `refsym'.
64100 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64102         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64103         (__FD_ELT): Renamed from __FDELT.
64104         * misc/bits/select2.h (__FD_ELT): Likewise.
64105         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64106         __FD_MASK instead of __FDELT, __FDMASK.
64107         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64108         Likewise.
64109         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64110         Likewise.
64112         * elf/Makefile (gen-ldd): Fix pattern.
64114         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64115         (init_tls): Likewise.
64117 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64119         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64121 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64123         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64124         `struct cmsghdr *' instead of `void *'.
64125         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64126         Likewise.
64128 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64130         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64131         if non-absolute.
64132         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64133         ldd_rewrite_script.
64135 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64137         * configure.in: Remove --with-tls option.
64138         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64139         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64140         out in case it is missing.
64141         * sysdeps/ia64/elf/configure.in: Likewise.
64142         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64143         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64144         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64145         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64146         * sysdeps/sh/elf/configure.in: Likewise.
64147         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64148         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64149         * sysdeps/x86_64/elf/configure.in: Likewise.
64150         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64151         * sysdeps/mach/hurd/tls.h: Likewise.
64153         [BZ #13067]
64154         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64156         [BZ #13090]
64157         * configure.in: Fix use of AC_INIT.
64159         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64161 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64163         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64164         __set_errno.
64165         * malloc/hooks.c: Likewise.
64167         [BZ #11929]
64168         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64169         variables statically.
64170         (narenas): Initialize.
64171         (list_lock): Initialize.
64172         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64173         initializtion of main_arena and list_lock.  Small cleanups.
64174         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64175         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
64176         Add initializers to main_arena and mp_.
64177         (malloc_state): Remove pagesize member.  Change all users to use
64178         GLRO(dl_pagesize).
64180         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
64181         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
64182         is always initialized.
64184         * malloc/malloc.c: Removed unused configurations and dead code.
64185         * malloc/arena.c: Likewise.
64186         * malloc/hooks.c: Likewise.
64187         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
64189         * include/tls.h: Removed.  USE___THREAD must always be defined.
64190         * bits/libc-tsd.h: Don't handle !USE___THREAD.
64191         * elf/dl-libc.c: Likewise.
64192         * elf/dl-tsd.c: Likewise.
64193         * include/errno.h: Likewise.
64194         * include/netdb.h: Likewise.
64195         * include/resolv.h: Likewise.
64196         * inet/herrno-loc.c: Likewise.
64197         * inet/herrno.c: Likewise.
64198         * malloc/arena.c: Likewise.
64199         * malloc/hooks.c: Likewise.
64200         * malloc/malloc.c: Likewise.
64201         * resolv/res-state.c: Likewise.
64202         * resolv/res_libc.c: Likewise.
64203         * sysdeps/i386/dl-machine.h: Likewise.
64204         * sysdeps/ia64/dl-machine.h: Likewise.
64205         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
64206         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64207         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
64208         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64209         * sysdeps/sh/dl-machine.h: Likewise.
64210         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64211         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64212         * sysdeps/unix/i386/sysdep.S: Likewise.
64213         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
64214         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
64215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
64216         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
64217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
64218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
64219         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
64220         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64221         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
64223         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64224         * sysdeps/x86_64/dl-machine.h: Likewise.
64225         * tls.make.c: Likewise.
64227         * configure.in: Remove --with-__thread option.  Make tests for
64228         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
64229         tls_model attribute fail if no support is available.  Remove
64230         USE_IN_LIBIO.
64231         * Makeconfig: Adjust for dropped configure option.  All features are
64232         now mandatory.
64233         * Makerules: Likewise.
64234         * Versions.def: Likewise.
64235         * argp/argp-fmtstream.c: Likewise.
64236         * argp/argp-fmtstream.h: Likewise.
64237         * argp/argp-help.c: Likewise.
64238         * assert/assert.c: Likewise.
64239         * config.h.in: Likewise.
64240         * config.make.in: Likewise.
64241         * configure: Likewise.
64242         * configure.in: Likewise.
64243         * csu/Versions: Likewise.
64244         * csu/init.c: Likewise.
64245         * elf/tst-audit2.c: Likewise.
64246         * elf/tst-tls10.c: Likewise.
64247         * elf/tst-tls10.h: Likewise.
64248         * elf/tst-tls11.c: Likewise.
64249         * elf/tst-tls12.c: Likewise.
64250         * elf/tst-tls14.c: Likewise.
64251         * elf/tst-tlsmod11.c: Likewise.
64252         * elf/tst-tlsmod12.c: Likewise.
64253         * elf/tst-tlsmod13.c: Likewise.
64254         * elf/tst-tlsmod13a.c: Likewise.
64255         * elf/tst-tlsmod14a.c: Likewise.
64256         * elf/tst-tlsmod15b.c: Likewise.
64257         * elf/tst-tlsmod16a.c: Likewise.
64258         * elf/tst-tlsmod16b.c: Likewise.
64259         * elf/tst-tlsmod7.c: Likewise.
64260         * elf/tst-tlsmod8.c: Likewise.
64261         * elf/tst-tlsmod9.c: Likewise.
64262         * gmon/gmon.c: Likewise.
64263         * grp/fgetgrent_r.c: Likewise.
64264         * grp/putgrent.c: Likewise.
64265         * hurd/fopenport.c: Likewise.
64266         * include/libc-symbols.h: Likewise.
64267         * include/tls.h: Likewise.
64268         * intl/gettextP.h: Likewise.
64269         * intl/loadinfo.h: Likewise.
64270         * locale/global-locale.c: Likewise.
64271         * locale/localeinfo.h: Likewise.
64272         * mach/devstream.c: Likewise.
64273         * malloc/arena.c: Likewise.
64274         * malloc/set-freeres.c: Likewise.
64275         * misc/err.c: Likewise.
64276         * misc/getttyent.c: Likewise.
64277         * misc/mntent_r.c: Likewise.
64278         * posix/getopt.c: Likewise.
64279         * posix/wordexp.c: Likewise.
64280         * pwd/fgetpwent_r.c: Likewise.
64281         * resolv/Versions: Likewise.
64282         * resolv/res_hconf.c: Likewise.
64283         * shadow/fgetspent_r.c: Likewise.
64284         * shadow/putspent.c: Likewise.
64285         * stdio-common/printf_fphex.c: Likewise.
64286         * stdio-common/tmpfile.c: Likewise.
64287         * stdlib/abort.c: Likewise.
64288         * stdlib/fmtmsg.c: Likewise.
64289         * sunrpc/auth_unix.c: Likewise.
64290         * sunrpc/clnt_perr.c: Likewise.
64291         * sunrpc/clnt_tcp.c: Likewise.
64292         * sunrpc/clnt_udp.c: Likewise.
64293         * sunrpc/clnt_unix.c: Likewise.
64294         * sunrpc/openchild.c: Likewise.
64295         * sunrpc/svc_simple.c: Likewise.
64296         * sunrpc/svc_tcp.c: Likewise.
64297         * sunrpc/svc_udp.c: Likewise.
64298         * sunrpc/svc_unix.c: Likewise.
64299         * sunrpc/xdr.c: Likewise.
64300         * sunrpc/xdr_array.c: Likewise.
64301         * sunrpc/xdr_rec.c: Likewise.
64302         * sunrpc/xdr_ref.c: Likewise.
64303         * sunrpc/xdr_stdio.c: Likewise.
64305 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64307         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64309 2011-07-03  Andreas Jaeger  <aj@suse.de>
64311         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
64312         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
64313         regenerate with gen-libm-tests.pl.
64315 2010-05-12  Petr Baudis  <pasky@suse.cz>
64317         [BZ #11589]
64318         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
64319         around j0() zero points by switching to j1().
64320         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64321         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64322         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64323         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64325 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64327         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
64328         instead of 0.
64329         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
64330         instead of 0.
64331         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64332         Patch in part by Pavel Roskin <proski@gnu.org>.
64334         [BZ #13138]
64335         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
64336         realloc.
64337         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
64338         Free memory block if necessary.
64340         [BZ #12847]
64341         * libio/genops.c (INTDEF): For string streams the _lock pointer can
64342         be NULL.  Don't lock in this case.
64344 2011-09-09  Roland McGrath  <roland@hack.frob.com>
64346         * elf/elf.h (ELFOSABI_GNU): New macro.
64347         (ELFOSABI_LINUX): Define to that.
64349 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
64351         * string/strncat.c (strncat): Undef the symbol in case it has been
64352         defined in bits/string.h.
64354 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
64356         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
64358         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
64359         link map.
64361 2011-08-17  Andreas Jaeger  <aj@suse.de>
64363         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
64365 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
64366             Ian Lance Taylor  <iant@google.com>
64368         * math/libm-test.inc (lround_test): New testcase.
64369         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
64371 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
64373         * Makefile: Remove support for automatic cvs check-ins.
64374         * Makerules: Likewise.
64375         * config.make.in: Likewise.
64376         * configure.in: Likewise.
64377         * intl/Makefile: Likewise.
64378         * locale/Makefile: Likewise.
64379         * po/Makefile: Likewise.
64380         * posix/Makefile: Likewise.
64381         * sysdeps/gnu/Makefile: Likewise.
64382         * sysdeps/mach/hurd/Makefile: Likewise.
64383         * sysdeps/sparc/sparc32/Makefile: Likewise.
64385         [BZ #13118]
64386         * posix/Makefile (bug-regex32-ENV): Define.
64387         Patch by John Stanley <jpsinthemix@verizon.net>.
64389         * misc/Makefile (headers): Add bits/select2.h.
64390         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
64391         * misc/bits/select2.h: New file.
64392         * include/bits/select2.h: New file.
64393         * debug/Makefile (routines): Add fdelt_chk.
64394         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
64395         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
64396         FD_ISSET.
64397         * debug/fdelt_chk.c: New file.
64399         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
64400         * wcsmbs/test-wmemcmp.c: Likewise.
64401         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
64402         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
64404 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64406         * string/Makefile (strop-tests): Add memcmp.
64407         * string/test-wmemcmp.c: New file.
64408         * string/test-memcmp.c: Add wmemcmp support.
64410 2011-09-08  Roland McGrath  <roland@hack.frob.com>
64412         [BZ #13153]
64413         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
64414         2011-07-19 change.
64416         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
64417         garbage value in a __mach_port_mod_refs call in the cases of the
64418         task-self and thread-self ports.
64420 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64422         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
64424 2011-09-08  Andreas Schwab  <schwab@redhat.com>
64426         * elf/dl-load.c (lose): Check for non-null L.
64428 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64430         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
64432         * elf/dl-libc.c (dlerror_run): Pass back error code from
64433         dl_catch_error.
64435         [BZ #13123]
64436         * elf/dl-load.c (lose): Free l_origin if it is valid.
64438         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
64439         names.
64440         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
64441         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64442         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
64443         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64444         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
64445         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
64447 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64449         * sysdeps/powerpc/fpu/e_hypot.c: New file.
64450         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
64451         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
64452         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
64453         * sysdeps/powerpc/fpu/k_cosf.c: New file.
64454         * sysdeps/powerpc/fpu/k_sinf.c: New file.
64455         * sysdeps/powerpc/fpu/s_cosf.c: New file.
64456         * sysdeps/powerpc/fpu/s_sinf.c: New file.
64457         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
64458         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
64460 2011-08-15  Alan Modra  <amodra@gmail.com>
64462         [BZ #13092]
64463         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
64464         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
64465         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
64466         ppc_mcount to static-only-routines.
64467         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
64468         __mcount_internal.
64469         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
64470         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
64472 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
64474         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
64475         for finite and infinity parameters.
64477 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64479         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
64480         and add nop instructions for throughput optimization.
64481         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64483 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
64485         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
64486         aligned copy for power7 with vector-scalar instructions.
64487         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
64489 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
64491         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
64492         AVX check.
64494 2011-09-07  Andreas Schwab  <schwab@redhat.com>
64496         [BZ #13144]
64497         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
64498         last change.
64500 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
64502         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64503         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
64504         syscall wrapper around clock_gettime in __vdso_clock_gettime.
64505         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
64506         clock_gettime.
64508 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64510         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
64511         Forgot to demangle the pointer.
64513         * sysdeps/i386/sysdep.h: Define atom_text_section.
64514         * sysdeps/x86_64/sysdep.h: Likewise.
64515         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
64516         section with atom_text_section.
64517         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
64518         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
64519         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
64520         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
64521         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
64523         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
64524         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
64525         already be defined.  Change to take two parameters and don't assign
64526         result to variable.  Adjust all users.
64527         Define INTERNAL_GETTIME if not already defined.
64528         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
64529         call.
64530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
64531         HAVE_CLOCK_GETTIME_VSYSCALL.
64532         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
64534         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
64535         gettimeofday vsyscall, just use time.
64537 2011-09-06  Andreas Schwab  <schwab@redhat.com>
64539         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
64540         <errno.h>.
64542 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
64544         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
64545         syscall on x86-64.
64546         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
64547         syscall.
64548         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
64549         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
64550         syscall if possible.
64552 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64554         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
64555         e_ident.  Don't pass to find_mapsXX.
64556         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
64558 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64560         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64561         strchr-sse2-no-bsf strrchr-sse2-no-bsf
64562         * sysdeps/x86_64/multiarch/strchr.S: Update.
64563         Check bit_slow_BSF bit.
64564         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64565         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
64566         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
64568 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64570         [BZ #13134]
64571         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
64572         before glibc 2.15.
64573         (tryshell): Define.
64574         (__spawni): Change last parameter to be flag.  Test
64575         SPAWN_XFLAGS_USE_PATH flag to use path or not.
64576         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
64577         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
64578         * posix/spawni.c: Likewise.
64579         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
64580         * posix/spawnp.c: Likewise.  Change normal version to use
64581         SPAWN_XFLAGS_USE_PATH.
64582         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
64583         SPAWN_XFLAGS_TRY_SHELL.
64585         [BZ #13150]
64586         * posix/glob.h: Remove gcc 1.x support.
64588         [BZ #13068]
64589         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
64591 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64593         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64594         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
64595         strrchr-sse2-bsf
64596         * sysdeps/i386/i686/multiarch/strchr.S: New file.
64597         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
64598         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
64599         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
64600         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
64601         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
64603 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64605         * sysdeps/x86_64/wcscmp.S: New file.
64607         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
64608         wcscmp-c wcscmp-sse2
64609         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
64610         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
64611         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
64612         * wcsmbs/wcscmp.c: Allow renaming.
64614 2011-09-05  David S. Miller  <davem@davemloft.net>
64616         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
64617         stack slot, rather than the struct return pointer slot.
64618         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
64619         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
64620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
64621         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
64623 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
64625         * po/ja.po: Update from translation team.
64627         [BZ #13144]
64628         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
64629         kernel in 64-bit binaries.
64631 2011-09-01  David S. Miller  <davem@davemloft.net>
64633         * elf/elf.h (HWCAP_SPARC_*): Move to..
64634         * sysdeps/sparc/sysdep.h: this new file and add new values.
64635         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
64636         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
64637         _DL_HWCAP_COUNT to 24.
64638         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64639         entries.
64640         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
64641         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
64642         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
64643         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
64644         instead of magic constants.
64645         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64647 2011-08-31  David S. Miller  <davem@davemloft.net>
64649         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
64650         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
64651         Reimplement to do errno handling inline.
64652         (SYSCALL_ERROR_HANDLER): New macro.
64653         (__SYSCALL_STRING): Do not do errno handling in asm.
64654         (__CLONE_SYSCALL_STRING): Delete.
64655         (__INTERNAL_SYSCALL_STRING): Delete.
64656         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
64657         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
64658         (PSEUDO): Reimplement to do errno handling inline.
64659         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
64660         (SYSCALL_ERROR_HANDLER): New macro.
64661         (__SYSCALL_STRING): Do not do errno handling in asm.
64662         (__CLONE_SYSCALL_STRING): Delete.
64663         (__INTERNAL_SYSCALL_STRING): Delete.
64664         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
64665         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
64666         i386.
64667         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
64668         (inline_syscall*): Add 'err' argument.
64669         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
64670         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
64671         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
64672         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
64674         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
64675         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64677 2011-08-30  Andreas Schwab  <schwab@redhat.com>
64679         * elf/rtld.c (dl_main): Relocate objects in dependency order.
64681 2011-08-29  Jiri Olsa <jolsa@redhat.com>
64683         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
64684         directive.
64686 2011-08-24  David S. Miller  <davem@davemloft.net>
64688         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
64690 2011-08-24  Andreas Schwab  <schwab@redhat.com>
64692         * elf/Makefile: Add rules to build and run unload8 test.
64693         * elf/unload8.c: New file.
64694         * elf/unload8mod1.c: New file.
64695         * elf/unload8mod1x.c: New file.
64696         * elf/unload8mod2.c: New file.
64697         * elf/unload8mod3.c: New file.
64699         * elf/dl-close.c (_dl_close_worker): Reset private search list if
64700         it wasn't used.
64702 2011-08-23  David S. Miller  <davem@davemloft.net>
64704         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
64705         subtract stack bias.
64706         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
64707         %sp not %fp in calculations.
64708         (_JMPBUF_UNWINDS_ADJ): Likewise.
64710         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
64711         (aio_suspend): Call it to force an exception region around the
64712         AIO_MISC_WAIT() invocation.
64714 2011-08-23  Andreas Schwab  <schwab@redhat.com>
64716         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
64717         backslash.
64719 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
64721         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
64722         protection macro.
64723         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
64724         and <dl-machine.h>.
64725         (Elf64_FuncDesc): Remove.
64727 2011-08-22  David S. Miller  <davem@davemloft.net>
64729         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
64730         sigaltstack check, add missing cfi directives.
64731         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
64732         missing cfi directives, and sigaltstack handling.
64734 2011-08-16  Andreas Schwab  <schwab@redhat.com>
64736         [BZ #11724]
64737         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
64738         object is seen twice.
64739         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64741         * elf/Makefile (distribute): Add tst-initorder2.c.
64742         (tests): Add tst-initorder2.
64743         (modules-names): Add tst-initorder2a tst-initorder2b
64744         tst-initorder2c tst-initorder2d.  Add rules to build them.
64745         ($(objpfx)tst-initorder2.out): New rule.
64746         * elf/tst-initorder2.c: New file.
64747         * elf/tst-initorder2.exp: New file.
64749 2011-08-22  Andreas Schwab  <schwab@redhat.com>
64751         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
64753         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
64754         dependencies back to end of function.
64756         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64757         $(elfobjdir)/ld.so.
64759 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
64761         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
64762         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
64763         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
64764         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
64765         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
64766         of __vdso_gettimeofday.
64767         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
64768         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
64769         attribute_hidden.
64770         (_libc_vdso_platform_setup): Remove initialization of
64771         __vdso_gettimeofday and __vdso_time.
64773 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
64775         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
64776         and fgetc_unlocked.
64777         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
64778         getc_unlocked.
64780         * elf/dl-open.c (add_to_global): Report additions to the global scope
64781         for LD_DEBUG=scopes.
64782         (dl_open_worker): Also print scope of newly loaded dependencies.
64783         (_dl_show_scope): Indicate if there is no scope.
64785         [BZ #13114]
64786         * stdio-common/Makefile (tests): Add bug24.
64787         * stdio-common/bug24.c: New file.
64789 2011-08-19  Andreas Jaeger  <aj@suse.de>
64791         [BZ #13114]
64792         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
64793         non-existant file when using close-on-exec mode.
64795 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
64797         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
64798         the very first instruction.
64800         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
64801         the CFI state in the end.
64802         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
64803         inclusion of dl-trampoline.h.
64804         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
64806 2011-08-19  Andreas Schwab  <schwab@redhat.com>
64808         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
64809         expectations for long double.
64811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
64812         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
64814 2011-08-14  David S. Miller  <davem@davemloft.net>
64816         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
64817         artificual limit depends upon the system page size.
64819 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
64821         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
64822         * resolv/Makefile: Define CFLAGS-libresolv.
64824 2011-08-17  Andreas Schwab  <schwab@redhat.com>
64826         * nss/makedb.c (compute_tables): Make variables used in nested
64827         function static.
64829 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
64831         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
64832         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
64833         if buffer was too small.
64835         * elf/pldd.c (main): Attach to all threads in the process.
64836         Rewrite /proc handling to use *at functions.
64838 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
64840         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
64841         specifies first scope to show.
64842         (dl_open_worker): Update callers.  Move printing scope of new
64843         object to before the relocation.
64844         * elf/rtld.c (dl_main): Update _dl_show_scope call.
64845         * sysdeps/generic/ldsodefs.h: Update declaration.
64847         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
64848         string for the scope number.
64850 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
64852         * nscd/servicescache.c (cache_addserv): Make sure written is always
64853         initialized.
64855 2011-08-14  Roland McGrath  <roland@hack.frob.com>
64857         * sysdeps/i386/i486/bits/atomic.h
64858         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
64859         statement expression, so as to suppress "set but not used" warning.
64860         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
64862         * string/strncat.c (STRNCAT): Use prototype definition.
64864         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
64865         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
64866         -Iprograms here.
64867         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
64868         (localedef-modules): Add localedef.
64869         (locale-modules): Add locale.
64871         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
64872         * elf/rtld.c (dl_main): Invert order of assignment in last change,
64873         to avoid a warning.
64875 2011-08-14  David S. Miller  <davem@davemloft.net>
64877         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
64878         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
64880 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
64882         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
64883         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
64884         * elf/rtld.c (dl_main): Set l_name of vDSO.
64885         Call _dl_show_scope when DL_DEBUG_SCOPES.
64886         (process_dl_debug): Recognize scopes flag and also set it for all.
64887         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
64888         Declare _dl_show_scope.
64890         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
64891         (do_dlopen): Pass caller_dlopen to dl_open.
64892         (__libc_dlopen_mode): Initialize caller_dlopen.
64894         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
64895         of libc.  Make tolower call locale-independent.  Optimize a bit by
64896         using isdigit instead of isalnum.
64897         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
64899 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
64901         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
64902         was a dependency or dynamically loaded.
64904 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
64906         * intl/l10nflist.c: Allow architecture-specific pop function.
64907         * sysdeps/x86_64/l10nflist.c: New file.
64909         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
64910         classification.
64912 2011-08-10  Andreas Schwab  <schwab@redhat.com>
64914         * include/dirent.h: Add libc_hidden_proto for scandirat and
64915         scandirat64.  Don't declare __scandirat64.
64916         * dirent/scandirat.c: Add libc_hidden_def.
64917         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
64918         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
64920 2011-08-10  David S. Miller  <davem@davemloft.net>
64922         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
64923         enum.
64924         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64925         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64926         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64928 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
64930         * Versions.def [libc]: Add GLIBC_2.15.
64931         * dirent/Makefile (routines): Add scandirat and scandirat64.
64932         * dirent/Versions [libc]: Export scandirat and scandirat64 for
64933         GLIBC_2.15.
64934         * dirent/dirent.h: Declare scandirat and scandirat64.
64935         * dirent/scandirat.c: New file.
64936         * dirent/scandirat64.c: New file.
64937         * sysdeps/wordsize-64/scandirat.c: New file.
64938         * sysdeps/wordsize-64/scandirat64.c: New file.
64939         * dirent/opendir.c: Define opendirat.
64940         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
64941         using scandirat.
64942         * dirent/scandir64.c: Adjust for scandir.c change.
64943         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
64944         __scandirat64, and __scandir_cancel_handler.
64945         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
64946         additional parameter and use openat instead of open (outside of ld.so).
64947         Add new __opendir as wrapper around __opendirat.
64948         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
64949         here without requiring old scandirat implementation.
64951 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
64953         * dirent/scandir.c (cancel_handler): Renamed to
64954         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
64955         defined.  Adjust users.
64956         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
64957         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
64959 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
64961         * string/test-string.h (IMPL): Use __STRING to expand name and then
64962         stringify it.
64964         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
64965         of cleanups.
64967 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64969         * string/Makefile: Update.
64970         (strop-tests): Append strncat.
64971         * string/test-wcscmp.c: New file.
64972         New comprehensive test for wcscmp.
64973         * string/test-strcmp.c: Update.
64974         (WIDE): New define.
64976 2011-07-22  Andreas Schwab  <schwab@redhat.com>
64978         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
64979         line.
64981 2011-07-26  Andreas Schwab  <schwab@redhat.com>
64983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
64984         encoding to ACE if AI_IDN.
64986 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
64988         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
64989         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
64991 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64993         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
64994         Fix overflow bug in strncat.
64995         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
64997         * string/test-strncat.c: Update.
64998         Add new tests for checking overflow bugs.
65000 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65002         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65003         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65004         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65005         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65006         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65007         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65008         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65009         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65010         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65012         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65013         (USE_AS_STRCAT): Define.
65014         Add strcat and strncat support.
65015         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65017 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65019         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65020         __n bigger than INT_MAX+1.
65021         (__strncmp_g): Likewise.
65023 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65025         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65026         * libio/stido.h: Likewise.
65028         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65029         (AF_NFC): Define.
65030         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65031         (AF_NFC): Define.
65033         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65034         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65035         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65036         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65037         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65039         [BZ #13021]
65040         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65041         installed.
65043         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65044         typo.
65045         (_dl_x86_64_save_sse): Likewise.
65047 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65049         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65050         OSXSAVE.
65051         (_dl_x86_64_save_sse): Likewise.
65053         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65055         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65057 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65060         change.
65061         (_dl_x86_64_save_sse): Use correct AVX check.
65063 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65065         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65066         bug in strncpy/strncat.
65067         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65069 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65071         * string/tester.c (test_strcat): Add tests for different alignments
65072         of source and destination.
65073         (test_strncat): Likewise.
65075 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65077         [BZ #12852]
65078         * posix/glob.c (glob): Check passed in values before using them in
65079         expressions to avoid some overflows.
65080         (glob_in_dir): Likewise.
65082         [BZ #13007]
65083         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65084         check for AVX enablement so that we don't crash with old kernels and
65085         new hardware.
65086         * elf/tst-audit4.c: Add same checks here.
65087         * elf/tst-audit6.c: Likewise.
65089         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65091 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65093         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65095 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65097         * po/cs.po: Update from translation team.
65098         * po/bg.po: Likewise.
65100 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65102         * misc/sys/cdefs.h: Add support for const attribute.
65103         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65104         to gnu_dev_{major,minor,makedev} functions.
65106 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65108         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65110 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65112         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65113         strlen results.
65115 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65118         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65119         register in order to avoid conflicts with the soft frame pointer
65120         being held in r11 when necessary.
65121         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65122         (INTERNAL_VSYSCALL_NCS): Likewise.
65124 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65126         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65127         * elf/dl-fini.c (_dl_fini): Adjust caller.
65128         * elf/dl-close.c (_dl_close_worker): Likewise.
65129         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65131 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65133         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65134         "aux_cache->nlibs < 0".
65136         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65137         in the reload-count case.
65139 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65142         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65143         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65144         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65145         * sysdeps/x86_64/multiarch/strcat.S: New file.
65146         * sysdeps/x86_64/multiarch/strncat.S: New file.
65147         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65148         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65149         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65150         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65151         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65152         (USE_AS_STRCAT): Define.
65153         Add strcat and strncat support.
65154         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65155         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65156         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65157         * string/strncat.c: Update.
65158         (USE_AS_STRNCAT): Define.
65159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65160         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65161         and i7.
65162         * sysdeps/x86_64/multiarch/init-arch.h
65163         (bit_Prefer_PMINUB_for_stringop): New.
65164         (index_Prefer_PMINUB_for_stringop): Likewise.
65165         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65166         bit_Prefer_PMINUB_for_stringop.
65168 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65170         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65171         buffer64.
65172         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65173         of casting of buffer.
65174         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65175         buffer32 and buffer64.
65176         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
65177         writes instead of casting of buffer.
65178         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
65179         buffer32.
65180         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
65181         casting of buffer.
65183 2011-07-19  Andreas Schwab  <schwab@redhat.com>
65185         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
65187 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65189         * nscd/nscd.c (termination_handler): Don't do anything for a database
65190         if it has not yet been initialized.
65192 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65194         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65196 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65198         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
65200 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
65202         * po/nl.po: Update from translation team.
65203         * po/sv.po: Likewise.
65205 2011-07-16  Roland McGrath  <roland@hack.frob.com>
65207         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
65208         now disallowed by GCC.
65210         * configure.in (use-default-link): Default to yes if a test -shared
65211         link meets our qualifications.
65212         * configure: Regenerated.
65214         * config.make.in (output-format): New variable.
65215         * configure.in: Check for ld --print-output-format support.
65216         * configure: Regenerated.
65217         * Makerules ($(common-objpfx)format.lds)
65218         [$(output-format) != unknown]: Just use $(output-format),
65219         instead of the linker-script munging.
65221 2011-07-14  Roland McGrath  <roland@hack.frob.com>
65223         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
65224         of $(common-objpfx)shlib.lds.
65225         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
65227         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
65228         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
65230         * configure.in (-z relro check): Adjust test code to add a large
65231         writable data section after it.
65232         * configure: Regenerated.
65234 2011-07-11  Roland McGrath  <roland@hack.frob.com>
65236         * configure.in (-z relro check): Fix test code to make the variable
65237         truly const.
65238         * configure: Regenerated.
65240 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
65242         * nscd/nscd.h (struct traced_file): Define.
65243         (struct database_dyn): Remove inotify_descr, reset_res, and filename
65244         elements.  Add traced_files.
65245         (inotify_fd): Declare.
65246         (register_traced_file): Declare.
65247         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
65248         (inotify_fd): Export.
65249         (resolv_conf_descr): Remove.
65250         (nscd_init): Move inotify descriptor creation to main.
65251         Don't register files for notification here.
65252         (register_traced_file): New function.
65253         (invalidate_cache): Don't use reset_res to determine whether to call
65254         res_init, go through the list of registered files.
65255         (main_loop_poll): The inotify descriptors are now stored in the
65256         structures for the traced files.
65257         (main_loop_epoll): Likewise
65258         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
65259         to __nss_disable_nscd.
65260         * nscd/cache.c (prune_cache): There is no single inotify descriptor
65261         for a database anymore.  Check the records for all the registered
65262         files instead.
65263         * nss/Makefile (libnss_files-routines): Add files-init.
65264         (libnss_db-routines): Add db-init.
65265         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
65266         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
65267         * nss/nss_db/db-init.c: New file.
65268         * nss/nss_files/files-init.c: New file.
65269         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
65270         __nss_lookup_function.
65271         (__nss_lookup_function): Call nss_load_library.
65272         (nss_load_all_libraries): New function.
65273         (__nss_disable_nscd): Take parameter with callback function for files
65274         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
65275         used for the cached services.
65276         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
65277         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
65278         options for features to all the files in nscd.
65280         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
65282 2011-07-10  Roland McGrath  <roland@hack.frob.com>
65284         * csu/elf-init.c (__libc_csu_init): Comment typo.
65286 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
65288         * po/pl.po: Update from translation team.
65289         * po/ja.po: Likewise.
65290         * po/ru.po: Likewise.
65291         * po/ko.po: Likewise.
65292         * po/fr.po: Likewise.
65294 2011-07-09  Roland McGrath  <roland@hack.frob.com>
65296         * configure.in (.ctors/.dtors header and trailer check):
65297         Use an empirical test on a built program.
65298         * configure: Regenerated.
65300         * configure.in (-z relro check): Use an empirical test on a built DSO.
65301         Detect, but do not require, on ia64.
65302         * configure: Regenerated.
65304         * configure.in (READELF): Find it with AC_CHECK_TOOL.
65305         Update tests that use readelf to use $READELF instead.
65306         * configure: Regenerated.
65308 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
65310         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
65311         if the result is not used.
65313 2011-07-05  Andreas Jaeger  <aj@suse.de>
65315         [BZ#9696]
65316         * stdlib/tst-strtod.c: Add testcase.
65318 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
65320         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
65321         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
65322         The latter has a higher limit.  Take additional parameter to pass to
65323         the new function.
65324         (__pathconf): Pass file to __statfs_link_max.
65325         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
65326         __statfs_link_max.
65327         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
65328         __statfs_link_max.
65330         [BZ #12868]
65331         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
65332         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65333         Handle Lustre.
65334         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
65335         (__statfs_filesize_max): Likewise.
65336         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
65338 2011-07-05  Andreas Jaeger  <aj@suse.de>
65340         * resolv/res_comp.c (dn_skipname): Remove unused variable.
65342 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
65344         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
65345         `status' variable.
65346         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
65347         Likewise.
65349 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
65351         * Makefile (strop-tests): Add strncat.
65352         * string/test-strncat.c: New file.
65354 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
65356         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
65358 2011-06-21  Andreas Jaeger  <aj@suse.de>
65360         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
65361         Copy rule from iconvdata/Makefile.
65363 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65365         [BZ #12922]
65366         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
65367         but no long options are defined, just return 'W'.
65369 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
65371         [BZ #9696]
65372         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
65374 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
65376         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
65377         netgroups to read.
65378         (innetgr): Likewise.
65380 2011-07-05  Roland McGrath  <roland@hack.frob.com>
65382         * config.make.in (install_root): Default to $(DESTDIR).
65384 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
65386         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
65388 2011-07-02  Roland McGrath  <roland@hack.frob.com>
65390         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
65392         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
65393         containing directory rather than embedding absolute directory names.
65395         * scripts/check-local-headers.sh: Rewritten using awk.
65396         Match by word, not by line.  Print error messages for matches.
65397         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
65399         * Makerules [shlib-lds-flags empty]:
65400         ($(common-objpfx)libc_pic.opts): New target.
65401         ($(common-objpfx)libc_pic.os.clean): New target.
65402         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
65404         * config.make.in (OBJCOPY): New variable.
65405         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
65406         * configure: Regenerated.
65408         * config.make.in (use-default-link): New variable.
65409         * configure.in (use_default_link): Grok --with-default-link to set it.
65410         * configure: Regenerated.
65411         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
65412         (shlib-lds, shlib-lds-flags): Define to empty.
65414         * Makerules (shlib-lds): New variable.
65415         (shlib-lds-flags): New variable.
65416         (build-shlib, build-moduile, build-module-asneeded): Use it.
65417         ($(common-objpfx)libc.so): Use $(shlib-lds).
65418         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
65419         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
65421         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
65422         DT_FLAGS/DT_FLAGS_1 with zero flags.
65424         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
65425         linker script munging.
65427 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
65429         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
65430         as 128-bit value.
65431         * crypt/sha512.c (sha512_process_block): Perform total addition using
65432         128-bit if possible.
65433         (__sha512_finish_ctx): Likewise.
65434         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
65435         as 64-bit value.
65436         * crypt/sha256.c (SWAP64): Define.
65437         (sha256_process_block): Perform total addition using 64-bit if
65438         possible.
65439         (__sha256_finish_ctx): Likewise.
65441 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
65443         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
65444         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65445         * nscd/hstcache.c (cache_addhst): Likewise.
65446         * nscd/grpcache.c (cache_addgr): Likewise.
65447         * nscd/aicache.c (addhstaiX): Likewise
65448         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
65450 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
65452         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
65453         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65454         * nscd/hstcache.c (cache_addhst): Likewise.
65455         * nscd/grpcache.c (cache_addgr): Likewise.
65456         * nscd/aicache.c (addhstaiX): Likewise
65458 2011-07-01  Andreas Schwab  <schwab@redhat.com>
65460         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
65461         domain only when needed.
65463 2011-06-30  Andreas Schwab  <schwab@redhat.com>
65465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
65466         is always restored.
65468 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
65470         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
65471         are re-adding the entry.
65472         * nscd/servicescache.c (cache_addserv): Likewise.
65474 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
65476         * sysdeps/generic/dl-irel.h: fix protection against multiple
65477         inclusions.
65478         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
65480 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
65482         [BZ #12935]
65483         * malloc/memusage.sh: Fix quoting in message.
65484         * debug/xtrace.sh: Likewise.
65486         * configure.in: Remove support for --experimental-malloc option, make
65487         it the default.
65488         * config.make.in: Likewise.
65489         * malloc/Makefile: Likewise.
65491 2011-06-27  Andreas Schwab  <schwab@redhat.com>
65493         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
65494         two-byte characters.
65496 2011-06-27  Roland McGrath  <roland@hack.frob.com>
65498         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
65499         AC_CACHE_CHECK invocation.
65500         * configure: Regenerated.
65502         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
65504 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
65506         [BZ #12350]
65507         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
65508         bit from old_res_options.
65510         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
65512         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
65513         value type for setfct.
65515 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
65517         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65518         __gettimeofday instead of gettimeofday.
65520 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
65522         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
65524 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
65526         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
65528         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
65529         info.
65531 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65534         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65535         strcpy-sse2-unaligned strncpy-sse2-unaligned
65536         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
65537         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
65538         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
65539         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
65540         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
65541         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
65542         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
65543         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
65544         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
65545         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
65546         (STRCPY): Support SSE2 and SSSE3 versions.
65548 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
65550         [BZ #12874]
65551         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
65552         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
65553         kernels which artificially limit size of requests.
65555 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
65557         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65558         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
65559         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
65560         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
65561         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
65562         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
65563         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
65564         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
65565         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
65566         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
65567         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
65568         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
65569         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
65570         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
65571         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
65572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65573         Enable unaligned load optimization for Intel Core i3, i5 and i7
65574         processors.
65575         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
65576         Define.
65577         (index_Fast_Unaligned_Load): Define.
65578         (HAS_FAST_UNALIGNED_LOAD): Define.
65580 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
65582         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
65584 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65586         [BZ #12907]
65587         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
65588         until it is clear that the information is realy needed.
65589         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
65591 2011-06-22  Andreas Schwab  <schwab@redhat.com>
65593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
65595 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
65597         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
65598         /sys/devices/system/cpu/online if it is usable.
65600         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
65601         reading the information from the /proc filesystem to once a second.
65603 2011-06-21  Andreas Jaeger  <aj@suse.de>
65605         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
65606         NULL after inclusion of kernel headers.
65608 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
65610         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
65611         calls to internal_setent.
65613         [BZ #12885]
65614         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
65615         addresses using gethostbyname4_r ignore IPv4 addresses.
65617         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
65618         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
65620         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
65622 2011-06-20  David S. Miller  <davem@davemloft.net>
65624         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
65625         inclusions.
65626         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
65628         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
65629         (elf_irel): Use it.
65630         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
65631         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
65632         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
65633         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
65634         * sysdeps/x86_64/dl-irel.h: Likewise.
65636         * elf/dl-runtime.c: Use elf_ifunc_invoke.
65637         * elf/dl-sym.c: Likewise.
65639 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65641         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
65642         need to dereference resplen2.
65644 2011-06-14  Andreas Schwab  <schwab@redhat.com>
65646         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
65648 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
65650         * Makeconfig: Define vardbdir and inst_vardbdir.
65651         * nss/Makefile: Add rules to install db-Makefile.
65653         * nss/nss_db/db-XXX.c: Cleanup.
65655         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
65656         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
65657         GLIBC_PRIVATE.
65658         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
65659         * nss/makedb.c: Implement -g option to specify that value strings
65660         are generated and should not be added to table iterated over for
65661         get*ent calls.
65662         * nss/nss_db/db-initgroups.c: New file.
65664         * nss/getent.c: Add support for initgroups lookups through getgrouplist
65665         interface.
65667         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
65668         (internal_getgrouplist): Adjust to name change.
65669         Update use_initgroups_entry if this is not the first call.
65670         * nss/databases.def: Add initgroups entry.
65672         * nss/makedb.c (compute_tables): Check result of multiple hash table
65673         sizes to minimize maximum chain length.
65675 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
65677         * Versions.def: Add entry for libnss_db.
65678         * shlib-versions: Likewise.
65679         * nss/Makefile: Add rules to build libnss_db.
65680         * nss/Versions: Add libnss_db information.  Organize libnss_files
65681         entries better.
65682         * nss/db-Makefile: Add gshadow support.  Change rules for the new
65683         makedb progra.  Some minor improvements to generate smaller files.
65684         * nss/nss_db/nss_db.h: Move NSS database header data structures to
65685         here from...
65686         * nss/makedb.c: ...here.
65687         Improve database format to be smaller and require less memory at
65688         runtime.
65689         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
65690         db anymore.
65691         * nss/nss_db/db-netgrp.c: Likewise.
65692         * nss/nss_db/db-open.c: Likewise.
65693         * nss/nss_files/flies-XXX.x: Adjust comments.
65694         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
65695         * nss/nss_files/files-grp.c: Likewise.
65696         * nss/nss_files/files-hosts.c: Likewise.
65697         * nss/nss_files/files-network.c: Likewise.
65698         * nss/nss_files/files-proto.c: Likewise.
65699         * nss/nss_files/files-pwd.c: Likewise.
65700         * nss/nss_files/files-rpc.c: Likewise.
65701         * nss/nss_files/files-service.c: Likewise.
65702         * nss/nss_files/files-sgrp.c: Likewise.
65703         * nss/nss_files/files-spwd.c: Likewise.
65704         * nss/nss_db/db-alias.c: Removed.
65705         * nss/nss_db/dummy-db.h: Removed.
65707 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
65709         * nss/makedb.c: Rewritten to not use database library.
65710         * nss/Makefile: Update to build new makedb program.
65712 2011-06-14  Andreas Jaeger  <aj@suse.de>
65714         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
65715         memset declaration.
65717 2011-06-10  Andreas Schwab  <schwab@redhat.com>
65719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
65720         tmpbuf.
65722 2011-06-10  Roland McGrath  <roland@hack.frob.com>
65724         * Makerules (shlib.lds): Fail if the linker script comes out empty.
65725         * elf/Makefile ($(objpfx)ld.so): Likewise.
65727         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
65728         Don't list ld.so twice in dependencies.
65730         * posix/bug-regex31.c: Include <stdlib.h>.
65732         * nscd/hstcache.c (cache_addhst): Remove unused variable.
65734         * nis/nss_compat/compat-spwd.c
65735         (getspent_next_nss_netgr): Remove unused variable.
65736         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
65738         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
65739         nonmembers" output to use the right array.
65741         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
65743         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
65745         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
65746         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
65747         * catgets/gencat.c (read_input_file): Likewise.
65748         * locale/programs/locarchive.c (enlarge_archive): Likewise.
65750         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
65751         variable definition inside #if's controlling its use.
65753         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
65755         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
65757         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
65759         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
65760         unreachable code.
65762         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
65764         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
65765         * configure: Regenerated.
65767         * Makerules: Revert last change.
65768         * elf/Makefile: Likewise.
65770 2011-06-09  Roland McGrath  <roland@hack.frob.com>
65772         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
65773         * elf/Makefile ($(objpfx)librtld.os): Likewise.
65774         (reloc-link): Likewise.
65776 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
65778         * elf/Makefile: Add rules to build pldd.
65779         * elf/pldd.c: New file.
65780         * elf/pldd-xx.c: New file.
65782 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
65784         * version.h: Update for 2.15 development version.
65786 2011-06-07  David S. Miller  <davem@davemloft.net>
65788         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
65789         ifuncs.
65790         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
65791         elf_machine_lazy_rel): Likewise.
65792         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
65793         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
65794         elf_machine_lazy_rel): Likewise.
65795         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
65796         dl_hwcap via passed in argument.
65797         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
65798         Likewise.
65800 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65802         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
65804 2011-06-06  Roland McGrath  <roland@hack.frob.com>
65806         [BZ #12849]
65807         * manual/fdl-1.1.texi: New file, verbatim from:
65808         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
65809         * manual/lgpl-2.1.texi: New file, verbatim from:
65810         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
65811         * manual/Makefile (licenses): New variable, list those new file names.
65812         (texis): Use it.
65813         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
65815         * manual/fdl.texi: File removed.
65816         * manual/lesser.texi: File removed.
65817         * manual/libc.texinfo (Copying, Documentation License):
65818         Use new @include file names, put @appendix directive before @include.
65820 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
65822         [BZ #12841]
65823         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
65824         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
65825         (mq_open): Add __NTH.
65827 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
65829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65830         Assume Intel Core i3/i5/i7 processor if AVX is available.
65832 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
65834         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65835         typo.
65837 2011-05-31  Andreas Schwab  <schwab@redhat.com>
65839         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
65840         memory.  Use alloca_account.  Fix memory leak when retrying.
65842 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
65844         * version.h (RELEASE): Bump for 2.14 release.
65845         * include/features.h (__GLIBC_MINOR__): Bump to 14.
65847         * config.make.in (RANLIB): Remove entry.
65849 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
65851         * po/Makefile (po-sed-cmd): Add ksh to extensions.
65852         (libc.pot): Work around missing support for .ksh extension in xgettext.
65854         [BZ #12684]
65855         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
65856         if both request failed.
65857         (send_dg): In case of server errors clear resplen or *resplen2.
65859         [BZ #12454]
65860         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
65861         when there are multiple maps.
65862         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
65863         (_dl_fini): Remove test here.
65865         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
65867 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
65869         [BZ #12350]
65870         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
65871         bit from old_res_options.
65872         (gaih_inet): Likewise.
65874         [BZ #11099]
65875         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
65876         as signed.
65878         * resolv/res_init.c (res_setoptions): Make the code more compact.
65880         [BZ #11558]
65881         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
65882         set RES_USEVC.
65884         [BZ #11634]
65885         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
65887         * malloc/malloc.h: Mark malloc hook variables as deprecated.
65889         [BZ #11781]
65890         * malloc/malloc.h: Declare malloc hook variables as volatile.
65892         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
65893         in last patch.
65895         [BZ #11799]
65896         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
65897         raise in the comment.
65898         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65899         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65900         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
65902 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
65904         [BZ #12811]
65905         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
65906         grow the buffers more if it already has to be sufficient.
65907         (build_wcs_upper_buffer): Likewise.
65908         * posix/regexec.c (check_matching): Likewise.
65909         (clean_state_log_if_needed): Likewise.
65910         (extend_buffers): Don't enlarge buffers beyond size of the input
65911         buffer.
65912         Patches mostly by Emil Wojak <emil@wojak.eu>.
65913         * posix/bug-regex32.c: New file.
65914         * posix/Makefile (tests): Add bug-regex32.
65916         * locale/findlocale.c (_nl_find_locale): Return right away if
65917         _nl_explode_name failed.
65918         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
65920         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
65922         * debug/xtrace.sh: Unify messages.
65923         * malloc/memusage.sh: Likewise.
65925         [BZ #12813]
65926         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
65927         time symbol from vDSO.  Substitute with vsyscall if not available.
65928         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
65929         __vdso_time.
65931         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
65932         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
65933         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
65934         Add sendmmsg and internal_sendmmsg.
65935         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
65936         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
65937         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
65939         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
65940         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
65941         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
65943 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
65945         [BZ #12813]
65946         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
65947         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
65948         available.
65949         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
65950         __vdso_getcpu.
65952         [BZ #12814]
65953         * iconvdata/Makefile (tests): Add bug-iconv9.
65954         * iconvdata/bug-iconv9.c: New file.
65956 2011-05-27  Andreas Schwab  <schwab@redhat.com>
65958         [BZ #12814]
65959         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
65961 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
65963         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
65964         (struct user_regs_struct): Change intcs field back to cs.
65966 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
65968         * po/ja.po: Update from translation team.
65970 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
65972         [BZ #12795]
65973         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
65974         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
65976 2011-05-20  Andreas Schwab  <schwab@redhat.com>
65978         * stdlib/longlong.h: Update from GCC.
65980 2011-05-23  Andreas Schwab  <schwab@redhat.com>
65982         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
65983         parameter name.
65984         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
65985         Add parameter name.
65986         (__sysconf): Pass it down.
65988 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
65990         [BZ #12671]
65991         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
65992         some situations.
65993         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
65994         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
65995         add in in __libc_use_alloca calls.  Adjust callers.
65996         (glob): Use malloc in some situations.
65998         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
65999         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66000         pltexit.
66002 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66004         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66005         and CLOCK_BOOTTIME_ALARM.
66007         [BZ #12782]
66008         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66009         is returned.
66011         * string/_strerror.c (__strerror_r): Print negative errors as signed
66012         numbers.
66014         [BZ #12777]
66015         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66016         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66017         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66019         * configure.in: Fix typo in redirection and correct removal of test
66020         files in two cases.
66022         [BZ #12788]
66023         * locale/setlocale.c (new_composite_name): Fix test to check for
66024         identical name of all categories.
66026         [BZ #12792]
66027         * libio/filedoalloc.c (local_isatty): New function.
66028         (_IO_file_doallocate): Use local_isatty.
66029         * stdio-common/perror.c (perror): In case a new stream is used
66030         forward the stream error.
66031         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66032         error flag.
66034 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66036         [BZ #11869]
66037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66038         alloca.
66039         * include/alloca.h (extend_alloca_account): Define.
66041         [BZ #11857]
66042         * posix/regex.h: Fix comments with documentation of user-accessible
66043         fields after compilation and describe correct free'ing of pattern
66044         after re_compile_pattern.
66045         Patch by Reuben Thomas <rrt@sc3d.org>.
66047 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66049         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66050         and -mno-altivec to prevent the compiler from using Altivec and/or
66051         VSX instructions when the corresponding registers are not available.
66053 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66055         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66057 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66059         * libio/freopen.c (freopen): Use __dup2, not dup2.
66060         * libio/freopen64.c (freopen64): Likewise.
66062 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66064         [BZ #12775]
66065         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66066         * math/Makefile (tests): Add test-powl.
66067         (CFLAGS-test-powl.c): Define.
66068         * math/test-powl.c: New file.
66070 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66072         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66074 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66076         [BZ #11837]
66077         * iconvdata/gb18030.c: Update to GB18020-2005.
66079 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66081         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66082         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66083         Patch by Aharon Robbins <arnold@skeeve.com>.
66085         [BZ #11892]
66086         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66087         on the stack.
66089         [BZ #11895]
66090         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66091         through underflows.
66093         [BZ #12766]
66094         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66095         point to strings before performing equality test for error_one_per_line
66096         mode.
66098         [BZ #11697]
66099         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66101         [BZ #11820]
66102         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66103         (struct user_fpregs_struct): Avoid __uint*_t types.
66105         [BZ #6420]
66106         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66107         symbol info.  Use it instead of calling _dl_addr locally.
66108         (lock_and_info): New function.
66109         (tr_freehook): Call lock_and_info and pass symbol info as additional
66110         parameter to tr_where.
66111         (tr_mallochook): Likewise.
66112         (tr_reallochook): Likewise.
66113         (tr_memalignhook): Likewise.
66115         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66116         used and couldn't be at all thread-safe.
66118 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66120         * libio/freopen.c (freopen): Don't close old file descriptor
66121         before the new one is opened.  Instead dup the new file descriptor
66122         to the old one after the new stream is created.
66123         * libio/freopen64.c (freopen64): Likewise.
66124         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66125         * libio/fileops.c (_IO_new_file_close_it): Handle new
66126         _IO_FLAGS2_NOCLOSE flag.
66127         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66128         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66129         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66130         _IO_FLAGS2_NOCLOSE flag.
66131         * include/unistd.h: Add hidden_proto for dup3.
66132         Define __have_dup3.
66133         * io/dup3.c: Define hidden symbol.
66134         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66136         [BZ #7101]
66137         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66138         when an incomplete long option is used.
66139         * posix/tst-getopt_long1.c: New file.
66140         * posix/Makefile (tests): Add tst-getopt_long1.
66142         [BZ #10138]
66143         * scripts/config.guess: Update from autoconf-2.68.
66144         * scripts/config.sub: Likewise.
66146         [BZ #10157]
66147         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66148         tests into ...
66149         (has_cpuclock): ...this.  New function.
66150         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66151         macro here based on has_cpuclock code.
66153         [BZ #10149]
66154         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66155         First byte (not low byte) is now always NUL.
66156         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66158         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66159         Use non-cancelable interfaces.
66161         [BZ #9809]
66162         * locale/iso-639.def: Add entry for Sorani.
66164         [BZ #11901]
66165         * include/stdlib.h: Move include protection to the right place.
66166         Define abort_msg_s.  Declare __abort_msg with it.
66167         * stdlib/abort.c (__abort_msg): Adjust type.
66168         * assert/assert.c (__assert_fail_base): New function.  Majority
66169         of code from __assert_fail.  Allocate memory for __abort_msg with
66170         mmap.
66171         (__assert_fail): Now call __assert_fail_base.
66172         * assert/assert-perr.c: Remove bulk of implementation.  Use
66173         __assert_fail_base.
66174         * include/assert.hL Declare __assert_fail_base.
66175         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
66176         mmap.
66177         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
66179 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
66181         [BZ #11952]
66182         [BZ #12453]
66183         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
66184         until all modules are registered in the DTV.
66185         * elf/Makefile: Add rules to build and run tst-tls19.
66186         * elf/tst-tls19.c: New file.
66187         * elf/tst-tls19mod1.c: New file.
66188         * elf/tst-tls19mod2.c: New file.
66189         * elf/tst-tls19mod3.c: New file.
66190         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
66192         [BZ #12083]
66193         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
66194         correctly.
66196         [BZ #12601]
66197         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
66198         two-byte sequence errors.
66199         * iconvdata/Makefile (tests): Add bug-iconv8.
66200         * iconvdata/bug-iconv8.c: New file.
66202         [BZ #12626]
66203         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
66204         buf2 definition.
66206         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
66208         [BZ #12432]
66209         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
66210         (dummy_getcfa): New function.
66211         (init): Get _Unwind_GetCFA address, use dummy if not found.
66212         (backtrace_helper): In recursion check, also check whether CFA changes.
66213         (__backtrace): Completely initialize arg.
66215         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
66216         storing incomplete byte sequence in state object.  Avoid testing for
66217         guaranteed too small input if we know there is enough data available.
66219 2011-05-11  Andreas Schwab  <schwab@redhat.com>
66221         * Makeconfig (+link-pie): Indent.
66222         * Rules (binaries-pie): Define if $(have-fpie) and
66223         $(build-shared).
66224         (binaries-shared): Also filter out $(binaries-pie).
66225         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
66226         * nscd/Makefile (others-pie): Add nscd.
66227         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
66228         ($(objpfx)nscd): Remove command override.
66229         * login/Makefile (others-pie): Add pt_chown.
66230         ($(objpfx)pt_chown): Remove command override.
66231         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
66232         remove command overrides.
66234 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
66236         * libio/tst_putwc.c: Fix error messages.
66238         [BZ #12724]
66239         * libio/fileops.c (_IO_new_file_close_it): Always flush when
66240         currently writing and seek to current position when not.
66241         * libio/Makefile (tests): Add bug-fclose1.
66242         * libio/bug-fclose1.c: New file.
66244 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
66246         [BZ #12511]
66247         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
66248         don't set DF_1_NODELETE here.
66249         (do_lookup_x): When entering new entry test for copy relocation
66250         and if necessary set DF_1_NODELETE flag.
66251         * elf/tst-unique4.cc: New file.
66252         * elf/tst-unique4.h: New file.
66253         * elf/tst-unique4lib.cc: New file.
66254         * elf/Makefile: Add rules to build and run tst-unique4.
66255         Patch by Piotr Bury <pbury@goahead.com>.
66257 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
66259         [BZ #12052]
66260         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
66262         [BZ #12625]
66263         * misc/mntent_r.c (addmntent): Flush the stream after the output
66265         [BZ #12393]
66266         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
66267         (is_trusted_path_normalize): Skip initial colon.  Append slash
66268         to empty buffer.  Duplicate is_trusted_path code but allow
66269         constructed patch to be prefix.
66270         (is_dst): Allow $ORIGIN followed by /.
66271         (_dl_dst_substitute): Correct clearing of check_for_trusted.
66272         Correct testing of result of is_trusted_path_normalize
66273         (decompose_rpath): Fix warning.
66275 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
66277         [BZ #11257]
66278         * grp/initgroups.c (internal_getgrouplist): When we found the service
66279         list through the initgroups entry in nsswitch.conf do not always
66280         continue on a successful lookup.  Don't always use the
66281         __nss_group_database value if it is set.
66282         * nss/nsswitch.conf (initgroups): Change action for successful db
66283         lookup to continue for compatibility.
66285 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
66287         [BZ #11532]
66288         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
66289         and CP774 modules.
66290         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
66291         and CP774 modules.
66292         * iconvdata/tst-tables.sh: Likewise.
66293         * iconvdata/cp770.c: New file.
66294         * iconvdata/cp771.c: New file.
66295         * iconvdata/cp772.c: New file.
66296         * iconvdata/cp773.c: New file.
66297         * iconvdata/cp774.c: New file.
66298         * iconvdata/testdata/CP770: New file.
66299         * iconvdata/testdata/CP770..UTF8: New file.
66300         * iconvdata/testdata/CP771: New file.
66301         * iconvdata/testdata/CP771..UTF8: New file.
66302         * iconvdata/testdata/CP772: New file.
66303         * iconvdata/testdata/CP772..UTF8: New file.
66304         * iconvdata/testdata/CP773: New file.
66305         * iconvdata/testdata/CP773..UTF8: New file.
66306         * iconvdata/testdata/CP774: New file.
66307         * iconvdata/testdata/CP774..UTF8: New file.
66309         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
66310         END CHARMAP line.
66311         * iconvdata/gen-8bit-gap.sh: Likewise.
66312         * iconvdata/gen-8bit.sh: Likewise.
66314         * locale/iso-639.def: Add ary entry.
66316         [BZ #11258]
66317         * locale/C-translit.h.in: Add U20A1 transliteration.
66319         [BZ #12178]
66320         * locale/iso-639.def: Add wae entry.
66321         Patch by Kevin Bortis <bortis@translate-wae.ch>.
66323         [BZ #12545]
66324         * locale/programs/localedef.c (construct_output_path): Use ssize_t
66325         for n.
66327         [BZ #12711]
66328         * locale/C-translit.h.in: Add entry for U20B9.
66329         Patch by pravin.d.s@gmail.com.
66331 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
66333         [BZ #12713]
66334         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
66335         ENAMETOOLONG use generic getcwd.
66336         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
66337         in rtld.  Use *stat64.
66338         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
66339         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
66340         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
66341         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
66342         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
66343         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
66344         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
66345         __fstatat64 macros.
66346         * include/dirent.h: Add libc_hidden_proto for rewinddir.
66347         * dirent/rewinddir.c: Add libc_hidden_def.
66348         * sysdeps/mach/hurd/rewinddir.c: Likewise.
66349         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
66351         * include/dirent.h (__alloc_dir): Add flags parameter.
66352         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
66353         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
66354         __alloc_dir.
66355         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
66356         from fdopendir if O_CLOEXEC is already set.
66358 2011-03-15  Alan Modra  <amodra@gmail.com>
66360         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
66361         l_tls_firstbyte_offset non-zero.  Save padding offset in
66362         l_tls_firstbyte_offset for later use.
66363         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
66364         freeing static tls block.
66366 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
66368         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
66369         where #ifdef was intended.  The intent is to prevent ARG_MAX from
66370         being defined by the kernel headers.
66372 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
66374         [BZ #12734]
66375         * resolv/resolv.h: Define RES_NOTLDQUERY.
66376         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
66377         no-tld-query and set RES_NOTLDQUERY.
66378         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
66379         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
66380         modern BIND to search name as TLD unless forbidden.
66382 2011-05-07  Petr Baudis  <pasky@suse.cz>
66383             Ulrich Drepper  <drepper@gmail.com>
66385         [BZ #12393]
66386         * elf/dl-load.c (fillin_rpath): Move trusted path check...
66387         (is_trusted_path): ...to here.
66388         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
66389         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
66390         using is_trusted_path_normalize() in setuid scripts.
66392 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66394         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
66395         __BEGIN/__END_DECLS.
66397 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
66399         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
66400         NSS_STATUS_NOTFOUND if no record was found.
66402 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66404         * sunrpc/Makefile (headers): Add rpc/netdb.h.
66405         (headers-not-in-tirpc): Remove rpc/netdb.h
66406         * resolv/netdb.h: Revert last change.
66408 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66410         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
66411         circular dependency between libgcc.a and libc.a.
66413 2011-05-05  Andreas Schwab  <schwab@redhat.com>
66415         * resolv/netdb.h: Don't include <rpc/netdb.h>.
66416         * nis/Makefile: Don't install rpcsvc/*.
66417         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
66418         instead of <rpc/types.h>.
66419         (MAXHOSTNAMELEN): Define.
66421 2011-05-03  Andreas Schwab  <schwab@redhat.com>
66423         * elf/ldconfig.c (add_dir): Don't crash on empty path.
66425 2011-04-28  Maciej Babinski  <mbabinski@google.com>
66427         [BZ #12714]
66428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
66429         gethostbyname4_r when IPv6 results are possible.
66431 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
66433         [BZ #12723]
66434         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
66435         _PC_PIPE_BUF handling.
66437 2011-04-30  Bruno Haible  <bruno@clisp.org>
66439         [BZ #12717]
66440         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
66441         * resolv/netdb.h (getnameinfo): Change type of flags parameter
66442         to 'int'.
66443         * inet/getnameinfo.c (getnameinfo): Likewise.
66445 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
66447         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
66448         to groups setting in database lookup.
66449         * nss/nsswitch.conf: Add initgroups entry.
66451 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
66453         [BZ #12685]
66454         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
66455         mode string.
66456         Patch by Eric Blake <eblake@redhat.com>.
66458 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
66460         * sunrpc/Makefile (need-export-routines): Add svc_run.
66461         (routines): Remove svc_run.
66462         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
66463         * sunrpc/clnt_perr.c (clnt_perrno): Export.
66464         * sunrpc/svc_run.c (svc_run): Likewise.
66465         * sunrpc/svc_udp.c (svcudp_create): Likewise.
66467 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
66469         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
66470         problem in reallocation in last patch.
66472 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
66474         * sunrpc/Makefile: Move inclusion of Rules.
66476 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66478         * nss/nss_files/files-initgroups.c: New file.
66479         * nss/Makefile (libnss_files-routines): Add files-initgroups.
66480         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
66481         _nss_files_initgroups_dyn.
66483 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
66485         * elf/elf.h (R_ARM_IRELATIVE): Define.
66487 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66489         * po/ru.po: Update from translation team.
66491 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66493         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
66494         dependencies.
66496 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
66498         [BZ #12653]
66499         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
66500         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
66501         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66502         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66503         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66505 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
66507         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
66508         differing bytes.
66509         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66510         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66511         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66513 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
66515         [BZ #12420]
66516         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
66517         storing it.
66518         * stdlib/bug-getcontext.c: New file.
66519         * stdlib/Makefile: Add rules to build and run bug-getcontext.
66521 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66523         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
66524         instructions into .machine "z9-109".
66525         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
66526         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
66528 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66530         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
66531         between environment variables and auxiliary vector.
66533 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
66535         * Makefile: Add rules to build linkobj/libc.so.
66536         * include/libc-symbols.h: Define libc_hidden_nolink.
66537         * include/rpc/auth.h: Mark functions which are to be hidden.
66538         * include/rpc/auth_des.h: Likewise.
66539         * include/rpc/auth_unix.h: Likewise.
66540         * include/rpc/clnt.h: Likewise.
66541         * include/rpc/des_crypt.h: Likewise.
66542         * include/rpc/key_prot.h: Likewise.
66543         * include/rpc/pmap_clnt.h: Likewise.
66544         * include/rpc/pmap_prot.h: Likewise.
66545         * include/rpc/pmap_rmt.h: Likewise.
66546         * include/rpc/rpc_msg.h: Likewise.
66547         * include/rpc/svc.h: Likewise.
66548         * include/rpc/svc_auth.h: Likewise.
66549         * include/rpc/xdr.h: Likewise.
66550         * nis/Makefile: Link all DSOs against linkobj/libc.so.
66551         * nss/Makefile: Likewise.
66552         * sunrpc/Makefile: Don't install headers.  Build library with normal
66553         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
66554         * sunrpc/auth_des.c: Hide exported symbols by default, export some
66555         for the compat linking library.  Remove use of INTDEF/INTUSE.
66556         * sunrpc/auth_none.c: Likewise.
66557         * sunrpc/auth_unix.c: Likewise.
66558         * sunrpc/authdes_prot.c: Likewise.
66559         * sunrpc/authuxprot.c: Likewise.
66560         * sunrpc/clnt_gen.c: Likewise.
66561         * sunrpc/clnt_perr.c: Likewise.
66562         * sunrpc/clnt_raw.c: Likewise.
66563         * sunrpc/clnt_simp.c: Likewise.
66564         * sunrpc/clnt_tcp.c: Likewise.
66565         * sunrpc/clnt_udp.c: Likewise.
66566         * sunrpc/clnt_unix.c: Likewise.
66567         * sunrpc/des_crypt.c: Likewise.
66568         * sunrpc/des_soft.c: Likewise.
66569         * sunrpc/get_myaddr.c: Likewise.
66570         * sunrpc/key_call.c: Likewise.
66571         * sunrpc/key_prot.c: Likewise.
66572         * sunrpc/netname.c: Likewise.
66573         * sunrpc/pm_getmaps.c: Likewise.
66574         * sunrpc/pm_getport.c: Likewise.
66575         * sunrpc/pmap_clnt.c: Likewise.
66576         * sunrpc/pmap_prot.c: Likewise.
66577         * sunrpc/pmap_prot2.c: Likewise.
66578         * sunrpc/pmap_rmt.c: Likewise.
66579         * sunrpc/publickey.c: Likewise.
66580         * sunrpc/rpc_cmsg.c: Likewise.
66581         * sunrpc/rpc_common.c: Likewise.
66582         * sunrpc/rpc_dtable.c: Likewise.
66583         * sunrpc/rpc_prot.c: Likewise.
66584         * sunrpc/rpc_thread.c: Likewise.
66585         * sunrpc/rtime.c: Likewise.
66586         * sunrpc/svc.c: Likewise.
66587         * sunrpc/svc_auth.c: Likewise.
66588         * sunrpc/svc_authux.c: Likewise.
66589         * sunrpc/svc_raw.c: Likewise.
66590         * sunrpc/svc_run.c: Likewise.
66591         * sunrpc/svc_simple.c: Likewise.
66592         * sunrpc/svc_tcp.c: Likewise.
66593         * sunrpc/svc_udp.c: Likewise.
66594         * sunrpc/svc_unix.c: Likewise.
66595         * sunrpc/svcauth_des.c: Likewise.
66596         * sunrpc/xcrypt.c: Likewise.
66597         * sunrpc/xdr.c: Likewise.
66598         * sunrpc/xdr_array.c: Likewise.
66599         * sunrpc/xdr_float.c: Likewise.
66600         * sunrpc/xdr_intXX_t.c: Likewise.
66601         * sunrpc/xdr_mem.c: Likewise.
66602         * sunrpc/xdr_rec.c: Likewise.
66603         * sunrpc/xdr_ref.c: Likewise.
66604         * sunrpc/xdr_sizeof.c: Likewise.
66605         * sunrpc/xdr_stdio.c: Likewise.
66607 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
66609         [BZ #12650]
66610         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
66611         * sysdeps/ia64/dl-tls.h: Likewise.
66612         * sysdeps/powerpc/dl-tls.h: Likewise.
66613         * sysdeps/s390/dl-tls.h: Likewise.
66614         * sysdeps/sh/dl-tls.h: Likewise.
66615         * sysdeps/sparc/dl-tls.h: Likewise.
66616         * sysdeps/x86_64/dl-tls.h: Likewise.
66617         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
66619 2011-03-14  Andreas Schwab  <schwab@redhat.com>
66621         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
66622         rpath element also skip the following colon.
66623         (expand_dynamic_string_token): Add is_path parameter and pass
66624         down to DL_DST_REQUIRED and _dl_dst_substitute.
66625         (decompose_rpath): Call expand_dynamic_string_token with
66626         non-zero is_path.  Ignore empty rpaths.
66627         (_dl_map_object_from_fd): Call expand_dynamic_string_token
66628         with zero is_path.
66630 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
66632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
66633         Make cancelable.
66635 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
66637         [BZ #12655]
66638         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
66639         Patch by Filipe David Manana <fdmanana@apache.org>.
66641 2011-04-07  Andreas Schwab  <schwab@redhat.com>
66643         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
66644         Maintain aligned stack.
66645         (CHECK_RSP): Remove unused macro.
66647 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
66649         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
66650         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
66652 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
66654         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
66656         * include/features.h: Mention __USE_XOPEN2K8 in comment.
66658 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
66660         [BZ #12518]
66661         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
66662         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
66663         * sysdeps/x86_64/memmove.c: New file.
66664         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
66665         (memcpy): Renamed to ...
66666         (__new_memcpy): This.
66667         (memcpy): Provide GLIBC_2_14 memcpy.
66668         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
66669         (memcpy): Provide GLIBC_2_2_5 memcpy.
66671 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66673         [BZ #12631]
66674         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
66676 2011-03-30  Andreas Schwab  <schwab@redhat.com>
66678         * misc/syncfs.c: New file.
66679         * misc/Makefile (routines): Add syncfs.
66680         * posix/unistd.h: Declare syncfs.
66681         * sysdeps/unix/syscalls.list: Add syncfs.
66683 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66685         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
66686         open_by_handle_at.
66687         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66688         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66689         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66690         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66691         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66692         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
66693         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66695 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66697         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
66698         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66699         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
66700         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66701         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66702         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66703         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66705         * io/Makefile: Compile fallocate.c, fallocate64.c, and
66706         sync_file_range.c with -fexceptions.
66707         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
66708         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
66709         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
66710         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
66711         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
66712         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
66713         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
66714         sync_file_range as cancellation point
66715         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
66716         now a wrapper around __call_sync_file_range with cancellation handling.
66717         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
66718         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
66719         function name to __call_sync_file_range.
66720         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
66721         Add call_sync_file_range.
66723 2011-04-01  Andreas Schwab  <schwab@redhat.com>
66725         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66726         bits/timex.h.
66728 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
66730         * iconv/iconv.h: Fix typo in comment.
66731         * io/fcntl.h: Likewise.
66732         * libio/stdio.h: Likewise.
66733         * posix/spawn.h: Likewise.
66734         * posix/unistd.h: Likewise.
66735         * stdlib/stdlib.h: Likewise.
66736         * time/time.h: Likewise.
66737         * wcsmbs/wchar.h: Likewise.
66739         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
66740         open_by_handle): Add.
66741         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
66742         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
66743         Augment a few comments.
66744         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
66745         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66746         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66747         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66748         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66749         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
66750         open_by_handle.
66752         * io/fcntl.h (AT_EMPTY_PATH): Define.
66754 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
66756         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
66757         * sysdeps/unix/sysv/linux/bits/time.h: New file.
66758         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
66759         to...
66760         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
66761         * Versions.def: Add GLIBC_2.14.
66762         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
66763         Export.
66765 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
66767         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
66768         round counter.
66769         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66771 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
66773         [BZ #12597]
66774         * string/test-strncmp.c (do_page_test): New function.
66775         (check2): Likewise.
66776         (test_main): Call check2.
66777         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
66779 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
66781         [BZ #12587]
66782         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
66783         Handle cache information in CPU leaf 4.
66784         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
66786 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
66788         [BZ #12583]
66789         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
66790         character representation.
66791         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
66793 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
66795         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
66796         END(__isnan) to END(__isnanf) to match function entry point/label
66797         EALIGN(__isnanf,...).
66799 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
66801         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
66803 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
66805         [BZ #12510]
66806         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
66807         copy from the symbol referenced in the relocation to initialize the
66808         used variable.
66809         Patch by Piotr Bury <pbury@goahead.com>.
66810         * elf/Makefile: Add rules to build and tst-unique3.
66811         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
66812         * elf/tst-unique3.cc: New file.
66813         * elf/tst-unique3.h: New file.
66814         * elf/tst-unique3lib.cc: New file.
66815         * elf/tst-unique3lib2.cc: New file.
66817         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
66819 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
66821         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
66822         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
66823         to _start.
66825 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
66827         * elf/dl-load.c (_dl_map_object): If we are looking for the first
66828         to-be-loaded object along a path to loader is ld.so.
66830 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
66831             Ulrich Drepper  <drepper@gmail.com>
66833         * sysdeps/x86_64/memset.S: After aligning destination, code
66834         branches to different locations depending on the value of
66835         misalignment, when multiarch is enabled. Fix this.
66837 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
66839         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
66840         Set _x86_64_preferred_memory_instruction for AMD processsors.
66841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66842         Set bit_Prefer_SSE_for_memop for AMD processors.
66844 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
66846         * libio/fmemopen.c (fmemopen): Optimize a bit.
66848 2011-03-03  Andreas Schwab  <schwab@redhat.com>
66850         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
66852 2011-03-03  Roland McGrath  <roland@redhat.com>
66854         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
66856 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
66858         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
66859         __bzero_ultra1 instead of __memset_ultra1.
66861 2011-02-23  Andreas Schwab  <schwab@redhat.com>
66862             Ulrich Drepper  <drepper@gmail.com>
66864         [BZ #12509]
66865         * include/link.h (struct link_map): Add l_orig_initfini.
66866         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
66867         returning unsuccessfully.
66868         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
66869         close of a file loaded at startup, restore the original l_initfini
66870         list.
66871         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
66872         list, store the pointer.
66873         * elf/Makefile ($(objpfx)noload-mem): New rule.
66874         (noload-ENV): Define.
66875         (tests): Add $(objpfx)noload-mem.
66876         * elf/noload.c: Include <memcheck.h>.
66877         (main): Call mtrace.  Close all opened handles.
66879 2011-02-17  Andreas Schwab  <schwab@redhat.com>
66881         [BZ #12454]
66882         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
66883         dependencies are missing.
66885 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66887         Fix __if_freereq crash: Unlike the generic version which uses free,
66888         Hurd needs munmap.
66889         * sysdeps/mach/hurd/ifreq.h: New file.
66891 2011-01-27  Petr Baudis  <pasky@suse.cz>
66892             Ulrich Drepper  <drepper@gmail.com>
66894         [BZ 12445]#
66895         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
66896         to extend_alloca().
66897         * stdio-common/bug23.c: New file.
66898         * stdio-common/Makefile (tests): Add bug23.
66900 2010-09-28  Andreas Schwab  <schwab@redhat.com>
66901             Ulrich Drepper  <drepper@gmail.com>
66903         [BZ #12489]
66904         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
66905         before performing relro protection.  At old place add assertion
66906         to make sure nothing changed.
66908 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
66909             Glauber de Oliveira Costa  <glommer@gmail.com>
66911         * elf/elf.h: Add new ARM TLS relocs.
66913 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
66915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
66916         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
66917         cast from r3.
66918         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
66919         'tests' variable.
66920         * sysdeps/wordsize-64/tst-writev.c: New file.
66922 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
66924         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
66925         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
66926         insns in _dl_start to prevent a TOC reference before relocs are
66927         resolved.
66929 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
66931         [BZ #12469]
66932         * Makeconfig: Remove RANLIB definition.
66933         * Makerules: Don't use RANLIB.
66934         * aclocal.m4: Remove ranlib test.
66935         * configure.in: No need to check for ranlib.
66936         * elf/rtld-Rules: Don't use RANLIB.
66938 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66940         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
66941         protection macro.
66942         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
66943         inclusion protection macro.
66945         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
66946         SIGRTMIN and SIGRTMAX and print information in that case only when
66947         SIGRTMIN is defined.
66949 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
66951         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
66952         arginfo fn returning -1.
66954         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
66955         and thousands string is zero terminated.
66957 2011-02-03  Andreas Schwab  <schwab@redhat.com>
66959         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
66960         sysdeps/unix/sysv/linux/bits/socket.h.
66962 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66964         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
66965         (__CPU_COUNT): Remove old macros.
66966         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
66967         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
66968         (__CPU_ALLOC, __CPU_FREE): Add macros.
66969         (__sched_cpualloc, __sched_cpufree): Add declarations.
66971 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
66973         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
66974         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
66975         * nscd/aicache.c (addhstaiX): Return timeout of added value.
66976         (readdhstai): Return value of addhstaiX call.
66977         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
66978         (addgrbyX): Return value returned by cache_addgr.
66979         (readdgrbyname): Return value returned by addgrbyX.
66980         (readdgrbygid): Likewise.
66981         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
66982         (addpwbyX): Return value returned by cache_addpw.
66983         (readdpwbyname): Return value returned by addhstbyX.
66984         (readdpwbyuid): Likewise.
66985         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
66986         (addservbyX): Return value returned by cache_addserv.
66987         (readdservbyname): Return value returned by addservbyX:
66988         (readdservbyport): Likewise.
66989         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
66990         (addhstbyX): Return value returned by cache_addhst.
66991         (readdhstbyname): Return value returned by addhstbyX.
66992         (readdhstbyaddr): Likewise.
66993         (readdhstbynamev6): Likewise.
66994         (readdhstbyaddrv6): Likewise.
66995         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
66996         (readdinitgroups): Return value returned by addinitgroupsX.
66997         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
66998         (prune_cache): Keep track of timeout value of re-added entries.
66999         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67000         * nscd/nscd.h: Adjust prototypes of readd* functions.
67002 2011-02-04  Roland McGrath  <roland@redhat.com>
67004         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67005         (nis_stats): Likewise.
67006         * nis/nis_modify.c (nis_modify): Likewise.
67007         * nis/nis_remove.c (nis_remove): Likewise.
67008         * nis/nis_add.c (nis_add): Likewise.
67010         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67012         * posix/fnmatch_loop.c: Add some consts.
67014         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67016 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67018         [BZ #12460]
67019         * config.make.in (config-cflags-novzeroupper): Define.
67020         * configure.in: Substitute libc_cv_cc_novzeroupper.
67021         * elf/Makefile (AVX-CFLAGS): Define.
67022         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67023         (CFLAGS-tst-auditmod4a.c): Likewise.
67024         (CFLAGS-tst-auditmod4b.c): Likewise.
67025         (CFLAGS-tst-auditmod6b.c): Likewise.
67026         (CFLAGS-tst-auditmod6c.c): Likewise.
67027         (CFLAGS-tst-auditmod7b.c): Likewise.
67028         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67030 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67032         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67033         function to the callback.
67034         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67036 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67038         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67039         of errno.
67041 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67043         [BZ #11724]
67044         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67045         of constructors.
67046         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67047         of destructors.
67048         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67050         [BZ #11724]
67051         * elf/Makefile: Add rules to build and run new test.
67052         * elf/tst-initorder.c: New file.
67053         * elf/tst-initorder.exp: New file.
67054         * elf/tst-initordera1.c: New file.
67055         * elf/tst-initordera2.c: New file.
67056         * elf/tst-initordera3.c: New file.
67057         * elf/tst-initordera4.c: New file.
67058         * elf/tst-initorderb1.c: New file.
67059         * elf/tst-initorderb2.c: New file.
67060         * elf/tst-order-a1.c: New file.
67061         * elf/tst-order-a2.c: New file.
67062         * elf/tst-order-a3.c: New file.
67063         * elf/tst-order-a4.c: New file.
67064         * elf/tst-order-b1.c: New file.
67065         * elf/tst-order-b2.c: New file.
67066         * elf/tst-order-main.c: New file.
67067         New test case by George Gensure <werkt0@gmail.com>.
67069 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67072         decoding ACE if AI_CANONIDN.
67074 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67076         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67078 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67080         * version.h (RELEASE): Bump for 2.13 release.
67081         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67083         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67085         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67086         MADV_NOHUGEPAGE.
67087         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67088         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67089         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67090         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67091         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67092         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67094         * posix/getconf.c: Update copyright year.
67095         * catgets/gencat.c: Likewise.
67096         * csu/version.c: Likewise.
67097         * debug/catchsegv.sh: Likewise.
67098         * debug/xtrace.sh: Likewise.
67099         * elf/ldconfig.c: Likewise.
67100         * elf/ldd.bash.in: Likewise.
67101         * elf/sprof.c (print_version): Likewise.
67102         * iconv/iconv_prog.c: Likewise.
67103         * iconv/iconvconfig.c: Likewise.
67104         * locale/programs/locale.c: Likewise.
67105         * locale/programs/localedef.c: Likewise.
67106         * malloc/memusage.sh: Likewise.
67107         * malloc/mtrace.pl: Likewise.
67108         * nscd/nscd.c (print_version): Likewise.
67109         * nss/getent.c: Likewise.
67111         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67112         PF_CAIF, and PF_ALG.
67113         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67115 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67117         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67118         (modules-names): Use them.
67119         (ifunc-test-modules, ifunc-pie-tests): Define.
67120         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67121         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67122         (test-extras): Likewise.
67123         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67124         $(compile-command.c).
67125         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67126         (all-built-dso): Define.
67127         (check-textrel.out, check-execstack.out): Depend on it.
67129         * configure.in: Don't override --enable-multi-arch.
67131 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67133         [BZ #6812]
67134         * nscd/hstcache.c (tryagain): Define.
67135         (cache_addhst): Return tryagain not notfound for temporary errors.
67136         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67137         failed.
67139 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67141         [BZ #10563]
67142         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67143         to make the syscall.
67144         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67146         [BZ #12378]
67147         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67148         and fall back to matching as normal character if the string ends before
67149         the matching ']' is found.  This is what POSIX requires.
67150         * posix/testfnm.c: Adjust test result.
67151         * posix/globtest.sh: Adjust test result.  Add new test.
67152         * posix/tst-fnmatch.input: Likewise.
67153         * posix/tst-fnmatch2.c: Add new test.
67155 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67157         * elf/Makefile (check-execstack): Revert last change.  Depend on
67158         check-execstack.h.
67159         (check-execstack.h): New target.
67160         (generated): Add check-execstack.h.
67161         * elf/check-execstack.c: Include "check-execstack.h".
67162         (main): Revert last change.
67163         (handle_file): Return zero if GNU_STACK is absent and
67164         DEFAULT_STACK_PERMS doesn't include PF_X.
67166 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67168         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67169         in child fails because the descriptor is already closed.
67170         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67171         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67172         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67174         [BZ #12397]
67175         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
67176         syscall.
67178         [BZ #10484]
67179         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
67180         temporary buffer used to handle multi lookups locally.
67181         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
67183 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67185         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
67186         loader is ld.so.
67188 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
67190         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
67191         alignment for SSE2.
67193 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
67195         [BZ #12394]
67196         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
67197         characters.  When rounding increased number of integer digits recompute
67198         number of groups.
67199         * stdio-common/tst-grouping.c: New file.
67200         * stdio-common/Makefile: Add rules to build and run tst-grouping.
67202 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
67204         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
67205         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
67207         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
67208         void.
67209         * bits/select.h: Likewise.
67211 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
67213         * po/ja.po: Update from translation team.
67215 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
67217         [BZ #11155]
67218         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
67219         implementation just like for lxstat, fxstatat, et al.
67221 2010-12-27  Jim Meyering  <meyering@redhat.com>
67223         [BZ #12348]
67224         * posix/regexec.c (build_trtable): Return failure indication upon
67225         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
67227 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
67229         [BZ #12201]
67230         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
67231         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
67232         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
67233         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
67235         [BZ #12207]
67236         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
67238         [BZ #12204]
67239         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
67240         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
67242 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
67244         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
67245         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
67246         script has SORT_BY_INIT_PRIORITY.
67247         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
67248         NO_CTORS_DTORS_SECTIONS is defined.
67249         * elf/soinit.c: Likewise.
67250         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
67251         NO_CTORS_DTORS_SECTIONS is defined.
67252         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
67253         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
67254         * sysdeps/sh/init-first.c: Likewise.
67255         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
67257 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
67259         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
67260         always use the slow path.
67262 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
67264         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
67265         similar rule which adds the sysdep directories to the header search in
67266         order to pick up the correct platform stackinfo.h.
67267         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
67268         perform test if it is, otherwise return successfully without testing.
67269         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
67270         DEFAULT_STACK_PERMS define in stackinfo.h.
67271         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
67272         defined in stackinfo.h.
67273         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
67274         DEFAULT_STACK_PERMS defined in stackinfo.h.
67275         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
67276         * sysdeps/ia64/stackinfo.h: Likewise.
67277         * sysdeps/s390/stackinfo.h: Likewise.
67278         * sysdeps/sh/stackinfo.h: Likewise.
67279         * sysdeps/sparc/stackinfo.h: Likewise.
67280         * sysdeps/x86_64/stackinfo.h: Likewise.
67281         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
67282         PF_X for powerpc64.  Retain PF_X for powerpc32.
67284 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
67286         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
67287         accurately.
67288         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
67289         GETDENTS_64BIT_ALIGNED.
67291 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
67293         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
67295 2010-12-10  Andreas Schwab  <schwab@redhat.com>
67297         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
67298         _GNU_SOURCE.
67300         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
67301         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
67302         Remove __restrict.
67303         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
67304         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
67306 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
67308         [BZ #11655]
67309         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
67310         are initialized.
67312 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
67314         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
67316 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
67318         * po/it.po: Update from translation team.
67320 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
67322         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
67323         unused codes.
67325 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
67327         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
67329 2010-11-24  Andreas Schwab  <schwab@redhat.com>
67331         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
67332         specially.
67333         (gaih_getanswer_slice): Likewise.
67335 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
67337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
67339 2010-05-31  Petr Baudis  <pasky@suse.cz>
67341         [BZ #11149]
67342         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
67343         silently even in the chroot mode.
67345 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
67347         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
67348         last patch a bit.  Pretty printing
67350 2010-05-31  Petr Baudis <pasky@suse.cz>
67352         [BZ #10085]
67353         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
67354         initialization of skip_initgroups_dyn.
67356 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
67358         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
67359         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67361 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
67363         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
67365 2010-11-11  Andreas Schwab  <schwab@redhat.com>
67367         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
67368         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
67369         (tst-fnmatch-ENV): Set MALLOC_TRACE.
67370         ($(objpfx)tst-fnmatch-mem): New rule.
67371         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
67372         * posix/tst-fnmatch.c (main): Call mtrace.
67374 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
67376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67377         Support Intel processor model 6 and model 0x2c.
67379 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
67381         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
67382           signed comparison.
67384 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
67386         [BZ #12205]
67387         * string/test-strncasecmp.c (check_result): New function.
67388         (do_one_test): Use it.
67389         (check1): New function.
67390         (test_main): Use it.
67391         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
67392         Support strcasecmp and strncasecmp.
67394 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
67396         [BZ #12194]
67397         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
67398         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67400 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67402         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
67403         IFUNC support.
67404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67405         memset-x86-64.
67406         * sysdeps/x86_64/multiarch/bzero.S: New file.
67407         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
67408         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
67409         * sysdeps/x86_64/multiarch/memset.S: New file.
67410         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
67411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67412         Set bit_Prefer_SSE_for_memop for Intel processors.
67413         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
67414         Define.
67415         (index_Prefer_SSE_for_memop): Define.
67416         (HAS_PREFER_SSE_FOR_MEMOP): Define.
67418 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
67420         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
67421         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
67423 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
67425         [BZ #12191]
67426         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67427         (__x86_64_raw_data_cache_size_half): Likewise.
67428         (__x86_64_raw_shared_cache_size): Likewise.
67429         (__x86_64_raw_shared_cache_size_half): Likewise.
67431         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
67432         (__x86_64_raw_data_cache_size_half): Likewise.
67433         (__x86_64_raw_shared_cache_size): Likewise.
67434         (__x86_64_raw_shared_cache_size_half): Likewise.
67435         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
67436         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
67437         and __x86_64_raw_shared_cache_size_half.  Round
67438         __x86_64_data_cache_size_half, __x86_64_data_cache_size
67439         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
67440         to multiple of 256 bytes.
67442 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
67444         [BZ #12167]
67445         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
67446         of inacessible symlinks.  Verify result of symlink before returning it.
67447         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
67448         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
67450 2010-10-28  Erich Ritz  <erichritz@gmail.com>
67452         * math/math.h (isinf): Fix typo in comment.
67454 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
67456         * po/da.po: Update from translation team.
67458 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
67460         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
67461         is added to the list.
67463 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67464             Ulrich Drepper  <drepper@gmail.com>
67466         * elf/dl-object.c (_dl_new_object): Don't append the new object to
67467         the global list here.  Move code to...
67468         (_dl_add_to_namespace_list): ...here.  New function.
67469         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
67470         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
67471         * elf/dl-load.c (lose): Don't remove the element from the list.
67472         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
67473         (_dl_map_object): Likewise.
67475 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
67477         [BZ #12159]
67478         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
67479         into all bytes of SSE register.
67480         Patch by Richard Li <richardpku@gmail.com>.
67482 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
67484         [BZ #12140]
67485         * malloc/malloc.c (_int_free): Fill correct number of bytes when
67486         perturbing.
67488 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
67490         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
67491         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
67492         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
67493         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
67495         submachine.
67496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
67498 2010-10-22  Andreas Schwab  <schwab@redhat.com>
67500         * include/dlfcn.h (__RTLD_SECURE): Define.
67501         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
67502         mode & __RTLD_SECURE instead.
67503         (open_path): Rename preloaded parameter to secure.
67504         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
67505         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
67506         * elf/dl-deps.c (openaux): Likewise.
67507         * elf/rtld.c (struct map_args): Remove is_preloaded.
67508         (map_doit): Don't use it.
67509         (dl_main): Likewise.
67510         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
67511         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
67513 2010-09-09  Andreas Schwab  <schwab@redhat.com>
67515         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
67516         (sysd-rules-targets): Remove duplicates.
67517         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
67518         rtld-%.$o dependency.
67520 2010-10-18  Andreas Schwab  <schwab@redhat.com>
67522         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
67523         _dl_map_object do it.
67525 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
67527         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
67528         fast fma builtins, define the macros in the C99 standard.
67529         (FP_FAST_FMAF): Likewise.
67530         (FP_FAST_FMAL): Likewise.
67531         * sysdeps/x86_64/bits/mathdef.h: Likewise.
67533         * bits/mathdef.h: Update copyright year.
67534         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67536 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
67538         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
67539         builtins, define the macros in the C99 standard.
67540         (FP_FAST_FMAF): Likewise.
67541         (FP_FAST_FMAL): Likewise.
67542         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
67543         multiply/add.
67544         (FP_FAST_FMAF): Likewise.
67546 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
67548         [BZ #3268]
67549         * math/libm-test.inc (fma_test): Some new testcases.
67550         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
67551         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
67552         y and infinite z.  Do multiplication by C already in long double.
67553         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
67554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
67555         y and infinite z.  Do bitwise or of inexact bit into u.d.
67556         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
67557         * sysdeps/i386/fpu/s_fmaf.S: Removed.
67558         * sysdeps/i386/fpu/s_fma.S: Removed.
67559         * sysdeps/i386/fpu/s_fmal.S: Removed.
67561 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
67563         [BZ #3268]
67564         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
67565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
67566         computation is not scheduled after fetestexcept.  Fix value
67567         of minimum denormal long double.
67569 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
67571         [BZ #3268]
67572         * math/libm-test.inc (fma_test): Add some more tests.
67573         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
67574         correctly.
67576 2010-10-15  Andreas Schwab  <schwab@redhat.com>
67578         * scripts/data/localplt-s390-linux-gnu.data: New file.
67579         * scripts/data/localplt-s390x-linux-gnu.data: New file.
67581 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
67583         [BZ #3268]
67584         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
67585         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
67586         instead of dbl-64.
67587         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
67588         inlines.
67589         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
67590         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
67591         if one of x and y is very large and the other is subnormal.
67592         * sysdeps/s390/fpu/s_fmaf.c: New file.
67593         * sysdeps/s390/fpu/s_fma.c: New file.
67594         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
67595         * sysdeps/powerpc/fpu/s_fma.S: New file.
67596         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
67597         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
67598         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
67600 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
67602         [BZ #3268]
67603         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
67604         fma tests.
67605         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
67606         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
67607         * sysdeps/i386/i686/multiarch/s_fma.c: Include
67608         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
67609         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
67610         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
67611         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
67613 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
67615         [BZ #12078]
67616         * posix/regcomp.c (parse_branch): One more memory leak plugged.
67617         * posix/bug-regex31.input: Add test case.
67619 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67621         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
67622         * posix/bug-regex31.input: New file.
67624         [BZ #12078]
67625         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
67626         (parse_sub_exp): Fix last change, use postorder.
67628         * posix/bug-regex31.c: New file.
67629         * posix/Makefile: Add rules to build and run bug-regex31.
67631         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
67633         [BZ #12078]
67634         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
67636         [BZ #12108]
67637         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
67638         to have entries in sys_siglist.
67640         [BZ #12093]
67641         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
67642         be NULL.
67644 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
67646         [BZ #3268]
67647         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
67648         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
67649         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
67650         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
67651         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67652         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
67653         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
67654         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
67655         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
67656         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
67657         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
67658         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
67659         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
67660         * math/ftestexcept.c (fetestexcept): Likewise.
67661         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
67662         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
67663         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
67664         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
67665         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
67666         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
67667         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67669 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
67671         [BZ #12107]
67672         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
67673         newline.
67675 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
67677         * string/bug-strstr1.c: New file.
67678         * string/Makefile: Add rules to build and run bug-strstr1.
67680 2010-10-05  Eric Blake  <eblake@redhat.com>
67682         [BZ #12092]
67683         * string/str-two-way.h (two_way_long_needle): Always clear memory
67684         when skipping input due to the shift table.
67686 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
67688         [BZ #12005]
67689         * malloc/mcheck.c: Handle large requests.
67691         [BZ #12077]
67692         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
67693         for strncmp and strncasecmp.
67694         * string/stratcliff.c: Add tests for strcmp and strncmp.
67695         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
67697 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67699         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
67700         __set_fpscr.
67702 2010-09-30  Andreas Jaeger  <aj@suse.de>
67704         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
67705         (CGROUP_SUPER_MAGIC): Define.
67706         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67707         Handle btrfs and cgroup file systems.
67708         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67709         Likewise.
67711 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
67713         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
67714         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
67716 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67718         [BZ #12067]
67719         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
67720         trying to locate the ELF header.
67722 2010-09-27  Andreas Schwab  <schwab@redhat.com>
67724         [BZ #11611]
67725         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
67726         Mask out sign-bit copies when constructing f_fsid.
67728 2010-09-24  Petr Baudis <pasky@suse.cz>
67730         * debug/stack_chk_fail_local.c: Add missing licence exception.
67731         * debug/warning-nop.c: Likewise.
67733 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
67735         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
67736         implementing getdents64 using getdents syscall, set d_type if
67737         __ASSUME_GETDENTS32_D_TYPE.
67739 2010-09-16  Andreas Schwab  <schwab@redhat.com>
67741         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
67742         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
67744 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
67746         [BZ #12037]
67747         * posix/unistd.h: Undo change of feature selection for ftruncate from
67748         2010-01-11.
67750 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
67752         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
67753         detection.
67755 2010-09-20  Andreas Schwab  <schwab@redhat.com>
67757         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
67758         fanotify_mark.
67759         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
67761 2010-09-14  Andreas Schwab  <schwab@redhat.com>
67763         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
67764         variables after CHECK_SP call.
67765         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
67767 2010-09-13  Andreas Schwab  <schwab@redhat.com>
67768             Ulrich Drepper  <drepper@redhat.com>
67770         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
67771         re-relocationg ld.so.
67772         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
67773         _dl_init_paths call.
67774         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
67775         here anymore.
67777 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
67779         * resolv/res_init.c (__res_vinit): Count the default server we added.
67781 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
67782             Ulrich Drepper  <drepper@redhat.com>
67784         [BZ #11968]
67785         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67786         (____longjmp_chk): Use %ebx for saving value across system call.
67787         Add unwind info.
67789 2010-09-06  Andreas Schwab  <schwab@redhat.com>
67791         * manual/Makefile: Don't mix pattern rules with normal rules.
67793 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67795         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
67796         operation.
67797         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
67798         * libio/iofopncook.c (_IO_cookie_init): Likewise.
67799         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
67800         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
67801         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67802         Likewise.
67804 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
67806         [BZ #11979]
67807         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
67808         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
67810 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
67812         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
67813         * sysdeps/x86_64/addmul_1.S: Likewise.
67814         * sysdeps/x86_64/lshift.S: Likewise.
67815         * sysdeps/x86_64/mul_1.S: Likewise.
67816         * sysdeps/x86_64/rshift.S: Likewise.
67817         * sysdeps/x86_64/sub_n.S: Likewise.
67818         * sysdeps/x86_64/submul_1.S: Likewise.
67820 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67822         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
67823         Define __sched_param instead of SCHED_* and sched_param when
67824         <bits/sched.h> is included with __need_schedparam defined.
67825         * bits/sched.h [__need_schedparam]
67826         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
67827         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
67828         (__defined_schedparam): Define to 1.
67829         (__sched_param): New structure, identical to sched_param.
67830         (__need_schedparam): Undefine.
67832 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
67834         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
67835         (epoll_create1): Declare.
67837         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
67839 2010-08-31  Andreas Schwab  <schwab@redhat.com>
67841         [BZ #7066]
67842         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
67843         shifting retval into place.
67845 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
67847         * nis/rpcsvc/nis.h: Update copyright notice.
67848         * nis/rpcsvc/nis.x: Likewise.
67849         * nis/rpcsvc/nis_callback.h: Likewise.
67850         * nis/rpcsvc/nis_callback.x: Likewise.
67851         * nis/rpcsvc/nis_object.x: Likewise.
67852         * nis/rpcsvc/nis_tags.h: Likewise.
67853         * nis/rpcsvc/yp.h: Likewise.
67854         * nis/rpcsvc/yp.x: Likewise.
67855         * nis/rpcsvc/ypupd.h: Likewise.
67856         * nis/yp_xdr.c: Likewise.
67857         * nis/ypupdate_xdr.c: Likewise.
67859         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
67860         mainly the body of pmap_getport.  Add parameters to specify timeouts.
67861         (pmap_getport): Use __libc_rpc_getport.
67862         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
67863         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
67864         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
67866 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
67868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
67869         fanotify_mark.
67871 2010-08-27  Roland McGrath  <roland@redhat.com>
67873         * sysdeps/i386/i686/multiarch/Makefile
67874         (CFLAGS-varshift.c): New variable.
67876 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
67878         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
67879         * sysdeps/i386/i686/multiarch/varshift.c: New file.
67881         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
67883         * sysdeps/x86_64/strlen.S: Minimal code improvement.
67885 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
67887         * sysdeps/x86_64/strlen.S: Unroll the loop.
67888         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67889         strlen-sse2 strlen-sse2-bsf.
67890         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
67891         __strlen_no_bsf if bit_Slow_BSF is set.
67892         (__strlen_sse42): Removed.
67893         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
67894         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
67896 2010-08-25  Roland McGrath  <roland@redhat.com>
67898         * sysdeps/x86_64/multiarch/varshift.S: File removed.
67899         * sysdeps/x86_64/multiarch/varshift.c: New file.
67900         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
67901         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
67902         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
67903         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
67905 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
67907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67908         strlen-sse2 strlen-sse2-bsf.
67909         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
67910         __strlen_sse2_bsf if bit_Slow_BSF is unset.
67911         (__strlen_sse2): Removed.
67912         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
67913         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
67914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
67915         bit_Slow_BSF for Atom.
67916         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
67917         (index_Slow_BSF): Define.
67918         (HAS_SLOW_BSF): Define.
67920 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
67922         [BZ #10851]
67923         * resolv/res_init.c (__res_vinit): When no server address at all
67924         is given default to loopback.
67926 2010-08-24  Roland McGrath  <roland@redhat.com>
67928         * configure.in: Remove config-name.h generation.
67929         * configure: Regenerated.
67930         * config-name.in: File removed.
67931         * scripts/config-uname.sh: New file.
67932         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
67933         ($(objdir)config-name.h): New target.
67935         * sunrpc/rpc_parse.h: Avoid nested comment.
67937 2010-08-24  Richard Henderson  <rth@redhat.com>
67938             Ulrich Drepper  <drepper@redhat.com>
67939             H.J. Lu  <hongjiu.lu@intel.com>
67941         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
67942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
67943         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
67944         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
67945         _mm_alignr_epi8 with _mm_loadu_si128.
67946         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
67947         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
67948         (__m128i_shift_right): Removed.
67949         * sysdeps/i386/i686/multiarch/varshift.h: New file.
67950         * sysdeps/i386/i686/multiarch/varshift.S: New file.
67951         * sysdeps/x86_64/multiarch/varshift.h: New file.
67952         * sysdeps/x86_64/multiarch/varshift.S: New file.
67954 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
67956         * configure.in: Move assembler checks to before sysdep dir checking.
67958 2010-08-20  Petr Baudis  <pasky@suse.cz>
67960         * LICENSES: Sync the sunrpc license.
67962 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
67964         * sunrpc/auth_des.c: Update copyright notice once again.
67965         * sunrpc/auth_none.c: Likewise.
67966         * sunrpc/auth_unix.c: Likewise.
67967         * sunrpc/authdes_prot.c: Likewise.
67968         * sunrpc/authuxprot.c: Likewise.
67969         * sunrpc/bindrsvprt.c: Likewise.
67970         * sunrpc/clnt_gen.c: Likewise.
67971         * sunrpc/clnt_perr.c: Likewise.
67972         * sunrpc/clnt_raw.c: Likewise.
67973         * sunrpc/clnt_simp.c: Likewise.
67974         * sunrpc/clnt_tcp.c: Likewise.
67975         * sunrpc/clnt_udp.c: Likewise.
67976         * sunrpc/clnt_unix.c: Likewise.
67977         * sunrpc/des_crypt.c: Likewise.
67978         * sunrpc/des_soft.c: Likewise.
67979         * sunrpc/get_myaddr.c: Likewise.
67980         * sunrpc/getrpcport.c: Likewise.
67981         * sunrpc/key_call.c: Likewise.
67982         * sunrpc/key_prot.c: Likewise.
67983         * sunrpc/openchild.c: Likewise.
67984         * sunrpc/pm_getmaps.c: Likewise.
67985         * sunrpc/pm_getport.c: Likewise.
67986         * sunrpc/pmap_clnt.c: Likewise.
67987         * sunrpc/pmap_prot.c: Likewise.
67988         * sunrpc/pmap_prot2.c: Likewise.
67989         * sunrpc/pmap_rmt.c: Likewise.
67990         * sunrpc/rpc/auth.h: Likewise.
67991         * sunrpc/rpc/auth_unix.h: Likewise.
67992         * sunrpc/rpc/clnt.h: Likewise.
67993         * sunrpc/rpc/des_crypt.h: Likewise.
67994         * sunrpc/rpc/key_prot.h: Likewise.
67995         * sunrpc/rpc/netdb.h: Likewise.
67996         * sunrpc/rpc/pmap_clnt.h: Likewise.
67997         * sunrpc/rpc/pmap_prot.h: Likewise.
67998         * sunrpc/rpc/pmap_rmt.h: Likewise.
67999         * sunrpc/rpc/rpc.h: Likewise.
68000         * sunrpc/rpc/rpc_des.h: Likewise.
68001         * sunrpc/rpc/rpc_msg.h: Likewise.
68002         * sunrpc/rpc/svc.h: Likewise.
68003         * sunrpc/rpc/svc_auth.h: Likewise.
68004         * sunrpc/rpc/types.h: Likewise.
68005         * sunrpc/rpc/xdr.h: Likewise.
68006         * sunrpc/rpc_clntout.c: Likewise.
68007         * sunrpc/rpc_cmsg.c: Likewise.
68008         * sunrpc/rpc_common.c: Likewise.
68009         * sunrpc/rpc_cout.c: Likewise.
68010         * sunrpc/rpc_dtable.c: Likewise.
68011         * sunrpc/rpc_hout.c: Likewise.
68012         * sunrpc/rpc_main.c: Likewise.
68013         * sunrpc/rpc_parse.c: Likewise.
68014         * sunrpc/rpc_parse.h: Likewise.
68015         * sunrpc/rpc_prot.c: Likewise.
68016         * sunrpc/rpc_sample.c: Likewise.
68017         * sunrpc/rpc_scan.c: Likewise.
68018         * sunrpc/rpc_scan.h: Likewise.
68019         * sunrpc/rpc_svcout.c: Likewise.
68020         * sunrpc/rpc_tblout.c: Likewise.
68021         * sunrpc/rpc_util.c: Likewise.
68022         * sunrpc/rpc_util.h: Likewise.
68023         * sunrpc/rpcinfo.c: Likewise.
68024         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68025         * sunrpc/rpcsvc/key_prot.x: Likewise.
68026         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68027         * sunrpc/rpcsvc/mount.x: Likewise.
68028         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68029         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68030         * sunrpc/rpcsvc/rex.x: Likewise.
68031         * sunrpc/rpcsvc/rstat.x: Likewise.
68032         * sunrpc/rpcsvc/rusers.x: Likewise.
68033         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68034         * sunrpc/rpcsvc/spray.x: Likewise.
68035         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68036         * sunrpc/rtime.c: Likewise.
68037         * sunrpc/svc.c: Likewise.
68038         * sunrpc/svc_auth.c: Likewise.
68039         * sunrpc/svc_authux.c: Likewise.
68040         * sunrpc/svc_raw.c: Likewise.
68041         * sunrpc/svc_run.c: Likewise.
68042         * sunrpc/svc_simple.c: Likewise.
68043         * sunrpc/svc_tcp.c: Likewise.
68044         * sunrpc/svc_udp.c: Likewise.
68045         * sunrpc/svc_unix.c: Likewise.
68046         * sunrpc/svcauth_des.c: Likewise.
68047         * sunrpc/xcrypt.c: Likewise.
68048         * sunrpc/xdr.c: Likewise.
68049         * sunrpc/xdr_array.c: Likewise.
68050         * sunrpc/xdr_float.c: Likewise.
68051         * sunrpc/xdr_mem.c: Likewise.
68052         * sunrpc/xdr_rec.c: Likewise.
68053         * sunrpc/xdr_ref.c: Likewise.
68054         * sunrpc/xdr_sizeof.c: Likewise.
68055         * sunrpc/xdr_stdio.c: Likewise.
68057         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68058         handling.
68060 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68062         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68064 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68066         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68067         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68068         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68069         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68070         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68071         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68072         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68073         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68074         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68075         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68076         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68077         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68078         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68079         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68081 2010-07-26  Anton Blanchard  <anton@samba.org>
68083         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68084         * malloc/arena.c (heap_trim): Likewise.
68086 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68088         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68089         here.  Not...
68090         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68091         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68093 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68095         * sysdeps/i386/elf/Makefile: New file.
68097 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68099         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68100         from fanotify_init.
68101         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68102         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68104 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68106         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68107         of strncasecmp_l.
68108         * sysdeps/multiarch/strcmp.S: Likewise.
68110 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68112         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68113         strncase_l-nonascii.
68114         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68115         Add strncase_l-ssse3.
68116         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68117         * sysdeps/x86_64/strcmp.S: Likewise.
68118         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68119         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68120         * sysdeps/x86_64/strncase.S: New file.
68121         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68122         * sysdeps/x86_64/strncase_l.S: New file.
68123         * string/Makefile (strop-tests): Add strncasecmp.
68124         * string/test-strncasecmp.c: New file.
68126         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68127         warning.
68129         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68130         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68132 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68134         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68136 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68138         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68139         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68140         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68142 2010-05-01  Alan Modra  <amodra@gmail.com>
68144         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68145         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68146         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68147         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68148         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68149         tidying.  Don't tail-call __sigjmp_save for static lib.
68150         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68151         save location.
68152         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68153         (CALL_MCOUNT): Add eh info, and nop after bl.
68154         (TAIL_CALL_SYSCALL_ERROR): New macro.
68155         (PSEUDO_RET): Use it.
68156         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68157         Correct save location of integer regs and cr.
68158         (_dl_profile_resolve): Correct cr save location.  Delete nops
68159         after bl when SHARED.  Reduce cfi size a little by better
68160         placement of cfi directives.
68161         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68162         make a stack frame.  Instead use parm save area as a temp.
68163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68164         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68166         Don't make a stack frame for parent, use parm save area.
68167         Increase child stack frame to 112 bytes.  Don't save unused reg,
68168         and adjust reg usage.  Set up cfi on error recovery and
68169         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68171         (__makecontext): Add dummy nop after jump to exit.
68172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68173         Use correct parm save area and cr save, reduce stack frame.
68174         Correct cfi for possible PSEUDO_RET frame setup.
68175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
68176         Branch to local label emitted by PSEUDO_RET rather than
68177         __syscall_error.
68179 2010-08-12  Andreas Schwab  <schwab@redhat.com>
68181         [BZ #11904]
68182         * locale/programs/locale.c (print_assignment): New function.
68183         (show_locale_vars): Use it.
68185 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
68187         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
68188         field.
68189         (struct statfs64): Likewise.
68190         (_STATFS_F_FLAGS): Define.
68191         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
68192         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68193         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
68194         (ST_VALID): Define locally.
68195         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
68196         __statvfs_getflags, use the provided value.
68197         * sysdeps/unix/sysv/linux/kernel-features.h: Define
68198         __ASSUME_STATFS_F_FLAGS.
68200         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
68202         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
68203         Add sys/fanotify.h.
68204         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
68205         fanotify_mask for GLIBC_2.13.
68206         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
68207         fanotify_init and fanotify_mark.
68208         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68209         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
68211         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
68212         Add prlimit.
68213         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
68214         prlimit64 for GLIBC_2.13.
68215         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
68216         prlimit64.
68217         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
68218         syscall.
68219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
68220         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68221         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
68222         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
68223         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
68224         add prlimit alias.
68225         * sysdeps/unix/sysv/linux/prlimit.c: New file.
68227         [BZ #11903]
68228         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
68229         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
68231         * nss/Makefile: Add rules to build and run tst-nss-test1.
68232         * shlib-versions: Add entry for libnss_test1.
68233         * nss/nss_test1.c: New file.
68234         * nss/tst-nss-test1.c: New file.
68236         * nss/nsswitch.c (__nss_database_custom): Define new variable.
68237         (__nss_configure_lookup): Set appropriate entry in
68238         __nss_configure_lookup to true.
68239         * nss/nsswitch.h: Define enum with indeces of databases in
68240         databases and __nss_database_custom arrays.  Declare
68241         __nss_database_custom.
68242         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
68243         to avoid using nscd when custom rules are installed.
68244         * nss/getXXbyYY_r.c: Likewise.
68245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
68247         * nss/nss_files/files-parse.c: Whitespace fixes.
68249 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
68251         [BZ #11883]
68252         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
68253         * posix/fnmatch_loop.c: Likewise.
68255 2010-07-17  Andi Kleen  <ak@linux.intel.com>
68257         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
68258         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
68259         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
68260         * Versions.def [GLIBC_2.13]: Add.
68262 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
68264         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68265         Also fail if tpwd after pwuid call is NULL.
68267 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68269         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
68270         when converting to ms.
68272 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68274         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
68275         EOPNOTSUPP errors with ENOTTY.
68276         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
68277         EOPNOTSUPP errors with ENOTTY.
68279 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
68281         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68282         Add strcasecmp_l-ssse3.
68283         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
68284         strcasecmp.
68285         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
68286         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
68287         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
68289 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
68291         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
68293         * string/Makefile (strop-tests): Add strcasecmp.
68294         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68295         strcasecmp_l-nonascii.
68296         (gen-as-const-headers): Add locale-defines.sym.
68297         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
68298         * sysdeps/x86_64/strcasecmp.S: New file.
68299         * sysdeps/x86_64/strcasecmp_l.S: New file.
68300         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
68301         * sysdeps/x86_64/locale-defines.sym: New file.
68302         * string/test-strcasecmp.c: New file.
68304         * string/test-strcasestr.c: Test both ends of the range of characters.
68305         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
68307 2010-07-29  Roland McGrath  <roland@redhat.com>
68309         [BZ #11856]
68310         * manual/locale.texi (Yes-or-No Questions): Fix example code.
68312 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
68314         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
68315         for ld.so.
68317 2010-07-27  Andreas Schwab  <schwab@redhat.com>
68319         * manual/memory.texi (Malloc Tunable Parameters): Document
68320         M_PERTURB.
68322 2010-07-26  Roland McGrath  <roland@redhat.com>
68324         [BZ #11840]
68325         * configure.in (-fgnu89-inline check): Set and substitute
68326         gnu89_inline, not libc_cv_gnu89_inline.
68327         * configure: Regenerated.
68328         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
68330 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
68332         * string/test-strnlen.c: New file.
68333         * string/Makefile (strop-tests): Add strnlen.
68334         * string/tester.c (test_strnlen): Add a few more test cases.
68335         * string/tst-strlen.c: Better error reporting.
68337         * sysdeps/x86_64/strnlen.S: New file.
68339 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
68341         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
68342         lower-latency instructions.
68344 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
68346         * string/test-strcasestr.c: New file.
68347         * string/test-strstr.c: New file.
68348         * string/Makefile (strop-tests): Add strstr and strcasestr.
68349         * string/str-two-way.h: Don't undefine MAX.
68350         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
68352 2010-07-21  Andreas Schwab  <schwab@redhat.com>
68354         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68355         strcasestr-nonascii.
68356         (CFLAGS-strcasestr-nonascii.c): Define.
68357         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
68358         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
68359         Remove unused attribute.
68361 2010-07-20  Roland McGrath  <roland@redhat.com>
68363         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
68364         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
68365         ld.so.cache was broken.  With it, there is no way to disable dsocaps
68366         like LD_HWCAP_MASK can disable hwcaps.
68368 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68370         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
68372 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
68374         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
68375         call in strcasestr.
68376         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
68377         __strcasestr_sse42_nonascii.
68378         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68379         strcasestr-nonascii.c.
68380         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
68382 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
68384         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
68385         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
68386         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
68387         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
68389 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
68391         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
68392         fcntl.
68394 2010-07-06  Andreas Schwab  <schwab@redhat.com>
68396         [BZ #11577]
68397         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
68398         dl_signal_cerror.
68400 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
68402         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
68403         _PC_PIPE_BUF using F_GETPIPE_SZ.
68405 2010-07-05  Roland McGrath  <roland@redhat.com>
68407         * manual/arith.texi (Rounding Functions): Fix rint description
68408         implicit in round description.
68410 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
68412         * elf/Makefile: Fix linking for a few tests to make recent linker
68413         happy.
68415 2010-06-30  Andreas Schwab  <schwab@redhat.com>
68417         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68418         $(common-objpfx)libc_nonshared.a.
68420 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
68422         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
68423         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
68424         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68425         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68426         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
68427         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
68428         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68429         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
68431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
68432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
68433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
68434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
68435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
68436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
68437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
68438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
68439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
68441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
68442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
68443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
68444         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
68445         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
68446         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
68447         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
68448         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
68449         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
68450         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
68451         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
68452         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
68453         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
68454         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
68455         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
68456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
68457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
68458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
68459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
68460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
68461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
68462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
68463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
68464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
68465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
68466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
68467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
68468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
68469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
68471 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
68473         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
68474         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
68475         * string/memmove.c (memmove): Renamed to ...
68476         (MEMMOVE): ...this.  Default to memmove.
68477         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
68478         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
68479         (END_CHK): Define.
68480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68481         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
68482         mempcpy-ssse3-back memmove-ssse3-back.
68483         * sysdeps/x86_64/multiarch/bcopy.S: New file .
68484         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
68485         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
68486         * sysdeps/x86_64/multiarch/memcpy.S: New file.
68487         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
68488         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
68489         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
68490         * sysdeps/x86_64/multiarch/memmove.c: New file.
68491         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
68492         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
68493         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
68494         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
68495         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
68496         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
68497         Define.
68498         (index_Fast_Copy_Backward): Define.
68499         (HAS_ARCH_FEATURE): Define.
68500         (HAS_FAST_REP_STRING): Define.
68501         (HAS_FAST_COPY_BACKWARD): Define.
68503 2010-06-21  Andreas Schwab  <schwab@redhat.com>
68505         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68506         Restore proper fallback handling.
68508 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
68510         [BZ #11701]
68511         * posix/group_member.c (__group_member): Correct checking loop.
68513         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
68514         OOM in getpwuid_r correctly.  Return error number when the caller
68515         should return, otherwise -1.
68516         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
68517         call returning > 0 value.
68518         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
68520 2010-06-07  Andreas Schwab  <schwab@redhat.com>
68522         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
68523         libc_nonshared.a from targets in modules-names.
68525 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
68527         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
68528         requires it.
68530 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
68532         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
68533         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
68534         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
68535         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
68537 2010-06-02  Andreas Schwab  <schwab@redhat.com>
68539         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
68541 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
68543         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
68544         and F_GETPIPE_SZ.
68545         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68546         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68547         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68549         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68550         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
68552 2010-06-14  Roland McGrath  <roland@redhat.com>
68554         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
68556 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
68558         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
68559         __REDIRECT followed by __THROW.
68560         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
68561         * posix/getopt.h (getopt): Likewise.
68563 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
68565         * hurd/lookup-at.c (__file_name_lookup_at): Accept
68566         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
68567         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
68568         in AT_FLAGS.
68569         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
68570         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
68572 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
68574         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
68576 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
68578         [BZ #11640]
68579         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68580         Properly check family and model.
68582 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
68584         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
68586 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
68588         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
68590 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
68592         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
68593         symbol reference.
68595 2010-05-19  Andreas Schwab  <schwab@redhat.com>
68597         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
68598         symbol reference.
68600 2010-05-21  Andreas Schwab  <schwab@redhat.com>
68602         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
68603         and internal_recvmmsg.
68604         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
68605         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
68606         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
68607         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
68609         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
68610         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68611         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68613 2010-05-20  Andreas Schwab  <schwab@redhat.com>
68615         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
68617 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
68619         POWER7 optimizations.
68620         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
68621         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
68623 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
68625         * version.h: Update for 2.13 development version.
68627 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
68629         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
68630         exceptions.  Return 0.
68632 2010-05-07  Roland McGrath  <roland@redhat.com>
68634         * elf/ldconfig.c (main): Add a const.
68636 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
68638         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
68639         (args_options): Add no-idn option.
68640         (ahosts_keys_int): Add idn_flags to ai_flags.
68641         (parse_option): Handle 'i' option to clear idn_flags.
68643         * malloc/malloc.c (_int_free): Possible race in the most recently
68644         added check.  Only act on the data if no current modification
68645         happened.
68647 See ChangeLog.17 for earlier changes.